arxmliv
arxmliv build tool
 
KWARC group
LaTeXML
About
   
 

Back to Homepage

--- /arXMLiv/repos/arXMLiv/trunk/sty/amfstyle.cls	2010-04-01 17:13:42.000000000 +0200
+++ /arXMLiv/repos/arXMLiv/trunk/sty/hsqcd.cls	2013-04-25 13:14:49.308647542 +0200
@@ -1,90 +1,233 @@
-%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% This is stylefile
-%% based on the Standard `article.cls',
-%% and on the local file `rs.cls'
-%% and on `rspublic.cls' Developed by Jonathan Wainwright for
-%% Royal Society Class File for Authors
+%% This is 'hsqcd.cls' based on standard 'article.cls'
+%% Last change: June 19, 2004
 %%
-
-
-\def\fileversion{v0.81}
-\def\filedate{2008/10/02}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% This is file `article.cls',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% classes.dtx  (with options: `article')
+%%
+%% This is a generated file.
+%%
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000
+%% The LaTeX3 Project and any individual authors listed elsewhere
+%% in this file.
+%%
+%% This file was generated from file(s) of the LaTeX base system.
+%% --------------------------------------------------------------
+%%
+%% It may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.2
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%%    http://www.latex-project.org/lppl.txt
+%% and version 1.2 or later is part of all distributions of LaTeX
+%% version 1999/12/01 or later.
+%%
+%% This file may only be distributed together with a copy of the LaTeX
+%% base system. You may however distribute the LaTeX base system without
+%% such generated files.
+%%
+%% The list of all files belonging to the LaTeX base distribution is
+%% given in the file `manifest.txt'. See also `legal.txt' for additional
+%% information.
+%%
+%% \CharacterTable
+%%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%%   Digits        \0\1\2\3\4\5\6\7\8\9
+%%   Exclamation   \!     Double quote  \"     Hash (number) \#
+%%   Dollar        \$     Percent       \%     Ampersand     \&
+%%   Acute accent  \'     Left paren    \(     Right paren   \)
+%%   Asterisk      \*     Plus          \+     Comma         \,
+%%   Minus         \-     Point         \.     Solidus       \/
+%%   Colon         \:     Semicolon     \;     Less than     \<
+%%   Equals        \=     Greater than  \>     Question mark \?
+%%   Commercial at \@     Left bracket  \[     Backslash     \\
+%%   Right bracket \]     Circumflex    \^     Underscore    \_
+%%   Grave accent  \`     Left brace    \{     Vertical bar  \|
+%%   Right brace   \}     Tilde         \~}
 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesClass{rspublic}[\filedate\space\fileversion]
-\immediate\write16{}
-\newcommand{\@journal}{}
-\@twocolumnfalse
-\@twosidetrue
-\@mparswitchfalse
-\DeclareOption{A4}
+\ProvidesClass{article}
+              [2000/05/19 v1.4b
+ Standard LaTeX document class]
+\newcommand\@ptsize{}
+\newif\if@restonecol
+\newif\if@titlepage
+\@titlepagefalse
+\if@compatibility\else
+\DeclareOption{a4paper}
    {\setlength\paperheight {297mm}%
     \setlength\paperwidth  {210mm}}
-\ExecuteOptions{A4}
+\DeclareOption{a5paper}
+   {\setlength\paperheight {210mm}%
+    \setlength\paperwidth  {148mm}}
+\DeclareOption{b5paper}
+   {\setlength\paperheight {250mm}%
+    \setlength\paperwidth  {176mm}}
+\DeclareOption{letterpaper}
+   {\setlength\paperheight {11in}%
+    \setlength\paperwidth  {8.5in}}
+\DeclareOption{legalpaper}
+   {\setlength\paperheight {14in}%
+    \setlength\paperwidth  {8.5in}}
+\DeclareOption{executivepaper}
+   {\setlength\paperheight {10.5in}%
+    \setlength\paperwidth  {7.25in}}
+\DeclareOption{landscape}
+   {\setlength\@tempdima   {\paperheight}%
+    \setlength\paperheight {\paperwidth}%
+    \setlength\paperwidth  {\@tempdima}}
+\fi
+\if@compatibility
+  \renewcommand\@ptsize{0}
+\else
+\DeclareOption{10pt}{\renewcommand\@ptsize{0}}
+\fi
+\DeclareOption{11pt}{\renewcommand\@ptsize{1}}
+\DeclareOption{12pt}{\renewcommand\@ptsize{2}}
+\if@compatibility\else
+\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
+\fi
+\DeclareOption{twoside}{\@twosidetrue  \@mparswitchtrue}
+\DeclareOption{draft}{\setlength\overfullrule{5pt}}
+\if@compatibility\else
+\DeclareOption{final}{\setlength\overfullrule{0pt}}
+\fi
+\DeclareOption{titlepage}{\@titlepagetrue}
+\if@compatibility\else
+\DeclareOption{notitlepage}{\@titlepagefalse}
+\fi
+\if@compatibility\else
+\DeclareOption{onecolumn}{\@twocolumnfalse}
+\fi
+\DeclareOption{twocolumn}{\@twocolumntrue}
+\DeclareOption{leqno}{\input{leqno.clo}}
+\DeclareOption{fleqn}{\input{fleqn.clo}}
+\DeclareOption{openbib}{%
+  \AtEndOfPackage{%
+   \renewcommand\@openbib@code{%
+      \advance\leftmargin\bibindent
+      \itemindent -\bibindent
+      \listparindent \itemindent
+      \parsep \z@
+      }%
+   \renewcommand\newblock{\par}}%
+}
+\ExecuteOptions{letterpaper,10pt,oneside,onecolumn,final}
 \ProcessOptions
-\RequirePackage{amsmath}
-\RequirePackage{amssymb}
-\RequirePackage{amsthm}
-\input{size10.clo}
-\setlength\oddsidemargin   {14\p@} % to compensate for
-\setlength\evensidemargin  {16\p@} % twoside shift
-\setlength\marginparwidth  {60\p@}
-\setlength\hoffset{7mm}
-\setlength\voffset{-15mm}
+\input{size1\@ptsize.clo}
 \setlength\lineskip{1\p@}
 \setlength\normallineskip{1\p@}
-\setlength\overfullrule{0pt}
-\setlength\textwidth{30pc}
-\normalsize
-\setlength\textheight{48\baselineskip}
 \renewcommand\baselinestretch{}
-\setlength\parskip{0\p@}
+\setlength\parskip{0\p@ \@plus \p@}
 \@lowpenalty   51
 \@medpenalty  151
 \@highpenalty 301
-\setcounter{topnumber}{3}
-\renewcommand\topfraction{.99}
+\setcounter{topnumber}{2}
+\renewcommand\topfraction{.7}
 \setcounter{bottomnumber}{1}
 \renewcommand\bottomfraction{.3}
 \setcounter{totalnumber}{3}
-\renewcommand\textfraction{.07}
-\renewcommand\floatpagefraction{.93}
-\gdef\@author{\mbox{}}
-\def\author{\@ifnextchar [{\@authortwo}{\@authorone}}%{\@dblarg\@authortwo}
-\def\@authortwo[#1]#2{\gdef\@author{#2}\gdef\@shortauthor{#1}}
-\def\@authorone#1{\gdef\@author{#1}
- \begingroup\gdef\@shortauthor{#1}\endgroup}
-\def\shortauthor#1{\gdef\@shortauthor{#1}}
-\gdef\@shortauthor{}
-\gdef\@title{\mbox{}}
-\def\title{\@dblarg\@titletwo}
-\def\@titletwo[#1]#2{\gdef\@title{#2}\gdef\@shorttitle{#1}}
-\def\shorttitle#1{\gdef\@shorttitle{#1}}
-\gdef\@shorttitle{}
-\def\affiliation#1{\gdef\@affiliation{#1}}
-\gdef\@affiliation{}
-\newsavebox{\RSfootbox}
-\sbox{\RSfootbox}{\footnotesize\itshape }
-\def\ps@headings{\let\@mkboth\markboth
-\def\@oddhead{\phantom{\rm \thepage}\hfil{\it \@shorttitle}
-\hfil\rm \thepage}
-\def\@oddfoot{\usebox{\RSfootbox}\hfil}
-\def\@evenhead{\rm \thepage \hfil \it \@shortauthor%
- \hfil\phantom{\rm \thepage}}
-\def\@evenfoot{\@oddfoot}
-\def\sectionmark##1{\markboth{##1}{}}
-\def\subsectionmark##1{\markright{##1}}}
-\def\ps@titlepage{\let\@mkboth\@gobbletwo
-%\def\@oddfoot{\raisebox{0pt}[8pt][0pt]{%
-%  \parbox[t]{\textwidth}{\footnotesize\usebox{\RSfootbox}
-%  \hfill \TeX\ Paper}}}
-\def\@oddhead{}\def\@evenhead{}\let\@evenfoot\@oddfoot
-\def\sectionmark##1{}\def\subsectionmark##1{}}
+\renewcommand\textfraction{.2}
+\renewcommand\floatpagefraction{.5}
+\setcounter{dbltopnumber}{2}
+\renewcommand\dbltopfraction{.7}
+\renewcommand\dblfloatpagefraction{.5}
+\if@twoside
+  \def\ps@headings{%
+      \let\@oddfoot\@empty\let\@evenfoot\@empty
+      \def\@evenhead{\thepage\hfil\slshape\leftmark}%
+      \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
+      \let\@mkboth\markboth
+    \def\sectionmark##1{%
+      \markboth {\MakeUppercase{%
+        \ifnum \c@secnumdepth >\z@
+          \thesection\quad
+        \fi
+        ##1}}{}}%
+    \def\subsectionmark##1{%
+      \markright {%
+        \ifnum \c@secnumdepth >\@ne
+          \thesubsection\quad
+        \fi
+        ##1}}}
+\else
+  \def\ps@headings{%
+    \let\@oddfoot\@empty
+    \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
+    \let\@mkboth\markboth
+    \def\sectionmark##1{%
+      \markright {\MakeUppercase{%
+        \ifnum \c@secnumdepth >\m@ne
+          \thesection\quad
+        \fi
+        ##1}}}}
+\fi
+\def\ps@myheadings{%
+    \let\@oddfoot\@empty\let\@evenfoot\@empty
+    \def\@evenhead{\thepage\hfil\slshape\leftmark}%
+    \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
+    \let\@mkboth\@gobbletwo
+    \let\sectionmark\@gobble
+    \let\subsectionmark\@gobble
+    }
+  \if@titlepage
+  \newcommand\maketitle{\begin{titlepage}%
+  \let\footnotesize\small
+  \let\footnoterule\relax
+  \let \footnote \thanks
+  \null\vfil
+  \vskip 60\p@
+  \begin{center}%
+    {\large \bf \@title \par}%
+    \vskip 3em%
+    {\large
+%     \lineskip .75em%
+     \lineskip .25em%
+      \begin{tabular}[t]{c}%
+        \@author
+      \end{tabular}\par}%
+%      \vskip 1.5em%
+%    {\large \@date \par}%       % Set date in \large size.
+  \end{center}\par
+  \@thanks
+  \vfil\null
+  \end{titlepage}%
+  \setcounter{footnote}{0}%
+  \global\let\thanks\relax
+  \global\let\maketitle\relax
+  \global\let\@thanks\@empty
+  \global\let\@author\@empty
+  \global\let\@date\@empty
+  \global\let\@title\@empty
+  \global\let\title\relax
+  \global\let\author\relax
+  \global\let\date\relax
+  \global\let\and\relax
+}
+\else
 \newcommand\maketitle{\par
   \begingroup
+    \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
+    \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
+    \long\def\@makefntext##1{\parindent 1em\noindent
+            \hb@xt@1.8em{%
+                \hss\@textsuperscript{\normalfont\@thefnmark}}##1}%
+    \if@twocolumn
+      \ifnum \col@number=\@ne
+        \@maketitle
+      \else
+        \twocolumn[\@maketitle]%
+      \fi
+    \else
       \newpage
       \global\@topnum\z@   % Prevents figures from going at top of page.
       \@maketitle
-    \thispagestyle{titlepage}\@thanks
+    \fi
+    \thispagestyle{plain}\@thanks
   \endgroup
   \setcounter{footnote}{0}%
   \global\let\thanks\relax
@@ -102,62 +245,107 @@
 \def\@maketitle{%
   \newpage
   \null
-  \vskip 1pc%
+  \vskip -4.2em%
   \begin{center}%
   \let \footnote \thanks
-    {\bfseries\LARGE \@title \par}%
-    \vskip 12pt plus 2pt minus 1pt%
-    {\scshape B\kern.8pty\kern4pt\@author \par}
-    \vskip 4pt plus 1pt%
-    {\itshape \@affiliation \par}
-    \vskip 8pt plus 1pt%
+    {\normalsize \bfseries \@title \par}%
+    \vskip 1.5em%
+    { {\normalsize \bfseries}
+      \lineskip .5em%
+      \begin{tabular}[t]{c}%
+        \@author
+      \end{tabular}\par}%
+%    \vskip 1em%
+    \vskip -2.1em%
+%    {\large \@date}%
     \end{center}%
   \par
-}
+%  \vskip 1.5em}
+  \vskip 0.1em}
+\fi
 \setcounter{secnumdepth}{3}
-\let\appendixmark\@gobble
+\newcounter {part}
 \newcounter {section}
-\newcounter {appendix}
-\@addtoreset{subsection}{appendix}
 \newcounter {subsection}[section]
 \newcounter {subsubsection}[subsection]
+\newcounter {paragraph}[subsubsection]
+\newcounter {subparagraph}[paragraph]
+\renewcommand \thepart {\@Roman\c@part}
 \renewcommand\thesection      {\@arabic\c@section}
-\renewcommand\theappendix     {\appendixname~\@Alph\c@appendix}
-\renewcommand\thesubsection   {\@alph\c@subsection}
-\renewcommand\thesubsubsection{\@roman\c@subsubsection}
-\newcommand\section{\setcounter{equation}{0}%
-   \renewcommand{\@seccntformat}[1]{%
-   \csname thesection\endcsname.\hspace{0.5em}}%
-   \@startsection{section}{1}{\z@}{-3.5ex \@plus -1ex \@minus -.2ex}%
-                                  {1.6ex \@plus.2ex}%
-                                  {\centering\normalfont\large\bfseries}}
-\newcommand\appendix{\setcounter{equation}{0}%
-   \renewcommand\theequation{\@Alph\c@appendix\thinspace\arabic{equation}}%
-   \renewcommand{\@seccntformat}[1]{%
-   \csname theappendix\endcsname.\hspace{0.5em}}%
-   \@startsection{appendix}{1}{\z@}{-3.5ex \@plus -1ex \@minus -.2ex}%
-                                  {1.6ex \@plus.2ex}%
-                                  {\centering\normalfont\large\bfseries}}
-\newcommand\subsection{\renewcommand{\@seccntformat}[1]{%
-   \normalfont\rmfamily(\normalfont\itshape
-   \csname thesubsection\endcsname\/% Italic correction
-   \normalfont\rmfamily)\hspace{0.5em}}%
-   \@startsection{subsection}{2}{\z@}{3.25ex\@plus 1ex \@minus .2ex}%
-                                     {1.4ex \@plus .2ex}%
-                                     {\centering\normalfont\itshape}}
-\newcommand\subsubsection{\renewcommand{\@seccntformat}[1]{%
-   \normalfont\rmfamily(\csname thesubsubsection\endcsname)\hspace{0.5em}}%
-   \@startsection{subsubsection}{3}{\z@}{3.25ex\@plus 1ex \@minus .2ex}%
-                                        {1.4ex \@plus .2ex}%
-                                        {\raggedright\normalfont
-                                         \normalsize\itshape}}
+\renewcommand\thesubsection   {\thesection.\@arabic\c@subsection}
+\renewcommand\thesubsubsection{\thesubsection .\@arabic\c@subsubsection}
+\renewcommand\theparagraph    {\thesubsubsection.\@arabic\c@paragraph}
+\renewcommand\thesubparagraph {\theparagraph.\@arabic\c@subparagraph}
+\newcommand\part{%
+   \if@noskipsec \leavevmode \fi
+   \par
+   \addvspace{4ex}%
+   \@afterindentfalse
+   \secdef\@part\@spart}
+
+\def\@part[#1]#2{%
+    \ifnum \c@secnumdepth >\m@ne
+      \refstepcounter{part}%
+      \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
+    \else
+      \addcontentsline{toc}{part}{#1}%
+    \fi
+    {\parindent \z@ \raggedright
+     \interlinepenalty \@M
+     \normalfont
+     \ifnum \c@secnumdepth >\m@ne
+       \Large\bfseries \partname~\thepart
+       \par\nobreak
+     \fi
+     \huge \bfseries #2%
+     \markboth{}{}\par}%
+    \nobreak
+    \vskip 3ex
+    \@afterheading}
+\def\@spart#1{%
+    {\parindent \z@ \raggedright
+     \interlinepenalty \@M
+     \normalfont
+     \huge \bfseries #1\par}%
+     \nobreak
+     \vskip 3ex
+     \@afterheading}
+\newcommand\section{\@startsection {section}{1}{\z@}%
+                                   {-3.5ex \@plus -1ex \@minus -.2ex}%
+                                   {2.3ex \@plus.2ex}%
+                                   {\normalfont\normalsize\bfseries}}
+\newcommand\subsection{\@startsection{subsection}{2}{\z@}%
+                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
+                                     {1.5ex \@plus .2ex}%
+                                     {\normalfont\normalsize\bfseries}}
+\newcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
+                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
+                                     {1.5ex \@plus .2ex}%
+                                     {\normalfont\normalsize\bfseries}}
+\newcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
+                                    {3.25ex \@plus1ex \@minus.2ex}%
+                                    {-1em}%
+                                    {\normalfont\normalsize\bfseries}}
+\newcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
+                                       {3.25ex \@plus1ex \@minus .2ex}%
+                                       {-1em}%
+                                      {\normalfont\normalsize\bfseries}}
+\if@twocolumn
+  \setlength\leftmargini  {2em}
+\else
 \setlength\leftmargini  {2.5em}
+\fi
 \leftmargin  \leftmargini
 \setlength\leftmarginii  {2.2em}
 \setlength\leftmarginiii {1.87em}
 \setlength\leftmarginiv  {1.7em}
+\if@twocolumn
+  \setlength\leftmarginv  {.5em}
+  \setlength\leftmarginvi {.5em}
+\else
 \setlength\leftmarginv  {1em}
 \setlength\leftmarginvi {1em}
+\fi
 \setlength  \labelsep  {.5em}
 \setlength  \labelwidth{\leftmargini}
 \addtolength\labelwidth{-\labelsep}
@@ -175,24 +363,41 @@
 \renewcommand\p@enumii{\theenumi}
 \renewcommand\p@enumiii{\theenumi(\theenumii)}
 \renewcommand\p@enumiv{\p@enumiii\theenumiii}
-\newcommand\labelitemi{$\m@th\bullet$}
-\newcommand\labelitemii{\normalfont\bfseries --}
-\newcommand\labelitemiii{$\m@th\ast$}
-\newcommand\labelitemiv{$\m@th\cdot$}
+\newcommand\labelitemi{\textbullet}
+\newcommand\labelitemii{\normalfont\bfseries \textendash}
+\newcommand\labelitemiii{\textasteriskcentered}
+\newcommand\labelitemiv{\textperiodcentered}
 \newenvironment{description}
                {\list{}{\labelwidth\z@ \itemindent-\leftmargin
                         \let\makelabel\descriptionlabel}}
                {\endlist}
 \newcommand*\descriptionlabel[1]{\hspace\labelsep
                                 \normalfont\bfseries #1}
-\newsavebox{\keywords}
-\newenvironment{abstract}[1]{%
-\sbox{\keywords}{\begin{minipage}{28pc}\centering
-\medskip\footnotesize\bfseries\mathversion{bold} Keywords: #1\end{minipage}}
-\par\normalsize\noindent\ignorespaces}
-{\par\usebox{\keywords}\medskip\par}
-\newenvironment{acknowledgements}{%
-  \par\medskip\noindent\small\ignorespaces}{\par}
+\if@titlepage
+  \newenvironment{abstract}{%
+      \titlepage
+      \null\vfil
+      \@beginparpenalty\@lowpenalty
+      \begin{center}%
+        \bfseries \abstractname
+        \@endparpenalty\@M
+      \end{center}}%
+     {\par\vfil\null\endtitlepage}
+%\renewcommand{\abstractname{}}
+\else
+  \newenvironment{abstract}{%
+      \if@twocolumn
+        \section*{\abstractname}%
+      \else
+        \small
+        \begin{center}%
+          {\bfseries \abstractname\vspace{-.5em}\vspace{\z@}}%
+        \end{center}%
+        \quotation
+%\renewcommand{\abstractname{ }}
+      \fi}
+      {\if@twocolumn\else\endquotation\fi}
+\fi
 \newenvironment{verse}
                {\let\\\@centercr
                 \list{}{\itemsep      \z@
@@ -203,7 +408,7 @@
                 \item\relax}
                {\endlist}
 \newenvironment{quotation}
-               {\list{}\em{\listparindent 1.5em%TandT
+               {\list{}{\listparindent 1.5em%
                         \itemindent    \listparindent
                         \rightmargin   \leftmargin
                         \parsep        \z@ \@plus\p@}%
@@ -213,68 +418,87 @@
                {\list{}{\rightmargin\leftmargin}%
                 \item\relax}
                {\endlist}
-\setlength\tabcolsep{6\p@}
+\if@compatibility
+\newenvironment{titlepage}
+    {%
+      \if@twocolumn
+        \@restonecoltrue\onecolumn
+      \else
+        \@restonecolfalse\newpage
+      \fi
+      \thispagestyle{empty}%
+      \setcounter{page}\z@
+    }%
+    {\if@restonecol\twocolumn \else \newpage \fi
+    }
+\else
+\newenvironment{titlepage}
+    {%
+      \if@twocolumn
+        \@restonecoltrue\onecolumn
+      \else
+        \@restonecolfalse\newpage
+      \fi
+      \thispagestyle{empty}%
+      \setcounter{page}\@ne
+    }%
+    {\if@restonecol\twocolumn \else \newpage \fi
+     \if@twoside\else
+        \setcounter{page}\@ne
+     \fi
+    }
+\fi
+\newcommand\appendix{\par
+  \setcounter{section}{0}%
+  \setcounter{subsection}{0}%
+  \gdef\thesection{\@Alph\c@section}}
 \setlength\arraycolsep{5\p@}
+\setlength\tabcolsep{6\p@}
 \setlength\arrayrulewidth{.4\p@}
 \setlength\doublerulesep{2\p@}
 \setlength\tabbingsep{\labelsep}
 \skip\@mpfootins = \skip\footins
 \setlength\fboxsep{3\p@}
 \setlength\fboxrule{.4\p@}
-\renewcommand\theequation{\thesection.\@arabic\c@equation}
-\newlength\abovecaptionskip
-\newlength\belowcaptionskip
-\setlength\abovecaptionskip{3\p@ \@plus 3\p@ \@minus 1\p@}
-\setlength\belowcaptionskip{3\p@ \@plus 3\p@ \@minus 1\p@}
-\setlength\textfloatsep{8\p@ \@plus 6\p@ \@minus 4\p@}
-\def\flcap@type{}
-\long\def\@makecaption#1#2{%
-  \vskip\abovecaptionskip\begingroup\small
-  \sbox\@tempboxa{{\normalfont\rmfamily #1.} \flcap@type #2}%
-  \ifdim \wd\@tempboxa > 2\hsize
-    \unhbox\@tempboxa\par
-  \else
-    \global \@minipagefalse
-    \centering \unhbox\@tempboxa\par
-  \fi
-  \endgroup\vskip\belowcaptionskip}
-\long\def\longcaption#1{%
-  \sbox\@tempboxa{{\small (#1)}}%
-  \ifdim \wd\@tempboxa > \hsize
-    {\small (#1)}\par
-  \else
-    \centerline{\unhbox\@tempboxa}\par
-  \fi
-  \vskip\belowcaptionskip}
+\renewcommand \theequation {\@arabic\c@equation}
 \newcounter{figure}
 \renewcommand\thefigure{\@arabic\c@figure}
-\def\fps@figure{tp}
+\def\fps@figure{tbp}
 \def\ftype@figure{1}
 \def\ext@figure{lof}
 \def\fnum@figure{\figurename~\thefigure}
 \newenvironment{figure}
                {\@float{figure}}
                {\end@float}
+\newenvironment{figure*}
+               {\@dblfloat{figure}}
+               {\end@dblfloat}
 \newcounter{table}
 \renewcommand\thetable{\@arabic\c@table}
-\def\fps@table{tp}
-\def\ftype@table{1}
+\def\fps@table{tbp}
+\def\ftype@table{2}
 \def\ext@table{lot}
 \def\fnum@table{\tablename~\thetable}
 \newenvironment{table}
-               {\def\flcap@type{\itshape}%
-                \@float{table}\small}
+               {\@float{table}}
                {\end@float}
-\def\plaintable{\@float{table}}
-\let\endplaintable\end@float
-\let\endtable\end@float
-\renewcommand{\arraystretch}{1.05}
-
-\newtheorem{theorem}{Theorem}[section]
-\newtheorem{lemma}[theorem]{Lemma}
-\newtheorem{corollary}[theorem]{Corollary}
-\newtheorem{proposition}[theorem]{Proposition}
-
+\newenvironment{table*}
+               {\@dblfloat{table}}
+               {\end@dblfloat}
+\newlength\abovecaptionskip
+\newlength\belowcaptionskip
+\setlength\abovecaptionskip{10\p@}
+\setlength\belowcaptionskip{0\p@}
+\long\def\@makecaption#1#2{%
+  \vskip\abovecaptionskip
+  \sbox\@tempboxa{#1: #2}%
+  \ifdim \wd\@tempboxa >\hsize
+    #1: #2\par
+  \else
+    \global \@minipagefalse
+    \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
+  \fi
+  \vskip\belowcaptionskip}
 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
@@ -284,129 +508,144 @@
 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
 \DeclareRobustCommand*\cal{\@fontswitch\relax\mathcal}
 \DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal}
-\newcommand\@pnumwidth{2.55em}
+\newcommand\@pnumwidth{1.55em}
 \newcommand\@tocrmarg{2.55em}
-\setcounter{tocdepth}{2}
+\newcommand\@dotsep{4.5}
+\setcounter{tocdepth}{3}
 \newcommand\tableofcontents{%
-%    \addvspace{-2em \@plus\p@}%
-    \section*{\contentsname}%
+    \section*{\contentsname
+        \@mkboth{%
+           \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%
     \@starttoc{toc}%
-    \addvspace{1em \@plus\p@}%
     }
-\newcommand*\l@section[2]{%
-  \ifnum \c@tocdepth >\z@
-    \renewcommand\numberline[1]{\hb@xt@\@tempdima{##1.\hfil}}
+\newcommand*\l@part[2]{%
+  \ifnum \c@tocdepth >-2\relax
     \addpenalty\@secpenalty
-    \addvspace{\z@ \@plus\p@}%
-    \setlength\@tempdima{1.5em}%
+    \addvspace{2.25em \@plus\p@}%
     \begingroup
       \parindent \z@ \rightskip \@pnumwidth
       \parfillskip -\@pnumwidth
-      \leavevmode
-      \advance\leftskip\@tempdima
-      \hskip -\leftskip
-      #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
+      {\leavevmode
+       \large \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par
+       \nobreak
+       \if@compatibility
+         \global\@nobreaktrue
+         \everypar{\global\@nobreakfalse\everypar{}}%
+      \fi
     \endgroup
   \fi}
-\newcommand*\l@appendix[2]{%
+\newcommand*\l@section[2]{%
   \ifnum \c@tocdepth >\z@
-    \renewcommand\numberline[1]{\hb@xt@\@tempdima{##1.\hfil}}
     \addpenalty\@secpenalty
-    \addvspace{\z@ \@plus\p@}%
-    \setlength\@tempdima{6em}%
+    \addvspace{1.0em \@plus\p@}%
+    \setlength\@tempdima{1.5em}%
     \begingroup
       \parindent \z@ \rightskip \@pnumwidth
       \parfillskip -\@pnumwidth
-      \leavevmode
+      \leavevmode \bfseries
       \advance\leftskip\@tempdima
-      \advance\leftskip -4.5em
       \hskip -\leftskip
       #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
     \endgroup
   \fi}
-\newcommand*\l@subsection[2]{%
-  \ifnum \c@tocdepth > \@ne
-    \renewcommand\numberline[1]{\hb@xt@2em{%
-        \textup{(}{\itshape##1\/}\textup{)}\hfil}}
-    \setlength\@tempdima{1.5em}%
-    \begingroup
-      \parindent \@tempdima \rightskip \@pnumwidth
-      \parfillskip -\@pnumwidth
-      \leavevmode
-      \advance\leftskip\@tempdima
-      \hskip -\leftskip
-      #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
-    \endgroup
-  \fi
+\newcommand*\l@subsection{\@dottedtocline{2}{1.5em}{2.3em}}
+\newcommand*\l@subsubsection{\@dottedtocline{3}{3.8em}{3.2em}}
+\newcommand*\l@paragraph{\@dottedtocline{4}{7.0em}{4.1em}}
+\newcommand*\l@subparagraph{\@dottedtocline{5}{10em}{5em}}
+\newcommand\listoffigures{%
+    \section*{\listfigurename
+      \@mkboth{\MakeUppercase\listfigurename}%
+              {\MakeUppercase\listfigurename}}%
+    \@starttoc{lof}%
+    }
+\newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
+\newcommand\listoftables{%
+    \section*{\listtablename
+      \@mkboth{%
+          \MakeUppercase\listtablename}{\MakeUppercase\listtablename}}%
+    \@starttoc{lot}%
 }
-\newcommand*{\l@subsubsection}{\@dottedtocline{3}{3.8em}{3.2em}}
+\let\l@table\l@figure
 \newdimen\bibindent
 \setlength\bibindent{1.5em}
-\def\thebibliography#1{\section*{{\refname}}
-\small\rm\list
-	{[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}\leftmargin\labelwidth
-	\advance\leftmargin\labelsep\usecounter{enumi}}
-	\def\newblock{\hskip .11em plus .33em minus -.07em}
-	%
-	{\setlength\labelwidth{0pt}
-              \setlength\leftmargin{1em}
-              \setlength\itemindent{-1em}
-              \setlength\itemsep{-3pt}}
-	%
-	\sloppy\clubpenalty6000\widowpenalty6000
-	\sfcode`\.=1000\relax}
-	\let\endthebibliography=\endlist
+\newenvironment{thebibliography}[1]
+     {\section*{\refname
+        \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}}%
+      \list{\@biblabel{\@arabic\c@enumiv}}%
+           {\settowidth\labelwidth{\@biblabel{#1}}%
+            \leftmargin\labelwidth
+            \advance\leftmargin\labelsep
+            \@openbib@code
+            \usecounter{enumiv}%
+            \let\p@enumiv\@empty
+            \renewcommand\theenumiv{\@arabic\c@enumiv}}%
+      \sloppy
+      \clubpenalty4000
+      \@clubpenalty \clubpenalty
+      \widowpenalty4000%
+      \sfcode`\.\@m}
+     {\def\@noitemerr
+       {\@latex@warning{Empty `thebibliography' environment}}%
+      \endlist}
 \newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
+\let\@openbib@code\@empty
+\newenvironment{theindex}
+               {\if@twocolumn
+                  \@restonecolfalse
+                \else
+                  \@restonecoltrue
+                \fi
+                \columnseprule \z@
+                \columnsep 35\p@
+                \twocolumn[\section*{\indexname}]%
+                \@mkboth{\MakeUppercase\indexname}%
+                        {\MakeUppercase\indexname}%
+                \thispagestyle{plain}\parindent\z@
+                \parskip\z@ \@plus .3\p@\relax
+                \let\item\@idxitem}
+               {\if@restonecol\onecolumn\else\clearpage\fi}
+\newcommand\@idxitem{\par\hangindent 40\p@}
 \newcommand\subitem{\@idxitem \hspace*{20\p@}}
 \newcommand\subsubitem{\@idxitem \hspace*{30\p@}}
-\@addtoreset{footnote}{page}
-\renewcommand\footnoterule{}
-\renewcommand{\thefootnote}{\fnsymbol{footnote}}
-\renewcommand{\@fnsymbol}[1]{\ifcase#1\or \dag\or \ddag\or \P\or \|\or
- \dag\dag\or \ddag\ddag\or \P\P\or \|\| \else\@ctrerr\fi\relax}
-\renewcommand{\@makefnmark}{\mbox{\@thefnmark}}
+\newcommand\indexspace{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
+\renewcommand\footnoterule{%
+  \kern-3\p@
+  \hrule\@width.4\columnwidth
+  \kern2.6\p@}
 \newcommand\@makefntext[1]{%
     \parindent 1em%
     \noindent
-    \hb@xt@2.2em{\hss\@makefnmark\hskip.5em}#1}
+    \hb@xt@1.8em{\hss\@makefnmark}#1}
 \newcommand\contentsname{Contents}
+\newcommand\listfigurename{List of Figures}
+\newcommand\listtablename{List of Tables}
 \newcommand\refname{References}
 \newcommand\indexname{Index}
 \newcommand\figurename{Figure}
 \newcommand\tablename{Table}
+\newcommand\partname{Part}
 \newcommand\appendixname{Appendix}
+%\newcommand\abstractname{Abstract}
+\newcommand\abstractname{ }
+\def\today{\ifcase\month\or
+  January\or February\or March\or April\or May\or June\or
+  July\or August\or September\or October\or November\or December\fi
+  \space\number\day, \number\year}
 \setlength\columnsep{10\p@}
 \setlength\columnseprule{0\p@}
-\renewcommand{\theequation}{\thesection.\arabic{equation}}
-%\pagestyle{fancy}
-\ps@headings
-\pagenumbering{arabic} \frenchspacing \clubpenalty=4000
-\widowpenalty=10000
-
-\newcommand{\rd}{\mathrm{d}}            % Roman d for differential
-\newcommand{\re}{\mathrm{e}}            % Roman e for exponential
-\newcommand{\ri}{\mathrm{i}}            % Roman i for imaginary number
-\DeclareMathOperator{\sgn}{sgn}           % Sign
-\DeclareMathOperator{\Real}{Re}  % Real part
-\DeclareMathOperator{\Imag}{Im}  % Imaginary part
-\newcommand{\const}{\mathrm{const.}}    % Abbreviation for `constant'
-\newcommand{\3}{\kern2.5pt}
-
-\def\bi{\begin{itemize}}
-\def\ei{\end{itemize}}
-\def\bq{\begin{quotation}}
-\def\eq{\end{quotation}}
-%\newtheorem{theorem}{Theorem}
-
-\def\thedemobiblio#1{\smallskip\par
- \list{}{\labelwidth 0pt \leftmargin 1em \itemindent -1em \itemsep 1pt}
- \small \parindent 0pt
- \parskip 1.5pt plus .1pt\relax
- \def\newblock{\hskip .11em plus .33em minus .07em}
- \sloppy\clubpenalty4000\widowpenalty4000
- \sfcode`\.=1000\relax}
-\let\endthedemobiblio=\endlist
-\def\TandT{T\kern-.1667em\lower.5ex\hbox{\&}\kern-.1667em T}
+\pagestyle{plain}
+\pagenumbering{arabic}
+\if@twoside
+\else
+  \raggedbottom
+\fi
+\if@twocolumn
+  \twocolumn
+  \sloppy
+  \flushbottom
+\else
+  \onecolumn
+\fi
 \endinput
 %%
-%% End of file.
+%% End of file `hsqcd.cls'.

 

Close Window
 
  The service has been written by
Heinrich Stamerjohanns