arxmliv
arxmliv build tool
 
KWARC group
LaTeXML
About
   
 

Back to Homepage

--- /arXMLiv/repos/arXMLiv/trunk/sty/CSM_template.cls	2010-04-01 18:18:29.000000000 +0200
+++ /arXMLiv/repos/arXMLiv/trunk/sty/myhsqcd.cls	2010-04-01 17:13:44.000000000 +0200
@@ -1,50 +1,39 @@
+%% This is 'hsqcd.cls' based on standard 'article.cls'
+%% Last change: June 19, 2004
 %%
-%% Modified from acc_article.cls on 11/19/01 to
-%% put in some features for the CSM. -- DYA
-%%
-%% Modified from article.cls on 3/10/98 to
-%% put in some features for the ACC. -- DYA
-%%
-%%  Specifically, captions are now modified to have
-%%  \sffamily\bfseries\small fonts.
-%%
-%% This is file `article.cls', generated
-%% on <1995/1/27> with the docstrip utility (2.2i).
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% This is file `article.cls',
+%% generated with the docstrip utility.
 %%
 %% The original source files were:
 %%
 %% classes.dtx  (with options: `article')
 %%
-%% Copyright 1994 the LaTeX3 project and the individual authors.
-%% All rights reserved. For further copyright information see the file
-%% legal.txt, and any other copyright indicated in this file.
-%%
-%% This file is part of the LaTeX2e system.
-%% ----------------------------------------
-%%
-%% This system is distributed in the hope that it will be useful,
-%% but WITHOUT ANY WARRANTY; without even the implied warranty of
-%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-%%
-%%
-%% IMPORTANT NOTICE:
-%%
-%% For error reports in case of UNCHANGED versions see bugs.txt.
-%%
-%% Please do not request updates from us directly. Distribution is
-%% done through Mail-Servers and TeX organizations.
+%% This is a generated file.
 %%
-%% You are not allowed to change this 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.
 %%
-%% You are allowed to distribute this file under the condition that
-%% it is distributed together with all files mentioned in manifest.txt.
-%%
-%% If you receive only some of these files from someone, complain!
-%%
-%% You are NOT ALLOWED to distribute this file alone. You are NOT
-%% ALLOWED to take money for the distribution or use of either this
-%% file or a changed version, except for a nominal charge for copying
-%% etc.
 %% \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
@@ -60,16 +49,15 @@
 %%   Right bracket \]     Circumflex    \^     Underscore    \_
 %%   Grave accent  \`     Left brace    \{     Vertical bar  \|
 %%   Right brace   \}     Tilde         \~}
-\NeedsTeXFormat{LaTeX2e}
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
 \ProvidesClass{article}
-              [1994/12/09 v1.2x
+              [2000/05/19 v1.4b
  Standard LaTeX document class]
-\newcommand{\@ptsize}{}
+\newcommand\@ptsize{}
 \newif\if@restonecol
 \newif\if@titlepage
 \@titlepagefalse
-\newif\if@openbib
-\@openbibfalse
+\if@compatibility\else
 \DeclareOption{a4paper}
    {\setlength\paperheight {297mm}%
     \setlength\paperwidth  {210mm}}
@@ -92,40 +80,62 @@
    {\setlength\@tempdima   {\paperheight}%
     \setlength\paperheight {\paperwidth}%
     \setlength\paperwidth  {\@tempdima}}
-\DeclareOption{10pt}{\renewcommand{\@ptsize}{0}}
-\DeclareOption{11pt}{\renewcommand{\@ptsize}{1}}
-\DeclareOption{12pt}{\renewcommand{\@ptsize}{2}}
+\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}{\@openbibtrue}
+\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
 \input{size1\@ptsize.clo}
 \setlength\lineskip{1\p@}
 \setlength\normallineskip{1\p@}
-\renewcommand{\baselinestretch}{}
+\renewcommand\baselinestretch{}
 \setlength\parskip{0\p@ \@plus \p@}
 \@lowpenalty   51
 \@medpenalty  151
 \@highpenalty 301
 \setcounter{topnumber}{2}
-\renewcommand{\topfraction}{.7}
+\renewcommand\topfraction{.7}
 \setcounter{bottomnumber}{1}
-\renewcommand{\bottomfraction}{.3}
+\renewcommand\bottomfraction{.3}
 \setcounter{totalnumber}{3}
-\renewcommand{\textfraction}{.2}
-\renewcommand{\floatpagefraction}{.5}
+\renewcommand\textfraction{.2}
+\renewcommand\floatpagefraction{.5}
 \setcounter{dbltopnumber}{2}
-\renewcommand{\dbltopfraction}{.7}
-\renewcommand{\dblfloatpagefraction}{.5}
+\renewcommand\dbltopfraction{.7}
+\renewcommand\dblfloatpagefraction{.5}
 \if@twoside
   \def\ps@headings{%
       \let\@oddfoot\@empty\let\@evenfoot\@empty
@@ -133,15 +143,15 @@
       \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
       \let\@mkboth\markboth
     \def\sectionmark##1{%
-      \markboth {\uppercase{%
+      \markboth {\MakeUppercase{%
         \ifnum \c@secnumdepth >\z@
-          \thesection.\hskip 1em\relax
+          \thesection\quad
         \fi
         ##1}}{}}%
     \def\subsectionmark##1{%
       \markright {%
         \ifnum \c@secnumdepth >\@ne
-          \thesubsection\hskip 1em\relax
+          \thesubsection\quad
           \fi
           ##1}}}
 \else
@@ -150,9 +160,9 @@
     \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
     \let\@mkboth\markboth
     \def\sectionmark##1{%
-      \markright {\uppercase{%
+      \markright {\MakeUppercase{%
         \ifnum \c@secnumdepth >\m@ne
-          \thesection\hskip 1em\relax
+          \thesection\quad
         \fi
         ##1}}}}
 \fi
@@ -165,35 +175,47 @@
     \let\subsectionmark\@gobble
     }
 \if@titlepage
-  \newcommand{\maketitle}{\begin{titlepage}%
+  \newcommand\maketitle{\begin{titlepage}%
   \let\footnotesize\small
   \let\footnoterule\relax
+  \let \footnote \thanks
   \null\vfil
   \vskip 60\p@
   \begin{center}%
-    {\LARGE \@title \par}%
+    {\large \bf \@title \par}%
     \vskip 3em%
     {\large
-     \lineskip .75em%
+%     \lineskip .75em%
+     \lineskip .25em%
       \begin{tabular}[t]{c}%
         \@author
       \end{tabular}\par}%
-      \vskip 1.5em%
-    {\large \@date \par}%       % Set date in \large size.
+%      \vskip 1.5em%
+%    {\large \@date \par}%       % Set date in \large size.
   \end{center}\par
   \@thanks
   \vfil\null
   \end{titlepage}%
   \setcounter{footnote}{0}%
-  \let\thanks\relax\let\maketitle\relax
-  \gdef\@thanks{}\gdef\@author{}\gdef\@title{}}
+  \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
+\newcommand\maketitle{\par
   \begingroup
-    \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
-    \def\@makefnmark{\hbox to\z@{$\m@th^{\@thefnmark}$\hss}}%
+    \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
+    \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
     \long\def\@makefntext##1{\parindent 1em\noindent
-            \hbox to1.8em{\hss$\m@th^{\@thefnmark}$}##1}%
+            \hb@xt@1.8em{%
+                \hss\@textsuperscript{\normalfont\@thefnmark}}##1}%
     \if@twocolumn
       \ifnum \col@number=\@ne
         \@maketitle
@@ -205,39 +227,41 @@
       \global\@topnum\z@   % Prevents figures from going at top of page.
       \@maketitle
     \fi
-    %%
-    %% Failed attempt to switch title page based on whether the
-    %% the pagestyle is empty or not. -- DYA
-    %%
-    %%\if@empty
-      %% Force the title page to be empty for printing
-      %% final copies without figure numbers.
-      \thispagestyle{empty}\@thanks
-    %%\else
-    %%  \thispagestyle{plain}\@thanks
-    %%\fi
+    \thispagestyle{plain}\@thanks
   \endgroup
   \setcounter{footnote}{0}%
-  \let\thanks\relax
-  \let\maketitle\relax\let\@maketitle\relax
-  \gdef\@thanks{}\gdef\@author{}\gdef\@title{}}
+  \global\let\thanks\relax
+  \global\let\maketitle\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
+}
 \def\@maketitle{%
   \newpage
   \null
-  \vskip 2em%
+  \vskip -4.2em%
   \begin{center}%
-    {\LARGE \@title \par}%
+  \let \footnote \thanks
+    {\normalsize \bfseries \@title \par}%
     \vskip 1.5em%
-    {\large
+    { {\normalsize \bfseries}
       \lineskip .5em%
       \begin{tabular}[t]{c}%
         \@author
       \end{tabular}\par}%
-    \vskip 1em%
-    {\large \@date}%
+%    \vskip 1em%
+    \vskip -2.1em%
+%    {\large \@date}%
   \end{center}%
   \par
-  \vskip 1.5em}
+%  \vskip 1.5em}
+  \vskip 0.1em}
 \fi
 \setcounter{secnumdepth}{3}
 \newcounter {part}
@@ -246,13 +270,15 @@
 \newcounter {subsubsection}[subsection]
 \newcounter {paragraph}[subsubsection]
 \newcounter {subparagraph}[paragraph]
-\renewcommand{\thepart}         {\Roman{part}}
-\renewcommand{\thesection}      {\arabic{section}}
-\renewcommand{\thesubsection}   {\thesection.\arabic{subsection}}
-\renewcommand{\thesubsubsection}{\thesubsection .\arabic{subsubsection}}
-\renewcommand{\theparagraph}    {\thesubsubsection.\arabic{paragraph}}
-\renewcommand{\thesubparagraph} {\theparagraph.\arabic{subparagraph}}
-\newcommand{\part}{\par
+\renewcommand \thepart {\@Roman\c@part}
+\renewcommand \thesection {\@arabic\c@section}
+\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}
@@ -266,7 +292,7 @@
     \fi
     {\parindent \z@ \raggedright
      \interlinepenalty \@M
-     \reset@font
+     \normalfont
      \ifnum \c@secnumdepth >\m@ne
        \Large\bfseries \partname~\thepart
        \par\nobreak
@@ -279,49 +305,37 @@
 \def\@spart#1{%
     {\parindent \z@ \raggedright
      \interlinepenalty \@M
-     \reset@font
+     \normalfont
      \huge \bfseries #1\par}%
      \nobreak
      \vskip 3ex
      \@afterheading}
-\def\@endpart{\vfil\newpage
-              \if@twoside
-                \hbox{}%
-                \thispagestyle{empty}%
-                \newpage
-              \fi
-              \if@tempswa
-                \twocolumn
-              \fi}
-%%
-%% \centering has been added to main section commands for the CSM.
-%%  -- DYA, 11/19/01
-%%
-\newcommand{\section}{\@startsection {section}{1}{\z@}%
+\newcommand\section{\@startsection {section}{1}{\z@}%
                                    {-3.5ex \@plus -1ex \@minus -.2ex}%
                                    {2.3ex \@plus.2ex}%
-                                   {\centering\reset@font\Large\bfseries}}
-\newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
+                                   {\normalfont\normalsize\bfseries}}
+\newcommand\subsection{\@startsection{subsection}{2}{\z@}%
                                      {-3.25ex\@plus -1ex \@minus -.2ex}%
                                      {1.5ex \@plus .2ex}%
-                                     {\reset@font\large\bfseries}}
-\newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
+                                     {\normalfont\normalsize\bfseries}}
+\newcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
                                      {-3.25ex\@plus -1ex \@minus -.2ex}%
                                      {1.5ex \@plus .2ex}%
-                                     {\reset@font\normalsize\bfseries}}
-\newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
+                                     {\normalfont\normalsize\bfseries}}
+\newcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
                                     {3.25ex \@plus1ex \@minus.2ex}%
                                     {-1em}%
-                                    {\reset@font\normalsize\bfseries}}
-\newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\parindent}%
+                                    {\normalfont\normalsize\bfseries}}
+\newcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
                                        {3.25ex \@plus1ex \@minus .2ex}%
                                        {-1em}%
-                                      {\reset@font\normalsize\bfseries}}
+                                      {\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}
@@ -332,82 +346,79 @@
   \setlength\leftmarginv  {1em}
   \setlength\leftmarginvi {1em}
 \fi
-\setlength\leftmargin    {\leftmargini}
 \setlength  \labelsep  {.5em}
 \setlength  \labelwidth{\leftmargini}
 \addtolength\labelwidth{-\labelsep}
 \@beginparpenalty -\@lowpenalty
 \@endparpenalty   -\@lowpenalty
 \@itempenalty     -\@lowpenalty
-\renewcommand{\theenumi}{\arabic{enumi}}
-\renewcommand{\theenumii}{\alph{enumii}}
-\renewcommand{\theenumiii}{\roman{enumiii}}
-\renewcommand{\theenumiv}{\Alph{enumiv}}
-\newcommand{\labelenumi}{\theenumi.}
-\newcommand{\labelenumii}{(\theenumii)}
-\newcommand{\labelenumiii}{\theenumiii.}
-\newcommand{\labelenumiv}{\theenumiv.}
-\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$}
+\renewcommand\theenumi{\@arabic\c@enumi}
+\renewcommand\theenumii{\@alph\c@enumii}
+\renewcommand\theenumiii{\@roman\c@enumiii}
+\renewcommand\theenumiv{\@Alph\c@enumiv}
+\newcommand\labelenumi{\theenumi.}
+\newcommand\labelenumii{(\theenumii)}
+\newcommand\labelenumiii{\theenumiii.}
+\newcommand\labelenumiv{\theenumiv.}
+\renewcommand\p@enumii{\theenumi}
+\renewcommand\p@enumiii{\theenumi(\theenumii)}
+\renewcommand\p@enumiv{\p@enumiii\theenumiii}
+\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
+\newcommand*\descriptionlabel[1]{\hspace\labelsep
                                 \normalfont\bfseries #1}
 \if@titlepage
   \newenvironment{abstract}{%
       \titlepage
       \null\vfil
-      \begin{center}
+      \@beginparpenalty\@lowpenalty
+      \begin{center}%
         \bfseries \abstractname
-      \end{center}}
+        \@endparpenalty\@M
+      \end{center}}%
      {\par\vfil\null\endtitlepage}
+%\renewcommand{\abstractname{}}
 \else
   \newenvironment{abstract}{%
       \if@twocolumn
-	% \section*{\abstractname}%
-	% Modified for ACC by DYA, 3/10/98
-	%
-        \begin{center}%
-          {\bfseries\large \abstractname\vspace{-.5em}\vspace{\z@}}%
-        \end{center}%
-        \bfseries
-        \quotation
+        \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
+               {\let\\\@centercr
                 \list{}{\itemsep      \z@
                         \itemindent   -1.5em%
                         \listparindent\itemindent
                         \rightmargin  \leftmargin
                         \advance\leftmargin 1.5em}%
-                \item[]}
+                \item\relax}
                {\endlist}
 \newenvironment{quotation}
                {\list{}{\listparindent 1.5em%
                         \itemindent    \listparindent
                         \rightmargin   \leftmargin
                         \parsep        \z@ \@plus\p@}%
-                \item[]}
+                \item\relax}
                {\endlist}
 \newenvironment{quote}
                {\list{}{\rightmargin\leftmargin}%
-                \item[]}
+                \item\relax}
                {\endlist}
+\if@compatibility
 \newenvironment{titlepage}
     {%
       \if@twocolumn
@@ -416,18 +427,31 @@
         \@restonecolfalse\newpage
       \fi
       \thispagestyle{empty}%
-      \if@compatibility
-        \setcounter{page}{0}
+      \setcounter{page}\z@
+    }%
+    {\if@restonecol\twocolumn \else \newpage \fi
+    }
+\else
+\newenvironment{titlepage}
+    {%
+      \if@twocolumn
+        \@restonecoltrue\onecolumn
       \else
-        \setcounter{page}{1}%
-      \fi}%
+        \@restonecolfalse\newpage
+      \fi
+      \thispagestyle{empty}%
+      \setcounter{page}\@ne
+    }%
     {\if@restonecol\twocolumn \else \newpage \fi
-      \setcounter{page}{1}%
+     \if@twoside\else
+        \setcounter{page}\@ne
+     \fi
     }
-\newcommand{\appendix}{\par
+\fi
+\newcommand\appendix{\par
   \setcounter{section}{0}%
   \setcounter{subsection}{0}%
-  \renewcommand{\thesection}{\Alph{section}}}
+  \gdef\thesection{\@Alph\c@section}}
 \setlength\arraycolsep{5\p@}
 \setlength\tabcolsep{6\p@}
 \setlength\arrayrulewidth{.4\p@}
@@ -436,9 +460,9 @@
 \skip\@mpfootins = \skip\footins
 \setlength\fboxsep{3\p@}
 \setlength\fboxrule{.4\p@}
-\renewcommand{\theequation}{\arabic{equation}}
+\renewcommand \theequation {\@arabic\c@equation}
 \newcounter{figure}
-\renewcommand{\thefigure}{\@arabic\c@figure}
+\renewcommand \thefigure {\@arabic\c@figure}
 \def\fps@figure{tbp}
 \def\ftype@figure{1}
 \def\ext@figure{lof}
@@ -450,7 +474,7 @@
                {\@dblfloat{figure}}
                {\end@dblfloat}
 \newcounter{table}
-\renewcommand{\thetable}{\@arabic\c@table}
+\renewcommand\thetable{\@arabic\c@table}
 \def\fps@table{tbp}
 \def\ftype@table{2}
 \def\ext@table{lot}
@@ -467,12 +491,12 @@
 \setlength\belowcaptionskip{0\p@}
 \long\def\@makecaption#1#2{%
   \vskip\abovecaptionskip
-  \sbox\@tempboxa{\sffamily\bfseries\normalsize #1. #2}%
+  \sbox\@tempboxa{#1: #2}%
   \ifdim \wd\@tempboxa >\hsize
-    \sffamily\bfseries\normalsize #1. #2\par
+    #1: #2\par
   \else
     \global \@minipagefalse
-    \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
+    \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
   \fi
   \vskip\belowcaptionskip}
 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
@@ -482,37 +506,37 @@
 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
-\DeclareRobustCommand*{\cal}{\@fontswitch{\relax}{\mathcal}}
-\DeclareRobustCommand*{\mit}{\@fontswitch{\relax}{\mathnormal}}
-\newcommand{\@pnumwidth}{1.55em}
-\newcommand{\@tocrmarg} {2.55em}
-\newcommand{\@dotsep}{4.5}
+\DeclareRobustCommand*\cal{\@fontswitch\relax\mathcal}
+\DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal}
+\newcommand\@pnumwidth{1.55em}
+\newcommand\@tocrmarg{2.55em}
+\newcommand\@dotsep{4.5}
 \setcounter{tocdepth}{3}
-\newcommand{\tableofcontents}{%
+\newcommand\tableofcontents{%
     \section*{\contentsname
-        \@mkboth{\uppercase{\contentsname}}{\uppercase{\contentsname}}}%
+        \@mkboth{%
+           \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%
     \@starttoc{toc}%
     }
-\newcommand*{\l@part}[2]{%
+\newcommand*\l@part[2]{%
   \ifnum \c@tocdepth >-2\relax
-    \addpenalty{\@secpenalty}%
+    \addpenalty\@secpenalty
     \addvspace{2.25em \@plus\p@}%
     \begingroup
-      \setlength\@tempdima{3em}%
       \parindent \z@ \rightskip \@pnumwidth
       \parfillskip -\@pnumwidth
       {\leavevmode
-       \large \bfseries #1\hfil \hbox to\@pnumwidth{\hss #2}}\par
+       \large \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par
        \nobreak
        \if@compatibility
          \global\@nobreaktrue
-         \everypar{\global\@nobreakfalse\everypar{}}
+         \everypar{\global\@nobreakfalse\everypar{}}%
       \fi
     \endgroup
   \fi}
-\newcommand*{\l@section}[2]{%
+\newcommand*\l@section[2]{%
   \ifnum \c@tocdepth >\z@
-    \addpenalty{\@secpenalty}%
+    \addpenalty\@secpenalty
     \addvspace{1.0em \@plus\p@}%
     \setlength\@tempdima{1.5em}%
     \begingroup
@@ -521,55 +545,50 @@
       \leavevmode \bfseries
       \advance\leftskip\@tempdima
       \hskip -\leftskip
-      #1\nobreak\hfil \nobreak\hbox to\@pnumwidth{\hss #2}\par
+      #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}{%
+\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{\uppercase{\listfigurename}}%
-              {\uppercase{\listfigurename}}}%
+      \@mkboth{\MakeUppercase\listfigurename}%
+              {\MakeUppercase\listfigurename}}%
     \@starttoc{lof}%
     }
-\newcommand*{\l@figure}{\@dottedtocline{1}{1.5em}{2.3em}}
-\newcommand{\listoftables}{%
+\newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
+\newcommand\listoftables{%
     \section*{\listtablename
-      \@mkboth{\uppercase{\listtablename}}{\uppercase{\listtablename}}}%
+      \@mkboth{%
+          \MakeUppercase\listtablename}{\MakeUppercase\listtablename}}%
     \@starttoc{lot}%
     }
 \let\l@table\l@figure
 \newdimen\bibindent
-\bibindent=1.5em
+\setlength\bibindent{1.5em}
 \newenvironment{thebibliography}[1]
      {\section*{\refname
-        \@mkboth{\uppercase{\refname}}{\uppercase{\refname}}}%
-      \list{\@biblabel{\arabic{enumiv}}}%
+        \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}}%
+      \list{\@biblabel{\@arabic\c@enumiv}}%
            {\settowidth\labelwidth{\@biblabel{#1}}%
             \leftmargin\labelwidth
             \advance\leftmargin\labelsep
-            \if@openbib
-              \advance\leftmargin\bibindent
-              \itemindent -\bibindent
-              \listparindent \itemindent
-              \parsep \z@
-            \fi
+            \@openbib@code
             \usecounter{enumiv}%
             \let\p@enumiv\@empty
-            \renewcommand{\theenumiv}{\arabic{enumiv}}}%
-      \if@openbib
-        \renewcommand{\newblock}{\par}
-      \else
-        \renewcommand{\newblock}{\hskip .11em \@plus.33em \@minus.07em}%
-      \fi
-      \sloppy\clubpenalty4000\widowpenalty4000%
-      \sfcode`\.=\@m}
+            \renewcommand\theenumiv{\@arabic\c@enumiv}}%
+      \sloppy
+      \clubpenalty4000
+      \@clubpenalty \clubpenalty
+      \widowpenalty4000%
+      \sfcode`\.\@m}
      {\def\@noitemerr
        {\@latex@warning{Empty `thebibliography' environment}}%
       \endlist}
-\newcommand{\newblock}{}
+\newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
+\let\@openbib@code\@empty
 \newenvironment{theindex}
                {\if@twocolumn
                   \@restonecolfalse
@@ -579,42 +598,43 @@
                 \columnseprule \z@
                 \columnsep 35\p@
                 \twocolumn[\section*{\indexname}]%
-                \@mkboth{\uppercase{\indexname}}%
-                        {\uppercase{\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}   {\par\hangindent 40\p@ \hspace*{20\p@}}
-\newcommand{\subsubitem}{\par\hangindent 40\p@ \hspace*{30\p@}}
-\newcommand{\indexspace}{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
-\renewcommand{\footnoterule}{%
+\newcommand\@idxitem{\par\hangindent 40\p@}
+\newcommand\subitem{\@idxitem \hspace*{20\p@}}
+\newcommand\subsubitem{\@idxitem \hspace*{30\p@}}
+\newcommand\indexspace{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
+\renewcommand\footnoterule{%
   \kern-3\p@
-  \hrule width .4\columnwidth
+  \hrule\@width.4\columnwidth
   \kern 2.6\p@}
-\long\def\@makefntext#1{%
+\newcommand\@makefntext[1]{%
     \parindent 1em%
     \noindent
-    \hbox to 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{\today}{\ifcase\month\or
+    \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@}
 \pagestyle{plain}
-\pagenumbering{arabic}      % Arabic page numbers
+\pagenumbering{arabic}
 \if@twoside
 \else
   \raggedbottom
@@ -628,4 +648,4 @@
 \fi
 \endinput
 %%
-%% End of file `article.cls'.
+%% End of file `hsqcd.cls'.

 

Close Window
 
  The service has been written by
Heinrich Stamerjohanns