arxmliv
arxmliv build tool
 
KWARC group
LaTeXML
About
   
 

Back to Homepage

--- /arXMLiv/repos/arXMLiv/trunk/sty/appbav.cls	2010-04-02 23:52:07.000000000 +0200
+++ /arXMLiv/repos/arXMLiv/trunk/sty/emsprocart1.cls	2010-04-01 22:45:10.000000000 +0200
@@ -1,69 +1,305 @@
+%%%%%%%%%%% %%%%%%%%%%%%%%%%%%emsprocart.cls%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% This file is essentially `article.cls', slightly changed, with amsthm.sty included.%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%Proceedings style file%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%EMS Publishing House, Seminar for Applied Mathematics, ETH-Zentrum FLI C4%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%8092 Zurich, Switzerland%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%January 16, 2006%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% The original source files were:
 %%
-%% This is file `appolb.cls',
-%% adapted from `article.cls' ver. 1997/10/10 v1.3x
+%% classes.dtx  (with options: `article')
 %%
-%% with Copyright info:
+%% This is a generated file.
 %%
-%% Copyright 1993 1994 1995 1996 1997
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004
 %% 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 defines the style for articles
-%% to be published in Acta Physica Polonica B.
-%% ----------------------------------------
-%%   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.
+%% This file was generated from file(s) of the LaTeX base system.
+%% --------------------------------------------------------------
 %%
-%%   For error reports concerning UNCHANGED versions of this file
-%%   contact via e-mail to acta@jetta.if.uj.edu.pl.
+%% It may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%%    http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2003/12/01 or later.
 %%
+%% This file has the LPPL maintenance status "maintained".
+%%
+%% This file may only be distributed together with a copy of the LaTeX
+%% base system. You may however distribute the LaTeX base system without
+%% such generated files.
+%%
+%% The list of all files belonging to the LaTeX base distribution is
+%% given in the file `manifest.txt'. See also `legal.txt' for additional
+%% information.
+%%
+%% The list of derived (unpacked) files belonging to the distribution
+%% and covered by LPPL is defined by the unpacking scripts (with
+%% extension .ins) which are part of the distribution.
+%% \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]
-% av mod
-\ProvidesClass{appbav}
-              [1999/01/05 v1.01
- Acta Physica Polonica B]
+\ProvidesClass{icmart}
+              [2004/02/16 v1.4f
+ Standard LaTeX document class]
+\newcommand\@ptsize{}
 \newif\if@restonecol
 \newif\if@titlepage
 \@titlepagefalse
-\@twosidetrue  \@mparswitchtrue
-\def\@date{0}
+\if@compatibility\else
 \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
+\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}}
-%\DeclareOption{notitlepage}{\@titlepagefalse}
-%\DeclareOption{openbib}{%
-%  \AtEndOfPackage{%
-%   \renewcommand\@openbib@code{%
-%      \advance\leftmargin\bibindent
-%      \itemindent -\bibindent
-%      \listparindent \itemindent
-%      \parsep \z@
-%      }%
-%   \renewcommand\newblock{\par}}%
-%}
-\ExecuteOptions{a4paper,final}
+\fi
+\DeclareOption{titlepage}{\@titlepagetrue}
+\if@compatibility\else
+\DeclareOption{notitlepage}{\@titlepagefalse}
+\fi
+\if@compatibility\else
+\DeclareOption{onecolumn}{\@twocolumnfalse}
+\fi
+\DeclareOption{twocolumn}{\@twocolumntrue}
+\DeclareOption{leqno}{\input{leqno.clo}}
+\DeclareOption{fleqn}{\input{fleqn.clo}}
+\DeclareOption{openbib}{%
+  \AtEndOfPackage{%
+   \renewcommand\@openbib@code{%
+      \advance\leftmargin\bibindent
+      \itemindent -\bibindent
+      \listparindent \itemindent
+      \parsep \z@
+      }%
+   \renewcommand\newblock{\par}}%
+}
+\ExecuteOptions{a4paper,10pt,twoside,onecolumn,final}
 \ProcessOptions
-\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}}}}}%
+%%%%%\input{size1\@ptsize.clo}%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% This is file `size10.clo',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% classes.dtx  (with options: `10pt')
+%%
+%% This is a generated file.
+%%
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004
+%% The LaTeX3 Project and any individual authors listed elsewhere
+%% in this file.
+%%
+%% This file was generated from file(s) of the LaTeX base system.
+%% --------------------------------------------------------------
+%%
+%% It may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%%    http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2003/12/01 or later.
+%%
+%% This file has the LPPL maintenance status "maintained".
+%%
+%% This file may only be distributed together with a copy of the LaTeX
+%% base system. You may however distribute the LaTeX base system without
+%% such generated files.
+%%
+%% The list of all files belonging to the LaTeX base distribution is
+%% given in the file `manifest.txt'. See also `legal.txt' for additional
+%% information.
+%%
+%% The list of derived (unpacked) files belonging to the distribution
+%% and covered by LPPL is defined by the unpacking scripts (with
+%% extension .ins) which are part of the distribution.
+%% \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         \~}
+\ProvidesFile{size10.clo}
+              [2004/02/16 v1.4f
+      Standard LaTeX file (size option)]
+\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
 }
-\textwidth=126mm
-\textheight=190mm
+\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{1em}
+\else
+  \setlength\parindent{15\p@}
+\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   {25\p@}
+\setlength\topskip   {10\p@}
+\setlength\footskip{30\p@}
+\if@compatibility \setlength\maxdepth{4\p@} \else
+\setlength\maxdepth{.5\topskip} \fi
+\if@compatibility
+  \if@twocolumn
+    \setlength\textwidth{410\p@}
+  \else
+    \setlength\textwidth{345\p@}
+  \fi
+\else
+  \setlength\@tempdima{\paperwidth}
+  \addtolength\@tempdima{-2in}
+  \setlength\@tempdimb{345\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
+\fi
+\if@compatibility\else
+  \@settopoint\textwidth
+\fi
+\if@compatibility
+  \setlength\textheight{43\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{11\p@}
+\fi
+\setlength\marginparpush{5\p@}
+\if@compatibility
+  \if@twoside
+     \setlength\oddsidemargin   {44\p@}
+     \setlength\evensidemargin  {82\p@}
+     \setlength\marginparwidth {107\p@}
+  \else
+     \setlength\oddsidemargin   {63\p@}
+     \setlength\evensidemargin  {63\p@}
+     \setlength\marginparwidth  {90\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    {.5\@tempdima}%%%{.4\@tempdima}
+    \addtolength\oddsidemargin  {-1in}
+    \setlength\marginparwidth   {.5\@tempdima}%%%{.6\@tempdima}
+    \addtolength\marginparwidth {-\marginparsep}
+    \addtolength\marginparwidth {-0.4in}
+      \else
     \setlength\@tempdima        {\paperwidth}
     \addtolength\@tempdima      {-\textwidth}
     \setlength\oddsidemargin    {.5\@tempdima}
@@ -71,6 +307,11 @@
     \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}
@@ -78,6 +319,10 @@
   \addtolength\evensidemargin{-\textwidth}
   \addtolength\evensidemargin{-\oddsidemargin}
   \@settopoint\evensidemargin
+\fi
+\if@compatibility
+  \setlength\topmargin{27pt}
+\else
   \setlength\topmargin{\paperheight}
   \addtolength\topmargin{-2in}
   \addtolength\topmargin{-\headheight}
@@ -86,51 +331,88 @@
   \addtolength\topmargin{-\footskip}     % this might be wrong!
   \addtolength\topmargin{-.5\topmargin}
   \@settopoint\topmargin
-%***************************************************************************
-\newif\ifRedakcja
-\Redakcjafalse
-
-\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}
-
+\fi
+\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}
+\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}
+%\endinput
+%%
+%% End of file `size10.clo'.%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \setlength\lineskip{1\p@}
 \setlength\normallineskip{1\p@}
-
-\renewcommand{\baselinestretch}{0.94}
-
-\parskip=0pt plus 1pt
+\renewcommand\baselinestretch{}
+\setlength\parskip{0\p@ \@plus \p@}
 \@lowpenalty   51
 \@medpenalty  151
 \@highpenalty 301
 \setcounter{topnumber}{2}
-\renewcommand\topfraction{1}
+\renewcommand\topfraction{.7}
 \setcounter{bottomnumber}{1}
-\renewcommand\bottomfraction{1}
+\renewcommand\bottomfraction{.3}
 \setcounter{totalnumber}{3}
-\renewcommand\textfraction{0}
-\renewcommand\floatpagefraction{1}
+\renewcommand\textfraction{.2}
+\renewcommand\floatpagefraction{.5}
 \setcounter{dbltopnumber}{2}
-\renewcommand\dbltopfraction{1}
-\renewcommand\dblfloatpagefraction{1}
+\renewcommand\dbltopfraction{.7}
+\renewcommand\dblfloatpagefraction{.5}
 \if@twoside
   \def\ps@headings{%
       \let\@oddfoot\@empty\let\@evenfoot\@empty
-    \def\@evenhead{{\small\thepage}\hfil\slshape\leftmark}%
-    \def\@oddhead{{\slshape\rightmark}\hfil{\small\thepage}}%
+      \def\@evenhead{\thepage\hfil\slshape\leftmark}%
+      \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
       \let\@mkboth\markboth
-        }
+    \def\sectionmark##1{%
+      \markboth {\MakeUppercase{%
+        \ifnum \c@secnumdepth >\z@
+          \thesection\quad
+        \fi
+        ##1}}{}}%
+    \def\subsectionmark##1{%
+      \markright {%
+        \ifnum \c@secnumdepth >\@ne
+          \thesubsection%\quad
+        \fi
+        ##1}}}
 \else
   \def\ps@headings{%
     \let\@oddfoot\@empty
@@ -143,65 +425,15 @@
         \fi
         ##1}}}}
 \fi
-\def\ps@titpage{%
-    \def\@oddfoot{\hfil\small(\thepage)\hfil}%
-  \let\@evenfoot\@oddfoot
-%   \def\@oddhead{\ifRedakcja\titleheading\else\hfil\fi}%
-    \def\@oddhead{\titleheading}%
-    \let\@evenhead\@oddhead
+\def\ps@myheadings{%
+    \let\@oddfoot\@empty\let\@evenfoot\@empty
+    \def\@evenhead{\thepage\hfil\small\leftmark}%
+    \def\@oddhead{{\small\rightmark}\hfil\thepage}%
     \let\@mkboth\@gobbletwo
     \let\sectionmark\@gobble
     \let\subsectionmark\@gobble
     }
-\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=0
-\let\pageno=\c@page
-\newcount\No     \No=0
-
-\def\titleheading{\small\rm Vol.~\thevolume\ (\theyear)
- \hfil {\appfont ACTA PHYSICA POLONICA B} \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}
-
-% av mod
-%\def\runhead{\ifPreprint ~\else\jobname ~~ printed on \today\fi}
-\def\runhead{\ifPreprint ~\else \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
-% av mod
-%\newskip\TitSkip \TitSkip=52pt plus 0pt minus 0pt
-\newskip\TitSkip \TitSkip=20pt 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
+  \if@titlepage
   \newcommand\maketitle{\begin{titlepage}%
   \let\footnotesize\small
   \let\footnoterule\relax
@@ -234,16 +466,14 @@
   \global\let\date\relax
   \global\let\and\relax
 }
-\else % adapted
-%
-\newcommand\maketitle{%\par
+\else
+\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{\@textsuperscript{\normalfont\large\@thefnmark}}%
-    \def\@makefnmark{\@textsuperscript{\normalfont\@thefnmark}}%
+    \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
+    \long\def\@makefntext##1{\parindent 1em\noindent
+            \hb@xt@1.8em{%
+                \hss\@textsuperscript{\normalfont\@thefnmark}}##1}%
     \if@twocolumn
       \ifnum \col@number=\@ne
         \@maketitle
@@ -255,8 +485,7 @@
       \global\@topnum\z@   % Prevents figures from going at top of page.
       \@maketitle
     \fi
-    \thispagestyle{titpage}%
-    \@thanks
+    \thispagestyle{empty}\@thanks
   \endgroup
   \setcounter{footnote}{0}%
   \global\let\thanks\relax
@@ -270,48 +499,43 @@
   \global\let\author\relax
   \global\let\date\relax
   \global\let\and\relax
-\markboth{\appheadcs\thenames\hfil}{\hfil\appheadit\thetitle}%
 }
-%
 \def\@maketitle{%
   \newpage
-  \vbox{\vskip\TitSkip}%
-{\centering
+  %%%%\null%%%
+   %\vspace*{38pt}
+  %\vskip 2em%
+  %%%%%\begin{center}%
   \let \footnote \thanks
-\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
-\par}%
-\vskip\AdrSkip
-\par
-%
-\if0\@date\vskip12pt\relax\else{\small\itshape\Out@received}\fi
+    {\LARGE \bfseries\boldmath\noindent \@title \par}%
+    \vskip 1.5em%
+    {\large
+      \lineskip .5em%
+      %%%%%%\begin{tabular}[t]{c}%
+        \noindent\rmfamily\@author%%%%%\@author
+      \par}%%%%\end{tabular}\par}%
+    %%%%\vskip 1em%
+    %%%{\large \@date}%
+  %%%%%\end{center}%
 \par
-}}
+  \vskip24pt}%%%%\vskip 1.5em}
 \fi
-
 \setcounter{secnumdepth}{3}
 \newcounter {part}
 \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 \thesection {\@arabic\c@section}
 \renewcommand\thesubsection   {\thesection.\@arabic\c@subsection}
 \renewcommand\thesubsubsection{\thesubsection .\@arabic\c@subsubsection}
-%\renewcommand\theparagraph    {\thesubsubsection.\@arabic\c@paragraph}
-%\renewcommand\thesubparagraph {\theparagraph.\@arabic\c@subparagraph}
-\newcommand\part{\par
+\renewcommand\theparagraph    {\thesubsubsection.\@arabic\c@paragraph}
+\renewcommand\thesubparagraph {\theparagraph.\@arabic\c@subparagraph}
+\newcommand\part{%
+   \if@noskipsec \leavevmode \fi
+   \par
    \addvspace{4ex}%
    \@afterindentfalse
    \secdef\@part\@spart}
@@ -327,7 +551,7 @@
      \interlinepenalty \@M
      \normalfont
      \ifnum \c@secnumdepth >\m@ne
-       \Large\bfseries \partname~\thepart
+       \Large\bfseries \partname\nobreakspace\thepart
        \par\nobreak
      \fi
      \huge \bfseries #2%
@@ -343,43 +567,42 @@
      \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}%
-                                   {1.3ex \@plus.2ex}%
-                                   {\normalfont\normalsize\bfseries\mathversion{bold}\centering}}
+                                   {-5.5ex \@plus -1ex \@minus -.2ex}%
+                                   {2.3ex \@plus.2ex}%
+                                   {\normalfont\Large\bfseries\boldmath}}
 \newcommand\subsection{\@startsection{subsection}{2}{\z@}%
-                                     {3.25ex\@plus 1ex \@minus .2ex}%
-                                     {1ex \@plus .2ex}%
-                                     {\normalfont\normalsize\it\centering}}
+                                     {12pt\@plus 1ex \@minus .2ex}%
+                                     {-1.5ex \@plus -.2ex}%
+                                     {\normalfont\large\bfseries\boldmath}}
 \newcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
+                                     {12pt\@plus 1ex \@minus .2ex}%
+                                     {-1.5ex \@plus -.2ex}%
+                                     {\normalfont\normalsize\bfseries\boldmath}}
+\newcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
                                      {3.25ex\@plus 1ex \@minus .2ex}%
-                                     {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}}
+                                    {-1em}%
+                                    {\normalfont\normalsize\bfseries\boldmath}}
+\newcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
+                                       {3.25ex \@plus1ex \@minus .2ex}%
+                                       {-1em}%
+                                      {\normalfont\normalsize\bfseries\boldmath}}
+\if@twocolumn
+  \setlength\leftmargini  {2em}
+\else
 \setlength\leftmargini  {2.5em}
+\fi
 \leftmargin  \leftmargini
 \setlength\leftmarginii  {2.2em}
 \setlength\leftmarginiii {1.87em}
 \setlength\leftmarginiv  {1.7em}
+\if@twocolumn
+  \setlength\leftmarginv  {.5em}
+  \setlength\leftmarginvi {.5em}
+\else
 \setlength\leftmarginv  {1em}
 \setlength\leftmarginvi {1em}
+\fi
 \setlength  \labelsep  {.5em}
 \setlength  \labelwidth{\leftmargini}
 \addtolength\labelwidth{-\labelsep}
@@ -419,86 +642,43 @@
      {\par\vfil\null\endtitlepage}
 \else
   \newenvironment{abstract}{%
-				\topsep=0.5\AdrSkip
-				\list{}{\listparindent 1.5em
-				    \itemindent\listparindent
-				    \leftmargin\parindent
-				    \rightmargin\leftmargin
+      \if@twocolumn
+        \section*{\abstractname}%
+      \else
 				\small
-				}\item\relax}
-      {\endquotation}
+        \begin{center}%
+          {\bfseries \abstractname\vspace{-.5em}\vspace{\z@}}%
+        \end{center}%
+        \quotation
+      \fi}
+      {\if@twocolumn\else\endquotation\fi}
 \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{keywords}{%
+      \if@twocolumn
+        \section*{\keywordname}%
+      \else
+        \vspace{.3cm}\small
+                 {\noindent\bfseries{\keywordname.}\vspace{\z@}}%}
+       \fi}
+      {\if@twocolumn\else\fi}
+\newenvironment{classification}{%
+      \if@twocolumn
+        \section*{\classificationname}%
+      \else
+        \vspace{.2cm}\small
+              {\noindent\bfseries{\classificationname.}\vspace{\z@}}%}
+      \fi}
+      {\if@twocolumn\else\fi}
+\newenvironment{acknowledgment}{%
+      \if@twocolumn
+        \section*{\acknowledgmentname}%
+      \else
+        \vspace{.2cm}\small
+              {\noindent\bfseries{\acknowledgmentname.}\vspace{\z@}}%}
+      \fi}
+      {\if@twocolumn\else\fi}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \newenvironment{verse}
                {\let\\\@centercr
                 \list{}{\itemsep      \z@
@@ -519,20 +699,20 @@
                {\list{}{\rightmargin\leftmargin}%
                 \item\relax}
                {\endlist}
-%\if@compatibility
-%\newenvironment{titlepage}
-%    {%
-%      \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}
     {%
       \if@twocolumn
@@ -548,45 +728,12 @@
         \setcounter{page}\@ne
      \fi
     }
-%\fi
+\fi
 \newcommand\appendix{\par
   \setcounter{section}{0}%
   \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
+  \gdef\thesection{\@Alph\c@section}}
+\setlength\arraycolsep{5\p@}
 \setlength\tabcolsep{6\p@}
 \setlength\arrayrulewidth{.4\p@}
 \setlength\doublerulesep{2\p@}
@@ -600,8 +747,7 @@
 \def\fps@figure{tbp}
 \def\ftype@figure{1}
 \def\ext@figure{lof}
-%
-\def\fnum@figure{\figurename\thinspace\thefigure}
+\def\fnum@figure{\figurename\nobreakspace\thefigure}
 \newenvironment{figure}
                {\@float{figure}}
                {\end@float}
@@ -613,7 +759,7 @@
 \def\fps@table{tbp}
 \def\ftype@table{2}
 \def\ext@table{lot}
-\def\fnum@table{\tablename~\thetable}
+\def\fnum@table{\tablename\nobreakspace\thetable}
 \newenvironment{table}
                {\@float{table}}
                {\end@float}
@@ -622,16 +768,18 @@
                {\end@dblfloat}
 \newlength\abovecaptionskip
 \newlength\belowcaptionskip
-\setlength\abovecaptionskip{4\p@}
+\setlength\abovecaptionskip{10\p@}
 \setlength\belowcaptionskip{0\p@}
 \long\def\@makecaption#1#2{%
   \vskip\abovecaptionskip
-  \sbox\@tempboxa{\small #1. #2}%
+  %%%%%\sbox\@tempboxa{#1: #2}%%%%%
+  \sbox\@tempboxa{\small #1. #2}
   \ifdim \wd\@tempboxa >\hsize
-    {\small #1. #2}
+    %%%%%#1: #2\par%%%%%
+    \small #1. #2\par
   \else
     \global \@minipagefalse
-    \hbox to .993\hsize{\hfil\box\@tempboxa\hfil}%
+    \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
   \fi
   \vskip\belowcaptionskip}
 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
@@ -657,16 +805,17 @@
   \ifnum \c@tocdepth >-2\relax
     \addpenalty\@secpenalty
     \addvspace{2.25em \@plus\p@}%
+    \setlength\@tempdima{3em}%
     \begingroup
       \parindent \z@ \rightskip \@pnumwidth
       \parfillskip -\@pnumwidth
       {\leavevmode
-       \large \bfseries #1\hfil \hbox to \@pnumwidth{\hss #2}}\par
+       \large \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par
        \nobreak
-%       \if@compatibility
-%         \global\@nobreaktrue
-%         \everypar{\global\@nobreakfalse\everypar{}}%
-%      \fi
+       \if@compatibility
+         \global\@nobreaktrue
+         \everypar{\global\@nobreakfalse\everypar{}}%
+      \fi
     \endgroup
   \fi}
 \newcommand*\l@section[2]{%
@@ -680,35 +829,34 @@
       \leavevmode \bfseries
       \advance\leftskip\@tempdima
       \hskip -\leftskip
-      #1\nobreak\hfil \nobreak\hbox to \@pnumwidth{\hss #2}\par
+      #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
     \endgroup
   \fi}
 \newcommand*\l@subsection{\@dottedtocline{2}{1.5em}{2.3em}}
 \newcommand*\l@subsubsection{\@dottedtocline{3}{3.8em}{3.2em}}
-%\newcommand*\l@paragraph{\@dottedtocline{4}{7.0em}{4.1em}}
-%\newcommand*\l@subparagraph{\@dottedtocline{5}{10em}{5em}}
+\newcommand*\l@paragraph{\@dottedtocline{4}{7.0em}{4.1em}}
+\newcommand*\l@subparagraph{\@dottedtocline{5}{10em}{5em}}
 \newcommand\listoffigures{%
-    \section*{\listfigurename
+    \section*{\listfigurename}%
       \@mkboth{\MakeUppercase\listfigurename}%
-              {\MakeUppercase\listfigurename}}%
+              {\MakeUppercase\listfigurename}%
     \@starttoc{lof}%
     }
 \newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
 \newcommand\listoftables{%
-    \section*{\listtablename
+    \section*{\listtablename}%
       \@mkboth{%
-          \MakeUppercase\listtablename}{\MakeUppercase\listtablename}}%
+          \MakeUppercase\listtablename}%
+         {\MakeUppercase\listtablename}%
     \@starttoc{lot}%
     }
 \let\l@table\l@figure
 \newdimen\bibindent
 \setlength\bibindent{1.5em}
 \newenvironment{thebibliography}[1]
-{
-	\vskip24pt
-	\centerline{\refname}%
-	\kern8pt
-	\small
+     {\section*{\refname}%
+      \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}%
+      \small%%%%%%
   \list{\@biblabel{\@arabic\c@enumiv}}%
 	  {\settowidth\labelwidth{\@biblabel{#1}}%
 	    \leftmargin\labelwidth
@@ -716,19 +864,15 @@
 	    \@openbib@code
 	    \usecounter{enumiv}%
 	    \let\p@enumiv\@empty
-	    \renewcommand\theenumiv{\@arabic\c@enumiv}%
-			\parskip=0pt \parsep=0pt%
-	    \small}%
+            \renewcommand\theenumiv{\@arabic\c@enumiv}}%
 	  \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}
@@ -737,13 +881,13 @@
                 \else
                   \@restonecoltrue
                 \fi
-                \columnseprule \z@
-                \columnsep 35\p@
                 \twocolumn[\section*{\indexname}]%
                 \@mkboth{\MakeUppercase\indexname}%
                         {\MakeUppercase\indexname}%
                 \thispagestyle{plain}\parindent\z@
                 \parskip\z@ \@plus .3\p@\relax
+                \columnseprule \z@
+                \columnsep 35\p@
                 \let\item\@idxitem}
                {\if@restonecol\onecolumn\else\clearpage\fi}
 \newcommand\@idxitem{\par\hangindent 40\p@}
@@ -754,26 +898,30 @@
   \kern-3\p@
   \hrule\@width.4\columnwidth
   \kern2.6\p@}
+\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\refname{References}
 \newcommand\indexname{Index}
-\newcommand\figurename{Fig.}
+\newcommand\figurename{Figure}
 \newcommand\tablename{Table}
 \newcommand\partname{Part}
 \newcommand\appendixname{Appendix}
 \newcommand\abstractname{Abstract}
-\def\MoName#1{\ifcase#1\or
+\newcommand\acknowledgmentname{Acknowledgments}
+\newcommand\keywordname{Keywords}%%%%%%%
+\newcommand\classificationname{Mathematics Subject Classification (2000)}%%%%%%%%
+\def\today{\ifcase\month\or
   January\or February\or March\or April\or May\or June\or
   July\or August\or September\or October\or November\or December\fi
-}
-\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}
+\pagestyle{plain}
 \pagenumbering{arabic}
 \if@twoside
 \else
@@ -786,76 +934,573 @@
 \else
   \onecolumn
 \fi
+%%%%\endinput
+%%
+%% End of file `article.cls'.
+%%
+%% This is file `amsthm.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% amsclass.dtx  (with options: `amsthm')
+%%
+%%% ====================================================================
+%%% @LaTeX-file{
+%%%   filename  = "amsclass.dtx",
+%%%   version   = "2.20",
+%%%   date      = "2004/08/06",
+%%%   time      = "13:03:53 EDT",
+%%%   checksum  = "53558 5204 20497 185872",
+%%%   author    = "American Mathematical Society",
+%%%   copyright = "Copyright 1995, 1999, 2004
+%%%                American Mathematical Society,
+%%%                all rights reserved.  Copying of this file is
+%%%                authorized only if either:
+%%%                (1) you make absolutely no changes to your copy,
+%%%                including name; OR
+%%%                (2) if you do make changes, you first rename it
+%%%                to some other name.",
+%%%   address   = "American Mathematical Society,
+%%%                Technical Support,
+%%%                Publications Technical Group,
+%%%                201 Charles Street,
+%%%                Providence, RI 02904,
+%%%                USA",
+%%%   telephone = "401-455-4080 or (in the USA and Canada)
+%%%                800-321-4AMS (321-4267)",
+%%%   FAX       = "401-331-3842",
+%%%   email     = "tech-support@ams.org (Internet)",
+%%%   codetable = "ISO/ASCII",
+%%%   keywords  = "latex, AMS, documentclass, theorem",
+%%%   supported = "yes",
+%%%   abstract  = "This is the source for the amsthm package and three
+%%%                AMS document classes: amsart, amsproc, and amsbook.
+%%%                They are designed for use with LaTeX.",
+%%%   docstring = "The checksum field above contains a CRC-16 checksum
+%%%                as the first value, followed by the equivalent of
+%%%                the standard UNIX wc (word count) utility output of
+%%%                lines, words, and characters.  This is produced by
+%%%                Robert Solovay's checksum utility.",
+%%% }
+%%% ====================================================================
+\NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX)
+[1995/06/01]% LaTeX date must be June 1995 or later
+%\ProvidesPackage{amsthm}[2004/08/06 v2.20]
+\let\@xp=\expandafter
+\let\@nx=\noexpand
+\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}
+\long\def\@ifnotempty#1{\@ifempty{#1}{}}
+\def\setboxz@h{\setbox\z@\hbox}
+\def\@addpunct#1{%
+  \relax\ifhmode
+    \ifnum\spacefactor>\@m \else#1\fi
+  \fi}
+\def\nopunct{\spacefactor 1007 }
+\def\frenchspacing{\sfcode`\.1006\sfcode`\?1005\sfcode`\!1004%
+  \sfcode`\:1003\sfcode`\;1002\sfcode`\,1001 }
+\DeclareOption*{\input{\CurrentOption .thm}}
+\ProcessOptions

+\newcommand{\theoremstyle}[1]{%
+  \@ifundefined{th@#1}{%
+    \PackageWarning{amsthm}{Unknown theoremstyle `#1'}%
+    \thm@style{plain}%
+  }{%
+    \thm@style{#1}%
+  }%
+}
+\newtoks\thm@style
+\thm@style{plain}
+\newtoks\thm@bodyfont  \thm@bodyfont{\itshape}
+\newtoks\thm@headfont  \thm@headfont{\bfseries}
+\newtoks\thm@notefont  \thm@notefont{}
+\newtoks\thm@headpunct \thm@headpunct{.}
+\newskip\thm@preskip \newskip\thm@postskip
+\def\thm@space@setup{%
+  \thm@preskip=\topsep \thm@postskip=\thm@preskip
+}
+\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\thm@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\thm@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\thm@style\endcsname}%
+      {#1}{\the\toks@}}%
+}
+\def\@thm#1#2#3{%
+  \ifhmode\unskip\unskip\par\fi
+  \normalfont
+  \trivlist
+  \let\thmheadnl\relax
+  \let\thm@swap\@gobble
+  \thm@notefont{\fontseries\mddefault\upshape}%
+  \thm@headpunct{.}% add period after heading
+  \thm@headsep 5\p@ plus\p@ minus\p@\relax
+  \thm@space@setup
+  #1% style overrides
+  \@topsep \thm@preskip               % used by thm head
+  \@topsepadd \thm@postskip           % 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
+}
+\def\@restorelabelsep{\relax}
+\let\@ythm\relax
+\let\thmname\@iden \let\thmnote\@iden \let\thmnumber\@iden
+\providecommand\@upn{\textup}
+\def\thmhead@plain#1#2#3{%
+  \thmname{#1}\thmnumber{\@ifnotempty{#1}{ }\@upn{#2}}%
+  \thmnote{ \the\thm@notefont(#3)}}%%%%%%
+\let\thmhead\thmhead@plain
+\def\swappedhead#1#2#3{%
+  \thmnumber{#2}%
+  \thmname{\@ifnotempty{#2}{~}#1}%
+  \thmnote{ {\the\thm@notefont(#3)}}}
+\let\swappedhead@plain=\swappedhead
+\let\thmheadnl\relax
+\let\thm@indent\noindent
+\let\thm@swap\@gobble
+\def\@begintheorem#1#2[#3]{%
+  \deferred@thm@head{\the\thm@headfont \thm@indent
+    \@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\thm@headpunct
+    \thmheadnl % possibly a newline.
+    \hskip\thm@headsep
+  }%
+  \ignorespaces}
+\newskip\thm@headsep
+\thm@headsep=5pt plus1pt minus1pt\relax
+\let\adjust@parskip@nobreak=\@nbitem
+\newtoks\dth@everypar
+\dth@everypar={%
+  \@minipagefalse \global\@newlistfalse
+  \@noparitemfalse
+  \if@inlabel
+    \global\@inlabelfalse
+    \begingroup \setbox\z@\lastbox
+     \ifvoid\z@ \kern-\itemindent \fi
+    \endgroup
+    \unhbox\@labels
+  \fi
+  \if@nobreak \@nobreakfalse \clubpenalty\@M
+  \else \clubpenalty\@clubpenalty \everypar{}%
+  \fi
+}%
+\def\deferred@thm@head#1{%
+  \if@inlabel \indent \par \fi % eject a section head if one is pending
+  \if@nobreak
+    \adjust@parskip@nobreak
+  \else
+    \addpenalty\@beginparpenalty
+    \addvspace\@topsep
+    \addvspace{-\parskip}%
+  \fi
+  \global\@inlabeltrue
+  \everypar\dth@everypar
+  \sbox\@labels{\normalfont#1}%
+  \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\thm@indent\noindent % no indent
+%%  \thm@headfont{\bfseries}% heading font is bold
+%%  \thm@notefont{}% same as heading font
+%%  \thm@headpunct{.}% add period after heading
+%%  \let\thm@swap\@gobble
+%%  \thm@preskip\topsep
+%%  \thm@postskip\theorempreskipamount
+  \itshape % body font
+}
+\def\th@definition{ %
+  \normalfont % body font
+}
+\def\th@remark{%
+ \thm@headfont{\itshape}%
+  \normalfont % body font
+  \thm@preskip\topsep \divide\thm@preskip\tw@
+  \thm@postskip\thm@preskip
+}
+\def\@endtheorem{\endtrivlist\@endpefalse }
+\newcommand{\newtheoremstyle}[9]{%
+  \@ifempty{#5}{\dimen@\z@skip}{\dimen@#5\relax}%
+  \ifdim\dimen@=\z@
+    \toks@{#4\let\thm@indent\noindent}%
+  \else
+    \toks@{#4\def\thm@indent{\noindent\hbox to#5{}}}%
+  \fi
+  \def\@tempa{#8}\ifx\space\@tempa
+    \toks@\@xp{\the\toks@ \thm@headsep\fontdimen\tw@\font\relax}%
+  \else
+    \def\@tempb{\newline}%
+    \ifx\@tempb\@tempa
+      \toks@\@xp{\the\toks@ \thm@headsep\z@skip
+        \def\thmheadnl{\newline}}%
+    \else
+      \toks@\@xp{\the\toks@ \thm@headsep#8\relax}%
+    \fi
+  \fi
+  \begingroup
+  \thm@space@setup
+  \@defaultunits\@tempskipa#2\thm@preskip\relax\@nnil
+  \@defaultunits\@tempskipb#3\thm@postskip\relax\@nnil
+  \xdef\@gtempa{\thm@preskip\the\@tempskipa
+    \thm@postskip\the\@tempskipb\relax}%
+  \endgroup
+  \@temptokena\@xp{\@gtempa
+    \thm@headfont{#6}\thm@headpunct{#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 \mathqed
+  \else
+    \leavevmode\unskip\penalty9999 \hbox{}\nobreak\hfill
+    \quad\hbox{\qedsymbol}%
+  \fi
+}
+\let\QED@stack\@empty
+\let\qed@elt\relax
+\newcommand{\pushQED}[1]{%
+  \toks@{\qed@elt{#1}}\@temptokena\expandafter{\QED@stack}%
+  \xdef\QED@stack{\the\toks@\the\@temptokena}%
+}
+\newcommand{\popQED}{%
+  \begingroup\let\qed@elt\popQED@elt \QED@stack\relax\relax\endgroup
+}
+\def\popQED@elt#1#2\relax{#1\gdef\QED@stack{#2}}
+\newcommand{\qedhere}{%
+  \begingroup \let\mathqed\math@qedhere
+    \let\qed@elt\setQED@elt \QED@stack\relax\relax \endgroup
+}
+\newif\ifmeasuring@
+\newif\iffirstchoice@ \firstchoice@true
+\def\setQED@elt#1#2\relax{%
+  \ifmeasuring@
+  \else \iffirstchoice@ \gdef\QED@stack{\qed@elt{}#2}\fi
+  \fi
+  #1%
+}
+\def\qed@warning{%
+  \PackageWarning{amsthm}{The \@nx\qedhere command may not work
+    correctly here}%
+}
+\newcommand{\mathqed}{\quad\hbox{\qedsymbol}}
+\def\linebox@qed{\hfil\hbox{\qedsymbol}\hfilneg}
+\@ifpackageloaded{amsmath}{%
+  \def\math@qedhere{%
+    \@ifundefined{\@currenvir @qed}{%
+      \qed@warning\quad\hbox{\qedsymbol}%
+    }{%
+      \@xp\aftergroup\csname\@currenvir @qed\endcsname
+    }%
+  }
+  \def\displaymath@qed{%
+    \relax
+    \ifmmode
+      \ifinner \aftergroup\linebox@qed
+      \else
+        \eqno
+        \let\eqno\relax \let\leqno\relax \let\veqno\relax
+        \hbox{\qedsymbol}%
+      \fi
+    \else
+       \aftergroup\linebox@qed
+    \fi
+  }
+  \@xp\let\csname equation*@qed\endcsname\displaymath@qed
+  \def\equation@qed{%
+    \iftagsleft@
+      \hbox{\phantom{\quad\qedsymbol}}%
+      \gdef\alt@tag{%
+        \rlap{\hbox to\displaywidth{\hfil\qedsymbol}}%
+        \global\let\alt@tag\@empty
+      }%
+    \else
+      \gdef\alt@tag{%
+        \global\let\alt@tag\@empty
+        \vtop{\ialign{\hfil####\cr
+                \tagform@\theequation\cr
+                \qedsymbol\cr}}%
+        \setbox\z@
+      }%
+    \fi
+  }
+  \def\qed@tag{%
+    \global\tag@true \nonumber
+    &\omit\setboxz@h {\strut@ \qedsymbol}\tagsleft@false
+    \place@tag@gather
+    \kern-\tabskip
+    \ifst@rred \else \global\@eqnswtrue \fi \global\advance\row@\@ne \cr
+  }
+  \def\split@qed{%
+    \def\endsplit{\crcr\egroup \egroup \ctagsplit@false \rendsplit@
+      \aftergroup\align@qed
+    }%
+  }
+  \def\align@qed{%
+    \ifmeasuring@ \tag*{\qedsymbol}%
+    \else \let\math@cr@@@\qed@tag
+    \fi
+  }
+  \@xp\let\csname align*@qed\endcsname\align@qed
+  \@xp\let\csname gather*@qed\endcsname\align@qed
+%% Needs some patching up for amsmath 1.2
+}{% end of amsmath branch, start plain LaTeX branch
+  \def\math@qedhere{%
+    \@ifundefined{\@currenvir @qed}{%
+      \qed@warning \aftergroup\displaymath@qed
+    }{%
+      \@xp\aftergroup\csname\@currenvir @qed\endcsname
+    }%
+  }
+  \def\displaymath@qed{%
+    \relax
+    \ifmmode
+      \ifinner \aftergroup\aftergroup\aftergroup\linebox@qed
+      \else
+        \eqno \def\@badmath{$$}%
+        \let\eqno\relax \let\leqno\relax \let\veqno\relax
+        \hbox{\qedsymbol}%
+      \fi
+    \else
+       \aftergroup\linebox@qed
+    \fi
+  }
+  \@ifundefined{ver@leqno.clo}{%
+    \def\equation@qed{\displaymath@qed \quad}%
+  }{%
+    \def\equation@qed{\displaymath@qed}%
+  }
+  \def\@tempa#1$#2#3\@nil{%
+    \def\[{#1$#2\def\@currenvir{displaymath}#3}%
+  }%
+  \expandafter\@tempa\[\@nil
+}
+\@ifpackageloaded{amstex}{%
+  \def\@tempa{TT}%
+}{%
+  \@ifpackageloaded{amsmath}{%
+    \def\@tempb#1 v#2.#3\@nil{#2}%
+    \ifnum\@xp\@xp\@xp\@tempb\csname ver@amsmath.sty\endcsname v0.0\@nil
+       <\tw@
+      \def\@tempa{TT}%
+    \else
+      \def\@tempa{TF}%
+    \fi
+  }{%
+    \def\@tempa{TF}
+  }%
+}
+\if\@tempa
+  \renewcommand{\math@qedhere}{\quad\hbox{\qedsymbol}}%
+\fi
+\newcommand{\openbox}{\leavevmode
+  \hbox to.77778em{%
+  \hfil\vrule
+  \vbox to.675em{\hrule width.6em\vfil\hrule}%
+  \vrule\hfil}}
+\DeclareRobustCommand{\textsquare}{%
+  \begingroup \usefont{U}{msa}{m}{n}\thr@@\endgroup
+}
+\providecommand{\qedsymbol}{\openbox}
+\newenvironment{proof}[1][\proofname]{\par
+  \pushQED{\qed}%
+  \normalfont \topsep6\p@\@plus6\p@\relax
+  \trivlist
+  \item[\hskip\labelsep
+        \itshape
+    #1\@addpunct{.}]\ignorespaces
+}{%
+  \popQED\endtrivlist\@endpefalse
+}
+\providecommand{\proofname}{Proof}
+%%%%\endinput
+%%
+%% End of file `amsthm.sty'.

-%%%%%%%%%%%%%%%%%%%%    USEFUL DEFINITIONS
+\RequirePackage{amsmath}
+\RequirePackage{amssymb}
+\RequirePackage{latexsym}
+\RequirePackage{ifthen}
+%\RequirePackage{graphicx}
+%\RequirePackage{xspace}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%%% define block environment as short for trivlist
+\newenvironment{block}{\begin{trivlist}\item{}}{\end{trivlist}}

-\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}
+%%% define commands for the last page
+%\newcommand{\@received}{\noindent Use \texttt{\textbackslash received\{1
+%  January, 2000\}} before \textbackslash
+%  begin\{document\}\par}
+%\newcommand{\received}[2][]{\renewcommand{\@received}{\begin{block}\small
+%     Received #2%
+%      \ifthenelse{\equal{#1}{}}{}{; revised #1}\\ \end{block}}}
+
+\newlength{\@textwidthminusparindent}
+\newlength{\@saveparindent}
+\let\@contact=\empty
+\newcommand{\contact}[2][]{
+  \expandafter\gdef\expandafter\@contact\expandafter{%
+    \@contact
+  \setlength{\@textwidthminusparindent}{\textwidth}
+  \setlength{\@saveparindent}{\parindent}
+  \addtolength{\@textwidthminusparindent}{-\parindent}
+  \small
+  \begin{block}%\hspace{\parindent}%
+    \begin{minipage}{\@textwidthminusparindent}%
+     \setlength{\parindent}{\@saveparindent}%
+      \noindent%\hspace*{-\parindent}%
+      #2\ifthenelse{\equal{#1}{}}{}{\\[2pt]E-mail: #1}
+    \end{minipage}
+  \end{block}}}
+
+% provide command to set end matter
+\newcommand{\makelastpage}{
+  \medskip
+  \ifx\empty\@contact\empty\noindent
+  \makeatother

+  \par
+  \makeatletter
+  \else\@contact\fi}

-\def\seteqprefix#1{\renewcommand{\p@equation}{#1}}
-\def\reseteqprefix#1{\setcounter{equation}{0}\renewcommand{\p@equation}{#1}}
+%%%%%% redefine sub(sub)section(*)
+% so that subsections
+% are typeset with a dot at the end
+\let\s@ction=\section
+\newcommand{\c@mdasekt}[2][]{\s@ction[#1]{#2}}
+\newcommand{\c@mdbsekt}[1]{\s@ction*{#1}}
+\renewcommand{\section}{\secdef\c@mdasekt\c@mdbsekt}


-\clubpenalty\@highpenalty
-\widowpenalty\@highpenalty

-\RequirePackage{latexsym}
-%\endinput
+\let\s@bsection=\subsection
+\newcommand{\c@mda}[2][]{\s@bsection[#1]{#2}}%point enlevé
+\newcommand{\c@mdb}[1]{\s@bsection*{#1}}
+\renewcommand{\subsection}{\secdef\c@mda\c@mdb}
+\let\s@bsubsection=\subsubsection
+\newcommand{\c@mdsuba}[2][]{\s@bsubsection[#1]{#2}}
+\newcommand{\c@mdsubb}[1]{\s@bsubsection*{#1}}
+\renewcommand{\subsubsection}{\secdef\c@mdsuba\c@mdsubb}
+
+% redefine \begin{document} and \end{document}
+% in order to include begin and end matter automatically
+% originan environment is still available as origdocument
+\let\origdocument\document
+\def\document{\origdocument\maketitle}
+\let\endorigdocument\enddocument
+\def\enddocument{\makelastpage\endorigdocument}

+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-\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
-}
+\renewcommand{\@seccntformat}[1]{{\csname the#1\endcsname.}\hspace{.5em}}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\renewenvironment{abstract}{\vspace{1.1cm}\noindent\small{\bfseries\abstractname.}%
+        }%
+        {\vskip 11\p@}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% provide commands \author, \title
+% for the headings and the titlepage
+% and provide default values to hint user
+\pagestyle{myheadings}
+\renewcommand{\@author}{}
+\renewcommand{\@title}{}
+
+\newcommand{\@authorhead}{}
+\newcommand{\@titlehead}{}
+\renewcommand{\author}[2][no@ption]{
+  \renewcommand{\@author}{#2}
+  \ifthenelse{\equal{#1}{no@ption}}{
+    \renewcommand{\@authorhead}{#2}}{
+    \renewcommand{\@authorhead}{#1}}
+  \markboth{\@authorhead}{\@titlehead}}
+\renewcommand{\title}[2][no@ption]{
+  \renewcommand{\@title}{\boldmath{}#2}
+  \ifthenelse{\equal{#1}{no@ption}}{
+    \renewcommand{\@titlehead}{#2}}{
+    \renewcommand{\@titlehead}{#1}}
+  \markboth{\@authorhead}{\@titlehead}}
+
+
+%%% type area %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\textheight=548pt%%%%19.2cm%%%%
+\textwidth=357pt%%%%%12.5cm%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

 \endinput
-%% End of file `appolb.cls'.

 

Close Window
 
  The service has been written by
Heinrich Stamerjohanns