arxmliv
arxmliv build tool
 
KWARC group
LaTeXML
About
   
 

Back to Homepage

--- /arXMLiv/repos/arXMLiv/trunk/sty/birkmono_lieb.cls	2010-04-03 10:26:30.000000000 +0200
+++ /arXMLiv/repos/arXMLiv/trunk/sty/css2002.cls	2010-04-01 23:40:54.000000000 +0200
@@ -1,296 +1,203 @@
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% Birkmono.cls                   %%
-%%                                %%
-%% Birkh\"auser Publishers        %%
-%% Basel/Switzerland              %%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% This is file `css2002.cls',
+%% adapted from `article.cls' ver. 1997/10/10 v1.3x
+%%
+%% with Copyright info:
+%%
+%% 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 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
+%%   contact via e-mail to acta@jetta.if.uj.edu.pl.
+%%
 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesClass{birkmono}
-              [2004/08/15 v1.0
- Birkhauser LaTeX document class]
- %changed: plain -> empty
-\newif\if@noams
-\@noamsfalse
+\ProvidesClass{css2002}
+              [2002/09/09 v1.01 CSS2002]
+
+
 \newif\if@restonecol
 \newif\if@titlepage
-\@titlepagetrue
-\newif\if@openright
-\newif\if@mainmatter \@mainmattertrue
-\if@compatibility\else
+\@titlepagefalse
+\@twosidetrue  \@mparswitchtrue
+\def\@date{0}
 \DeclareOption{a4paper}
    {\setlength\paperheight {297mm}%
     \setlength\paperwidth  {210mm}}
-\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
-
-\DeclareOption{11pt}{\message{
->>> Please do not use size options with Birkmono!        ^^J
->>> For a larger printout use the printerdriver options. ^^J^^J}}
-\DeclareOption{12pt}{\message{
->>> Please do not use size options with Birkmono!        ^^J
->>> For a larger printout use the printerdriver options. ^^J^^J}}
-
-\DeclareOption{noams}{%
-\@noamstrue}
-
-\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
-\@openrighttrue
-\else
-\DeclareOption{openright}{\@openrighttrue}
-\DeclareOption{openany}{\@openrightfalse}
-\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}}%
-}
-%-------------------------------------------------------------
-\newif\if@headtop
-\@headtopfalse
-\DeclareOption{headtop}{\@headtoptrue}
-\newif\if@smallheadings
-\@smallheadingsfalse
-\DeclareOption{smallheadings}{\@smallheadingstrue}
-\newif\if@nochaptername
-\@nochapternamefalse
-\DeclareOption{nochaptername}{\@nochapternametrue}
-%-------------------------------------------------------------
-\ExecuteOptions{letterpaper,twoside,onecolumn,final,openright}
+%\DeclareOption{notitlepage}{\@titlepagefalse}
+%\DeclareOption{openbib}{%
+%  \AtEndOfPackage{%
+%   \renewcommand\@openbib@code{%
+%      \advance\leftmargin\bibindent
+%      \itemindent -\bibindent
+%      \listparindent \itemindent
+%      \parsep \z@
+%      }%
+%   \renewcommand\newblock{\par}}%
+%}
+\ExecuteOptions{a4paper,final}
 \ProcessOptions
-\if@noams \relax
-\else
-\RequirePackage{amsmath,amssymb,amsthm}
-\renewcommand\qedsymbol{\ifmmode\square\else$\square$\fi}
-\fi
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% birkbk10.clo
-\renewcommand\normalsize{%
-   \@setfontsize\normalsize\@xpt\@xiipt
-   \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@
-   \abovedisplayshortskip \z@ \@plus3\p@
-   \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@
-   \belowdisplayskip \abovedisplayskip
-   \let\@listi\@listI}
-\normalsize
-\newcommand\small{%
-   \@setfontsize\small\@ixpt{11}%
-   \abovedisplayskip 8.5\p@ \@plus3\p@ \@minus4\p@
-   \abovedisplayshortskip \z@ \@plus2\p@
-   \belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@
-   \def\@listi{\leftmargin\leftmargini
-               \topsep 4\p@ \@plus2\p@ \@minus2\p@
-               \parsep 2\p@ \@plus\p@ \@minus\p@
-               \itemsep \parsep}%
-   \belowdisplayskip \abovedisplayskip
-}
-\newcommand\footnotesize{%
-   \@setfontsize\footnotesize\@viiipt{9.5}%
-   \abovedisplayskip 6\p@ \@plus2\p@ \@minus4\p@
-   \abovedisplayshortskip \z@ \@plus\p@
-   \belowdisplayshortskip 3\p@ \@plus\p@ \@minus2\p@
-   \def\@listi{\leftmargin\leftmargini
-               \topsep 3\p@ \@plus\p@ \@minus\p@
-               \parsep 2\p@ \@plus\p@ \@minus\p@
-               \itemsep \parsep}%
-   \belowdisplayskip \abovedisplayskip
-}
-\newcommand\scriptsize{\@setfontsize\scriptsize\@viipt\@viiipt}
-\newcommand\tiny{\@setfontsize\tiny\@vpt\@vipt}
-\newcommand\large{\@setfontsize\large\@xiipt{14}}
-\newcommand\Large{\@setfontsize\Large\@xivpt{18}}
-\newcommand\LARGE{\@setfontsize\LARGE\@xviipt{22}}
-\newcommand\huge{\@setfontsize\huge\@xxpt{25}}
-\newcommand\Huge{\@setfontsize\Huge\@xxvpt{30}}
-\if@twocolumn
-  \setlength\parindent{8mm}
-\else
-  \setlength\parindent{8mm}
-\fi
-\setlength\smallskipamount{3\p@ \@plus 1\p@ \@minus 1\p@}
-\setlength\medskipamount{6\p@ \@plus 2\p@ \@minus 2\p@}
-\setlength\bigskipamount{12\p@ \@plus 4\p@ \@minus 4\p@}
-\setlength\headheight{12\p@}
-\setlength\headsep   {.25in}
-\setlength\topskip   {10\p@}
-\setlength\footskip{.35in}
-\if@compatibility \setlength\maxdepth{4\p@} \else
-\setlength\maxdepth{.5\topskip} \fi
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\setlength\textwidth{125mm}
-\@settopoint\textwidth
-
-\setlength\textheight{185mm}
-\@settopoint\textheight
-
-\setlength\oddsidemargin{48.65pt}
+\input{size11.clo}
+\@ifl@t@r\fmtversion{1997/12/01}{}%
+  {%\@latex@warning@no@line{only release `\fmtversion' is available}%
+\def\@textsuperscript#1{%
+  {\m@th\ensuremath{^{\mbox{\fontsize\sf@size\z@#1}}}}}%
+}
+\textwidth=126mm
+\textheight=190mm
+    \setlength\@tempdima        {\paperwidth}
+    \addtolength\@tempdima      {-\textwidth}
+    \setlength\oddsidemargin    {.5\@tempdima}
+    \addtolength\oddsidemargin  {-1in}
+    \setlength\marginparwidth   {.5\@tempdima}
+    \addtolength\marginparwidth {-\marginparsep}
+    \addtolength\marginparwidth {-0.4in}
 \@settopoint\oddsidemargin
-
-\setlength\evensidemargin{48.65pt}
+  \@settopoint\marginparwidth
+  \setlength\evensidemargin  {\paperwidth}
+  \addtolength\evensidemargin{-2in}
+  \addtolength\evensidemargin{-\textwidth}
+  \addtolength\evensidemargin{-\oddsidemargin}
 \@settopoint\evensidemargin
+  \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
+%***************************************************************************
+\newif\ifRedakcja
+%%%\Redakcjafalse
+\Redakcjatrue
+
+\DeclareFontFamily{T1}{appb}{}
+\DeclareFontShape{T1}{appb}{m}{n}{<8>ecrm0800 <12>ecrm0700 <14.4>ecrm1440}{}
+\DeclareFontShape{T1}{appb}{bx}{n}{<24.88>ecbx1200 <29.86>ecbx1200 <35.83>ecbx1200}{}
+\DeclareFontFamily{OT1}{appb}{}
+\DeclareFontShape{OT1}{appb}{m}{n}{<8>cmr8 <12>cmr7 <14.4>cmr12}{}
+\DeclareFontShape{OT1}{appb}{bx}{n}{<24.88>cmbx12 <29.86>cmbx12 <35.83>cmbx12}{}
+\def\titlefont{\large\fontfamily{appb}\fontseries{m}\fontshape{n}\selectfont\ignorespaces}
+\def\appHuge{\fontfamily{appb}\fontseries{bx}\fontshape{n}\fontsize{24.88pt}{30pt}\selectfont\ignorespaces}
+\def\appHUge{\fontfamily{appb}\fontseries{bx}\fontshape{n}\fontsize{29.86pt}{36pt}\selectfont\ignorespaces}
+\def\appHUGe{\fontfamily{appb}\fontseries{bx}\fontshape{n}\fontsize{35.83pt}{42pt}\selectfont\ignorespaces}
+\def\appheadcs{\small\scshape}
+\def\appheadit{\small\itshape}
+\def\appauthcs{\normalsize\scshape}
+\def\appfont{\scriptsize\itshape}

-\if@twocolumn
- \setlength\marginparsep {10\p@}
-\else
-  \setlength\marginparsep{7\p@}
-\fi
-\setlength\marginparpush{5\p@}
-\setlength\topmargin{.75in}
-
-\setlength\footnotesep{6.65\p@}
-\setlength{\skip\footins}{9\p@ \@plus 4\p@ \@minus 2\p@}
-\setlength\floatsep    {12\p@ \@plus 2\p@ \@minus 2\p@}
-\setlength\textfloatsep{20\p@ \@plus 2\p@ \@minus 4\p@}
-\setlength\intextsep   {12\p@ \@plus 2\p@ \@minus 2\p@}
-\setlength\dblfloatsep    {12\p@ \@plus 2\p@ \@minus 2\p@}
-\setlength\dbltextfloatsep{20\p@ \@plus 2\p@ \@minus 4\p@}
-\setlength\@fptop{0\p@ \@plus 1fil}
-\setlength\@fpsep{8\p@ \@plus 2fil}
-\setlength\@fpbot{0\p@ \@plus 1fil}
-\setlength\@dblfptop{0\p@ \@plus 1fil}
-\setlength\@dblfpsep{8\p@ \@plus 2fil}
-\setlength\@dblfpbot{0\p@ \@plus 1fil}
-\parskip=0pt plus1pt\relax
-%---new
-\newdimen\normalparindent
-\normalparindent=8mm
-\parindent=\normalparindent
-\partopsep=0pt \relax \parsep=0pt \relax \itemsep=0pt \relax
-%---end
-%\setlength\partopsep{2\p@ \@plus 1\p@ \@minus 1\p@}
-\def\@listi{\leftmargin\leftmargini
-            \parsep 4\p@ \@plus2\p@ \@minus\p@
-            \topsep 8\p@ \@plus2\p@ \@minus4\p@
-            \itemsep4\p@ \@plus2\p@ \@minus\p@}
-\let\@listI\@listi
-\@listi
-\def\@listii {\leftmargin\leftmarginii
-              \labelwidth\leftmarginii
-              \advance\labelwidth-\labelsep
-              \topsep    4\p@ \@plus2\p@ \@minus\p@
-              \parsep    2\p@ \@plus\p@  \@minus\p@
-              \itemsep   \parsep}
-\def\@listiii{\leftmargin\leftmarginiii
-              \labelwidth\leftmarginiii
-              \advance\labelwidth-\labelsep
-              \topsep    2\p@ \@plus\p@\@minus\p@
-              \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}
-\frenchspacing
-\def\bfdefault{b}
-%% End birkbk10.clo
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \setlength\lineskip{1\p@}
 \setlength\normallineskip{1\p@}
-%\renewcommand\baselinestretch{}
-\setlength\parskip{0\p@ \@plus \p@}
+
+\renewcommand{\baselinestretch}{0.94}
+
+\parskip=0pt plus 1pt
 \@lowpenalty   51
 \@medpenalty  151
 \@highpenalty 301
 \setcounter{topnumber}{2}
-\renewcommand\topfraction{.7}
+\renewcommand\topfraction{1}
 \setcounter{bottomnumber}{1}
-\renewcommand\bottomfraction{.3}
+\renewcommand\bottomfraction{1}
 \setcounter{totalnumber}{3}
-\renewcommand\textfraction{.2}
-\renewcommand\floatpagefraction{.5}
+\renewcommand\textfraction{0}
+\renewcommand\floatpagefraction{1}
 \setcounter{dbltopnumber}{2}
-\renewcommand\dbltopfraction{.7}
-\renewcommand\dblfloatpagefraction{.5}
+\renewcommand\dbltopfraction{1}
+\renewcommand\dblfloatpagefraction{1}
 \if@twoside
   \def\ps@headings{%
       \let\@oddfoot\@empty\let\@evenfoot\@empty
-      \def\@evenhead{\thepage\hfil\slshape\leftmark}%
-      \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
+    \def\@evenhead{{\small\thepage}\hfil\slshape\leftmark}%
+    \def\@oddhead{{\slshape\rightmark}\hfil{\small\thepage}}%
       \let\@mkboth\markboth
-    \def\chaptermark##1{%
-      \markboth {{%
-        \ifnum \c@secnumdepth >\m@ne
-          \if@mainmatter
-            \@chapapp\ \thechapter. \ %
-          \fi
-        \fi
-        ##1}}{}}%
-    \def\sectionmark##1{%
-      \markright {{%
-        \ifnum \c@secnumdepth >\z@
-          \thesection. \ %
-        \fi
-        ##1}}}}
+        }
 \else
   \def\ps@headings{%
     \let\@oddfoot\@empty
     \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
     \let\@mkboth\markboth
-    \def\chaptermark##1{%
-      \markright {{%
+    \def\sectionmark##1{%
+      \markright {\MakeUppercase{%
         \ifnum \c@secnumdepth >\m@ne
-          \if@mainmatter
-            \@chapapp\ \thechapter. \ %
-          \fi
+          \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}%
+\def\ps@titpage{%
+    \def\@oddfoot{\hfil\small(\thepage)\hfil}%
+  \let\@evenfoot\@oddfoot
+    \def\@oddhead{\ifRedakcja\titleheading\else\hfil\fi}%
+    \let\@evenhead\@oddhead
     \let\@mkboth\@gobbletwo
-    \let\chaptermark\@gobble
     \let\sectionmark\@gobble
+    \let\subsectionmark\@gobble
     }
-  \if@titlepage
+\def\ps@plain{%
+  \let\@oddfoot\@empty\let\@evenfoot\@empty
+  \def\@evenhead{{\small\thepage}\hfil}%
+  \def\@oddhead{\hfil{\small\thepage}}%
+}
+
+\newif\ifPreprint
+\Preprintfalse
+\def\prepNo{}
+\def\preprint#1{\Preprinttrue\gdef\prepNo{#1}}
+\newcount\volume \volume=1
+\let\pageno=\c@page
+\newcount\No     \No=1
+
+\def\titleheading{\small\rm Vol.~\thevolume\ (\theyear)
+  \hfil {\appfont COSY SUMMER SCHOOL 2002} \hfil No \theNo}
+\def\thevolume{\ifnum\volume=0
+?\else \the\volume\fi}
+\def\theyear{\ifnum\year=0
+????\else\the\year\fi}
+\def\theNo{\ifnum\No=0
+?\else\the\No\fi}
+
+
+%XXX
+\def\runhead{\ifPreprint ~\else\jobname ~~ printed on \today\fi}
+\def\thetitle{\ifRedakcja Use $\backslash${\tt headtitle\{...\}}\else\runhead\fi}
+\def\headtitle#1{\gdef\thetitle{#1}}
+
+\def\and{\\\vskip6pt and\\\vskip6pt}
+\def\thenames{\ifRedakcja Use $\backslash${\tt headauthor\{...\}}\else\runhead\fi}
+\def\headauthor#1{\gdef\thenames{#1}}
+
+\def\Out@received{(Received \@date )}
+
+\let\WERS\MakeUppercase
+
+\def\title#1{\gdef\@title{#1}}
+\newskip\AdrSkip \AdrSkip=12pt plus 0pt minus 0pt
+%\newskip\RcvSkip \RcvSkip=12pt plus 0pt minus 0pt
+\newskip\TitSkip \TitSkip=52pt plus 0pt minus 0pt
+
+\def\address#1{\par\vskip\AdrSkip{\small\rm #1}}
+\def\received#1{\date{#1}}
+\def\PACS#1{\par\noindent\strut\kern18pt{\small\rm PACS numbers: #1}\par}
+
+\if@titlepage % not adapted
   \newcommand\maketitle{\begin{titlepage}%
   \let\footnotesize\small
   \let\footnoterule\relax
@@ -323,14 +230,16 @@
   \global\let\date\relax
   \global\let\and\relax
 }
-\else
-\newcommand\maketitle{\par
+\else % adapted
+%
+\newcommand\maketitle{%\par
   \begingroup
+    \def\@fnsymbol##1{\ensuremath{\ifcase##1\or *\or **\or {\char42}{\char42}{\char42}\or \dagger\or \ddagger\or
+       \mathsection\or \mathparagraph\or \|\or \dagger\dagger
+       \or \ddagger\ddagger \else\@ctrerr\fi}}%
     \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}%
+%    \def\@makefnmark{\@textsuperscript{\normalfont\large\@thefnmark}}%
+    \def\@makefnmark{\@textsuperscript{\normalfont\@thefnmark}}%
     \if@twocolumn
       \ifnum \col@number=\@ne
         \@maketitle
@@ -342,7 +251,8 @@
       \global\@topnum\z@   % Prevents figures from going at top of page.
       \@maketitle
     \fi
-    \thispagestyle{empty}\@thanks
+    \thispagestyle{titpage}%
+    \@thanks
   \endgroup
   \setcounter{footnote}{0}%
   \global\let\thanks\relax
@@ -356,203 +266,116 @@
   \global\let\author\relax
   \global\let\date\relax
   \global\let\and\relax
+\markboth{\appheadcs\thenames\hfil}{\hfil\appheadit\thetitle}%
 }
+%
 \def\@maketitle{%
   \newpage
-  \null
-  \vskip 2em%
-  \begin{center}%
+  \vbox{\vskip\TitSkip}%
+{\centering
   \let \footnote \thanks
-    {\LARGE \@title \par}%
-    \vskip 1.5em%
-    {\large
-      \lineskip .5em%
-      \begin{tabular}[t]{c}%
+\mathversion{bold}%
+  {\let\\=\break
+%   \def\@fnsymbol##1{\ensuremath{\ifcase##1\or *\or **\or {\char42}{\char42}{\char42}\else\@ctrerr\fi}}%
+  \def\@makefnmark{\@textsuperscript{\normalfont\large\@thefnmark}}%
+  \titlefont\@title\par
+  \ifnum\value{footnote}<3\setcounter{footnote}{3}\fi
+  }%
+\mathversion{normal}%
+  \vskip\AdrSkip
+  {\appauthcs
         \@author
-      \end{tabular}\par}%
-    \vskip 1em%
-    {\large \@date}%
-  \end{center}%
+\par}%
+\vskip\AdrSkip
   \par
-  \vskip 1.5em}
+%
+\if0\@date\vskip12pt\relax\else{\small\itshape\Out@received}\fi
+\par
+}}
 \fi
-\newcommand*\chaptermark[1]{}
-\setcounter{secnumdepth}{2}
+
+\setcounter{secnumdepth}{3}
 \newcounter {part}
-\newcounter {chapter}
-\newcounter {section}[chapter]
+\newcounter {section}
 \newcounter {subsection}[section]
 \newcounter {subsubsection}[subsection]
-\newcounter {paragraph}[subsubsection]
-\newcounter {subparagraph}[paragraph]
+%\newcounter {paragraph}[subsubsection]
+%\newcounter {subparagraph}[paragraph]
 \renewcommand \thepart {\@Roman\c@part}
-\renewcommand \thechapter {\@arabic\c@chapter}
-\renewcommand \thesection {\thechapter.\@arabic\c@section}
+\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\@chapapp{\chaptername}
-\newcommand\frontmatter{%
-    \cleardoublepage
-  \@mainmatterfalse
-  \pagenumbering{roman}}
-\newcommand\mainmatter{%
-    \cleardoublepage
-  \@mainmattertrue
-  \pagenumbering{arabic}}
-\newcommand\backmatter{%
-  \if@openright
-    \cleardoublepage
-  \else
-    \clearpage
-  \fi
-  \@mainmatterfalse}
-\newcommand\part{%
-  \if@openright
-    \cleardoublepage
-  \else
-    \clearpage
-  \fi
-  \thispagestyle{empty}%
-  \if@twocolumn
-    \onecolumn
-    \@tempswatrue
-  \else
-    \@tempswafalse
-  \fi
-  \null\vfil
+%\renewcommand\theparagraph    {\thesubsubsection.\@arabic\c@paragraph}
+%\renewcommand\thesubparagraph {\theparagraph.\@arabic\c@subparagraph}
+\newcommand\part{\par
+   \addvspace{4ex}%
+   \@afterindentfalse
   \secdef\@part\@spart}

 \def\@part[#1]#2{%
-    \ifnum \c@secnumdepth >-2\relax
+    \ifnum \c@secnumdepth >\m@ne
       \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
+    {\parindent \z@ \raggedright
      \interlinepenalty \@M
      \normalfont
-     \Huge \bfseries #1\par}%
-    \@endpart}
-\def\@endpart{\vfil\newpage
-              \if@twoside
-               \if@openright
-                \null
-                \thispagestyle{empty}%
-                \newpage
-               \fi
-              \fi
-              \if@tempswa
-                \twocolumn
-              \fi}
-\newcommand\chapter{\if@openright\cleardoublepage\else\clearpage\fi
-                    \thispagestyle{empty}%
-                    \global\@topnum\z@
-                    \@afterindentfalse
-                    \secdef\@chapter\@schapter}
-\def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
-                       \if@mainmatter
-                         \refstepcounter{chapter}%
-                         \typeout{\@chapapp\space\thechapter.}%
-                         \addcontentsline{toc}{chapter}%
-                                   {\protect\numberline{\thechapter}#1}%
-                       \else
-                         \addcontentsline{toc}{chapter}{#1}%
-                       \fi
-                    \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{%
-%changed
-\if@headtop\relax\else  \vspace*{50\p@}\fi%
-  {\parindent \z@ \raggedright \normalfont
     \ifnum \c@secnumdepth >\m@ne
-      \if@mainmatter
-        \if@nochaptername\relax\else
-        \if@smallheadings\LARGE\else\huge\fi\bfseries \@chapapp\space \thechapter
+       \Large\bfseries \partname~\thepart
         \par\nobreak
-        \if@smallheadings\vskip10\p@\else\vskip 20\p@\fi
       \fi
-      \fi
-    \fi
-    \interlinepenalty\@M
-    \if@smallheadings\huge\else\Huge\fi \bfseries
-    \if@nochaptername\thechapter\space\space \else\relax\fi #1\par\nobreak
-    \vskip 40\p@
-  }}
-\def\@schapter#1{\if@twocolumn
-                   \@topnewpage[\@makeschapterhead{#1}]%
-                 \else
-                   \@makeschapterhead{#1}%
-                   \@afterheading
-                 \fi}
-\def\@makeschapterhead#1{%
-  \if@headtop\relax\else  \vspace*{50\p@}\fi%
+     \huge \bfseries #2%
+     \markboth{}{}\par}%
+    \nobreak
+    \vskip 3ex
+    \@afterheading}
+\def\@spart#1{%
   {\parindent \z@ \raggedright
-    \normalfont
     \interlinepenalty\@M
-    \if@smallheadings\LARGE\else\Huge\fi\bfseries  #1\par\nobreak
-    \vskip 40\p@
-  }}
+     \normalfont
+     \huge \bfseries #1\par}%
+     \nobreak
+     \vskip 3ex
+     \@afterheading}
+
+%%%%%%%%%%%%%%%    SECTIONS
+% \section etc. defined in article.cls
+% \@startsection {NAME}{LEVEL}{INDENT}{BEFORESKIP}{AFTERSKIP}{STYLE}
+% \z@ = 0pt
+% if BEFORESKIP < 0 the no parindent for the first paragraph
 \newcommand\section{\@startsection {section}{1}{\z@}%
-                                   {-3.5ex \@plus -1ex \@minus -.2ex}%
-                                   {2.3ex \@plus.2ex}%
-                                   {\normalfont\Large\bfseries}}
+                                   {3.5ex \@plus 1ex \@minus .2ex}%
+                                   {1.3ex \@plus.2ex}%
+                                   {\normalfont\normalsize\bfseries\mathversion{bold}\centering}}
 \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}%
-                                    {\normalfont\normalsize\bfseries}}
-\newcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
+                                     {1ex \@plus .2ex}%
+                                     {\normalfont\normalsize\it\centering}}
+\newcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
                                        {3.25ex \@plus1ex \@minus .2ex}%
-                                       {-1em}%
-                                      {\normalfont\normalsize\bfseries}}
-\if@twocolumn
-  \setlength\leftmargini  {2em}
-\else
+                                     {1ex \@plus .2ex}%
+                                     {\normalfont\footnotesize\bfseries\mathversion{bold}}}
+
+% \@seccntformat is LaTeX command
+\renewcommand\@seccntformat[1]{\csname the#1\endcsname .~}
+
+%\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}}
   \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}
@@ -580,6 +403,98 @@
                {\endlist}
 \newcommand*\descriptionlabel[1]{\hspace\labelsep
                                 \normalfont\bfseries #1}
+\if@titlepage
+  \newenvironment{abstract}{%
+      \titlepage
+      \null\vfil
+      \@beginparpenalty\@lowpenalty
+      \begin{center}%
+        \bfseries \abstractname
+        \@endparpenalty\@M
+      \end{center}}%
+     {\par\vfil\null\endtitlepage}
+\else
+  \newenvironment{abstract}{%
+                \topsep=0.5\AdrSkip
+                \list{}{\listparindent 1.5em
+                    \itemindent\listparindent
+                    \leftmargin\parindent
+                    \rightmargin\leftmargin
+                \small
+                }\item\relax}
+      {\endquotation}
+\fi
+
+%%%%%%%%%%%%%%%%  EQUATIONS
+
+\newif\ifeq@sec
+\eq@secfalse
+
+\def\eqsec{%
+\eq@sectrue
+\def\theequation{\thesection.\@arabic\c@equation}%
+\@addtoreset{equation}{section}%
+}
+
+\newlength{\eqcolsep}
+
+\def\inc@eqCount{\stepcounter{equation}}
+\def\dec@eqCount{\global\advance\c@equation\m@ne}
+%---> \eqnarray is LaTeX command
+%\def\equation{$$\refstepcounter{equation}}
+%\def\endequation{\eqno \hbox{\@eqnnum}$$\@ignoretrue}
+\renewenvironment{eqnarray}{%
+   \inc@eqCount
+   \def\@currentlabel{\p@equation\theequation}%
+   \global\@eqnswtrue
+   \m@th
+   \global\@eqcnt\z@
+   \tabskip\@centering
+   \let\\\@eqncr
+   $$\everycr{}\halign to\displaywidth\bgroup
+       \hskip\@centering$\displaystyle\tabskip\z@skip{##}$\@eqnsel
+      &\global\@eqcnt\@ne\hskip \eqcolsep \hfil${##}$\hfil
+      &\global\@eqcnt\tw@ \hskip \eqcolsep
+         $\displaystyle{##}$\hfil\tabskip\@centering
+      &\global\@eqcnt\thr@@ \hbox to \z@\bgroup\hss##\egroup
+         \tabskip\z@skip
+      \cr
+}
+{%
+      \@@eqncr
+      \egroup
+%      \global\advance\c@equation\m@ne
+      \dec@eqCount
+   $$\@ignoretrue
+}
+
+\def\@@eqncr{\let\reserved@a\relax
+    \ifcase\@eqcnt \def\reserved@a{& & &}\or \def\reserved@a{& &}%
+     \or \def\reserved@a{&}\else
+       \let\reserved@a\@empty
+       \@latex@error{Too many columns in eqnarray environment}\@ehc\fi
+     \reserved@a \if@eqnsw\@eqnnum\inc@eqCount\fi
+     \global\@eqnswtrue\global\@eqcnt\z@\cr}
+\let\@seqncr=\@eqncr
+%----------------------------------------------------------------
+\newcounter{eqlett}
+
+\newenvironment{eqletters}{%
+\inc@eqCount \setcounter{eqlett}{0}%
+\edef\@currentlabel{\theequation}%
+\let\@oeq\theequation
+\def\theequation{\@oeq\alph{eqlett}}%
+\def\inc@eqCount{\addtocounter{eqlett}{1}}%
+\def\dec@eqCount{\addtocounter{eqlett}{-1}}%
+\def\equation{$$\stepcounter{eqlett}%
+   \def\@currentlabel{\p@equation\theequation}%
+}\bgroup
+}
+{%
+\egroup%\ignorespaces
+\@ignoretrue
+}
+
 \newenvironment{verse}
                {\let\\\@centercr
                 \list{}{\itemsep      \z@
@@ -590,7 +505,7 @@
                 \item\relax}
                {\endlist}
 \newenvironment{quotation}
-               {\list{}{\listparindent\normalparindent%
+               {\list{}{\listparindent 1.5em%
                         \itemindent    \listparindent
                         \rightmargin   \leftmargin
                         \parsep        \z@ \@plus\p@}%
@@ -600,59 +515,22 @@
                {\list{}{\rightmargin\leftmargin}%
                 \item\relax}
                {\endlist}
-%---new
-\AtBeginDocument{%
-  \settowidth\leftmargini{\labelenumi\hskip\labelsep}%
-  \advance\leftmargini by \normalparindent
-  \settowidth\leftmarginii{\labelenumii\hskip\labelsep}%
-  \advance\leftmarginii by 6pt
-  \settowidth\leftmarginiii{\labelenumiii\hskip\labelsep}%
-  \advance\leftmarginiii by 6pt
-  \settowidth\leftmarginiv{\labelenumiv\hskip\labelsep}%
-  \advance\leftmarginiv by 10pt
-  \leftmarginv=10pt
-  \leftmarginvi=10pt
-  \leftmargin=0pt%\leftmargini
-  \labelsep=5pt
-  \labelwidth=\leftmargini \advance\labelwidth-\labelsep
-  \@listi}
-\newskip\listisep
-\listisep\medskipamount
-\def\@listI{\leftmargin\normalparindent%\leftmargini
-\parsep\listisep%z@skip
-  \topsep\medskipamount \itemsep\z@skip
-  \listparindent\normalparindent}
-\let\@listi\@listI
-\def\@listii{\leftmargin\normalparindent%\leftmarginii
-  \labelwidth\leftmarginii \advance\labelwidth-\labelsep
-  \topsep\z@skip \parsep\z@skip \partopsep\z@skip \itemsep\listisep}
-\def\@listiii{\leftmargin\normalparindent%leftmarginiii
-  \labelwidth\leftmarginiii \advance\labelwidth-\labelsep}
-\def\@listiv{\leftmargin\normalparindent%\leftmarginiv
-  \labelwidth\leftmarginiv \advance\labelwidth-\labelsep}
-\def\@listv{\leftmargin\normalparindent%\leftmarginv
-  \labelwidth\leftmarginv \advance\labelwidth-\labelsep}
-\def\@listvi{\leftmargin\normalparindent%\leftmarginvi
-  \labelwidth\leftmarginvi \advance\labelwidth-\labelsep}
-%--end
-\if@compatibility
-\newenvironment{titlepage}
-    {%
-      \cleardoublepage
-      \if@twocolumn
-        \@restonecoltrue\onecolumn
-      \else
-        \@restonecolfalse\newpage
-      \fi
-      \thispagestyle{empty}%
-      \setcounter{page}\z@
-    }%
-    {\if@restonecol\twocolumn \else \newpage \fi
-    }
-\else
+%\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}
     {%
-      \cleardoublepage
       \if@twocolumn
         \@restonecoltrue\onecolumn
       \else
@@ -666,13 +544,45 @@
         \setcounter{page}\@ne
      \fi
     }
-\fi
+%\fi
 \newcommand\appendix{\par
-  \setcounter{chapter}{0}%
   \setcounter{section}{0}%
-  \gdef\@chapapp{\appendixname}%
-  \gdef\thechapter{\@Alph\c@chapter}}
-\setlength\arraycolsep{5\p@}
+  \setcounter{subsection}{0}%
+  \renewcommand\thesection{\@Alph\c@section}%
+\def\theequation{\thesection.\@arabic\c@equation}%
+\@addtoreset{equation}{section}%
+\renewcommand\@seccntformat[1]{\appendixname~\csname the##1\endcsname}%
+\let\org@section\section
+\def\section##1{%
+\org@section{}%
+\edef\x{##1}%
+\ifx\x\empty\relax\else
+\begin{center}\it
+##1\end{center}%
+\fi
+}}
+%
+
+%%%%%%%%%%%%%%%%%   FOOTNOTES
+\def\@fnsymbol#1{\ensuremath{\ifcase#1\or *\or **\or \dagger\or \ddagger\or
+   \mathsection\or \mathparagraph\or \|\or \dagger\dagger
+   \or \ddagger\ddagger \else\@ctrerr\fi}}
+
+\def\footnoterule{\kern-3\p@
+%  \hrule width .4\columnwidth
+  \hrule width \columnwidth
+  \kern 2.6\p@}
+
+\long\def\@makefntext#1{%
+\hbox to \hsize{%
+\hbox to 18pt{\hss$\m@th^{\@thefnmark}$~}%
+\vtop{%\rightskip 18pt%
+\hangindent-18pt\hangafter0
+\everypar{\hangindent-18pt\hangafter0}
+#1}}}
+
+\setlength\arraycolsep{6\p@}
+\eqcolsep=\arraycolsep
 \setlength\tabcolsep{6\p@}
 \setlength\arrayrulewidth{.4\p@}
 \setlength\doublerulesep{2\p@}
@@ -680,25 +590,22 @@
 \skip\@mpfootins = \skip\footins
 \setlength\fboxsep{3\p@}
 \setlength\fboxrule{.4\p@}
-\@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}
+\renewcommand \theequation {\@arabic\c@equation}
+\newcounter{figure}
+\renewcommand \thefigure {\@arabic\c@figure}
 \def\fps@figure{tbp}
 \def\ftype@figure{1}
 \def\ext@figure{lof}
-\def\fnum@figure{\figurename~\thefigure}
+%
+\def\fnum@figure{\figurename\thinspace\thefigure}
 \newenvironment{figure}
                {\@float{figure}}
                {\end@float}
 \newenvironment{figure*}
                {\@dblfloat{figure}}
                {\end@dblfloat}
-\newcounter{table}[chapter]
-\renewcommand \thetable
-     {\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@table}
+\newcounter{table}
+\renewcommand\thetable{\@arabic\c@table}
 \def\fps@table{tbp}
 \def\ftype@table{2}
 \def\ext@table{lot}
@@ -711,16 +618,16 @@
                {\end@dblfloat}
 \newlength\abovecaptionskip
 \newlength\belowcaptionskip
-\setlength\abovecaptionskip{10\p@}
+\setlength\abovecaptionskip{4\p@}
 \setlength\belowcaptionskip{0\p@}
 \long\def\@makecaption#1#2{%
   \vskip\abovecaptionskip
-  \sbox\@tempboxa{#1: #2}%
+  \sbox\@tempboxa{\small #1. #2}%
   \ifdim \wd\@tempboxa >\hsize
-    #1: #2\par
+    {\small #1. #2}
   \else
     \global \@minipagefalse
-    \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
+    \hbox to .993\hsize{\hfil\box\@tempboxa\hfil}%
   \fi
   \vskip\belowcaptionskip}
 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
@@ -735,37 +642,33 @@
 \newcommand\@pnumwidth{1.55em}
 \newcommand\@tocrmarg{2.55em}
 \newcommand\@dotsep{4.5}
-\setcounter{tocdepth}{2}
+\setcounter{tocdepth}{3}
 \newcommand\tableofcontents{%
-    \if@twocolumn
-      \@restonecoltrue\onecolumn
-    \else
-      \@restonecolfalse
-    \fi
-    \chapter*{\contentsname
+    \section*{\contentsname
         \@mkboth{%
-           \contentsname}{\contentsname}}%
+           \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%
     \@starttoc{toc}%
-    \if@restonecol\twocolumn\fi
     }
 \newcommand*\l@part[2]{%
   \ifnum \c@tocdepth >-2\relax
-    \addpenalty{-\@highpenalty}%
+    \addpenalty\@secpenalty
     \addvspace{2.25em \@plus\p@}%
     \begingroup
       \parindent \z@ \rightskip \@pnumwidth
       \parfillskip -\@pnumwidth
       {\leavevmode
-       \large \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par
+       \large \bfseries #1\hfil \hbox to \@pnumwidth{\hss #2}}\par
        \nobreak
-         \global\@nobreaktrue
-         \everypar{\global\@nobreakfalse\everypar{}}%
+%       \if@compatibility
+%         \global\@nobreaktrue
+%         \everypar{\global\@nobreakfalse\everypar{}}%
+%      \fi
     \endgroup
   \fi}
-\newcommand*\l@chapter[2]{%
-  \ifnum \c@tocdepth >\m@ne
-    \addpenalty{-\@highpenalty}%
-    \vskip 1.0em \@plus\p@
+\newcommand*\l@section[2]{%
+  \ifnum \c@tocdepth >\z@
+    \addpenalty\@secpenalty
+    \addvspace{1.0em \@plus\p@}%
     \setlength\@tempdima{1.5em}%
     \begingroup
       \parindent \z@ \rightskip \@pnumwidth
@@ -773,46 +676,35 @@
       \leavevmode \bfseries
       \advance\leftskip\@tempdima
       \hskip -\leftskip
-      #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
-      \penalty\@highpenalty
+      #1\nobreak\hfil \nobreak\hbox to \@pnumwidth{\hss #2}\par
     \endgroup
   \fi}
-\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*\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{%
-    \if@twocolumn
-      \@restonecoltrue\onecolumn
-    \else
-      \@restonecolfalse
-    \fi
-    \chapter*{\listfigurename
-      \@mkboth{\listfigurename}%
-              {\listfigurename}}%
+    \section*{\listfigurename
+      \@mkboth{\MakeUppercase\listfigurename}%
+              {\MakeUppercase\listfigurename}}%
     \@starttoc{lof}%
-    \if@restonecol\twocolumn\fi
     }
 \newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
 \newcommand\listoftables{%
-    \if@twocolumn
-      \@restonecoltrue\onecolumn
-    \else
-      \@restonecolfalse
-    \fi
-    \chapter*{\listtablename
+    \section*{\listtablename
       \@mkboth{%
-          \listtablename}{\listtablename}}%
+          \MakeUppercase\listtablename}{\MakeUppercase\listtablename}}%
     \@starttoc{lot}%
-    \if@restonecol\twocolumn\fi
     }
 \let\l@table\l@figure
 \newdimen\bibindent
 \setlength\bibindent{1.5em}
 \newenvironment{thebibliography}[1]
-     {\chapter*{\bibname
-        \@mkboth{\bibname}{\bibname}}%
+{
+    \vskip24pt
+    \centerline{\refname}%
+    \kern8pt
+    \small
       \list{\@biblabel{\@arabic\c@enumiv}}%
            {\settowidth\labelwidth{\@biblabel{#1}}%
             \leftmargin\labelwidth
@@ -820,15 +712,19 @@
             \@openbib@code
             \usecounter{enumiv}%
             \let\p@enumiv\@empty
-            \renewcommand\theenumiv{\@arabic\c@enumiv}}%
+        \renewcommand\theenumiv{\@arabic\c@enumiv}%
+            \parskip=0pt \parsep=0pt%
+        \small}%
       \sloppy
       \clubpenalty4000
       \@clubpenalty \clubpenalty
       \widowpenalty4000%
-      \sfcode`\.\@m}
+      \sfcode`\.\@m
+    }
      {\def\@noitemerr
        {\@latex@warning{Empty `thebibliography' environment}}%
       \endlist}
+
 \newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
 \let\@openbib@code\@empty
 \newenvironment{theindex}
@@ -839,10 +735,10 @@
                 \fi
                 \columnseprule \z@
                 \columnsep 35\p@
-                \twocolumn[\@makeschapterhead{\indexname}]%
-                \@mkboth{\indexname}%
-                        {\indexname}%
-                \thispagestyle{empty}\parindent\z@
+                \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}
@@ -854,28 +750,26 @@
   \kern-3\p@
   \hrule\@width.4\columnwidth
   \kern2.6\p@}
-\@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\bibname{Bibliography}
+\newcommand\refname{REFERENCES}
 \newcommand\indexname{Index}
-\newcommand\figurename{Figure}
+\newcommand\figurename{Fig.}
 \newcommand\tablename{Table}
 \newcommand\partname{Part}
-\newcommand\chaptername{Chapter}
 \newcommand\appendixname{Appendix}
-\def\today{\ifcase\month\or
+\newcommand\abstractname{Abstract}
+\def\MoName#1{\ifcase#1\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
+}
+\def\today{\MoName{\month}%
   \space\number\day, \number\year}
 \setlength\columnsep{10\p@}
 \setlength\columnseprule{0\p@}
 \pagestyle{headings}
+\markboth{\appheadcs\thenames\hfil}{\hfil\appheadit\thetitle}
 \pagenumbering{arabic}
 \if@twoside
 \else
@@ -889,8 +783,75 @@
   \onecolumn
 \fi

-\newcommand\br{\hfill\break}
+
+%%%%%%%%%%%%%%%%%%%%    USEFUL DEFINITIONS
+
+\def\comsp{\@ifnextchar ,\relax{\@ifnextchar\ \relax{\ \relax}}}
+\def\ie{{\it i.e.}\comsp}
+\def\eg{{\it e.g.}\comsp}
+\def\cf{{\it cf.}\comsp}
+\def\etal{{\it et al.}\comsp}
+
+%%%  for math mode:
+
+\def\half{{\textstyle{1\over 2}}}
+\def\Half{{1\over 2}}
+\DeclareMathSymbol{\e}{\mathalpha}{operators}{`e}
+\def\Tr{\mathop{\operator@font Tr}\nolimits}
+
+
+\def\seteqprefix#1{\renewcommand{\p@equation}{#1}}
+\def\reseteqprefix#1{\setcounter{equation}{0}\renewcommand{\p@equation}{#1}}
+
+
+\clubpenalty\@highpenalty
+\widowpenalty\@highpenalty
+
+\RequirePackage{latexsym}
+%\endinput
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+\def\eqalabel#1{\@bsphack
+  \protected@write\@auxout{}%
+         {\string\newlabel{#1}{{\p@equation\arabic{equation}}{\thepage}}}%
+\@esphack}
+
+\def\@eqlettcr{%
+\if@eqnsw\@eqncr\stepcounter{eqlett}\addtocounter{equation}{-1}\else%
+\@eqncr\fi%
+}
+
+\def\@@eqlettcr{\let\reserved@a\relax
+    \ifcase\@eqcnt \def\reserved@a{& & &}\or \def\reserved@a{& &}%
+     \or \def\reserved@a{&}\else
+       \let\reserved@a\@empty
+       \@latex@error{Too many columns in eqlettarray environment}\@ehc\fi
+     \reserved@a \if@eqnsw\@eqnnum\stepcounter{eqlett}\fi
+     \global\@eqnswtrue\global\@eqcnt\z@\cr}
+
+\newenvironment{eqlettarray}{%
+    \PackageWarning{appolb}{^^JThe environment "eqlettarray" is now obsolete.^^JUse new environment "eqletters" instead}
+    \typeout{-----  "eqletters" environment example  -----^^J\string\begin{eqletters}^^J\string\label{WholeSet}}
+    \typeout{\string\begin{eqnarray}^^J\string\label{eqnLabel}^^J...}
+    \typeout{\string\end{eqnarray}^^J\string\end{eqletters}}
+    \typeout{---------------------------------------------^^J}
+  \setcounter{eqlett}{1}
+    \def\theequation{\@arabic\c@equation\alph{eqlett}}%
+    \def\@@eqncr{\let\reserved@a\relax
+    \ifcase\@eqcnt \def\reserved@a{& & &}\or \def\reserved@a{& &}%
+     \or \def\reserved@a{&}\else
+       \let\reserved@a\@empty
+       \@latex@error{Too many columns in eqnarray environment}\@ehc\fi
+     \reserved@a \if@eqnsw\@eqnnum\stepcounter{eqlett}\fi
+     \global\@eqnswtrue\global\@eqcnt\z@\cr}
+     \eqnarray
+}
+{%
+\endeqnarray
+\ifnum\value{eqlett} >1\stepcounter{equation}\fi
+}

 \endinput
-%%
-%% End of file `birkmono.cls'.
+%% End of file `css2002.cls'.

 

Close Window
 
  The service has been written by
Heinrich Stamerjohanns