arxmliv
arxmliv build tool
 
KWARC group
LaTeXML
About
   
 

Back to Homepage

--- /arXMLiv/repos/arXMLiv/trunk/sty/jstatphys.cls	2010-04-02 19:57:29.000000000 +0200
+++ /arXMLiv/repos/arXMLiv/trunk/sty/modreport.cls	2010-04-01 23:40:39.000000000 +0200
@@ -1,14 +1,104 @@
+%% Modified from report.cls to modreport by Tomas Lindén 22.10.97
+%% This is file `modreport.cls',
+%% generated with the docstrip utility.
 %%
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{jstatphys}
-              [1997/02/27
- Club der Unaestheten]
+%% The original source files were:
+%%
+%% classes.dtx  (with options: `report')
+%%
+%% This is a generated file.
+%%
+%% Copyright 1993 1994 1995 1996 1997
+%% The LaTeX3 Project and any individual authors listed elsewhere
+%% in this file.
+%%
+%% For further copyright information, and conditions for modification
+%% and distribution, see the file legal.txt, and any other copyright
+%% notices 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.
+%%
+%%   For error reports concerning UNCHANGED versions of this file no
+%%   more than one year old, see bugs.txt.
+%%
+%%   Please do not request updates from us directly.  Primary
+%%   distribution is through the CTAN archives.
+%%
+%%
+%% IMPORTANT COPYRIGHT NOTICE:
+%%
+%% You are NOT ALLOWED to distribute this file alone.
+%%
+%% You are allowed to distribute this file under the condition that it
+%% is distributed together with all the files listed in manifest.txt.
+%%
+%% If you receive only some of these files from someone, complain!
+%%
+%%
+%% Permission is granted to copy this file to another file with a
+%% clearly different name and to customize the declarations in that
+%% copy to serve the needs of your installation, provided that you
+%% comply with the conditions in the file legal.txt.
+%%
+%% However, NO PERMISSION is granted to generate or to distribute a
+%% modified version of this file under its original name.
+%%
+%% You are NOT ALLOWED to change this file.
+%%
+%%
+%% MODIFICATION ADVICE:
+%%
+%% If you want to customize this file, it is best to make a copy of
+%% the source file(s) from which it was produced.  Use a different
+%% name for your copy(ies) and modify the copy(ies); this will ensure
+%% that your modifications do not get overwritten when you install a
+%% new release of the standard system.  You should also ensure that
+%% your modified source file does not generate any modified file with
+%% the same name as a standard file.
+%%
+%% You can then easily distribute your modifications by distributing
+%% the modified and renamed copy of the source file, taking care to
+%% observe the conditions in legal.txt; this will ensure that other
+%% users can safely use your modifications.
+%%
+%% You will also need to produce your own, suitably named, .ins file to
+%% control the generation of files from your source file; this file
+%% should contain your own preambles for the files it generates, not
+%% those in the standard .ins files.
+%%
+%% The names of the source files used are shown above.
+%%
+%%
+%%
+%% \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{modreport}
+              [1997/06/16 v1.3v
+ Standard LaTeX document class]
 \newcommand\@ptsize{}
 \newif\if@restonecol
 \newif\if@titlepage
-\@titlepagefalse
-\newif\if@openbib
-\@openbibfalse
+\@titlepagetrue
+\newif\if@openright
+\if@compatibility\else
 \DeclareOption{a4paper}
    {\setlength\paperheight {297mm}%
     \setlength\paperwidth  {210mm}}
@@ -31,223 +121,50 @@
    {\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}
-\DeclareOption{onecolumn}{\@twocolumnfalse}
-\DeclareOption{twocolumn}{\@twocolumntrue}
-\DeclareOption{leqno}{\input{leqno.clo}}
-\DeclareOption{fleqn}{\input{fleqn.clo}}
-\DeclareOption{openbib}{\@openbibtrue}
-\ExecuteOptions{a4paper,twoside,onecolumn,final}
-\ProcessOptions
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%     Beginn: size12pt.sty
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\renewcommand\normalsize{%
-   \@setfontsize\normalsize\@xiipt{14.5}%
-   \abovedisplayskip 12\p@ \@plus3\p@ \@minus7\p@
-   \abovedisplayshortskip \z@ \@plus3\p@
-   \belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@
-   \belowdisplayskip \abovedisplayskip
-   \let\@listi\@listI}
-\normalsize
-\newcommand\small{%
-   \@setfontsize\small\@xipt{13.6}%
-   \abovedisplayskip 11\p@ \@plus3\p@ \@minus6\p@
-   \abovedisplayshortskip \z@ \@plus3\p@
-   \belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@
-   \def\@listi{\leftmargin\leftmargini
-               \topsep 9\p@ \@plus3\p@ \@minus5\p@
-               \parsep 4.5\p@ \@plus2\p@ \@minus\p@
-               \itemsep \parsep}%
-   \belowdisplayskip \abovedisplayskip
-}
-\newcommand\footnotesize{%
-   \@setfontsize\footnotesize\@xpt\@xiipt
-   \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@
-   \abovedisplayshortskip \z@ \@plus3\p@
-   \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@
-   \def\@listi{\leftmargin\leftmargini
-               \topsep 6\p@ \@plus2\p@ \@minus2\p@
-               \parsep 3\p@ \@plus2\p@ \@minus\p@
-               \itemsep \parsep}%
-   \belowdisplayskip \abovedisplayskip
-}
-\newcommand\scriptsize{\@setfontsize\scriptsize\@viiipt{9.5}}
-\newcommand\tiny{\@setfontsize\tiny\@vipt\@viipt}
-\newcommand\large{\@setfontsize\large\@xivpt{18}}
-\newcommand\Large{\@setfontsize\Large\@xviipt{22}}
-\newcommand\LARGE{\@setfontsize\LARGE\@xxpt{25}}
-\newcommand\huge{\@setfontsize\huge\@xxvpt{30}}
-\let\Huge=\huge
-\if@twocolumn
-  \setlength\parindent{1em}
-\else
-  \setlength\parindent{1.5em}
 \fi
-\setlength\headheight{12\p@}
-\setlength\headsep   {25\p@}
-\setlength\topskip   {12\p@}
-\setlength\footskip{30\p@}
-\if@compatibility \setlength\maxdepth{4\p@} \else
-\setlength\maxdepth{.5\topskip} \fi
-\setlength\@maxdepth\maxdepth
 \if@compatibility
-  \if@twocolumn
-    \setlength\textwidth{410\p@}
   \else
-    \setlength\textwidth{390\p@}
-  \fi
-\else
-  \setlength\@tempdima{\paperwidth}
-  \addtolength\@tempdima{-2in}
-  \setlength\@tempdimb{390\p@}
-  \if@twocolumn
-    \ifdim\@tempdima>2\@tempdimb\relax
-      \setlength\textwidth{2\@tempdimb}
-    \else
-      \setlength\textwidth{\@tempdima}
-    \fi
-  \else
-    \ifdim\@tempdima>\@tempdimb\relax
-      \setlength\textwidth{\@tempdimb}
-    \else
-      \setlength\textwidth{\@tempdima}
-    \fi
-  \fi
+\DeclareOption{openright}{\@openrighttrue}
+\DeclareOption{openany}{\@openrightfalse}
 \fi
 \if@compatibility\else
-  \@settopoint\textwidth
-\fi
-\if@compatibility
-  \setlength\textheight{36\baselineskip}
-\else
-  \setlength\@tempdima{\paperheight}
-  \addtolength\@tempdima{-2in}
-  \addtolength\@tempdima{-1.5in}
-  \divide\@tempdima\baselineskip
-  \@tempcnta=\@tempdima
-  \setlength\textheight{\@tempcnta\baselineskip}
-\fi
-\addtolength\textheight{\topskip}
-\if@twocolumn
- \setlength\marginparsep {10\p@}
-\else
-  \setlength\marginparsep{10\p@}
-\fi
-\setlength\marginparpush{7\p@}
-\if@compatibility
-  \if@twoside
-     \setlength\oddsidemargin   {21\p@}
-     \setlength\evensidemargin  {59\p@}
-     \setlength\marginparwidth {85\p@}
-  \else
-     \setlength\oddsidemargin   {39.5\p@}
-     \setlength\evensidemargin  {39.5\p@}
-     \setlength\marginparwidth  {68\p@}
-  \fi
-  \if@twocolumn
-     \setlength\oddsidemargin  {30\p@}
-     \setlength\evensidemargin {30\p@}
-     \setlength\marginparwidth {48\p@}
-  \fi
-\else
-  \if@twoside
-    \setlength\@tempdima        {\paperwidth}
-    \addtolength\@tempdima      {-\textwidth}
-    \setlength\oddsidemargin    {.4\@tempdima}
-    \addtolength\oddsidemargin  {-1in}
-    \setlength\marginparwidth   {.6\@tempdima}
-    \addtolength\marginparwidth {-\marginparsep}
-    \addtolength\marginparwidth {-0.4in}
-  \else
-    \setlength\@tempdima        {\paperwidth}
-    \addtolength\@tempdima      {-\textwidth}
-    \setlength\oddsidemargin    {.5\@tempdima}
-    \addtolength\oddsidemargin  {-1in}
-    \setlength\marginparwidth   {.5\@tempdima}
-    \addtolength\marginparwidth {-\marginparsep}
-    \addtolength\marginparwidth {-0.4in}
-    \addtolength\marginparwidth {-.4in}
-  \fi
-  \ifdim \marginparwidth >2in
-     \setlength\marginparwidth{2in}
-  \fi
-  \@settopoint\oddsidemargin
-  \@settopoint\marginparwidth
-  \setlength\evensidemargin  {\paperwidth}
-  \addtolength\evensidemargin{-2in}
-  \addtolength\evensidemargin{-\textwidth}
-  \addtolength\evensidemargin{-\oddsidemargin}
-  \@settopoint\evensidemargin
+\DeclareOption{onecolumn}{\@twocolumnfalse}
 \fi
-\if@compatibility
-  \setlength\topmargin{27pt}
-\else
-  \setlength\topmargin{\paperheight}
-  \addtolength\topmargin{-2in}
-  \addtolength\topmargin{-\headheight}
-  \addtolength\topmargin{-\headsep}
-  \addtolength\topmargin{-\textheight}
-  \addtolength\topmargin{-\footskip}     % this might be wrong!
-  \addtolength\topmargin{-.5\topmargin}
-  \@settopoint\topmargin
-\fi
-\setlength\footnotesep{8.4\p@}
-\setlength{\skip\footins}{10.8\p@ \@plus 4\p@ \@minus 2\p@}
-\setlength\floatsep    {12\p@ \@plus 2\p@ \@minus 4\p@}
-\setlength\textfloatsep{20\p@ \@plus 2\p@ \@minus 4\p@}
-\setlength\intextsep   {14\p@ \@plus 4\p@ \@minus 4\p@}
-\setlength\dblfloatsep    {14\p@ \@plus 2\p@ \@minus 4\p@}
-\setlength\dbltextfloatsep{20\p@ \@plus 2\p@ \@minus 4\p@}
-\setlength\@fptop{0\p@ \@plus 1fil}
-\setlength\@fpsep{10\p@ \@plus 2fil}
-\setlength\@fpbot{0\p@ \@plus 1fil}
-\setlength\@dblfptop{0\p@ \@plus 1fil}
-\setlength\@dblfpsep{10\p@ \@plus 2fil}
-\setlength\@dblfpbot{0\p@ \@plus 1fil}
-\setlength\partopsep{3\p@ \@plus 2\p@ \@minus 2\p@}
-\def\@listI{\leftmargin\leftmargini
-            \parsep 5\p@  \@plus2.5\p@ \@minus\p@
-            \topsep 10\p@ \@plus4\p@   \@minus6\p@
-            \itemsep5\p@  \@plus2.5\p@ \@minus\p@}
-\let\@listi\@listI
-\@listi
-\def\@listii {\leftmargin\leftmarginii
-              \labelwidth\leftmarginii
-              \advance\labelwidth-\labelsep
-              \topsep    5\p@   \@plus2.5\p@ \@minus\p@
-              \parsep    2.5\p@ \@plus\p@    \@minus\p@
-              \itemsep   \parsep}
-\def\@listiii{\leftmargin\leftmarginiii
-              \labelwidth\leftmarginiii
-              \advance\labelwidth-\labelsep
-              \topsep    2.5\p@\@plus\p@\@minus\p@
+\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@
-              \partopsep \p@ \@plus\z@ \@minus\p@
-              \itemsep   \topsep}
-\def\@listiv {\leftmargin\leftmarginiv
-              \labelwidth\leftmarginiv
-              \advance\labelwidth-\labelsep}
-\def\@listv  {\leftmargin\leftmarginv
-              \labelwidth\leftmarginv
-              \advance\labelwidth-\labelsep}
-\def\@listvi {\leftmargin\leftmarginvi
-              \labelwidth\leftmarginvi
-              \advance\labelwidth-\labelsep}
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%     Ende: size12pt.sty
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
+      }%
+   \renewcommand\newblock{\par}}%
+}
+\ExecuteOptions{letterpaper,10pt,oneside,onecolumn,final,openany}
+\ProcessOptions
+\input{size1\@ptsize.clo}
 \setlength\lineskip{1\p@}
 \setlength\normallineskip{1\p@}
 \renewcommand\baselinestretch{}
@@ -265,11 +182,55 @@
 \setcounter{dbltopnumber}{2}
 \renewcommand\dbltopfraction{.7}
 \renewcommand\dblfloatpagefraction{.5}
-
+\if@twoside
+  \def\ps@headings{%
+      \let\@oddfoot\@empty\let\@evenfoot\@empty
+      \def\@evenhead{\thepage\hfil\scshape\leftmark
+                     \hspace*{-\textwidth}
+                     \rule[-1.5mm]{\textwidth}{0.1mm}}%
+      \def\@oddhead{{\scshape\rightmark}\hfil\thepage
+                     \hspace*{-\textwidth}
+                     \rule[-1.5mm]{\textwidth}{0.1mm}}%
+      \let\@mkboth\markboth
+    \def\chaptermark##1{%
+      \markboth {%
+        \ifnum \c@secnumdepth >\m@ne
+            \@chapapp\ \thechapter. \ %
+        \fi
+        ##1}{}}%
+    \def\sectionmark##1{%
+      \markright {%
+        \ifnum \c@secnumdepth >\z@
+          \thesection. \ %
+        \fi
+        ##1}}}
+\else
+  \def\ps@headings{%
+    \let\@oddfoot\@empty
+    \def\@oddhead{{\scshape\rightmark}\hfil\thepage
+                   \hspace*{-\textwidth}
+                   \rule[-1.5mm]{\textwidth}{0.1mm}}%
+    \let\@mkboth\markboth
+    \def\chaptermark##1{%
+      \markright {%
+        \ifnum \c@secnumdepth >\m@ne
+            \@chapapp\ \thechapter. \ %
+        \fi
+        ##1}}}
+\fi
+\def\ps@myheadings{%
+    \let\@oddfoot\@empty\let\@evenfoot\@empty
+    \def\@evenhead{\thepage\hfil\scshape\leftmark}%
+    \def\@oddhead{{\scshape\rightmark}\hfil\thepage}%
+    \let\@mkboth\@gobbletwo
+    \let\chaptermark\@gobble
+    \let\sectionmark\@gobble
+    }
 \if@titlepage
   \newcommand\maketitle{\begin{titlepage}%
   \let\footnotesize\small
   \let\footnoterule\relax
+  \let \footnote \thanks
   \null\vfil
   \vskip 60\p@
   \begin{center}%
@@ -287,8 +248,17 @@
   \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
   \begingroup
@@ -311,14 +281,24 @@
     \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%
   \begin{center}%
+  \let \footnote \thanks
     {\LARGE \@title \par}%
     \vskip 1.5em%
     {\large
@@ -332,26 +312,132 @@
   \par
   \vskip 1.5em}
 \fi
-\setcounter{secnumdepth}{3}
-\newcounter {section}
+\newcommand*\chaptermark[1]{}
+\setcounter{secnumdepth}{2}
+\newcounter {part}
+\newcounter {chapter}
+\newcounter {section}[chapter]
 \newcounter {subsection}[section]
 \newcounter {subsubsection}[subsection]
-\renewcommand\thesection      {\@arabic\c@section}
+\newcounter {paragraph}[subsubsection]
+\newcounter {subparagraph}[paragraph]
+\renewcommand \thepart {\@Roman\c@part}
+\renewcommand \thechapter {\@arabic\c@chapter}
+\renewcommand \thesection {\thechapter.\@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\@chapapp{\chaptername}
+\newcommand\part{%
+  \if@openright
+    \cleardoublepage
+  \else
+    \clearpage
+  \fi
+  \thispagestyle{plain}%
+  \if@twocolumn
+    \onecolumn
+    \@tempswatrue
+  \else
+    \@tempswafalse
+  \fi
+  \null\vfil
+  \secdef\@part\@spart}

-%\newcommand\section{\@startsection {section}{1}{\z@}%
-%                                   {-3.5ex \@plus -1ex \@minus -.2ex}%
-%                                   {2.3ex \@plus.2ex}%
-%                                   {\normalfont\Large\bfseries}}
-%\newcommand\subsection{\@startsection{subsection}{2}{\z@}%
-%                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
-%                                     {1.5ex \@plus .2ex}%
-%                                     {\normalfont\large\bfseries}}
-%\newcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
-%                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
-%                                     {1.5ex \@plus .2ex}%
-%                                     {\normalfont\normalsize\bfseries}}
+\def\@part[#1]#2{%
+    \ifnum \c@secnumdepth >-2\relax
+      \refstepcounter{part}%
+      \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
+    \else
+      \addcontentsline{toc}{part}{#1}%
+    \fi
+    \markboth{}{}%
+    {\centering
+     \interlinepenalty \@M
+     \normalfont
+     \ifnum \c@secnumdepth >-2\relax
+       \huge\bfseries \partname~\thepart
+       \par
+       \vskip 20\p@
+     \fi
+     \Huge \bfseries #2\par}%
+    \@endpart}
+\def\@spart#1{%
+    {\centering
+     \interlinepenalty \@M
+     \normalfont
+     \Huge \bfseries #1\par}%
+    \@endpart}
+\def\@endpart{\vfil\newpage
+              \if@twoside
+                \null
+                \thispagestyle{empty}%
+                \newpage
+              \fi
+              \if@tempswa
+                \twocolumn
+              \fi}
+\newcommand\chapter{\if@openright\cleardoublepage\else\clearpage\fi
+                    \thispagestyle{plain}%
+                    \global\@topnum\z@
+                    \@afterindentfalse
+                    \secdef\@chapter\@schapter}
+\def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
+                         \refstepcounter{chapter}%
+                         \typeout{\@chapapp\space\thechapter.}%
+                         \addcontentsline{toc}{chapter}%
+                                   {\protect\numberline{\thechapter}#1}%
+                    \else
+                      \addcontentsline{toc}{chapter}{#1}%
+                    \fi
+                    \chaptermark{#1}%
+                    \addtocontents{lof}{\protect\addvspace{10\p@}}%
+                    \addtocontents{lot}{\protect\addvspace{10\p@}}%
+                    \if@twocolumn
+                      \@topnewpage[\@makechapterhead{#2}]%
+                    \else
+                      \@makechapterhead{#2}%
+                      \@afterheading
+                    \fi}
+\def\@makechapterhead#1{%
+  \vspace*{50\p@}%
+  {\parindent \z@ \raggedright \normalfont
+    \ifnum \c@secnumdepth >\m@ne
+        \huge\bfseries \@chapapp\space \thechapter
+        \par\nobreak
+        \vskip 20\p@
+    \fi
+    \interlinepenalty\@M
+    \Huge \bfseries #1\par\nobreak
+    \vskip 40\p@
+  }}
+\def\@schapter#1{\if@twocolumn
+                   \@topnewpage[\@makeschapterhead{#1}]%
+                 \else
+                   \@makeschapterhead{#1}%
+                   \@afterheading
+                 \fi}
+\def\@makeschapterhead#1{%
+  \vspace*{50\p@}%
+  {\parindent \z@ \raggedright
+    \normalfont
+    \interlinepenalty\@M
+    \Huge \bfseries  #1\par\nobreak
+    \vskip 40\p@
+  }}
+\newcommand\section{\@startsection {section}{1}{\z@}%
+                                   {-3.5ex \@plus -1ex \@minus -.2ex}%
+                                   {2.3ex \@plus.2ex}%
+                                   {\normalfont\Large\bfseries}}
+\newcommand\subsection{\@startsection{subsection}{2}{\z@}%
+                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
+                                     {1.5ex \@plus .2ex}%
+                                     {\normalfont\large\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}%
@@ -365,6 +451,7 @@
 \else
   \setlength\leftmargini  {2.5em}
 \fi
+\leftmargin  \leftmargini
 \setlength\leftmarginii  {2.2em}
 \setlength\leftmarginiii {1.87em}
 \setlength\leftmarginiv  {1.7em}
@@ -375,7 +462,6 @@
   \setlength\leftmarginv  {1em}
   \setlength\leftmarginvi {1em}
 \fi
-\setlength\leftmargin    {\leftmargini}
 \setlength  \labelsep  {.5em}
 \setlength  \labelwidth{\leftmargini}
 \addtolength\labelwidth{-\labelsep}
@@ -393,10 +479,10 @@
 \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}}
@@ -407,6 +493,7 @@
   \newenvironment{abstract}{%
       \titlepage
       \null\vfil
+      \@beginparpenalty\@lowpenalty
       \begin{center}%
         \bfseries \abstractname
         \@endparpenalty\@M
@@ -426,25 +513,26 @@
       {\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
@@ -453,18 +541,32 @@
         \@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
     }
+\fi
 \newcommand\appendix{\par
+  \setcounter{chapter}{0}%
   \setcounter{section}{0}%
-  \setcounter{subsection}{0}%
-  \renewcommand\thesection{\@Alph\c@section}}
+  \renewcommand\@chapapp{\appendixname}%
+  \renewcommand\thechapter{\@Alph\c@chapter}}
 \setlength\arraycolsep{5\p@}
 \setlength\tabcolsep{6\p@}
 \setlength\arrayrulewidth{.4\p@}
@@ -473,9 +575,12 @@
 \skip\@mpfootins = \skip\footins
 \setlength\fboxsep{3\p@}
 \setlength\fboxrule{.4\p@}
-\renewcommand\theequation{\@arabic\c@equation}
-\newcounter{figure}
-\renewcommand\thefigure{\@arabic\c@figure}
+\@addtoreset {equation}{chapter}
+\renewcommand\theequation
+  {\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@equation}
+\newcounter{figure}[chapter]
+\renewcommand \thefigure
+     {\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@figure}
 \def\fps@figure{tbp}
 \def\ftype@figure{1}
 \def\ext@figure{lof}
@@ -486,8 +591,9 @@
 \newenvironment{figure*}
                {\@dblfloat{figure}}
                {\end@dblfloat}
-\newcounter{table}
-\renewcommand\thetable{\@arabic\c@table}
+\newcounter{table}[chapter]
+\renewcommand \thetable
+     {\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@table}
 \def\fps@table{tbp}
 \def\ftype@table{2}
 \def\ext@table{lot}
@@ -519,21 +625,27 @@
 \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}}
+\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}
+\setcounter{tocdepth}{2}
 \newcommand\tableofcontents{%
-    \section*{\contentsname
+    \if@twocolumn
+      \@restonecoltrue\onecolumn
+    \else
+      \@restonecolfalse
+    \fi
+    \chapter*{\contentsname
         \@mkboth{%
            \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%
     \@starttoc{toc}%
+    \if@restonecol\twocolumn\fi
     }
 \newcommand*\l@part[2]{%
   \ifnum \c@tocdepth >-2\relax
-    \addpenalty\@secpenalty
+    \addpenalty{-\@highpenalty}%
     \addvspace{2.25em \@plus\p@}%
     \begingroup
       \setlength\@tempdima{3em}%
@@ -542,16 +654,14 @@
       {\leavevmode
        \large \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par
        \nobreak
-       \if@compatibility
          \global\@nobreaktrue
-         \everypar{\global\@nobreakfalse\everypar{}}
-      \fi
+         \everypar{\global\@nobreakfalse\everypar{}}%
     \endgroup
   \fi}
-\newcommand*\l@section[2]{%
-  \ifnum \c@tocdepth >\z@
-    \addpenalty\@secpenalty
-    \addvspace{1.0em \@plus\p@}%
+\newcommand*\l@chapter[2]{%
+  \ifnum \c@tocdepth >\m@ne
+    \addpenalty{-\@highpenalty}%
+    \vskip 1.0em \@plus\p@
     \setlength\@tempdima{1.5em}%
     \begingroup
       \parindent \z@ \rightskip \@pnumwidth
@@ -560,55 +670,63 @@
       \advance\leftskip\@tempdima
       \hskip -\leftskip
       #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
+      \penalty\@highpenalty
     \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*\l@section{\@dottedtocline{1}{1.5em}{2.3em}}
+\newcommand*\l@subsection{\@dottedtocline{2}{3.8em}{3.2em}}
+\newcommand*\l@subsubsection{\@dottedtocline{3}{7.0em}{4.1em}}
+\newcommand*\l@paragraph{\@dottedtocline{4}{10em}{5em}}
+\newcommand*\l@subparagraph{\@dottedtocline{5}{12em}{6em}}
 \newcommand\listoffigures{%
-    \section*{\listfigurename
+    \if@twocolumn
+      \@restonecoltrue\onecolumn
+    \else
+      \@restonecolfalse
+    \fi
+    \chapter*{\listfigurename
       \@mkboth{\MakeUppercase\listfigurename}%
               {\MakeUppercase\listfigurename}}%
     \@starttoc{lof}%
+    \if@restonecol\twocolumn\fi
     }
 \newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
 \newcommand\listoftables{%
-    \section*{\listtablename
+    \if@twocolumn
+      \@restonecoltrue\onecolumn
+    \else
+      \@restonecolfalse
+    \fi
+    \chapter*{\listtablename
       \@mkboth{%
           \MakeUppercase\listtablename}{\MakeUppercase\listtablename}}%
     \@starttoc{lot}%
+    \if@restonecol\twocolumn\fi
     }
 \let\l@table\l@figure
 \newdimen\bibindent
-\bibindent=1.5em
-%\newenvironment{thebibliography}[1]
-%     {\section*{\refname
-%        \@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
-%            \usecounter{enumiv}%
-%            \let\p@enumiv\@empty
-%            \renewcommand\theenumiv{\@arabic\c@enumiv}}%
-%      \if@openbib
-%        \renewcommand\newblock{\par}%
-%     \else
-%        \renewcommand\newblock{\hskip .11em \@plus.33em \@minus.07em}%
-%      \fi
-%      \sloppy\clubpenalty4000\widowpenalty4000%
-%      \sfcode`\.=\@m}
-%     {\def\@noitemerr
-%       {\@latex@warning{Empty `thebibliography' environment}}%
-%      \endlist}
-\newcommand\newblock{}
+\setlength\bibindent{1.5em}
+\newenvironment{thebibliography}[1]
+     {\chapter*{\bibname
+        \@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}}%
+      \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
@@ -617,7 +735,7 @@
                 \fi
                 \columnseprule \z@
                 \columnsep 35\p@
-                \twocolumn[\section*{\indexname}]%
+                \twocolumn[\@makeschapterhead{\indexname}]%
                 \@mkboth{\MakeUppercase\indexname}%
                         {\MakeUppercase\indexname}%
                 \thispagestyle{plain}\parindent\z@
@@ -625,28 +743,31 @@
                 \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\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.1\columnwidth
+  \hrule\@width.4\columnwidth
   \kern2.6\p@}
-\long\def\@makefntext#1{%
+\@addtoreset{footnote}{chapter}
+\newcommand\@makefntext[1]{%
     \parindent 1em%
     \noindent
     \hb@xt@1.8em{\hss\@makefnmark}#1}
 \newcommand\contentsname{Contents}
 \newcommand\listfigurename{List of Figures}
 \newcommand\listtablename{List of Tables}
-\newcommand\refname{References}
+\newcommand\bibname{Bibliography}
 \newcommand\indexname{Index}
 \newcommand\figurename{Figure}
 \newcommand\tablename{Table}
 \newcommand\partname{Part}
+\newcommand\chaptername{Chapter}
 \newcommand\appendixname{Appendix}
 \newcommand\abstractname{Abstract}
-\newcommand\today{\ifcase\month\or
+\newcommand\today{}
+\edef\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}
@@ -665,547 +786,6 @@
 \else
   \onecolumn
 \fi
-
-\parindent8.4mm
-\textwidth13.2cm
-\textheight21cm
-
-%%%%%%%%%%%%%%%
-%%%%%%%%%%%%%%%
-
-\newcounter{numcount}
-
-\newenvironment{nummer}%
-    {\let\curlabelspeicher\@currentlabel%
-     \newcommand{\labelnummer}{\mbox{(\roman{numcount})}}%
-     \begin{list}{\labelnummer}{\usecounter{numcount}\leftmargin0pt%
-                  \topsep1ex\partopsep2ex\parsep0pt\itemsep1ex%
-                  \labelwidth3.5em\itemindent4.5em\labelsep1em}%
-     \let\saveitem\item%
-     \def\item{\saveitem%
-               \def\@currentlabel{\curlabelspeicher\hspace{.2em}\labelnummer}%
-               \let\label\bemlabel}}%
-   {\end{list}}%
-
-\def\itemref#1{\expandafter\@setref\csname r@#1item\endcsname\@firstoftwo{#1}}%
-
-\def\bemlabel#1{\@bsphack%
-  \protected@write\@auxout{}%
-         {\string\newlabel{#1}{{\@currentlabel}{\thepage}}}%
-  \ifmmode\else%
-  \protected@write\@auxout{}%
-         {\string\newlabel{#1item}{{\labelnummer}{\thepage}}}%
-  \fi%
-  \@esphack}%
-
-
-%%%%%%%%%%%%%%
-%%%%%%%%%%%%%%
-
-\def\@oparg#1[#2]{\@ifnextchar[{#1}{#1[#2]}}
-
-\long\def\@ifempty#1{\@xifempty#1@@..\@nil}
-\long\def\@xifempty#1#2@#3#4#5\@nil{%
-  \ifx#3#4\@xp\@firstoftwo\else\@xp\@secondoftwo\fi}
-
-\let\@xp=\expandafter
-\let\@nx=\noexpand
-
-
-\newcommand{\theoremstyle}[1]{%
-  \@ifundefined{th@#1}{%
-    \PackageWarning{amsthm}{Unknown theoremstyle `#1'}%
-    \theorem@style{plain}%
-  }{%
-    \theorem@style{#1}%
-  }%
-}
-\newtoks\theorem@style
-\theorem@style{plain}
-\newtoks\theorembodyfont
-\theorembodyfont{\itshape}
-\newtoks\theoremheadfont
-\theoremheadfont{\bfseries}
-\newtoks\theoremnotefont
-\theoremnotefont{\bfseries}
-\newtoks\theoremheadpunct
-\theoremheadpunct{.}
-\newskip\theorempreskipamount \theorempreskipamount\topsep
-\newskip\theorempostskipamount \theorempostskipamount\topsep
-\renewcommand{\newtheorem}{\@ifstar{\@xnthm *}{\@xnthm \relax}}
-\def\@xnthm#1#2{%
-  \let\@tempa\relax
-  \@xp\@ifdefinable\csname #2\endcsname{%
-    \global\@xp\let\csname end#2\endcsname\@endtheorem
-    \ifx *#1% unnumbered, need to get one more mandatory arg
-      \edef\@tempa##1{%
-        \gdef\@xp\@nx\csname#2\endcsname{%
-          \@nx\@thm{\@xp\@nx\csname th@\the\theorem@style\endcsname}%
-            {}{##1}}}%
-    \else % numbered theorem, need to check for optional arg
-      \def\@tempa{\@oparg{\@ynthm{#2}}[]}%
-    \fi
-  }%
-  \@tempa
-}
-\def\@ynthm#1[#2]#3{%
-  \ifx\relax#2\relax
-    \def\@tempa{\@oparg{\@xthm{#1}{#3}}[]}%
-  \else
-    \@ifundefined{c@#2}{%
-      \def\@tempa{\@nocounterr{#2}}%
-    }{%
-      \@xp\xdef\csname the#1\endcsname{\@xp\@nx\csname the#2\endcsname}%
-      \toks@{#3}%
-      \@xp\xdef\csname#1\endcsname{%
-        \@nx\@thm{%
-          \let\@nx\thm@swap
-            \if S\thm@swap\@nx\@firstoftwo\else\@nx\@gobble\fi
-          \@xp\@nx\csname th@\the\theorem@style\endcsname}%
-            {#2}{\the\toks@}}%
-      \let\@tempa\relax
-    }%
-  \fi
-  \@tempa
-}
-\def\@xthm#1#2[#3]{%
-  \ifx\relax#3\relax
-    \newcounter{#1}%
-  \else
-    \newcounter{#1}[#3]%
-    \@xp\xdef\csname the#1\endcsname{\@xp\@nx\csname the#3\endcsname
-      \@thmcountersep\@thmcounter{#1}}%
-  \fi
-  \toks@{#2}%
-  \@xp\xdef\csname#1\endcsname{%
-    \@nx\@thm{%
-      \let\@nx\thm@swap
-        \if S\thm@swap\@nx\@firstoftwo\else\@nx\@gobble\fi
-      \@xp\@nx\csname th@\the\theorem@style\endcsname}%
-      {#1}{\the\toks@}}%
-}
-\def\@thm#1#2#3{\normalfont
-  \trivlist
-  \labelsep.5em\relax \let\thmheadnl\relax
-  \let\theoremindent\noindent % no indent
-  \let\thm@swap\@gobble
-  \theoremheadfont{\bfseries}% heading font bold
-  \theoremheadpunct{.}% add period after heading
-  \theorempreskipamount\topsep
-  \theorempostskipamount\theorempreskipamount
-  #1% style overrides
-  \@topsep \theorempreskipamount               % used by first \item
-  \@topsepadd \theorempostskipamount           % used by \@endparenv
-  \def\@tempa{#2}\ifx\@empty\@tempa
-    \def\@tempa{\@oparg{\@begintheorem{#3}{}}[]}%
-  \else
-    \refstepcounter{#2}%
-    \def\@tempa{\@oparg{\@begintheorem{#3}{\csname the#2\endcsname}}[]}%
-  \fi
-  \@tempa
-}
-\let\@ythm\relax
-\let\thmname\@iden \let\thmnumber\@iden \let\thmnote\@iden
-\def\thmhead@plain#1#2#3{%
-  \thmname{#1}\thmnumber{ #2}\thmnote{ {\the\theoremnotefont(#3)}}}
-\let\thmhead\thmhead@plain
-\def\swappedhead#1#2#3{%
-  \thmnumber{#2}\thmname{. #1}\thmnote{ {\the\theoremnotefont(#3)}}}
-\let\thmheadnl\relax
-\def\@begintheorem#1#2[#3]{%
-  \item[\normalfont % reset in case body font is abnormal
-  \hskip\labelsep
-  \the\theoremheadfont
-  \theoremindent
-  \@ifempty{#1}{\let\thmname\@gobble}{\let\thmname\@iden}%
-  \@ifempty{#2}{\let\thmnumber\@gobble}{\let\thmnumber\@iden}%
-  \@ifempty{#3}{\let\thmnote\@gobble}{\let\thmnote\@iden}%
-  \thm@swap\swappedhead\thmhead{#1}{#2}{#3}%
-  \the\theoremheadpunct]%
-  \thmheadnl % possibly a newline.
-  \ignorespaces}
-\def\nonslanted{\relax
-  \@xp\let\@xp\@tempa\csname\f@shape shape\endcsname
-  \ifx\@tempa\itshape\upshape
-  \else\ifx\@tempa\slshape\upshape\fi\fi}
-\def\swapnumbers{\edef\thm@swap{\if S\thm@swap N\else S\fi}}
-\def\thm@swap{N}%
-\let\@opargbegintheorem\relax
-\def\th@plain{%
-%%  \let\theoremindent\noindent % no indent
-%%  \theoremheadfont{\bfseries}% heading font is bold
-%%  \theoremnotefont{}% same as heading font
-%%  \theoremheadpunct{.}% add period after heading
-%%  \let\thm@swap\@gobble
-%%  \theorempreskipamount\topsep
-%%  \theorempostskipamount\theorempreskipamount
-  \itshape % body font
-}
-\def\th@definition{%
-  \normalfont % body font
-}
-\def\th@remark{%
-  \theoremheadfont{\itshape}%
-  \normalfont % body font
-  \theorempreskipamount\topsep
-  \divide\theorempreskipamount\tw@
-  \theorempostskipamount\theorempreskipamount
-}
-\def\@endtheorem{\endtrivlist\@endpefalse }
-\newcommand{\newtheoremstyle}[9]{%
-  \@ifempty{#5}{\dimen@\z@skip}{\dimen@#5\relax}%
-  \ifdim\dimen@=\z@
-    \toks@{#4\let\theoremindent\noindent}%
-  \else
-    \toks@{#4\def\theoremindent{\noindent\hbox to#5{}}}%
-  \fi
-  \def\@tempa{#8}\ifx\space\@tempa
-    \toks@\@xp{\the\toks@ \labelsep\fontdimen\tw@\font\relax}%
-  \else
-    \def\@tempb{\newline}%
-    \ifx\@tempb\@tempa
-      \toks@\@xp{\the\toks@ \labelsep\z@skip
-        \def\thmheadnl{\leavevmode\newline}}%
-    \else
-      \toks@\@xp{\the\toks@ \labelsep#8\relax}%
-    \fi
-  \fi
-  \@temptokena{%
-    \theorempreskipamount#2\relax
-    \theorempostskipamount#3\relax
-    \theoremheadfont{#6}\theoremheadpunct{#7}%
-  }%
-  \@ifempty{#9}{%
-    \let\thmhead\thmhead@plain
-  }{%
-    \@namedef{thmhead@#1}##1##2##3{#9}%
-    \@temptokena\@xp{\the\@temptokena
-      \@xp\let\@xp\thmhead\csname thmhead@#1\endcsname}%
-  }%
-  \@xp\xdef\csname th@#1\endcsname{\the\toks@ \the\@temptokena}%
-}
-\DeclareRobustCommand{\qed}{%
-  \ifmmode % if math mode, assume display: omit penalty etc.
-  \else \leavevmode\unskip\penalty9999 \hbox{}\nobreak%
-  \fi
-  \hspace{1.2em}\hbox{\qedsymbol}}
-\newcommand{\qedsymbol}{\rule[-.4ex]{.9ex}{2ex}}
-\newenvironment{proof}[1][\proofname]{\par
-  \normalfont
-  \topsep6\p@\@plus6\p@ \trivlist
-  \item[\hskip10.4mm\sffamily\slshape
-    #1\@addpunct{.}\hskip.8em]\ignorespaces
-}{%
-  \qed\endtrivlist
-}
-\newcommand{\proofname}{Proof}
-
-
-\newtheoremstyle{jsp}{1.5ex}{1.5ex}{\normalfont}{\parindent}%
-                {\sffamily\bfseries}{.}{1.2em}%
-                {\thmname{#1}\thmnumber{ #2}\thmnote {(#3)}}
-
-\newtheoremstyle{jspnoind}{1.5ex}{1.5ex}{\normalfont}{\parindent}%
-                {\sffamily\bfseries}{.}{-1em}%
-                {\thmname{#1}\thmnumber{ #2}\thmnote {(#3)}}
-
-\theoremstyle{jsp}
-\newtheorem{theorem}{Theorem}[section]
-\newtheorem{lemma}[theorem]{Lemma}
-\newtheorem{corollary}[theorem]{Corollary}
-\newtheorem{definition}[theorem]{Definition}
-\newtheorem{remark}[theorem]{Remark}
-
-\theoremstyle{jspnoind}
-\newtheorem{remarks}[theorem]{Remarks}
-
-%%%%%%%%%%%%%%%%%%
-%%%%%%%%%%%%%%%%%%
-
-\def\title{\@ifnextchar[{\@@title}{\@title}}
-
-\def\@title#1{\def\shorttitle{#1}%
-    \thispagestyle{plain}%
-    \vspace*{3.5pc}{\noindent{\Large\noindent\bfseries\raggedright#1}}}
-
-\def\@@title[#1]#2{\def\shorttitle{#1}
-    \thispagestyle{plain}%
-    \vspace*{3.5pc}{\noindent{\Large\noindent\bfseries\raggedright#2}}}
-
-
-\renewcommand{\author}[1]{\vspace*{2pc}\noindent%
-   {\normalsize\bfseries\raggedright#1}\par\vspace*{2pc}}
-
-\def\runningauthor#1{\def\rrunningauthor{#1}}
-
-\def\date#1{\begin{indented}\item[]\itshape#1\end{indented}}
-
-\def\abstract{\begin{indented}\item[]\hrulefill\\\ignorespaces}%
-\def\endabstract{\par\noindent\hrulefill\end{indented}\smallskip}%
-
-\def\keywords#1{\begin{indented}\item[]%
-          \textsf{\bfseries Key Words:} #1\end{indented}\smallskip\bigskip}
-
-%%%%%%%%
-%%%%%%%%
-
-\newenvironment{indented}{\begin{indented}}{\end{indented}}
-
-\def\indented{\list{}{\itemsep=0\p@\labelsep=0\p@\itemindent=0\p@
-   \labelwidth=0\p@\leftmargin=2cm\topsep=0\p@\partopsep=0\p@
-   \parsep=0\p@\listparindent=15\p@}\footnotesize\upshape}
-
-\let\endindented=\endlist
-
-%%%%%%%%
-%%%%%%%%
-\addtolength{\footnotesep}{.6ex}
-
-
-\def\ps@headings{%
-   \renewcommand{\@oddhead}{\footnotesize\textsf{\bfseries\shorttitle%
-                            \hfil\thepage}}%
-   \renewcommand{\@evenhead}{\footnotesize\textsf{\bfseries\thepage%
-                             \hfil\rrunningauthor}}%
-   \renewcommand{\@oddfoot}{}%
-   \renewcommand{\@evenfoot}{}%
-}%
-
-\pagestyle{headings}
-
-
-%\def\ps@plain{%
-%   \renewcommand{\@oddhead}{\begin{minipage}{8cm}
-%        \footnotesize\itshape Submitted to Journal of Statistical Physics
-%                            \end{minipage}\hfil
-%                                }%
-%   \renewcommand{\@evenhead}{}%
-%   \renewcommand{\@oddfoot}{\hfil\footnotesize\textsf{\bfseries\thepage}\hfil}%
-%   \renewcommand{\@evenfoot}{}%
-%}%
-
-%%%%%%%%%%%%
-%%%%%%%%%%%%
-
-\def\headformat#1#2{\ifnum #1=1 \MakeUppercase{#2}\else%
-                    \ifnum #1=3 #2. \else #2\fi\fi}
-
-
-\def\@startsection#1#2#3#4#5#6{\if@noskipsec \leavevmode \fi
-   \par \@tempskipa #4\relax
-   \@afterindenttrue
-   \ifdim \@tempskipa <\z@
-     \@tempskipa -\@tempskipa \@afterindentfalse
-   \fi
-   \if@nobreak \everypar{}\else
-     \addpenalty\@secpenalty\addvspace\@tempskipa
-   \fi
-   \def\@headformat##1{\headformat{#2}{##1}}
-   \@ifstar
-     {\@ssect{#3}{#4}{#5}{#6}}%
-     {\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}}
-\def\@sect#1#2#3#4#5#6[#7]#8{%
-     \ifnum #2>\c@secnumdepth
-       \let\@svsec\@empty\else
-       \refstepcounter{#1}%
-       \protected@edef\@svsec{\@seccntformat{#1}\relax}%
-     \fi
-     \@tempskipa #5\relax
-      \ifdim \@tempskipa>\z@
-        \begingroup #6\relax
-          \@hangfrom{\hskip #3\relax\@svsec}%
-                    {\interlinepenalty \@M \@headformat{#8}\par}%
-        \endgroup
-       \csname #1mark\endcsname{#7}\addcontentsline
-         {toc}{#1}{\ifnum #2>\c@secnumdepth \else
-                      \protect\numberline{\csname the#1\endcsname}\fi
-                    #7}\else
-        \def\@svsechd{#6\hskip #3\relax  %% \relax added 2 May 90
-                   \@svsec \@headformat{#8}\csname #1mark\endcsname
-                      {#7}\addcontentsline
-                           {toc}{#1}{\ifnum #2>\c@secnumdepth \else
-                           \protect\numberline{\csname the#1\endcsname}%
-                                     \fi
-                       #7}}\fi
-     \@xsect{#5}}
-\def\@xsect#1{\@tempskipa #1\relax
-      \ifdim \@tempskipa>\z@
-       \par \nobreak
-       \vskip \@tempskipa
-       \@afterheading
-    \else \global\@nobreakfalse \global\@noskipsectrue
-       \everypar{\if@noskipsec \global\@noskipsecfalse
-                   \clubpenalty\@M \hskip -\parindent
-                   \begingroup \@svsechd \endgroup \unskip
-                   \@tempskipa #1\relax
-                   \hskip -\@tempskipa
-                  \else \clubpenalty \@clubpenalty
-                    \everypar{}\fi}\fi\ignorespaces}
-\def\@seccntformat#1{\csname the#1\endcsname\quad}
-\def\@ssect#1#2#3#4#5{\@tempskipa #3\relax
-   \ifdim \@tempskipa>\z@
-     \begingroup #4\@hangfrom{\hskip #1}{\interlinepenalty \@M \@headformat{#5}\par}%
-     \endgroup
-   \else \def\@svsechd{#4\hskip #1\relax \@headformat{#5}}\fi
-    \@xsect{#3}}
-
-
-\newif\iffirstind \firstindtrue
-\def\@afterheading{\global\@nobreaktrue
-      \everypar{\if@nobreak
-                   \global\@nobreakfalse
-                   \clubpenalty \@M \iffirstind\firstindfalse\else\hskip0pt\fi
-                   \if@afterindent \else {\setbox\z@\lastbox}\fi
-                 \else \clubpenalty \@clubpenalty
-                    \everypar{}\fi}}
-
-
-\setcounter{secnumdepth}{2}
-\newcommand\section{\@startsection {section}{1}{\z@}%
-                                   {-3.5ex \@plus -1ex \@minus -.2ex}%
-                                   {1.2ex \@plus.2ex}%
-                                   {\normalfont\sffamily\bfseries}}
-\newcommand\subsection{\@startsection{subsection}{2}{\z@}%
-                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
-                                     {1ex \@plus .2ex}%
-                                     {\normalfont\sffamily\bfseries}}
-\newcommand\subsubsection{\@startsection{subsubsection}{3}{\parindent}%
-                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
-                                     {-1.2em}%
-                                     {\normalfont\sffamily\bfseries}}
-\renewcommand{\@seccntformat}[1]{{\csname the#1\endcsname}.\hspace{.4em}}
-
-%%%%%%%%%%
-%%%%%%%%%%
-
-\@addtoreset{equation}{section}
-\renewcommand{\theequation}{\thesection.\arabic{equation}}
-
-%%%%%%%%%%
-%%%%%%%%%%
-
-\def\@biblabel#1{#1.}
-
-\newenvironment{thebibliography}[1]
-     {\section*{\refname
-        \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}}%
-      \footnotesize%
-      \list{\@biblabel{\@arabic\c@enumiv}}%
-           {\settowidth\labelwidth{\@biblabel{#1}}%
-            \leftmargin\labelwidth
-            \advance\leftmargin\labelsep
-            \itemsep0pt
-            \if@openbib
-              \advance\leftmargin\bibindent
-              \itemindent -\bibindent
-              \listparindent \itemindent
-              \parsep \z@
-            \fi
-            \usecounter{enumiv}%
-            \let\p@enumiv\@empty
-            \renewcommand\theenumiv{\@arabic\c@enumiv}}%
-      \if@openbib
-        \renewcommand\newblock{\par}%
-      \else
-        \renewcommand\newblock{\hskip .11em \@plus.33em \@minus.07em}%
-      \fi
-      \sloppy\clubpenalty4000\widowpenalty4000%
-      \sfcode`\.=\@m}
-     {\def\@noitemerr
-       {\@latex@warning{Empty `thebibliography' environment}}%
-      \endlist}
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% Change the format of in-text citations
-% Superscripted, no square brackets
-% No space after comma
-%\def\@citex[#1]#2{%
-%  \let\@citea\@empty
-%  \@cite{\@for\@citeb:=#2\do
-%%    {\@citea\def\@citea{,\penalty\@m\ }%
-%    {\@citea\def\@citea{,}%
-%     \edef\@citeb{\expandafter\@firstofone\@citeb}%
-%     \if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi
-%     \@ifundefined{b@\@citeb}{\mbox{\reset@font\bfseries ?}%
-%       \G@refundefinedtrue
-%       \@latex@warning
-%         {Citation `\@citeb' on page \thepage \space undefined}}%
-%       {\hbox{\csname b@\@citeb\endcsname}}}}{#1}}
-\newcount\@tempcntc
-\def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
- \@tempcnta\z@\@tempcntb\m@ne\def\@citea{}\@cite{\@for\@citeb:=#2\do
-  {\@ifundefined
-   {b@\@citeb}{\@citeo\@tempcntb\m@ne\@citea\def\@citea{,}{\bfseries ?}\@warning
-   {Citation `\@citeb' on page \thepage \space undefined}}%
-  {\setbox\z@\hbox{\global\@tempcntc0\csname b@\@citeb\endcsname\relax}%
-   \ifnum\@tempcntc=\z@ \@citeo\@tempcntb\m@ne
-    \@citea\def\@citea{,}\hbox{\csname b@\@citeb\endcsname}%
-   \else
-    \advance\@tempcntb\@ne
-    \ifnum\@tempcntb=\@tempcntc
-    \else\advance\@tempcntb\m@ne\@citeo
-    \@tempcnta\@tempcntc\@tempcntb\@tempcntc\fi\fi}}\@citeo}{#1}}
-\def\@citeo{\ifnum\@tempcnta>\@tempcntb\else\@citea\def\@citea{,}%
- \ifnum\@tempcnta=\@tempcntb\the\@tempcnta\else
-  {\advance\@tempcnta\@ne\ifnum\@tempcnta=\@tempcntb \else \def\@citea{--}\fi
-   \advance\@tempcnta\m@ne\the\@tempcnta\@citea\the\@tempcntb}\fi\fi}
-
-\renewcommand{\@cite}[2]{\textsuperscript{(#1\if@tempswa , #2\fi)}}
-
-% Add onlinecite command for non-superscripted citations DJM 1998/5/13
-
-\DeclareRobustCommand\onlinecite{%
-  \@ifnextchar [{\@tempswatrue\@onlinecitex}{\@tempswafalse\@onlinecitex[]}}
-
-\def\@onlinecitex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
- \@tempcnta\z@\@tempcntb\m@ne\def\@citea{}\@onlinecite{\@for\@citeb:=#2\do
-  {\@ifundefined
-   {b@\@citeb}{\@citeo\@tempcntb\m@ne\@citea\def\@citea{,}{\bfseries ?}\@warning
-   {Citation `\@citeb' on page \thepage \space undefined}}%
-  {\setbox\z@\hbox{\global\@tempcntc0\csname b@\@citeb\endcsname\relax}%
-   \ifnum\@tempcntc=\z@ \@citeo\@tempcntb\m@ne
-    \@citea\def\@citea{,}\hbox{\csname b@\@citeb\endcsname}%
-   \else
-    \advance\@tempcntb\@ne
-    \ifnum\@tempcntb=\@tempcntc
-    \else\advance\@tempcntb\m@ne\@citeo
-    \@tempcnta\@tempcntc\@tempcntb\@tempcntc\fi\fi}}\@citeo}{#1}}
-\def\@citeo{\ifnum\@tempcnta>\@tempcntb\else\@citea\def\@citea{,}%
- \ifnum\@tempcnta=\@tempcntb\the\@tempcnta\else
-  {\advance\@tempcnta\@ne\ifnum\@tempcnta=\@tempcntb \else \def\@citea{--}\fi
-   \advance\@tempcnta\m@ne\the\@tempcnta\@citea\the\@tempcntb}\fi\fi}
-
-\newcommand{\@onlinecite}[2]{#1\if@tempswa , #2\fi}
-
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-\@ifundefined{comp}{}{%
-\def\Omega{\varOmega}%
-\def\Pi{\varPi}%
-\def\Phi{\varPhi}%
-\def\Gamma{\varGamma}%
-\def\Delta{\varDelta}%
-\def\Psi{\varPsi}%
-\def\Upsilon{\varUpsilon}%
-\def\Sigma{\varSigma}%
-\def\Xi{\varXi}%
-\def\Lambda{\varLambda}%
-\def\Theta{\varTheta}%
-}%
-
-\sloppy
 \endinput
 %%
-%% End of file `article.cls'.
-
-
-
-
-
-
-
-
-
-
-
+%% End of file `report.cls'.

 

Close Window
 
  The service has been written by
Heinrich Stamerjohanns