arxmliv
arxmliv build tool
 
KWARC group
LaTeXML
About
   
 

Back to Homepage

--- /arXMLiv/repos/arXMLiv/trunk/sty/aj.cls	2010-04-01 14:23:17.000000000 +0200
+++ /arXMLiv/repos/arXMLiv/trunk/sty/lcnote.cls	2010-04-01 17:38:47.000000000 +0200
@@ -1,127 +1,115 @@
-%
-% omknutselarij van proc2e.cls
-%
-% WORK STYLE - PROC
-%
-% Based on standart LaTeX ARTICLE class v1.3r [1996/05/26]
-% Needs package THEOREM.STY v2.2a [94/02/03] from LaTeX tools distribution
-%
-%
-\NeedsTeXFormat{LaTeX2e}
-%\ProvidesClass{proc2e}[2002/05/24]
-\ProvidesClass{aj}[2002/05/24]
-\newif\if@secthm
-\DeclareOption{secthm}{\@secthmtrue}
-%
-\DeclareOption{leqno}{\input{leqno.clo}}
-\DeclareOption{fleqn}{\input{fleqn.clo}}
-\ProcessOptions
-\renewcommand\normalsize{%
-   \@setfontsize\normalsize\@xpt\@xiipt
-   \abovedisplayskip 14\p@ \@plus2\p@ \@minus5\p@
-   \abovedisplayshortskip 2\p@ \@plus3\p@
-   \belowdisplayshortskip 8\p@ \@plus3\p@ \@minus3\p@
-   \belowdisplayskip \abovedisplayskip
-   \let\@listi\@listI}
-\normalsize
-\newcommand\small{%
-   \@setfontsize\small\@ixpt{11}%
-   \abovedisplayskip 12.5\p@ \@plus3\p@ \@minus4\p@
-   \abovedisplayshortskip 2\p@ \@plus2\p@
-   \belowdisplayshortskip 6\p@ \@plus2\p@ \@minus2\p@
-   \def\@listi{\leftmargin\leftmargini
-               \topsep 2\p@ \@plus2\p@ \@minus2\p@
-               \parsep 2\p@ \@plus\p@ \@minus\p@
-               \itemsep \parsep}%
-   \belowdisplayskip \abovedisplayskip
-}
-\newcommand\footnotesize{%
-   \@setfontsize\footnotesize\@viiipt{9.5}%
-   \abovedisplayskip 10\p@ \@plus2\p@ \@minus4\p@
-   \abovedisplayshortskip 2\p@ \@plus\p@
-   \belowdisplayshortskip 5\p@ \@plus\p@ \@minus2\p@
-   \def\@listi{\leftmargin\leftmargini
-               \topsep 2\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}}
-%\setlength\parindent{10\p@}
-\setlength\parindent{0\p@}
-\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   {14\p@}
-\setlength\topskip   {10\p@}
-\setlength\footskip{30\p@}
-\setlength\hoffset{2cm}
-\if@compatibility \setlength\maxdepth{4\p@} \else
-\setlength\maxdepth{.5\topskip} \fi
-\setlength\textwidth{11.8cm}
-%\setlength\textwidth{336pt}
+%% This is file `lcnote.cls', renamed from 'ilcws07.cls', derived from article `article.cls' by John A. LEE
+%% See comments for details on modifications
+%%
+%% This is file `esann.cls',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% classes.dtx  (with options: `article')
+%%
+%% This is a generated file.
+%%
+%% Copyright 1993 1994 1995 1996 1997 1998 1999
+%% The LaTeX3 Project and any individual authors listed elsewhere
+%% in this file.
+%%
+%% This file is part of the LaTeX2e system.
+%% ----------------------------------------
+%%
+%% It may be distributed under the terms of the LaTeX Project Public
+%% License, as described in lppl.txt in the base LaTeX distribution.
+%% Either version 1.0 or, at your option, any later version.
+%% \CharacterTable
+%%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%%   Digits        \0\1\2\3\4\5\6\7\8\9
+%%   Exclamation   \!     Double quote  \"     Hash (number) \#
+%%   Dollar        \$     Percent       \%     Ampersand     \&
+%%   Acute accent  \'     Left paren    \(     Right paren   \)
+%%   Asterisk      \*     Plus          \+     Comma         \,
+%%   Minus         \-     Point         \.     Solidus       \/
+%%   Colon         \:     Semicolon     \;     Less than     \<
+%%   Equals        \=     Greater than  \>     Question mark \?
+%%   Commercial at \@     Left bracket  \[     Backslash     \\
+%%   Right bracket \]     Circumflex    \^     Underscore    \_
+%%   Grave accent  \`     Left brace    \{     Vertical bar  \|
+%%   Right brace   \}     Tilde         \~}
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesClass{lcnote}
+%              [1999/01/07 v1.4a
+              [2007/05/25 v0.0
+ Standard LaTeX document class]
+\newcommand\@ptsize{}
+\newif\if@restonecol
+\newif\if@titlepage
+\@titlepagefalse
+\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}}
+\fi
+\DeclareOption{titlepage}{\@titlepagetrue}
 \if@compatibility\else
-  \@settopoint\textwidth
+\DeclareOption{notitlepage}{\@titlepagefalse}
 \fi
-%\setlength\textheight{546pt}
-\setlength\textheight{19.2cm}
-\setlength\marginparsep{11\p@}
-\setlength\marginparpush{5\p@}
-\setlength\topmargin{27pt}
-\setlength\footnotesep{7\p@}
-\setlength{\skip\footins}{11\p@ \@plus 1\p@ \@minus 1\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 2\p@ \@plus\p@ \@minus\p@
-            \topsep 4\p@ \@plus2\p@ \@minus2\p@
-            \itemsep2\p@ \@plus\p@ \@minus\p@}
-\let\@listI\@listi
-\@listi
-\def\@listii {\leftmargin\leftmarginii
-              \labelwidth\leftmarginii
-              \advance\labelwidth-\labelsep
-              \topsep    2\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@
+\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@
-              \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}
+      }%
+   \renewcommand\newblock{\par}}%
+}
+\ExecuteOptions{a4,10pt,oneside,onecolumn,final}
+\ProcessOptions
+\input{size1\@ptsize.clo}
 \setlength\lineskip{1\p@}
 \setlength\normallineskip{1\p@}
-\renewcommand\baselinestretch{1}
-\setlength\parskip{3\p@}
-%\setlength\parskip{0\p@}
+\renewcommand\baselinestretch{1.0}
+\setlength\parskip{0\p@ \@plus \p@}
 \@lowpenalty   51
 \@medpenalty  151
 \@highpenalty 301
@@ -135,61 +123,11 @@
 \setcounter{dbltopnumber}{2}
 \renewcommand\dbltopfraction{.7}
 \renewcommand\dblfloatpagefraction{.5}
-%
-\gdef\thecatchlines{%
-\vbox to48pt{\vss\footnotesize
-%\leftline{8th Vilnius Prob. Conf.}
-%\leftline{B. Grigelionis {\it et al}. (Eds)}
-%\leftline{2002 Vilnius}
-\leftline{}
-\leftline{}
-\leftline{}
-}}%
-\def\runningauthor#1{\gdef\@runauthor{#1}} \let\@runauthor\relax
-\def\runningtitle#1{\gdef\@runtitle{#1}}   \let\@runtitle\relax
-\let\maketitle\relax
-\def\opening{%
- \begingroup
-\def\footnote##1##{\thanks}
-   \def\@makefnmark{\hbox{$\m@th^{\@thefnmark}$}}%
-     \global\@topnum\z@\newpage\raggedright\thecatchlines}
-%
-\def\endopening{\thispagestyle{empty}\@thanks
- \endgroup
- \let\maketitle\relax
- \let\@maketitle\relax
- \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax
- \vskip18pt}
-%
-\def\nohyphen{\pretolerance=10000 \tolerance=10000
-\hyphenpenalty=10000 \exhyphenpenalty=10000}
-%
-\def\sep{\unskip, }\def\and{\unskip~and }
-\let\@ldthanks\thanks
-\def\elem@nothanks#1\thanks{\futurelet\@peektok\elem@thanks}
-\def\elem@thanks{\ifx\@peektok\relax\else \expandafter\elem@morethanks\fi}
-%
-\def\elem@morethanks#1{\@ldthanks{#1}\elem@nothanks}
-%
-\def\title#1{\null\vskip2\baselineskip\vbox{\let\thanks\@gobble\nohyphen\raggedright%
-\Large\bfseries%\uppercase
-{#1}\expandafter\elem@nothanks#1\thanks\relax}\vskip\baselineskip}
-\def\author#1{\def\surname##1{##1}{\let\thanks\@gobble\normalsize\uppercase\expandafter{#1}%
-\expandafter\elem@nothanks#1\thanks\relax}}
-\def\institute#1{\vskip3pt\vbox{\small\textit{#1}}\vskip.5\baselineskip}
-\def\abstract{\vskip.5\baselineskip\vbox\bgroup\small\textbf{Abstract.}
-\ignorespaces}
-\def\endabstract{\egroup\vskip\baselineskip}
-\newcommand{\keywords}[1]{%
-    {\footnotesize\noindent\textbf{Key words:~}#1\par
-    \vskip.8\baselineskip}}
-\newcommand{\classification}[2]{%
-     {\footnotesize\noindent\textbf{#1:} #2\par\vskip.8\baselineskip}}
-
+\if@twoside
 \def\ps@headings{%
       \let\@oddfoot\@empty\let\@evenfoot\@empty
-      \def\@evenhead{\thepage\hfil\itshape\leftmark}%
-      \def\@oddhead{{\itshape\rightmark}\hfil\thepage}%
+        \def\@evenhead{\thepage\hfil\slshape\leftmark}%
+        \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
       \let\@mkboth\markboth
     \def\sectionmark##1{%
       \markboth {\MakeUppercase{%
@@ -203,14 +141,125 @@
           \thesubsection\quad
         \fi
         ##1}}}
+\else
+  \def\ps@headings{%
+    \let\@oddfoot\@empty
+      \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
+    \let\@mkboth\markboth
+    \def\sectionmark##1{%
+      \markright {\MakeUppercase{%
+        \ifnum \c@secnumdepth >\m@ne
+          \thesection\quad
+        \fi
+        ##1}}}}
+\fi
 \def\ps@myheadings{%
     \let\@oddfoot\@empty\let\@evenfoot\@empty
-    \def\@evenhead{\upshape \thepage\hfil{\it\@runauthor}\hfil\phantom{\thepage}}%
-    \def\@oddhead{\phantom{\thepage}\hfil{\it\@runtitle}\hfil \upshape\thepage}%
+      \def\@evenhead{\thepage\hfil\slshape\leftmark}%
+      \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
     \let\@mkboth\@gobbletwo
     \let\sectionmark\@gobble
     \let\subsectionmark\@gobble
     }
+  \if@titlepage
+  \newcommand\maketitle{\begin{titlepage}%
+  \let\footnotesize\small
+  \let\footnoterule\relax
+  \let\footnote\thanks
+  %%\null\vfil
+  %%\vskip 60\p@
+  \begin{center}%
+    {\Large  \textbf \@title \par}%
+    \vskip 3em%
+    {\large
+     \lineskip .75em%
+      \begin{tabular}[t]{c}%
+        \@author\\
+        \@address
+      \end{tabular}\par}%
+      \vskip 1.5em%
+%% remove next line: no date
+%%  {\large \@date \par}%       % Set date in \large size.
+  \end{center}\par
+  \@thanks
+  \vfil\null
+  \end{titlepage}%
+  \@thanks
+  \setcounter{footnote}{0}%
+  \global\let\thanks\relax
+  \global\let\maketitle\relax
+  \global\let\@thanks\@empty
+  \global\let\@author\@empty
+  \global\let\@address\@empty
+  \global\let\@date\@empty
+  \global\let\@title\@empty
+  \global\let\title\relax
+  \global\let\author\relax
+  \global\let\address\relax
+  \global\let\date\relax
+  \global\let\and\relax
+}
+\else
+\newcommand\maketitle{\par
+  \begingroup
+    \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
+    \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
+    \long\def\@makefntext##1{\parindent 1em\noindent
+            \hb@xt@1.8em{%
+                \hss\@textsuperscript{\normalfont\@thefnmark}}##1}%
+    \if@twocolumn
+      \ifnum \col@number=\@ne
+        \@maketitle
+      \else
+        \twocolumn[\@maketitle]%
+      \fi
+    \else
+      \newpage
+      \global\@topnum\z@   % Prevents figures from going at top of page.
+      \@maketitle
+    \fi
+%% no page numbering: plain modified to empty
+% KS    \thispagestyle{empty}
+      \@thanks %% affiche le thanks sur la bonne page: d'ou vient le num de bas de page ???
+  \endgroup
+  \setcounter{footnote}{0}%
+  %%\global\let\thanks\relax
+  \global\let\maketitle\relax
+  \global\let\@maketitle\relax
+  %%\global\let\@thanks\@empty
+  \global\let\@author\@empty
+  %%\vspace{.3cm}
+  \global\let\@address\@empty
+  \global\let\@date\@empty
+  \global\let\@title\@empty
+  \global\let\title\relax
+  \global\let\author\relax
+  \global\let\address\relax
+  \global\let\date\relax
+  \global\let\and\relax
+}
+\def\@maketitle{%
+  \newpage
+  \null
+  \vspace{-.9cm}%
+  \begin{center}%
+  \let \footnote \thanks
+    {\Large  \textbf \@title \par}%
+    \vskip 1em % Set distance between title and authors paragraph
+    {
+%% remove next line: normal font for authors
+    \small
+      \lineskip .5em%
+      \begin{tabular}[t]{c}%
+        \@author
+      \end{tabular}\par}%
+    \vskip 1em%
+%% remove next line: no date
+%%  {\large \@date}%
+  \end{center}%
+  \par
+  \vskip 1.5em}
+\fi
 \setcounter{secnumdepth}{3}
 \newcounter {part}
 \newcounter {section}
@@ -224,10 +273,13 @@
 \renewcommand\thesubsubsection{\thesubsection .\@arabic\c@subsubsection}
 \renewcommand\theparagraph    {\thesubsubsection.\@arabic\c@paragraph}
 \renewcommand\thesubparagraph {\theparagraph.\@arabic\c@subparagraph}
-\newcommand\part{\par
+\newcommand\part{%
+   \if@noskipsec \leavevmode \fi
+   \par
    \addvspace{4ex}%
    \@afterindentfalse
    \secdef\@part\@spart}
+
 \def\@part[#1]#2{%
     \ifnum \c@secnumdepth >\m@ne
       \refstepcounter{part}%
@@ -255,30 +307,43 @@
      \nobreak
      \vskip 3ex
      \@afterheading}
-\def\@seccntformat#1{\csname the#1\endcsname.\ }
-\def\section#1#{\u@section#1/}
-\def\u@section#1/#2{\upsection#1{\uppercase{#2}}}
-\newcommand\upsection{\@startsection {section}{1}{\z@}{-18pt plus-2pt
-         minus-2pt}{12pt plus2pt
-        minus2pt}{\reset@font\normalsize\bf\tolerance10000}}
-\newcommand\subsection{\@startsection{subsection}{2}{\z@}{-12pt plus-2pt
-         minus-2pt}{6pt plus1pt minus1pt}{\reset@font\normalsize\it}}
-\newcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}{-6pt plus-1pt
-    minus-1pt}{0.001pt}{\reset@font\normalsize\it}}
-\newcommand\paragraph{\@startsection
-     {paragraph}{4}{\z@}{6pt plus1pt minus1pt}{-1em}{\reset@font
-     \normalsize\it}}
-\newcommand\subparagraph{\@startsection
-     {subparagraph}{4}{\parindent}{6pt plus1pt minus1pt}{-1em}{\reset@font
-     \normalsize\it}}
-\setlength\leftmargini  {12\p@}
+\newcommand\section{\@startsection {section}{1}{\z@}%
+                                   {-3ex \@plus -1ex \@minus -.2ex}%
+                                   {2.3ex \@plus.2ex}%
+                                   {\normalfont\large\bfseries}}
+\newcommand\subsection{\@startsection{subsection}{2}{\z@}%
+                                     {-3ex\@plus -1ex \@minus -.2ex}%
+                                     {1.5ex \@plus .2ex}%
+                                     {\normalfont\normalsize\bfseries}}
+\newcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
+                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
+                                     {1.5ex \@plus .2ex}%
+                                     {\normalfont\normalsize\itshape}}
+\newcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
+                                    {3.25ex \@plus1ex \@minus.2ex}%
+                                    {-1em}%
+                                    {\normalfont\normalsize\itshape}}
+\newcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
+                                       {3.25ex \@plus1ex \@minus .2ex}%
+                                       {-1em}%
+                                      {\normalfont\normalsize\bfseries}}
+\if@twocolumn
+  \setlength\leftmargini  {2em}
+\else
+  \setlength\leftmargini  {2.5em}
+\fi
 \leftmargin  \leftmargini
-\setlength\leftmarginii  {15\p@}
-\setlength\leftmarginiii {15\p@}
-\setlength\leftmarginiv  {12\p@}
-\setlength\leftmarginv  {10\p@}
-\setlength\leftmarginvi {10\p@}
-\setlength  \labelsep  {3pt}
+\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}
 \@beginparpenalty -\@lowpenalty
@@ -295,37 +360,57 @@
 \renewcommand\p@enumii{\theenumi}
 \renewcommand\p@enumiii{\theenumi(\theenumii)}
 \renewcommand\p@enumiv{\p@enumiii\theenumiii}
-\newcommand\labelitemi{$\m@th\bullet$}
-\newcommand\labelitemii{\normalfont\bfseries --}
-\newcommand\labelitemiii{$\m@th\ast$}
-\newcommand\labelitemiv{$\m@th\cdot$}
+\newcommand\labelitemi{\textbullet}
+\newcommand\labelitemii{\normalfont\bfseries \textendash}
+\newcommand\labelitemiii{\textasteriskcentered}
+\newcommand\labelitemiv{\textperiodcentered}
 \newenvironment{description}
                {\list{}{\labelwidth\z@ \itemindent-\leftmargin
                         \let\makelabel\descriptionlabel}}
                {\endlist}
-
-\def\enumerate{%
-  \ifnum \@enumdepth >\thr@@\@toodeep\else
-    \advance\@enumdepth\@ne
-    \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
-      \expandafter
-      \list
-        \csname label\@enumctr\endcsname
-        {\advance\leftmargin\parindent\usecounter\@enumctr\def\makelabel##1{\hss\llap{##1}}}%
-  \fi}
-
-\def\itemize{%
-  \ifnum \@itemdepth >\thr@@\@toodeep\else
-    \advance\@itemdepth\@ne
-    \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
-    \expandafter
-    \list
-      \csname\@itemitem\endcsname
-      {\def\makelabel##1{\hfil\hskip\labelsep##1\hfil}}%
-  \fi}
-
 \newcommand*\descriptionlabel[1]{\hspace\labelsep
                                 \normalfont\bfseries #1}
+\if@titlepage
+%% MODIFIED FROM HERE
+  \newenvironment{abstract}
+
+     {\titlepage
+      \null\vfil
+      \@beginparpenalty\@lowpenalty
+      \small                    %% added \small
+      \quote                    %% instead of \begin{center}
+%%        \textbf\abstractname.   %% instead of \bfseries\abstractname
+      \@endparpenalty\@M        %% removed \end{center}
+     }%
+     {\endquote                 %% added \endquote
+      \par
+      \vfil
+      \null
+      \endtitlepage
+     }%
+%% end of modification
+\else
+  \newenvironment{abstract}
+     {\vspace{-.6cm}
+     \if@twocolumn
+        \section*{\abstractname}%
+      \else
+%%      \begin{tabular}[t]{c}
+%%      \hline
+        \small
+        \quote                  %% instead of quotation
+% KS        \textbf\abstractname.   %% instead of \bfseries\abstractname\vspace....
+        \fi
+ %%     \hline
+ %%     \end{tabular}
+     }
+     {\if@twocolumn
+      \else
+      \endquote                 %% instead of {\if@twocolumn\else\quotation\fi}
+      \fi
+     }
+%% END OF MODIFICATION
+\fi
 \newenvironment{verse}
                {\let\\\@centercr
                 \list{}{\itemsep      \z@
@@ -346,10 +431,40 @@
                {\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
+\newenvironment{titlepage}
+    {%
+      \if@twocolumn
+        \@restonecoltrue\onecolumn
+      \else
+        \@restonecolfalse\newpage
+      \fi
+      \thispagestyle{empty}%
+      \setcounter{page}\@ne
+    }%
+    {\if@restonecol\twocolumn \else \newpage \fi
+     \if@twoside\else
+        \setcounter{page}\@ne
+     \fi
+    }
+\fi
 \newcommand\appendix{\par
   \setcounter{section}{0}%
   \setcounter{subsection}{0}%
-  \renewcommand\thesection{\@Alph\c@section}}
+  \gdef\thesection{\@Alph\c@section}}
 \setlength\arraycolsep{5\p@}
 \setlength\tabcolsep{6\p@}
 \setlength\arrayrulewidth{.4\p@}
@@ -361,53 +476,27 @@
 \renewcommand\theequation{\@arabic\c@equation}
 \newcounter{figure}
 \renewcommand\thefigure{\@arabic\c@figure}
-\long\def\@makefigurecaption#1#2{%
-   \vskip 12\p@\footnotesize{\bf #1.} #2\par}
 \def\fps@figure{tbp}
 \def\ftype@figure{1}
 \def\ext@figure{lof}
 \def\fnum@figure{\figurename~\thefigure}
 \newenvironment{figure}
-               {\let\@makecaption\@makefigurecaption\@float{figure}}
+               {\@float{figure}}
                {\end@float}
 \newenvironment{figure*}
-               {\let\@makecaption\@makefigurecaption\@dblfloat{figure}}
+               {\@dblfloat{figure}}
                {\end@dblfloat}
 \newcounter{table}
 \renewcommand\thetable{\@arabic\c@table}
-\newtoks\beforecaption \beforecaption={\centering}
-\long\def\@maketablecaption#1#2{\the\beforecaption\footnotesize%
-  \begin{tabular}{l}
-  \bf #1.\\
-  #2\\
-  \end{tabular}\par}
-\def\thline{%
-\noalign{\ifnum0=`}\fi\vskip 3pt\hrule \@height \arrayrulewidth \futurelet
-   \reserved@a\t@xhline}
-\def\t@xhline{\ifx\reserved@a\hline
-                \vskip \doublerulesep
-                \vskip-\arrayrulewidth
-             \else \vskip 3pt\fi
-      \ifnum0=`{\fi}}
-\def\boldhline{\noalign{\global\arrayrulewidth.8pt}\hline%
-                        \noalign{\global\arrayrulewidth.4pt}}
-\def\@tableboxreset{%
-        \reset@font
-        \centering\footnotesize
-        \@setnobreak
-        \@setminipage
-}
 \def\fps@table{tbp}
 \def\ftype@table{2}
 \def\ext@table{lot}
 \def\fnum@table{\tablename~\thetable}
 \newenvironment{table}
-               {\let\hline\thline\let\@floatboxreset\@tableboxreset%
-\let\@makecaption\@maketablecaption\@float{table}}
+               {\@float{table}}
                {\end@float}
 \newenvironment{table*}
-               {\let\hline\thline\let\@floatboxreset\@tableboxreset%
-\let\@makecaption\@maketablecaption\@dblfloat{table}}
+               {\@dblfloat{table}}
                {\end@dblfloat}
 \newlength\abovecaptionskip
 \newlength\belowcaptionskip
@@ -428,7 +517,7 @@
 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
-%\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
+\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
 \DeclareRobustCommand*\cal{\@fontswitch\relax\mathcal}
 \DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal}
@@ -447,7 +536,6 @@
     \addpenalty\@secpenalty
     \addvspace{2.25em \@plus\p@}%
     \begingroup
-      \setlength\@tempdima{3em}%
       \parindent \z@ \rightskip \@pnumwidth
       \parfillskip -\@pnumwidth
       {\leavevmode
@@ -491,38 +579,29 @@
     \@starttoc{lot}%
     }
 \let\l@table\l@figure
-\def\thebibliography#1{\@startsection{section}{1}{\z@}{-18pt plus-2pt
-         minus-2pt}{18pt plus1pt
-        minus1pt}{\reset@font\footnotesize\bf}*
-  {\uppercase\expandafter{\refname}\@mkboth
-  {\uppercase{\refname}}{\uppercase{\refname}}}\list
-  {\@biblabel{\arabic{enumiv}}}{\footnotesize%
-    \labelwidth\z@ \labelsep\z@ \leftmargin15pt \itemindent-15pt%
-    \parsep\z@\itemsep 3pt plus1pt\usecounter{enumiv}\let\p@enumiv\@empty%
-    \def\theenumiv{\arabic{enumiv}}}%
-    \def\newblock{\hskip .11em plus.33em minus.07em}%
-    \sloppy\clubpenalty4000\widowpenalty4000
-    \sfcode`\.=1000\relax}
-\def\endthebibliography{%
-  \def\@noitemerr{\@warning{Empty `thebibliography' environment}}%
+\newdimen\bibindent
+\setlength\bibindent{1.5em}
+\newenvironment{thebibliography}[1]
+     {\section*{\refname
+        \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}}%
+      \list{\@biblabel{\@arabic\c@enumiv}}%
+           {\settowidth\labelwidth{\@biblabel{#1}}%
+            \leftmargin\labelwidth
+            \advance\leftmargin\labelsep
+            \@openbib@code
+            \usecounter{enumiv}%
+            \let\p@enumiv\@empty
+            \renewcommand\theenumiv{\@arabic\c@enumiv}}%
+      \sloppy
+      \clubpenalty4000
+      \@clubpenalty \clubpenalty
+      \widowpenalty4000%
+      \sfcode`\.\@m}
+     {\def\@noitemerr
+       {\@latex@warning{Empty `thebibliography' environment}}%
   \endlist}
-\def\@biblabel#1{#1.\ }
-\def\@bibitem#1{\item\if@filesw \immediate\write\@auxout%
-       {\string\bibcite{#1}{\the\c@enumiv}}\fi\ignorespaces}
-\def\@cite#1#2{[{#1\if@tempswa , #2\fi}]}
-\def\@citex[#1]#2{%
-  \let\@citea\@empty
-  \@cite{\@for\@citeb:=#2\do
-    {\@citea\def\@citea{;\ }%
-     \edef\@citeb{\expandafter\@firstofone\@citeb}%
-     \if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi
-     \@ifundefined{b@\@citeb}{\mbox{\reset@font\bfseries ?}%
-       \G@refundefinedtrue
-       \@latex@warning
-         {Citation `\@citeb' on page \thepage \space undefined}}%
-       {\hbox{\csname b@\@citeb\endcsname}}}}{#1}}
-\def\acknowledgements{\subsection*{Acknowledgements}}
-\let\ack\acknowledgements
+\newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
+\let\@openbib@code\@empty
 \newenvironment{theindex}
                {\if@twocolumn
                   \@restonecolfalse
@@ -534,7 +613,8 @@
                 \twocolumn[\section*{\indexname}]%
                 \@mkboth{\MakeUppercase\indexname}%
                         {\MakeUppercase\indexname}%
-                \thispagestyle{plain}\parindent\z@
+%% no page numbering: plain modified to empty
+                \thispagestyle{empty}\parindent\z@
                 \parskip\z@ \@plus .3\p@\relax
                 \let\item\@idxitem}
                {\if@restonecol\onecolumn\else\clearpage\fi}
@@ -544,154 +624,83 @@
 \newcommand\indexspace{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
 \renewcommand\footnoterule{%
   \kern-3\p@
-  \hrule\@width 48\p@\kern2.6\p@}
+  \hrule\@width.4\columnwidth
+  \kern2.6\p@}
 \newcommand\@makefntext[1]{%
     \parindent 1em%
     \noindent
-    \hb@xt@1.8em{\hss$\m@th^{\@thefnmark}$}#1}
+    \hb@xt@1.8em{\hss\@makefnmark}#1}
 \newcommand\contentsname{Contents}
 \newcommand\listfigurename{List of Figures}
 \newcommand\listtablename{List of Tables}
 \newcommand\refname{References}
 \newcommand\indexname{Index}
+% KS \newcommand\figurename{Fig.}
 \newcommand\figurename{Figure}
 \newcommand\tablename{Table}
 \newcommand\partname{Part}
 \newcommand\appendixname{Appendix}
 \newcommand\abstractname{Abstract}
-\newcommand\today{}
-\edef\today{\ifcase\month\or
+\def\today{\ifcase\month\or
   January\or February\or March\or April\or May\or June\or
   July\or August\or September\or October\or November\or December\fi
   \space\number\day, \number\year}
-%
-% NEWTHEOREM and PROCLAIM environments
-%
-\typeout{NEWTHEOREM and PROCLAIM environments loaded^^J}
-\@ifundefined{theorem@style}{\RequirePackage{theorem}}{}
-%
-% Changes for environments without counters
-%
-\gdef\@xnthm#1#2[#3]{\expandafter\@ifdefinable\csname #1\endcsname
-   {%
-    \@definecounter{#1}\@addtoreset{#1}{#3}%
-    \expandafter\xdef\csname the#1\endcsname
-      {\expandafter \noexpand \csname the#3\endcsname
-       \@thmcountersep \@thmcounter{#1}}%
-    \def\@tempa{\global\@namedef{#1}}%
-    \expandafter \@tempa \expandafter{%
-      \csname th@\the \theorem@style
-            \expandafter \endcsname \the \theorem@bodyfont
-     \@thm{#1}{#2}}%
-    \global \expandafter \let \csname end#1\endcsname \@endtheorem
-    \def\@tempb{\global\@namedef{#1*}}%
-    \expandafter \@tempb \expandafter{%
-      \csname th@\the \theorem@style
-            \expandafter \endcsname \the \theorem@bodyfont
-     \@thmstar{#2}}%
-    \global \expandafter \let \csname end#1*\endcsname \@endtheorem
-   }}
-\gdef\@ynthm#1#2{\expandafter\@ifdefinable\csname #1\endcsname
-   {\@definecounter{#1}%
-    \expandafter\xdef\csname the#1\endcsname{\@thmcounter{#1}}%
-    \def\@tempa{\global\@namedef{#1}}\expandafter \@tempa
-     \expandafter{\csname th@\the \theorem@style \expandafter
-     \endcsname \the\theorem@bodyfont \@thm{#1}{#2}}%
-    \global \expandafter \let \csname end#1\endcsname \@endtheorem
-    \def\@tempb{\global\@namedef{#1*}}\expandafter \@tempb
-     \expandafter{\csname th@\the \theorem@style \expandafter
-     \endcsname \the\theorem@bodyfont \@thmstar{#2}}%
-    \global \expandafter \let \csname end#1*\endcsname \@endtheorem}}
-\gdef\@othm#1[#2]#3{\expandafter\@ifdefinable\csname #1\endcsname
-  {\expandafter \xdef \csname the#1\endcsname
-     {\expandafter \noexpand \csname the#2\endcsname}%
-    \def\@tempa{\global\@namedef{#1}}\expandafter \@tempa
-     \expandafter{\csname th@\the \theorem@style \expandafter
-     \endcsname \the\theorem@bodyfont \@thm{#2}{#3}}%
-    \global \expandafter \let \csname end#1\endcsname \@endtheorem
-    \def\@tempb{\global\@namedef{#1*}}\expandafter \@tempb
-     \expandafter{\csname th@\the \theorem@style \expandafter
-     \endcsname \the\theorem@bodyfont \@thmstar{#3}}%
-    \global \expandafter \let \csname end#1*\endcsname \@endtheorem}}
-\gdef\@thm#1#2{\refstepcounter{#1}%
-   \trivlist
-   \@topsep \theorempreskipamount%
-   \@topsepadd \theorempostskipamount%
-   \@ifnextchar [%
-   {\@ythm{#1}{#2}}%
-   {\@begintheorem{#2}{\csname the#1\endcsname}\ignorespaces}}
-\gdef\@thmstar#1{%
-   \trivlist
-   \@topsep \theorempreskipamount%
-   \@topsepadd \theorempostskipamount%
-   \@ifnextchar [%
-   {\@ythmstar{#1}}%
-   {\@@begintheorem{#1}\ignorespaces}}
-\def\@ythmstar#1[#2]{%
-  \@@opargbegintheorem{#1}{#2}\ignorespaces}
-\global\let\@xthm\relax
-%
-\gdef\th@plaindot{\normalfont\itshape
-  \def\@begintheorem##1##2{%
-        \item[\hskip\labelsep \theorem@headerfont ##1\ ##2\@thmcountersep]}%
-  \def\@@begintheorem##1{%
-        \item[\hskip\labelsep \theorem@headerfont ##1\@thmcountersep]}%
-\def\@opargbegintheorem##1##2##3{%
-   \item[\hskip\labelsep \theorem@headerfont ##1\ ##2]\mdseries ##3\@thmcountersep}
-\def\@@opargbegintheorem##1##2{%
-   \item[\hskip\labelsep \theorem@headerfont ##1]\mdseries ##2\@thmcountersep}}
-%
-\gdef\th@proclaim{\normalfont\upshape
-  \def\@begintheorem##1##2{%
-        \item[\hskip\parindent\hskip\labelsep \normalfont\itshape ##1\ ##2\@thmcountersep]}%
-  \def\@@begintheorem##1{%
-        \item[\hskip\parindent\hskip\labelsep \normalfont\itshape ##1\@thmcountersep]}%
-\def\@opargbegintheorem##1##2##3{%
-   \item[\hskip\parindent\hskip\labelsep \normalfont\itshape ##1\ ##2]\upshape ##3\@thmcountersep}
-\def\@@opargbegintheorem##1##2{%
-   \item[\hskip\parindent\hskip\labelsep \normalfont\itshape ##1]\upshape ##2\@thmcountersep}}
-%
-%DEFAULT VALUES
-\global\setlength\theorempreskipamount{13pt plus 1pt minus 1pt}
-\global\setlength\theorempostskipamount{13pt plus 1pt minus 1pt}
-\def\@thmcounter#1{\noexpand\arabic{#1}}
-\gdef\@thmcountersep{.\ \it}
-\gdef\theorem@headerfont{\normalfont\scshape}
-%\theorembodyfont{\upshape}
-\theorembodyfont{\it}
-\theoremstyle{plaindot}
-{
-\if@secthm
-  \newtheorem{thm}{Theorem}[section]
-\else
-  \newtheorem{thm}{Theorem}
-\fi
-\newtheorem{algorithm}[thm]{Algorithm}
-\newtheorem{lem}[thm]{Lemma}
-\newtheorem{prop}[thm]{Proposition}
-\newtheorem{cor}[thm]{Corollary}
-\newtheorem{prob}[thm]{Problem}
-\newtheorem{defn}[thm]{Definition}
-\newtheorem{exmp}[thm]{Example}}
-{\theoremstyle{proclaim} \newtheorem{rem}[thm]{Remark}}
-\if@secthm
- \@addtoreset{thm}{section}
- \def\thethm{\thesection.\arabic{thm}}
-\else
- \def\thethm{\arabic{thm}}
-\fi
-\newenvironment{pf}%
-  {\par\addvspace{12pt plus1pt minus3pt}\noindent
-   {\itshape\proofname}\kern 1em\ignorespaces}%
-  {\par\addvspace{12pt plus1pt minus3pt}}
-\def\proofname{Proof.}
-%
-\@namedef{pf*}#1{\par\begingroup\def\proofname{#1.}\pf\endgroup\ignorespaces}
-\@namedef{endpf*}{\par\addvspace{12pt plus1pt minus3pt}}
-%
 \setlength\columnsep{10\p@}
 \setlength\columnseprule{0\p@}
-%\voffset=-2cm
-\pagestyle{myheadings}
+
+%% no page numbering: plain modified to empty
+\pagestyle{empty}
 \pagenumbering{arabic}
+
+\if@twoside
+\else
+  \raggedbottom
+\fi
+\if@twocolumn
+  \twocolumn
+  \sloppy
+  \flushbottom
+\else
+  \onecolumn
+\fi
+
+%% added text sizes
+\voffset 0 cm
+\hoffset 0 cm
+
+\headheight 0 cm
+\headsep 0 cm
+
+\marginparsep 0 cm
+
+% KS \topmargin 2.6 cm %1.8 cm %
+% KS \oddsidemargin 2 cm %2.4 cm %1.6
+% KS \evensidemargin 2 cm  %2.4 cm  %
+
+% KS \textheight 19.2 cm %20.3 cm %
+% KS \textwidth 12.2 cm %12.9 cm %
+
+\topmargin 2 cm %1.8 cm %
+\oddsidemargin  9.5 mm %2.4 cm %1.6
+\evensidemargin 9.5 mm  %2.4 cm  %
+
+\textheight 19.8 cm %20.3 cm
+\textwidth 14.0 cm %12.9 cm %
+%% end of addition
+
+% KS ----------------------------------------------------
+\def\ps@plain{\let\@mkboth\@gobbletwo
+     \let\@oddhead\@empty\let\@evenhead\@empty
+     \def\@evenfoot{\thepage\hfil\slshape \,}%
+     \def\@oddfoot{{\slshape \,}\hfil\thepage}%
+     }
+\def\ps@empty{\let\@mkboth\@gobbletwo
+     \let\@oddhead\@empty\let\@evenhead\@empty
+     \def\@evenfoot{\hfil\slshape \,}%
+     \def\@oddfoot{{\slshape \,}\hfil}%
+     }
+\renewcommand\thefootnote{\alph{footnote}}
+
 \endinput
+%%
+%% End of file `esannV2.cls'.

 

Close Window
 
  The service has been written by
Heinrich Stamerjohanns