arxmliv
arxmliv build tool
 
KWARC group
LaTeXML
About
   
 

Back to Homepage

--- /arXMLiv/repos/arXMLiv/trunk/sty/aa-mpa.cls	2010-04-02 16:45:48.000000000 +0200
+++ /arXMLiv/repos/arXMLiv/trunk/sty/doublecol.cls	2012-08-20 11:30:02.510791028 +0200
@@ -1,48 +1,69 @@
-% This is aa.cls
-% A&A DOCUMENT CLASS -- version 4.0 for LaTeX2e
-%
-% LaTeX document class for Astronomy and Astrophysics main journal
-%
-%%
-%%
-%% \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{aa-mpa}[05/02/1998 by Achim Weiss, based on v4.0
-^^JLaTeX document class for Astronomy and Astrophysics main journal
-^^J- first edition]
+\ProvidesClass{doublecol}
+              [1998/05/05 v1.3y
+ 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}}
-\DeclareOption{final}{\setlength\overfullrule{0pt}}
+\DeclareOption{draft}{\setlength\overfullrule{5pt}%
+  \AtBeginDocument{\PagePositionCropYes
+    {7pc}{5.3pc}{5.9pc}{7pt}
+    {7in}{10in}{-1in}{-1in}}}
+\DeclareOption{boxdraft}{\setlength\overfullrule{5pt}%
+  \AtBeginDocument{\PagePositionBoxYes
+    {7pc}{5.3pc}{5.9pc}{7pt}
+    {7in}{10in}{-1in}{-1in}}}
+\DeclareOption{final}{\setlength\overfullrule{0pt}%
+  \AtBeginDocument{\PagePositionCropYes
+    {2pc}{2pc}{3.77pc}{7pt}
+    {6.3in}{9.5in}{-1in}{-1in}}}
+\DeclareOption{finalcro}{\setlength\overfullrule{0pt}%
+  \AtBeginDocument{\PagePositionCropYes
+    {7pc}{5.3pc}{5.9pc}{7pt}
+    {7in}{10in}{-1in}{-1in}}}
+\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}}
@@ -56,116 +77,9 @@
       }%
    \renewcommand\newblock{\par}}%
 }
-%
-\let\if@runhead\iffalse
-\DeclareOption{runningheads}{\let\if@runhead\iftrue}
-\let\if@envcntreset\iffalse
-\DeclareOption{envcountreset}{\let\if@envcntreset\iftrue}
-\let\if@envcntsect\iffalse
-\DeclareOption{envcountsect}{\let\if@envcntsect\iftrue}
-\let\if@referee\iffalse
-\DeclareOption{referee}{\let\if@referee\iftrue}
-%
-\ExecuteOptions{a4paper,twoside,twocolumn,fleqn,final,10pt,runningheads}
+\ExecuteOptions{letterpaper,10pt,twoside,twocolumn,final}
 \ProcessOptions
-\AtEndOfClass{\mathindent\z@}
-%
-\if\@ptsize 0
-%
-   \renewcommand\normalsize{%
-      \@setfontsize\normalsize\@xpt{12}%
-      \abovedisplayskip 8.55\p@ \@plus4\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
-                  \parsep 0\p@ \@plus1\p@ \@minus\p@
-                  \topsep 8\p@ \@plus2\p@ \@minus4\p@
-                  \itemsep0\p@}%
-      \belowdisplayskip \abovedisplayskip
-   }
-   \newcommand\scriptsize{\@setfontsize\scriptsize\@viipt\@viiipt}
-   \newcommand\tiny{\@setfontsize\tiny\@vpt\@vipt}
-   \newcommand\large{\@setfontsize\large\@xiipt{13dd}}
-   \newcommand\Large{\@setfontsize\Large\@xviipt{17dd}}
-   \newcommand\LARGE{\@setfontsize\LARGE\@xviipt{17dd}}
-   \newcommand\huge{\@setfontsize\huge\@xxpt{25}}
-   \newcommand\Huge{\@setfontsize\Huge\@xxvpt{30}}
-   %
-   \setlength\parindent{15\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\maxdepth{.5\topskip}
-   %
-   \@settopoint\textwidth
-   \setlength\marginparsep {10\p@}
-   \setlength\marginparpush{5\p@}
-   \setlength\oddsidemargin   {+40\p@} %AW
-   \setlength\evensidemargin  {+10\p@} %AW
-   \setlength\marginparwidth  {40\p@}  %AW
-   \setlength\topmargin{-20pt}         %AW
-   \setlength\footnotesep{8\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   {20\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 \z@
-               \topsep 4\p@ \@plus2\p@ \@minus4\p@
-               \itemsep\parsep}
-   \let\@listI\@listi
-   \@listi
-   \def\@listii {\leftmargin\leftmarginii
-                 \labelwidth\leftmarginii
-                 \advance\labelwidth-\labelsep
-                 \topsep    \z@
-                 \parsep    \topsep
-                 \itemsep   \parsep}
-   \def\@listiii{\leftmargin\leftmarginiii
-                 \labelwidth\leftmarginiii
-                 \advance\labelwidth-\labelsep
-                 \topsep    \z@
-                 \parsep    \topsep
-                 \itemsep   \parsep}
-   \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}
-\else
    \input{size1\@ptsize.clo}
-\fi
-%
-\let\footnotesize\small
-%
-\setlength{\textwidth}{180mm}
-\setlength{\textheight}{56pc}
-%
 \setlength\lineskip{1\p@}
 \setlength\normallineskip{1\p@}
 \renewcommand\baselinestretch{}
@@ -173,261 +87,109 @@
 \@lowpenalty   51
 \@medpenalty  151
 \@highpenalty 301
-%
-\setcounter{topnumber}{4}
-\renewcommand\topfraction{.9}
-\setcounter{bottomnumber}{1}
-\renewcommand\bottomfraction{.3}
-\setcounter{totalnumber}{6}
-\renewcommand\textfraction{0.}
-\renewcommand\floatpagefraction{.85}
-\setcounter{dbltopnumber}{3}
-\renewcommand\dbltopfraction{.85}
-\renewcommand\dblfloatpagefraction{.85}
-%
+\setcounter{topnumber}{9}
+\def\topfraction{9}
+\def\textfraction{0}
+\def\floatpagefraction{0.9}
+\setcounter{bottomnumber}{5}
+\def\bottomfraction{0.99}
+\setcounter{totalnumber}{10}
+\def\dbltopfraction{0.99}
+\def\dblfloatpagefraction{0.8}
+\setcounter{dbltopnumber}{5}
+
+\if@twoside
+  \def\ps@headings{%
+      \let\@oddfoot\@empty\let\@evenfoot\@empty
+      \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
+    \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{\small\rlap{\thepage}\hfil\leftmark\hfil}%
-    \def\@oddhead{\small\hfil\rightmark\hfil\llap{\thepage}}%
+    \def\@evenhead{\thepage\hfil\slshape\leftmark}%
+    \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
     \let\@mkboth\@gobbletwo
     \let\sectionmark\@gobble
     \let\subsectionmark\@gobble
     }
-% make indentations changeable
-\def\setitemindent#1{\settowidth{\labelwidth}{#1}%
-        \leftmargini\labelwidth
-        \advance\leftmargini\labelsep
-   \def\@listi{\leftmargin\leftmargini
-        \labelwidth\leftmargini\advance\labelwidth by -\labelsep
-        \parsep=\parskip
-        \topsep=\medskipamount
-        \itemsep=\parskip \advance\itemsep by -\parsep}}
-\def\setitemitemindent#1{\settowidth{\labelwidth}{#1}%
-        \leftmarginii\labelwidth
-        \advance\leftmarginii\labelsep
-\def\@listii{\leftmargin\leftmarginii
-        \labelwidth\leftmarginii\advance\labelwidth by -\labelsep
-        \parsep=\parskip
-        \topsep=\z@
-        \itemsep=\parskip \advance\itemsep by -\parsep}}
-% labels of description
-\def\descriptionlabel#1{\hspace\labelsep #1\hfil}
-% adjusted environment "description"
-% if an optional parameter (at the first two levels of lists)
-% is present, its width is considered to be the widest mark
-% throughout the current list.
-\def\description{\@ifnextchar[{\@describe}{\list{}{\labelwidth\z@
-          \itemindent-\leftmargin \let\makelabel\descriptionlabel}}}
-\let\enddescription\endlist
-%
-\def\describelabel#1{#1\hfil}
-\def\@describe[#1]{\relax\ifnum\@listdepth=0
-\setitemindent{#1}\else\ifnum\@listdepth=1
-\setitemitemindent{#1}\fi\fi
-\list{--}{\let\makelabel\describelabel}}
-%
-\newdimen\logodepth
-\logodepth=1.3cm
-\newdimen\headerboxheight
-\headerboxheight=160.00pt
-\newdimen\betweenumberspace          % dimension for space between
-\betweenumberspace=3.33pt            % number and text of titles.
-\newdimen\aftertext                  % dimension for space after
-\aftertext=5pt                       % text of title.
-\newdimen\headlineindent             % dimension for space between
-\headlineindent=1.166cm              % number and text of headings.
-\def\andname{and}
-\def\keywordname{{\bf Key words:}}
-\def\lastandname{, and}
-\def\mailname{{\it Correspondence to\/}:}
-\def\keywords{\par\addvspace\baselineskip\noindent\keywordname\
-\ignorespaces}
-%
-\newcounter{inst}
-\newcounter{auth}
-\newdimen\instindent
-\newbox\authrun
-\newtoks\authorrunning
-\newbox\titrun
-\newtoks\titlerunning
-
-\def\journalname#1{\gdef\@journalname{#1}}
-\gdef\@journalname{A\&A}
-
-\def\headnote#1{\gdef\@headnote{#1}}
-\def\@headnote{}
-
-\def\dedication#1{\gdef\@dedic{#1}}
-\def\@dedic{}
-
-\let\@date\undefined
-
-\def\institute#1{\gdef\@institute{#1}}
-
-\def\institutename{\par
- \begingroup
- \parindent=0pt
- \parskip=0pt
- \setcounter{inst}{1}%
- \def\and{\par\stepcounter{inst}%
- \hangindent\instindent
- \noindent
- \hbox to\instindent{\hss$^{\theinst}$\enspace}\ignorespaces}%
- \setbox0=\vbox{\def\thanks##1{}\@institute}
- \ifnum\value{inst}>9\relax\setbox0=\hbox{$^{88}$\enspace}%
-                 \else\setbox0=\hbox{$^{8}$\enspace}\fi
- \instindent=\wd0\relax
- \ifnum\value{inst}=1\relax
- \else
-   \setcounter{inst}{1}%
-   \hangindent\instindent
-   \noindent
-   \hbox to\instindent{\hss$^{\theinst}$\enspace}\ignorespaces
- \fi
- \small
- \ignorespaces
- \@institute\par
- \endgroup}
-
-\def\offprints#1{\begingroup
-\def\protect{\noexpand\protect\noexpand}\xdef\@thanks{\@thanks
-\protect\footnotetext[0]{\unskip\hskip-1.5em{\it Send offprint requests
-to\/}: \ignorespaces#1}}\endgroup\ignorespaces}
-
-\def\mail#1{\gdef\@mail{#1}}
-\def\@mail{}
-
-\def\@thanks{}
-
-\def\@fnsymbol#1{\ifcase#1\or\star\or{\star\star}\or{\star\star\star}%
-   \or \dagger\or \ddagger\or
-   \mathchar "278\or \mathchar "27B\or \|\or **\or \dagger\dagger
-   \or \ddagger\ddagger \else\@ctrerr\fi\relax}
-
-\def\inst#1{\unskip$^{#1}$}
-\def\fnmsep{\unskip$^,$}
-
-\def\subtitle#1{\gdef\@subtitle{#1}}
-\def\@subtitle{}
-
-\def\headnote#1{\gdef\@headnote{#1}}
-\def\@headnote{}
-
-\def\thesaurus#1{\gdef\@thesaurus{#1}}
-
-\def\ch@ckobl#1#2{\@ifundefined{@#1}
- {\typeout{A\string&A warning: Missing
-\expandafter\string\csname#1\endcsname}%
-  \csname #1\endcsname{#2}}
- {}}
-
-\newif\if@normhead \@normheadtrue
-\def\hugehead{\@normheadfalse
-\onecolumn
-\let\thanks=\footnote
-\long\def\@makefntext##1{\parindent\bibindent
-     \columnwidth\textwidth\advance\columnwidth -\columnsep
-     \divide\columnwidth\tw@\hsize\columnwidth \linewidth\columnwidth
-     \noindent\hbox to\parindent{\hss$\m@th^{\@thefnmark}$ }##1}%
+  \if@titlepage
+  \newcommand\maketitle{\begin{titlepage}%
+  \let\footnotesize\small
+  \let\footnoterule\relax
+  \let \footnote \thanks
+  \null\vfil
+  \vskip 60\p@
+  \begin{center}%
+    {\LARGE \@title \par}%
+    \vskip 3em%
+    {\large
+     \lineskip .75em%
+      \begin{tabular}[t]{c}%
+        \@author
+      \end{tabular}\par}%
+      \vskip 1.5em%
+    {\large \@date \par}%       % Set date in \large size.
+  \end{center}\par
+  \@thanks
+  \vfil\null
+  \end{titlepage}%
+  \setcounter{footnote}{0}%
+  \global\let\thanks\relax
+  \global\let\maketitle\relax
+  \global\let\@thanks\@empty
+  \global\let\@author\@empty
+  \global\let\@date\@empty
+  \global\let\@title\@empty
+  \global\let\title\relax
+  \global\let\author\relax
+  \global\let\date\relax
+  \global\let\and\relax
 }
-
-\def\maketitle{\par
-\ch@ckobl{thesaurus}{missing; you have not inserted them}
-\ch@ckobl{journalname}{Noname}
-\ch@ckobl{date}{the date of receipt and acceptance should be inserted
-later}
-\ch@ckobl{title}{A title should be given}
-\ch@ckobl{author}{Name(s) and initial(s) of author(s) should be given}
-\ch@ckobl{institute}{Address(es) of author(s) should be given}
+\else
+\newcommand\maketitle{\par
 \begingroup
-%
     \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
-    \def\@makefnmark{$^{\@thefnmark}$}%
-%
- \def\lastand{\ifnum\value{inst}=2\relax
-                 \unskip{} \andname\
-              \else
-                 \unskip, \andname\
-              \fi}%
- \def\and{\stepcounter{auth}\relax
-          \ifnum\value{auth}=\value{inst}%
-             \lastand
-          \else
-             \unskip,
-          \fi}%
+    \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
- \thispagestyle{empty}
- \global\@topnum\z@
- \if@normhead
-    \@thanks
- \else
-    \twocolumn[\vspace{\@tempdima}]
-    \addtocounter{page}{-1}
-    \if!\the\authorrunning!
-       \authorrunning{ }%
-    \fi
- \fi
- \if!\@mail!\else
-    \footnotetext[0]{\kern-\bibindent\mailname\
-    \ignorespaces\@mail}%
- \fi
-%
- \if@runhead
-    \def\\{\unskip\ \ignorespaces}\def\inst##1{\unskip{}}%
-    \def\thanks##1{\unskip{}}\def\fnmsep{\unskip}%
-    \instindent=\textwidth
-    \advance\instindent by-2\headlineindent
-    \if!\the\titlerunning!\else
-      \edef\@title{\the\titlerunning}%
-    \fi
-    \global\setbox\titrun=\hbox{\small\rm\unboldmath\ignorespaces\@title}%
-    \ifdim\wd\titrun>\instindent
-       \typeout{^^JA\string&A Warning: Title too long for running head.}%
-       \typeout{Please supply a shorter form with \string\titlerunning
-                \space prior to \string\maketitle}%
-       \global\setbox\titrun=\hbox{\small\rm
-       Title Suppressed Due to Excessive Length}%
-    \fi
-    \xdef\@title{\copy\titrun}%
-%
-    \if!\the\authorrunning!
-    \else
-      \setcounter{auth}{1}%
-      \edef\@author{\the\authorrunning}%
-    \fi
-    \ifnum\value{auth}>2
-       \def\stripauthor##1\and##2\endauthor{%
-       \protected@xdef\@author{##1\unskip\unskip\if!##2!\else
-       \ et al.\fi}}%
-       \expandafter\stripauthor\@author\and\endauthor
     \else
-       \gdef\and{\unskip\ \& \ignorespaces}%
-       {\def\and{\noexpand\protect\noexpand\and}%
-       \protected@xdef\@author{\@author}}
-    \fi
-    \global\setbox\authrun=\hbox{\small\unboldmath\@author\unskip:
-                                 \unhbox\titrun}%
-    \ifdim\wd\authrun>\instindent
-%
-    \typeout{^^JA\string&A Warning: The running head built automatically
-             from \string\author\space and \string\title
-             ^^Jexceeds the pagewidth, please supply a shorter form
-             ^^Jwith \string\authorrunning\space and/or
-             \string\titlerunning\space prior to \string\maketitle}%
-    \global\setbox\authrun=\hbox{\small\rm Please give a shorter version
-       with: {\tt\string\authorrunning\space}and/or{\tt\space
-       \string\titilerunning\space}prior to{\tt\space\string\maketitle}}%
-    \fi
-    \xdef\@author{\copy\authrun}%
-    \markboth{\@author}{\@author}%
+      \newpage
+      \global\@topnum\z@   % Prevents figures from going at top of page.
+      \@maketitle
  \fi
-%
+    \thispagestyle{plain}\@thanks
  \endgroup
- \setcounter{footnote}{0}
  \setcounter{footnote}{0}%
  \global\let\thanks\relax
  \global\let\maketitle\relax
@@ -436,146 +198,303 @@
  \global\let\@author\@empty
  \global\let\@date\@empty
  \global\let\@title\@empty
- \global\let\@subtitle\@empty
  \global\let\title\relax
  \global\let\author\relax
  \global\let\date\relax
- \global\let\and\relax}
-
-\def\AALogo{\setbox254=\hbox{\LARGE\rm A\kern-1.00pt S\kern-1.50pt
-T\kern-0.50pt R\kern-2.00pt O\kern-1.00pt P\kern-0.50pt H\kern-0.50pt
-Y\kern-2.00pt S\kern-1.50pt I\kern-1.00pt C\kern-1.00pt S}%
-\vbox{\baselineskip=14pt\lineskiplimit=-\maxdimen
-\hrule height0.2pt\kern5pt
-\hbox to\wd254{\LARGE\rm\hfil A\kern-1.00pt S\kern-1.50pt T\kern-0.50pt
-R\kern-2.00pt O\kern-1.00pt N\kern-1.00pt O\kern-1.00pt M\kern-0.50pt
-Y\hfil}
-\hbox to\wd254{\LARGE\rm\hfil A\kern-0.50pt N\kern-0.50pt D\hfil}\box254
-\kern5pt\hrule height0.2pt}}
-\def\makeheadbox{{
-\hbox to\textwidth{%
-\hbox to0pt{\vbox{\hsize=30cc
-\baselineskip=12pt\hrule\hbox
-{\vrule\kern3pt\vbox{\kern3pt
-\hbox to30cc{\bf\@journalname\ manuscript no.\hfil}
-\hbox{(will be inserted by hand later)}
-\kern3pt\hrule\kern3pt\bf
-\hbox{Your thesaurus codes are:}
-\hbox{\rightskip=0pt plus3em\advance\hsize by-7pt
-\vbox{\noindent\ignorespaces\@thesaurus}}
-\kern3pt}\hfil\kern3pt\vrule}\hrule}\hss}
-\hfil\llap{\quad\AALogo}}}}
-
-\def\@maketitle{\newpage
- \normalfont
-% \vbox to0pt{\vskip-40pt
-% \nointerlineskip
-% \makeheadbox\vss}\nointerlineskip  %AW
- \if@normhead
-    \setbox\authrun=\vbox\bgroup
- \fi
- {\Large \bf\boldmath
-  \hrule\@height\logodepth\@width\z@
-  \pretolerance=10000
-  \rightskip=0pt plus 4cm
- \if!\@headnote!\else
-   \noindent
-   {\em\ignorespaces\@headnote\par}\vskip 3.5mm
- \fi
-  \noindent\ignorespaces
-  \vspace{3.5cm}  %AW
-  \begin{center}\@title\end{center} \par}\vskip 11.24pt\relax % AW
- \bf
- \if!\@subtitle!\else
-   {\large\bf\boldmath
-   \pretolerance=10000
-   \rightskip=0pt plus 3cm
-   \noindent\ignorespaces\begin{center}\@subtitle\end{center}% AW
-    \par}\vskip 11.24pt
- \fi
- \lineskip .5em
- \setbox0=\vbox{\setcounter{auth}{1}\def\and{\stepcounter{auth} }%
-                \hfuzz=2\textwidth\def\thanks##1{}\@author}%
- \value{inst}=\value{auth}%
- \setcounter{auth}{1}%
- \rightskip=0pt plus 2cm
- \noindent\ignorespaces\begin{center}\@author\end{center}
-   \vskip7.23pt  % AW
- \rightskip=0pt\relax
- \small\rm
- \begin{center} \institutename \end{center} %AW
- \vskip 12.85pt % \noindent\@date   %AW
- \if!\@dedic!\else
+  \global\let\and\relax
+}
+\def\@maketitle{%
+  \newpage
+  \null
+  \vskip 2em%
+  \begin{center}%
+  \let \footnote \thanks
+    {\LARGE \@title \par}%
+    \vskip 1.5em%
+    {\large
+      \lineskip .5em%
+      \begin{tabular}[t]{c}%
+        \@author
+      \end{tabular}\par}%
+    \vskip 1em%
+    {\large \@date}%
+  \end{center}%
     \par
-    \normalsize\it
-    \addvspace\baselineskip
-    \noindent\@dedic
- \fi
- \if@normhead
-    \egroup % end of header box
-    \@tempdima=\headerboxheight
-    \advance\@tempdima by-\ht\authrun
-%   \advance\@tempdima by-\pagetotal
-    \ifdim\@tempdima>0pt
-       \vrule width0pt height\@tempdima
-    \fi
-    \unvbox\authrun
-    \global\@minipagetrue
-    \global\everypar{\global\@minipagefalse\global\everypar{}}
- \else
-    \typeout{\the\c@auth\space author names and}
-    \typeout{\the\c@inst\space institutes processed}
-    \global\@tempdima=\pagetotal
-    \global\advance\@tempdima by22.47pt
+  \vskip 1.5em}
  \fi
- \vskip22.47pt
-}
-%
-\DeclareMathAlphabet{\mathsc}{OT1}{cmr}{m}{sc}
-\def\testbx{bx}%
-\DeclareRobustCommand{\ion}[2]{%
-\relax\ifmmode
-\ifx\testbx\f@series
-{\mathbf{#1\,\mathsc{#2}}}\else
-{\mathrm{#1\,\mathsc{#2}}}\fi
-\else\textup{#1\,{\mdseries\textsc{#2}}}%
-\fi}
-%
-\def\clearelargs{\def\1{}\def\2{}\def\3{}\def\4{}\count255=0}
-\def\druck@lement#1{{}^{\2}_{\3}\mathrm{#1}{}^{\1}_{\4}{}\if@tempswa$\fi}
-\DeclareRobustCommand{\element}{\relax\ifmmode\@tempswafalse
-\else$\@tempswatrue\fi\clearelargs\def\?{\phantom{0}}\@lement}
-\def\@lement#1{\if#1[\expandafter\f@@dargs\else\druck@lement{#1}\fi}
-\def\f@@dargs#1]{\advance\count255by\@ne
-\expandafter\def\csname\number\count255\endcsname{#1}\@lement}
-%
-%\def\vec#1{\ensuremath{\mathbf{#1}}}
-\def\vec#1{\ensuremath{\mathchoice{\mbox{\boldmath$\displaystyle#1$}}
-{\mbox{\boldmath$\textstyle#1$}}
-{\mbox{\boldmath$\scriptstyle#1$}}
-{\mbox{\boldmath$\scriptscriptstyle#1$}}}}
-%
-\def\tens#1{\ensuremath{\mathsf{#1}}}
-%
 \setcounter{secnumdepth}{3}
+
+\def\LRH#1{\gdef\setLRH{\sc #1}}\def\setLRH{}%
+\def\RRH#1{\gdef\setRRH{\sc #1}}\def\setRRH{}%
+
+\LRH{author}
+\RRH{short title}
+
+\def\ps@headings{\let\@mkboth\markboth
+  \def\@oddfoot{\setoddFOOT}%
+  \def\@evenfoot{\setevenFOOT}%
+  \def\@evenhead{\setevenRH}%
+  \def\@oddhead{\setoddRH}%
+  \def\sectionmark##1{}%
+  \def\subsectionmark##1{}}%
+
+\def\JOURNALNAME#1{\gdef\theJOURNALNAME{#1}}%
+\def\VOL#1{\gdef\theVOL{#1}}%
+\VOL{0}%
+\def\PAGES#1{\gdef\thePAGES{#1}}%
+\PAGES{\thepage--\pageref{LastPage}}%
+\def\PUBYEAR#1{\gdef\thePUBYEAR{#1}}%
+\PUBYEAR{2003}%
+\def\ISSUE#1{\gdef\theISSUE{#1}}%
+\ISSUE{00}%
+\def\CPYRTYEAR#1{\gdef\theCPYRTYEAR{#1}}%
+\CPYRTYEAR{2003}%
+
+\def\CLline{\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}lr@{}}
+%\\[-54pt]
+ \TEN\it\hskip 23pt {Progress in Computational Fluid Design
+Vol. \theVOL, No. \theISSUE, \thePUBYEAR}
+ & \TEN\thepage\\[-2pt]
+\HD{0}{8}\vspace*{7pt}
+\end{tabular*}
+}
+
+\def\bi#1{\mbox{\bf\itshape{#1}}}
+
+\def\BottomCatch{%
+%\vskip 10pt
+\thispagestyle{empty}%
+\begin{table}[b]%
+\NINE\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}lcr@{}}%
+\\[-20pt]
+Copyright \copyright\ 200x Inderscience Enterprises Ltd. & &%
+\end{tabular*}%
+\vskip -8pt%
+\end{table}%
+}%
+
+%\font\titfont=heavhs at 22pt
+%\font\sectfont=hlb at 9pt
+
+\def\EGT{\footnotesize\baselineskip 10pt plus 0.23pt minus 0.21pt\relax}%
+\def\NINE{\fontsize{9}{10}\selectfont}
+\def\TEN{\normalsize\baselineskip12pt plus .25pt minus .24pt\relax}%
+\def\TWELVE{\fontsize{12}{14}\selectfont\baselineskip14pt plus .25pt minus .24pt\relax}%
+%\def\FOURTEEN{\fontsize{22}{24}\selectfont\baselineskip16pt plus .25pt minus .24pt\relax}%
+\def\FOURTEEN{\fontsize{22}{24}\baselineskip25pt plus 1pt minus 1pt\relax}
+
+\newcommand\abstractname{Abstract:\enskip}
+\newcommand\keywordname{Keywords:\enskip\null}
+
+\newbox\t@abstract
+\newbox\t@receivedname
+\newbox\temptbox
+\newdimen\tempdime
+
+
+\def\authorA#1{\gdef\@authorA{\TWELVE\bf #1}}
+\def\authorB#1{\gdef\@authorB{\TWELVE\bf #1}}
+\def\authorC#1{\gdef\@authorC{\TWELVE\bf #1}}
+\def\authorD#1{\gdef\@authorD{\TWELVE\bf #1}}
+\def\authorE#1{\gdef\@authorE{\TWELVE\bf #1}}
+\def\and{\lowercase{and}\ }
+
+\def\affA#1{\gdef\@affA{\TEN\rm #1}}
+\def\affB#1{\gdef\@affB{\TEN\rm #1}}
+\def\affC#1{\gdef\@affC{\TEN\rm #1}}
+\def\affD#1{\gdef\@affD{\TEN\rm #1}}
+\def\affE#1{\gdef\@affE{\TEN\rm #1}}
+\def\KEY#1{\gdef\@KEY{\NINE #1}}
+\def\REF#1{\gdef\@REF{\NINE #1}}
+\def\BIO#1{\gdef\@BIO{\NINE #1}}
+
+\def\HD#1#2{\vrule height #1pt depth #2pt width 0pt\relax}
+
+\long\gdef\ARTICLEOPENING#1{\long\gdef\@maketitle{#1}}%
+\ARTICLEOPENING{}%
+
+\def\abstract{\@ifnextchar[{\@abstract}{\@abstract[]}}
+
+\def\@abstract[#1]{%
+    \hsize\textwidth%
+  \global\setbox\t@abstract=\vbox\bgroup%
+    \parindent10pt\leftskip 14.1pc\rightskip 0pt
+    \noindent {\bf\NINE
+    \abstractname}\noindent\NINE
+    \ignorespaces}
+
+\def\endabstract{\egroup}
+
+%FFF
+\def\@maketitle{%
+ % \begin{Flushleft}%
+    \let \footnote \thanks%
+      {%
+    \ifx\@docHeading\undefined\else{\TWELVE\@docHeading\par}\vskip.2\p@\fi%
+       \hyphenpenalty 10000%
+        \HD{40}{0}\fontsize{22}{26}\selectfont\bfseries
+        \raggedright
+        \leftskip 14.1pc\rightskip 0pt
+        \parbox[t]{25pc}{\raggedright\@title\baselineskip23pt plus 1pt minus 1pt\relax}\HD{10}{0}%
+         \par}%
+    \ifx\@subtitle\undefined%
+    \else%
+            \TWELVE\it
+            \HD{20}{0}\@subtitle%
+     \fi%
+%%%authorA  %GGG
+    \ifx\@authorA\undefined%
+    \else%
+    \leftskip 14.1pc\rightskip 0pt
+    \HD{42}{0}\@authorA\HD{0}{1}\par
+    \fi%
+    \ifx\@affA\undefined%
+    \else%
+    \leftskip 14.1pc\rightskip 0pt
+    \HD{1}{0}\@affA\HD{0}{8.5}\par
+    \fi%
+%%%authorB  %GGG
+    \ifx\@authorB\undefined%
+    \else%
+    \leftskip 14.1pc\rightskip 0pt
+    \HD{0}{0}\@authorB\HD{0}{1}\par
+    \fi%
+    \ifx\@affB\undefined%
+    \else%
+    \leftskip 14.1pc\rightskip 0pt
+    \HD{1}{0}\@affB\HD{0}{8.5}\par
+    \fi%
+%%%authorC  %GGG
+     \ifx\@authorC\undefined%
+    \else%
+    \leftskip 14.1pc\rightskip 0pt
+    \HD{0}{0}\@authorC\HD{0}{1}\par
+    \fi%
+    \ifx\@affC\undefined%
+    \else%
+    \leftskip 14.1pc\rightskip 0pt
+    \HD{1}{0}\@affC\HD{0}{8.5}\par
+    \fi%
+%%%authorD  %GGG
+    \ifx\@authorD\undefined%
+    \else%
+    \leftskip 14.1pc\rightskip 0pt
+    \HD{0}{0}\@authorD\HD{0}{1}\par
+    \fi%
+    \ifx\@affD\undefined%
+    \else%
+    \leftskip 14.1pc\rightskip 0pt
+    \HD{1}{0}\@affD\HD{0}{8.5}\par
+    \fi%
+%%%authorE  %GGG
+    \ifx\@authorD\undefined%
+    \else%
+    \leftskip 14.1pc\rightskip 0pt
+    \HD{0}{0}\@authorE\HD{0}{1}\par
+    \fi%
+    \ifx\@affE\undefined%
+    \else%
+    \leftskip 14.1pc\rightskip 0pt
+    \HD{1}{0}\@affE\HD{0}{8.5}\par
+    \fi%
+%%%
+%%%
+    \HD{18}{0}
+    {\unvbox\t@abstract}%
+        \ifx\@KEY\undefined%
+    \else%
+    \leftskip 14.1pc\rightskip 0pt
+     \HD{19}{0}\NINE{\bf Keywords:}\ \@KEY \HD{0}{0}\par
+    \fi%
+    \ifx\@REF\undefined%
+    \else%
+    \leftskip 14.1pc\rightskip 0pt
+     \HD{19}{0}\NINE{\bf Reference}\ \@REF \HD{0}{0}\par%
+    \fi%
+    \ifx\@BIO\undefined%
+    \else%
+    \HD{19}{0}\NINE  {\bf Biographical notes:}\ \@BIO \HD{0}{0}\par%
+    \fi%
+%      \ifx\@ABB\undefined%
+%    \else%
+%       \HD{22}{0}\@ABB \HD{0}{0}\par%
+%    \fi%
+%      \ifx\@NOMEN\undefined%
+%    \else%
+%       \HD{22}{0}\@NOMEN \HD{15}{0}\par%
+%    \fi%
+%   \ifx\@KEY\undefined%
+%    \else%
+%        \  \par%
+%    \fi%
+%     \end{Flushleft}%
+%  \end{Flushleft}%
+  \vskip 31pt plus 2pt%
+  \relax%
+}%
+
+
+\newcounter {part}
 \newcounter {section}
 \newcounter {subsection}[section]
 \newcounter {subsubsection}[subsection]
 \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}
-%
-\def\sectcounterend{.}
-\def\@hangfrom#1{\setbox\@tempboxa\hbox{#1}%
-      \hangindent \z@\noindent\box\@tempboxa}
-
-\def\@seccntformat#1{\csname the#1\endcsname\sectcounterend
-\hskip\betweenumberspace}
+\newcommand\part{\par
+   \addvspace{4ex}%
+   \@afterindentfalse
+   \secdef\@part\@spart}
+
+\def\@part[#1]#2{%
+    \ifnum \c@secnumdepth >\m@ne
+      \refstepcounter{part}%
+      \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
+    \else
+      \addcontentsline{toc}{part}{#1}%
+    \fi
+    {\parindent \z@ \raggedright
+     \interlinepenalty \@M
+     \normalfont
+     \ifnum \c@secnumdepth >\m@ne
+       \Large\bfseries \partname~\thepart
+       \par\nobreak
+     \fi
+     \huge \bfseries #2%
+     \markboth{}{}\par}%
+    \nobreak
+    \vskip 3ex
+    \@afterheading}
+\def\@spart#1{%
+    {\parindent \z@ \raggedright
+     \interlinepenalty \@M
+     \normalfont
+     \huge \bfseries #1\par}%
+     \nobreak
+     \vskip 3ex
+     \@afterheading}

+\def\@startsection#1#2#3#4#5#6{%
+  \if@noskipsec \leavevmode \fi
+  \par
+  \@tempskipa #4\relax
+  \@afterindenttrue
+  \ifdim \@tempskipa <\z@
+    \@tempskipa -\@tempskipa \@afterindentfalse
+  \fi
+  \if@nobreak
+    \everypar{}%
+  \else
+    \addpenalty\@secpenalty\addvspace\@tempskipa
+  \fi
+  \@ifstar
+    {\@ssect{#3}{#4}{#5}{#6}}%
+    {\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}}
 \def\@sect#1#2#3#4#5#6[#7]#8{%
   \ifnum #2>\c@secnumdepth
     \let\@svsec\@empty
@@ -588,8 +507,6 @@
     \begingroup
       #6{%
         \@hangfrom{\hskip #3\relax\@svsec}%
-          \raggedright
-          \hyphenpenalty \@M%
           \interlinepenalty \@M #8\@@par}%
     \endgroup
     \csname #1mark\endcsname{#7}%
@@ -601,7 +518,7 @@
   \else
     \def\@svsechd{%
       #6{\hskip #3\relax
-      \@svsec #8\hskip\aftertext}%
+      \@svsec #8}%
       \csname #1mark\endcsname{#7}%
       \addcontentsline{toc}{#1}{%
         \ifnum #2>\c@secnumdepth \else
@@ -610,29 +527,94 @@
         #7}}%
   \fi
   \@xsect{#5}}
+\def\@xsect#1{%
+  \@tempskipa #1\relax
+  \ifdim \@tempskipa>\z@
+    \par \nobreak
+    \vskip \@tempskipa
+    \@afterheading
+  \else
+    \@nobreakfalse
+    \global\@noskipsectrue
+    \everypar{%
+      \if@noskipsec
+        \global\@noskipsecfalse
+       {\setbox\z@\lastbox}%
+        \clubpenalty\@M
+        \begingroup \@svsechd \endgroup
+        \unskip
+        \@tempskipa #1\relax
+        \hskip -\@tempskipa
+      \else
+        \clubpenalty \@clubpenalty
+        \everypar{}%
+      \fi}%
+  \fi
+  \ignorespaces}
+\def\@seccntformat#1{\csname the#1\endcsname\quad}
+\def\@ssect#1#2#3#4#5{%
+  \@tempskipa #3\relax
+  \ifdim \@tempskipa>\z@
+    \begingroup
+      #4{%
+        \@hangfrom{\hskip #1}%
+          \interlinepenalty \@M #5\@@par}%
+    \endgroup
+  \else
+    \def\@svsechd{#4{\hskip #1\relax #5}}%
+  \fi
+  \@xsect{#3}}

-%
-% measures and setting of sections
-%
-\def\section{\@startsection{section}{1}{\z@}%
-    {-21dd plus-4pt minus-4pt}{10.5dd plus 4pt
-     minus4pt}{\normalsize\bf\boldmath}}
-\def\subsection{\@startsection{subsection}{2}{\z@}%
-    {-21dd plus-4pt minus-4pt}{10.5dd plus 4pt
-     minus4pt}{\normalsize\it}}
-\def\subsubsection{\@startsection{subsubsection}{3}{\z@}%
-    {-21dd plus-4pt minus-4pt}{10.5dd plus 4pt
-     minus4pt}{\normalsize}}
-\def\paragraph{\@startsection{subsubsection}{4}{\z@}%
-    {-21dd plus-4pt minus-4pt}{-1pt}{\normalsize\it}}
-
-\setlength\leftmargini  {\parindent}
+\def\mcr{\\ \\[-6pt]}
+\def\x{\end{document}}
+%\newcommand{\pafg}[2]{\frac{\partial #1}{\partial #2}}
+\def\p#1{\phantom{#1}}
+\def\vvp{\vadjust{\vfill\pagebreak}}
+\def\vvsp#1{\vadjust{\vspace{#1pt}\pagebreak}}
+\def\vvSP#1{\HD{0}{#1}\pagebreak}
+\def\tra#1{\spaceskip 0.#1em plus 0.15em minus 0.09em\relax}%
+\def\vs#1{\vadjust{\vspace{#1pt}}}
+\def\mathtight{
+\thickmuskip2mu \thinmuskip1mu \medmuskip=1.5mu\relax}
+
+
+\def\bi{\bfseries\itshape}
+\newcommand\section{\@startsection {section}{1}{\z@}%
+                                   {-3.5ex \@plus -1ex \@minus -.2ex}%
+                                   {2.3ex \@plus.2ex}%
+                                   {\normalfont\fs}}
+\newcommand\subsection{\@startsection{subsection}{2}{\z@}%
+                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
+                                     {1.5ex \@plus .2ex}%
+                                     {\normalfont\bfseries}}
+\newcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
+                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
+                                     {1.5ex \@plus .2ex}%
+                                     {\normalfont\normalsize\bfseries}}
+\newcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
+                                    {3.25ex \@plus1ex \@minus.2ex}%
+                                    {-1em}%
+                                    {\normalfont\normalsize\bfseries}}
+\newcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
+                                       {3.25ex \@plus1ex \@minus .2ex}%
+                                       {-1em}%
+                                      {\normalfont\normalsize\bfseries}}
+\if@twocolumn
+  \setlength\leftmargini  {2em}
+\else
+  \setlength\leftmargini  {2.5em}
+\fi
 \leftmargin  \leftmargini
-\setlength\leftmarginii {\parindent}
+\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}
@@ -650,163 +632,163 @@
 \renewcommand\p@enumii{\theenumi}
 \renewcommand\p@enumiii{\theenumi(\theenumii)}
 \renewcommand\p@enumiv{\p@enumiii\theenumiii}
-\newcommand\labelitemi{\normalfont\bfseries --}
-\newcommand\labelitemii{\normalfont\bfseries --}
-\newcommand\labelitemiii{$\m@th\bullet$}
-\newcommand\labelitemiv{$\m@th\cdot$}
-
-% redefinition of the "\newtheorem" command.
-%
-% Usage now:
-%
-%     \newtheorem{env_nam}{caption}[within]{cap_font}{body_font}
-% or  \newtheorem{env_nam}[numbered_like]{caption}{cap_font}{body_font}
-% or  \newtheorem*{env_nam}{caption}{cap_font}{body_font}
-%
-% New is "cap_font" and "body_font". It stands for
-% fontdefinition of the caption and the text itself.
-%
-% "\newtheorem*" gives a theorem without number.
-%
-% A defined newthoerem environment is used as described
-% by Lamport.
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\def\@thmcountersep{}
-\def\@thmcounterend{.}
-
-\def\newtheorem{\@ifstar{\@sthm}{\@Sthm}}
-
-% definition of \newtheorem with number
-
-\def\@Sthm#1{\@ifnextchar[{\@othm{#1}}{\@nthm{#1}}}
-
-\def\@xnthm#1#2[#3]#4#5{\expandafter\@ifdefinable\csname #1\endcsname
-   {\@definecounter{#1}\@addtoreset{#1}{#3}%
-   \expandafter\xdef\csname the#1\endcsname{\expandafter\noexpand
-     \csname the#3\endcsname \noexpand\@thmcountersep \@thmcounter{#1}}%
-   \expandafter\xdef\csname #1name\endcsname{#2}%
-   \global\@namedef{#1}{\@thm{#1}{\csname #1name\endcsname}{#4}{#5}}%
-                              \global\@namedef{end#1}{\@endtheorem}}}
-
-\def\@ynthm#1#2#3#4{\expandafter\@ifdefinable\csname #1\endcsname
-   {\@definecounter{#1}%
-   \expandafter\xdef\csname the#1\endcsname{\@thmcounter{#1}}%
-   \expandafter\xdef\csname #1name\endcsname{#2}%
-   \global\@namedef{#1}{\@thm{#1}{\csname #1name\endcsname}{#3}{#4}}%
-                               \global\@namedef{end#1}{\@endtheorem}}}
-
-\def\@othm#1[#2]#3#4#5{%
-  \@ifundefined{c@#2}{\@latexerr{No theorem environment `#2'
-  defined}\@eha}%
-  {\expandafter\@ifdefinable\csname #1\endcsname
-  {\global\@namedef{the#1}{\@nameuse{the#2}}%
-  \expandafter\xdef\csname #1name\endcsname{#3}%
-  \global\@namedef{#1}{\@thm{#2}{\csname #1name\endcsname}{#4}{#5}}%
-  \global\@namedef{end#1}{\@endtheorem}}}}
-
-\def\@thm#1#2#3#4{\refstepcounter
-    {#1}\@ifnextchar[{\@ythm{#1}{#2}{#3}{#4}}{\@xthm{#1}{#2}{#3}{#4}}}
-
-\def\@xthm#1#2#3#4{\@begintheorem{#2}{\csname the#1\endcsname}{#3}{#4}%
-                    \ignorespaces}
-
-\def\@ythm#1#2#3#4[#5]{\@opargbegintheorem{#2}{\csname
-       the#1\endcsname}{#5}{#3}{#4}\ignorespaces}
-
-\def\@begintheorem#1#2#3#4{\trivlist
-                 \item[\hskip\labelsep{#3#1\ #2\@thmcounterend}]#4}
-
-\def\@opargbegintheorem#1#2#3#4#5{\trivlist
-      \item[\hskip\labelsep{#4#1\ #2\ (#3)\@thmcounterend}]#5}
-
-% definition of \newtheorem* without number
-
-\def\@sthm#1#2{\@Ynthm{#1}{#2}}
-
-\def\@Ynthm#1#2#3#4{\expandafter\@ifdefinable\csname #1\endcsname
-   {\global\@namedef{#1}{\@Thm{\csname #1name\endcsname}{#3}{#4}}%
-    \expandafter\xdef\csname #1name\endcsname{#2}%
-    \global\@namedef{end#1}{\@endtheorem}}}
-
-\def\@Thm#1#2#3{\@ifnextchar[{\@Ythm{#1}{#2}{#3}}{\@Xthm{#1}{#2}{#3}}}
-
-\def\@Xthm#1#2#3{\@Begintheorem{#1}{#2}{#3}\ignorespaces}
+\newcommand\labelitemi{\textbullet}
+\newcommand\labelitemii{\normalfont\bfseries \textendash}
+\newcommand\labelitemiii{\textasteriskcentered}
+\newcommand\labelitemiv{\textperiodcentered}
+\newenvironment{description}
+               {\list{}{\labelwidth\z@ \itemindent-\leftmargin
+                        \let\makelabel\descriptionlabel}}
+               {\endlist}
+\newcommand*\descriptionlabel[1]{\hspace\labelsep
+                                \normalfont\bfseries #1}

-\def\@Ythm#1#2#3[#4]{\@Opargbegintheorem{#1}
-       {#4}{#2}{#3}\ignorespaces}
+\newbox\boxH
+\newbox\boxHrunin

-\def\@Begintheorem#1#2#3{#3\trivlist
-                           \item[\hskip\labelsep{#2#1\@thmcounterend}]}
+\let\enddescription\endlist

-\def\@Opargbegintheorem#1#2#3#4{#4\trivlist
-      \item[\hskip\labelsep{#3#1\ (#2)\@thmcounterend}]}
+\newenvironment{UL}{\TEN\begin{list}{}{%
+ \topsep=12pt plus 3pt minus 3pt
+ \partopsep=0pt
+ \itemsep=0pt
+ \parsep=0pt
+ \labelsep=0pt %%5pt
+ \labelwidth=0pt
+ \leftmargin=10pt
+ \itemindent=-10pt
+ \rightmargin=0pt
+ \listparindent=0pt}}{\end{list}}%
+
+\newenvironment{NLh}[1]{%
+ \setbox\boxH=\hbox{{\rm #1}}%
+ \begin{list}{\TEN\rm{\arabic{enumii}.}}{%
+ \usecounter{enumii}
+ \topsep=9pt plus 3pt minus 3pt
+ \partopsep=0pt
+ \itemsep=0pt
+ \parsep=0pt
+ \labelsep=5pt
+ \labelwidth=\wd\boxH
+ \leftmargin=\labelwidth
+ \advance\leftmargin\labelsep
+ \rightmargin=0pt
+ \listparindent=0em
+ \itemindent 0pt}}{\end{list}}%
+
+%\def\KluwerBullet{\raise0.95pt\hbox{\egt\bf\char"0F}}
+
+\def\LM{\leavevmode }
+\newenvironment{BL}{%
+ \begin{list}{\LM\lower0.6pt\hbox{$\bullet$}}{%
+ \topsep=6pt plus 3pt minus 2pt
+ \partopsep=0pt
+ \itemsep=6pt %2pt
+ \parsep=0pt
+ \labelsep=12pt
+ \labelwidth=4.5pt
+ \rightmargin=0pt
+ \listparindent=0pt
+ \itemindent=0pt %=\leftmargin
+ \leftmargin=16pt}}{\end{list}}%
+
+\def\sectiona#1{\vskip 12pt
+\noindent\begin{tabular}{@{}l}
+\\[-9.5pt]
+\rule{19.5pc}{.25pt}\\
+{\fontsize{9}{11}\selectfont\bfseries #1}\\[-5.5pt]
+\rule{19.5pc}{.25pt}\\[5pt]
+\end{tabular}}
+
+\def\NONUMBIB{%
+\def\thebibliography##1{%
+    \par{\sectiona{\REFERENCES\HD{6}{6}}}%
+    \list{}{\settowidth\labelwidth{##1}
+    \setlength{\topsep}{0pt}
+    \labelsep 0pt\labelwidth 0pt
+    \leftmargin=24pt
+     \itemindent-24pt
+    \itemsep 0pt
+    \def\bibitem{\item\NINE
+     \baselineskip11pt plus 2pt minus 2pt\relax}}
+    \def\newblock{\hskip .11em plus .33em minus .07em}
+    \sloppy\clubpenalty4000\widowpenalty4000
+    \sfcode`\.=1000\relax}}
+
+\NONUMBIB % <-- default
+
+%\def\NUMBIB{\def\@biblabel##1{\bf ##1}%
+%\def\thebibliography##1{%
+%  \par{\sectiona{REFERENCES\HD{0}{0}}\vs{-8}}%
+%  \list
+%  {\@biblabel{\arabic{enumiv}}}{\NINE
+%    \baselineskip 10pt plus 0.3pt minus 0.25pt\relax
+%    \settowidth\labelwidth{\@biblabel{##1}}%
+%    \leftmargin\labelwidth
+%    \advance\leftmargin\labelsep
+%    \usecounter{enumiv}%
+%    \let\p@enumiv\@empty
+%    \labelsep 10pt\labelwidth 13.5pt
+%    \leftmargin = 21pt
+%    \itemsep  2pt
+%     \itemindent0pt
+%    \parskip4pt\topsep4pt
+%    \def\theenumiv{\arabic{enumiv}}}%
+%    \def\newblock{\hskip .11em plus.33em minus.07em}%
+%    \sloppy\clubpenalty4000\widowpenalty4000
+%    \sfcode`\.=1000\relax
+%    \parsep0pt}}
+
+\def\SECRR{\rightskip2pc plus 18pc\relax}
+
+\def\firstsection#1{\vskip 12pt
+\noindent\begin{tabular}{@{}l}
+\\[-44pt]
+\rule{19.5pc}{.25pt}\\
+{\fontsize{9}{11}\selectfont\bfseries #1}\\[-5pt]
+\rule{19.5pc}{.25pt}\\[-24pt]
+\end{tabular}
+}

-% definition of divers theorem environments
+\def\fs{\firstsection}

-\if@envcntsect
-   \def\@thmcountersep{.}
-   \newtheorem{theorem}{Theorem}[section]{\bf}{\it}
-\else
-   \newtheorem{theorem}{Theorem}{\bf}{\it}
-   \if@envcntreset
-      \@addtoreset{theorem}{section}
-   \else
-      \@addtoreset{theorem}{chapter}
-   \fi
+%\def\section#1{\vskip 12pt
+%    \ifnum \c@secnumdepth >\m@ne
+%\stepcounter{section}
+%\addcontentsline{toc}{section}{\thesection\hspace{1em}#1}%
+%    \else
+%      \addcontentsline{toc}{section}{#1}%
+%    \fi
+%\noindent\begin{tabular}{@{}l}
+%\\[-9.5pt]
+%\rule{19.5pc}{.25pt}\\
+%{\fontsize{9}{11}\selectfont\bfseries \thesection\enskip #1}\\[-5.5pt]
+%\rule{19.5pc}{.25pt}\\[5pt]
+%\end{tabular}}
+
+\if@titlepage
+%  \newenvironment{abstract}{%
+%      \titlepage
+%      \null\vfil
+%      \@beginparpenalty\@lowpenalty
+%      \begin{center}%
+%        \bfseries \abstractname
+%        \@endparpenalty\@M
+%      \end{center}}%
+%     {\par\vfil\null\endtitlepage}
+%\else
+%  \newenvironment{abstract}{%
+%      \if@twocolumn
+%        \section*{\abstractname}%
+%      \else
+%        \small
+%        \begin{center}%
+%          {\bfseries \abstractname\vspace{-.5em}\vspace{\z@}}%
+%        \end{center}%
+%        \quotation
+%      \fi}
+%      {\if@twocolumn\else\endquotation\fi}
 \fi
-\newtheorem*{proof}{Proof}{\it}{\rm}
-\newtheorem{corollary}[theorem]{Corollary}{\bf}{\it}
-\newtheorem{definition}[theorem]{Definition}{\bf}{\rm}
-\newtheorem{example}[theorem]{Example}{\it}{\rm}
-\newtheorem{exercise}[theorem]{Exercise}{\it}{\rm}
-\newtheorem{lemma}[theorem]{Lemma}{\bf}{\it}
-\newtheorem{note}[theorem]{Note}{\it}{\rm}
-\newtheorem{problem}[theorem]{Problem}{\it}{\rm}
-\newtheorem{proposition}[theorem]{Proposition}{\bf}{\it}
-\newtheorem{question}[theorem]{Question}{\it}{\rm}
-\newtheorem{remark}[theorem]{Remark}{\it}{\rm}
-\newtheorem{solution}[theorem]{Solution}{\it}{\rm}
-
-\def\@takefromreset#1#2{%
-    \def\@tempa{#1}%
-    \let\@tempd\@elt
-    \def\@elt##1{%
-        \def\@tempb{##1}%
-        \ifx\@tempa\@tempb\else
-            \@addtoreset{##1}{#2}%
-        \fi}%
-    \expandafter\expandafter\let\expandafter\@tempc\csname cl@#2\endcsname
-    \expandafter\def\csname cl@#2\endcsname{}%
-    \@tempc
-    \let\@elt\@tempd}
-
-\def\theopargself{\def\@opargbegintheorem##1##2##3##4##5{\trivlist
-      \item[\hskip\labelsep{##4##1\ ##2\ ##3}]##5}
-                  \def\@Opargbegintheorem##1##2##3##4{##4\trivlist
-      \item[\hskip\labelsep{##3##1\ ##2}]}
-      }
-
-\def\squareforqed{\hbox{\rlap{$\sqcap$}$\sqcup$}}
-\def\qed{\ifmmode\else\unskip\quad\fi\squareforqed}
-%\def\qed{\ifmmode\squareforqed\else{\unskip\nobreak\hfil
-%\penalty50\hskip1em\null\nobreak\hfil\squareforqed
-%\parfillskip=0pt\finalhyphendemerits=0\endgraf}\fi}
-
-% Define `abstract' environment
-\def\abstract{\topsep=0pt\partopsep=0pt\parsep=0pt\itemsep=0pt\relax
-\trivlist\item[\hskip\labelsep
-{\bf\abstractname}]\if!\abstractname!\hskip-\labelsep\fi}
-\def\endabstract{\endtrivlist\addvspace{5mm}}          % \strich}  %AW
-\def\strich{\hrule\vskip3ptplus12pt\null}
-%
-% Define \acknowledgements
-
-\def\acknowledgements{\par\addvspace{6pt}\small\rm
-\trivlist\item[\hskip\labelsep{\em Acknowledgements.\/}]}
-\def\endacknowledgements{\endtrivlist\addvspace{6pt}}
-%
 \newenvironment{verse}
                {\let\\\@centercr
                 \list{}{\itemsep      \z@
@@ -858,26 +840,10 @@
     }
 \fi
 \newcommand\appendix{\par
-  \def\sectcounterend{}%
   \setcounter{section}{0}%
   \setcounter{subsection}{0}%
-  \setcounter{figure}{0}%
-  \setcounter{table}{0}%
-  \renewcommand\thesection{Appendix \@Alph\c@section:}%
-  \renewcommand\thesubsection{\@Alph\c@section.\@arabic\c@subsection.}%
-  \renewcommand\thesubsubsection{\thesubsection\@arabic\c@subsubsection.}%
-  \renewcommand\theequation{\@Alph\c@section\@arabic\c@equation}%
-  \renewcommand\thefigure{\@Alph\c@section\@arabic\c@figure}%
-  \renewcommand\thetable{\@Alph\c@section\@arabic\c@table}%
-  \@addtoreset{equation}{section}%
-  \@addtoreset{figure}{section}%
-  \@addtoreset{table}{section}%
-  \def\subfigures{\stepcounter{figure}\setcounter{auth}{\value{figure}}%
-  \setcounter{figure}{0}%
-  \def\thefigure{\@Alph\c@section\@arabic\c@auth\alph{figure}}%
-  \def\resetsubfig{\setcounter{figure}{\value{auth}}}}}
-%
-\setlength\arraycolsep{2.5\p@}
+  \renewcommand\thesection{\@Alph\c@section}}
+\setlength\arraycolsep{5\p@}
 \setlength\tabcolsep{6\p@}
 \setlength\arrayrulewidth{.4\p@}
 \setlength\doublerulesep{2\p@}
@@ -891,17 +857,13 @@
 \def\fps@figure{tbp}
 \def\ftype@figure{1}
 \def\ext@figure{lof}
-\def\fnum@figure{\figurename\,\thefigure}
+\def\fnum@figure{\figurename~\thefigure}
 \newenvironment{figure}
                {\@float{figure}}
-               {\resetsubfig\end@float}
+               {\end@float}
 \newenvironment{figure*}
                {\@dblfloat{figure}}
-               {\resetsubfig\end@dblfloat}
-\let\resetsubfig\relax
-\def\subfigures{\stepcounter{figure}\setcounter{auth}{\value{figure}}%
-\setcounter{figure}{0}\def\thefigure{\@arabic\c@auth\alph{figure}}%
-\def\resetsubfig{\setcounter{figure}{\value{auth}}}}
+               {\end@dblfloat}
 \newcounter{table}
 \renewcommand\thetable{\@arabic\c@table}
 \def\fps@table{tbp}
@@ -914,62 +876,20 @@
 \newenvironment{table*}
                {\@dblfloat{table}}
                {\end@dblfloat}
-
-\def \@floatboxreset {%
-        \reset@font
-        \small
-        \@setnobreak
-        \@setminipage
-}
-
 \newlength\abovecaptionskip
 \newlength\belowcaptionskip
 \setlength\abovecaptionskip{10\p@}
 \setlength\belowcaptionskip{0\p@}
-\newcommand\leftlegendglue{}
-
-\def\fig@type{figure}
-
-\newdimen\figcapgap\figcapgap=3pt
-\newdimen\tabcapgap\tabcapgap=5.5pt
-
-\@ifundefined{floatlegendstyle}{\def\floatlegendstyle{\bf}}{}
-\def\floatcounterend{.}
-
-\long\def\@caption#1[#2]#3{\par\addcontentsline{\csname
-  ext@#1\endcsname}{#1}{\protect\numberline{\csname
-  the#1\endcsname}{\ignorespaces #2}}\begingroup
-    \@parboxrestore
-    \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par
-  \endgroup}
-
-\def\capstrut{\vrule\@width\z@\@height\topskip}
-
 \long\def\@makecaption#1#2{%
- \ifx\@captype\fig@type
-   \vskip\figcapgap
-   \setbox\@tempboxa\hbox{{\floatlegendstyle #1\floatcounterend}
-   \capstrut #2}%
+  \vskip\abovecaptionskip
+  \sbox\@tempboxa{#1: #2}%
    \ifdim \wd\@tempboxa >\hsize
-     {\floatlegendstyle #1\floatcounterend} \capstrut #2\par
+    #1: #2\par
    \else
-     \hbox to\hsize{\leftlegendglue\unhbox\@tempboxa\hfil}%
+    \global \@minipagefalse
+    \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
    \fi
- \else
-   {\floatlegendstyle #1\floatcounterend} \capstrut #2\par
-   \vskip\tabcapgap
- \fi}
-% Define `abstract' environment
-\def\acknowledgement{\par\addvspace{17pt}\small\rm
-\trivlist\item[\hskip\labelsep
-{\it\ackname}]}
-\def\endacknowledgement{\endtrivlist\addvspace{6pt}}
-% Define `noteadd' environment
-\def\noteadd{\par\addvspace{17pt}\small\rm
-\trivlist\item[\hskip\labelsep
-{\it\noteaddname}]}
-\def\endnoteadd{\endtrivlist\addvspace{6pt}}
-
+  \vskip\belowcaptionskip}
 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
@@ -994,7 +914,6 @@
     \addpenalty\@secpenalty
     \addvspace{2.25em \@plus\p@}%
     \begingroup
-      \setlength\@tempdima{3em}%
       \parindent \z@ \rightskip \@pnumwidth
       \parfillskip -\@pnumwidth
       {\leavevmode
@@ -1039,21 +958,22 @@
     }
 \let\l@table\l@figure
 \newdimen\bibindent
-\setlength\bibindent{\parindent}
-\def\@biblabel#1{}
-\def\@cite#1#2{{#1\if@tempswa , #2\fi}}
-\newenvironment{thebibliography}[1]
-     {\section*{\refname
-        \@mkboth{\refname}{\refname}}\small
+\setlength\bibindent{1.5em}
+\renewenvironment{thebibliography}[1]
+     {\sectiona{\refname
+        \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}}%
       \list{\@biblabel{\@arabic\c@enumiv}}%
            {\settowidth\labelwidth{\@biblabel{#1}}%
-           \leftmargin\bibindent
-           \setlength{\itemindent}{-\leftmargin}
+            \leftmargin\labelwidth
+            \advance\leftmargin\labelsep
            \@openbib@code
            \usecounter{enumiv}%
            \let\p@enumiv\@empty
            \renewcommand\theenumiv{\@arabic\c@enumiv}}%
-      \sloppy\clubpenalty4000\widowpenalty4000%
+      \sloppy
+      \clubpenalty4000
+      \@clubpenalty \clubpenalty
+      \widowpenalty4000%
       \sfcode`\.\@m}
      {\def\@noitemerr
        {\@latex@warning{Empty `thebibliography' environment}}%
@@ -1084,238 +1004,146 @@
   \hrule\@width.4\columnwidth
   \kern2.6\p@}
 \newcommand\@makefntext[1]{%
+    \parindent 1em%
     \noindent
-    \hb@xt@\bibindent{\hss\@makefnmark\enspace}#1}
-%
+    \hb@xt@1.8em{\hss\@makefnmark}#1}
+\providecommand\bibsection{}
+  {\renewcommand\bibsection{\sectiona{\refname
+    \@mkboth{\MakeUppercase{\refname}}{\MakeUppercase{\refname}}}}}
 \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.}
-\newcommand\ackname{Acknowledgements.}
-\newcommand\noteaddname{Note added in proof}
-\newcommand\today{}
-\edef\today{\ifcase\month\or
+%\newcommand\abstractname{Abstract}
+\def\today{\ifcase\month\or
   January\or February\or March\or April\or May\or June\or
   July\or August\or September\or October\or November\or December\fi
   \space\number\day, \number\year}
-\setlength\columnsep{4mm}
+\setlength\columnsep{10\p@}
 \setlength\columnseprule{0\p@}
-\frenchspacing
-\clubpenalty=10000
-\widowpenalty=10000
-\def\thisbottomragged{\def\@textbottom{\vskip\z@ plus.0001fil
-\global\let\@textbottom\relax}}
-\pagestyle{headings}
+\pagestyle{plain}
 \pagenumbering{arabic}
-\if@referee
-  \setlength{\textwidth}{0.75\textwidth}
-  \def\baselinestretch{1.0}   % AW
-  \let\AALogo\relax
-  \onecolumn
-\else
+\if@twocolumn
   \twocolumn
-\fi
-%\sloppy
+  \sloppy
 \flushbottom
-\def\squareforqed{\hbox{\rlap{$\sqcap$}$\sqcup$}}
-\def\sq{\ifmmode\squareforqed\else{\unskip\nobreak\hfil
-\penalty50\hskip1em\null\nobreak\hfil\squareforqed
-\parfillskip=0pt\finalhyphendemerits=0\endgraf}\fi}
-
-\def\sun{\hbox{$\odot$}}
-\def\la{\mathrel{\mathchoice {\vcenter{\offinterlineskip\halign{\hfil
-$\displaystyle##$\hfil\cr<\cr\sim\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\textstyle##$\hfil\cr
-<\cr\sim\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\scriptstyle##$\hfil\cr
-<\cr\sim\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\scriptscriptstyle##$\hfil\cr
-<\cr\sim\cr}}}}}
-\def\ga{\mathrel{\mathchoice {\vcenter{\offinterlineskip\halign{\hfil
-$\displaystyle##$\hfil\cr>\cr\sim\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\textstyle##$\hfil\cr
->\cr\sim\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\scriptstyle##$\hfil\cr
->\cr\sim\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\scriptscriptstyle##$\hfil\cr
->\cr\sim\cr}}}}}
-\def\degr{\hbox{$^\circ$}}
-\def\arcmin{\hbox{$^\prime$}}
-\def\arcsec{\hbox{$^{\prime\prime}$}}
-\def\utw{\smash{\rlap{\lower5pt\hbox{$\sim$}}}}
-\def\udtw{\smash{\rlap{\lower6pt\hbox{$\approx$}}}}
-\def\fd{\hbox{$.\!\!^{\rm d}$}}
-\def\fh{\hbox{$.\!\!^{\rm h}$}}
-\def\fm{\hbox{$.\!\!^{\rm m}$}}
-\def\fs{\hbox{$.\!\!^{\rm s}$}}
-\def\fdg{\hbox{$.\!\!^\circ$}}
-\def\farcm{\hbox{$.\mkern-4mu^\prime$}}
-\def\farcs{\hbox{$.\!\!^{\prime\prime}$}}
-\def\fp{\hbox{$.\!\!^{\scriptscriptstyle\rm p}$}}
-\def\cor{\mathrel{\mathchoice {\hbox{$\widehat=$}}{\hbox{$\widehat=$}}
-{\hbox{$\scriptstyle\hat=$}}
-{\hbox{$\scriptscriptstyle\hat=$}}}}
-\def\sol{\mathrel{\mathchoice {\vcenter{\offinterlineskip\halign{\hfil
-$\displaystyle##$\hfil\cr\sim\cr<\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\textstyle##$\hfil\cr\sim\cr
-<\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\scriptstyle##$\hfil\cr\sim\cr
-<\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\scriptscriptstyle##$\hfil\cr
-\sim\cr<\cr}}}}}
-\def\sog{\mathrel{\mathchoice {\vcenter{\offinterlineskip\halign{\hfil
-$\displaystyle##$\hfil\cr\sim\cr>\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\textstyle##$\hfil\cr\sim\cr
->\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\scriptstyle##$\hfil\cr
-\sim\cr>\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\scriptscriptstyle##$\hfil\cr
-\sim\cr>\cr}}}}}
-\def\lse{\mathrel{\mathchoice {\vcenter{\offinterlineskip\halign{\hfil
-$\displaystyle##$\hfil\cr<\cr\simeq\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\textstyle##$\hfil\cr
-<\cr\simeq\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\scriptstyle##$\hfil\cr
-<\cr\simeq\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\scriptscriptstyle##$\hfil\cr
-<\cr\simeq\cr}}}}}
-\def\gse{\mathrel{\mathchoice {\vcenter{\offinterlineskip\halign{\hfil
-$\displaystyle##$\hfil\cr>\cr\simeq\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\textstyle##$\hfil\cr
->\cr\simeq\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\scriptstyle##$\hfil\cr
->\cr\simeq\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\scriptscriptstyle##$\hfil\cr
->\cr\simeq\cr}}}}}
-\def\grole{\mathrel{\mathchoice {\vcenter{\offinterlineskip\halign{\hfil
-$\displaystyle##$\hfil\cr>\cr\noalign{\vskip-1.5pt}<\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\textstyle##$\hfil\cr
->\cr\noalign{\vskip-1.5pt}<\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\scriptstyle##$\hfil\cr
->\cr\noalign{\vskip-1pt}<\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\scriptscriptstyle##$\hfil\cr
->\cr\noalign{\vskip-0.5pt}<\cr}}}}}
-\def\leogr{\mathrel{\mathchoice {\vcenter{\offinterlineskip\halign{\hfil
-$\displaystyle##$\hfil\cr<\cr\noalign{\vskip-1.5pt}>\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\textstyle##$\hfil\cr
-<\cr\noalign{\vskip-1.5pt}>\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\scriptstyle##$\hfil\cr
-<\cr\noalign{\vskip-1pt}>\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\scriptscriptstyle##$\hfil\cr
-<\cr\noalign{\vskip-0.5pt}>\cr}}}}}
-\def\loa{\mathrel{\mathchoice {\vcenter{\offinterlineskip\halign{\hfil
-$\displaystyle##$\hfil\cr<\cr\approx\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\textstyle##$\hfil\cr
-<\cr\approx\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\scriptstyle##$\hfil\cr
-<\cr\approx\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\scriptscriptstyle##$\hfil\cr
-<\cr\approx\cr}}}}}
-\def\goa{\mathrel{\mathchoice {\vcenter{\offinterlineskip\halign{\hfil
-$\displaystyle##$\hfil\cr>\cr\approx\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\textstyle##$\hfil\cr
->\cr\approx\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\scriptstyle##$\hfil\cr
->\cr\approx\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\scriptscriptstyle##$\hfil\cr
->\cr\approx\cr}}}}}
-\def\diameter{{\ifmmode\mathchoice
-{\ooalign{\hfil\hbox{$\displaystyle/$}\hfil\crcr
-{\hbox{$\displaystyle\mathchar"20D$}}}}
-{\ooalign{\hfil\hbox{$\textstyle/$}\hfil\crcr
-{\hbox{$\textstyle\mathchar"20D$}}}}
-{\ooalign{\hfil\hbox{$\scriptstyle/$}\hfil\crcr
-{\hbox{$\scriptstyle\mathchar"20D$}}}}
-{\ooalign{\hfil\hbox{$\scriptscriptstyle/$}\hfil\crcr
-{\hbox{$\scriptscriptstyle\mathchar"20D$}}}}
-\else{\ooalign{\hfil/\hfil\crcr\mathhexbox20D}}%
-\fi}}
-
-\def\getsto{\mathrel{\mathchoice {\vcenter{\offinterlineskip
-\halign{\hfil
-$\displaystyle##$\hfil\cr\gets\cr\to\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\textstyle##$\hfil\cr\gets
-\cr\to\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\scriptstyle##$\hfil\cr\gets
-\cr\to\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\scriptscriptstyle##$\hfil\cr
-\gets\cr\to\cr}}}}}
-\def\lid{\mathrel{\mathchoice {\vcenter{\offinterlineskip\halign{\hfil
-$\displaystyle##$\hfil\cr<\cr\noalign{\vskip1.2pt}=\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\textstyle##$\hfil\cr<\cr
-\noalign{\vskip1.2pt}=\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\scriptstyle##$\hfil\cr<\cr
-\noalign{\vskip1pt}=\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\scriptscriptstyle##$\hfil\cr
-<\cr
-\noalign{\vskip0.9pt}=\cr}}}}}
-\def\gid{\mathrel{\mathchoice {\vcenter{\offinterlineskip\halign{\hfil
-$\displaystyle##$\hfil\cr>\cr\noalign{\vskip1.2pt}=\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\textstyle##$\hfil\cr>\cr
-\noalign{\vskip1.2pt}=\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\scriptstyle##$\hfil\cr>\cr
-\noalign{\vskip1pt}=\cr}}}
-{\vcenter{\offinterlineskip\halign{\hfil$\scriptscriptstyle##$\hfil\cr
->\cr
-\noalign{\vskip0.9pt}=\cr}}}}}
-\def\bbbr{{\rm I\!R}} %reelle Zahlen
-\def\bbbm{{\rm I\!M}}
-\def\bbbn{{\rm I\!N}} %natuerliche Zahlen
-\def\bbbf{{\rm I\!F}}
-\def\bbbh{{\rm I\!H}}
-\def\bbbk{{\rm I\!K}}
-\def\bbbp{{\rm I\!P}}
-\def\bbbone{{\mathchoice {\rm 1\mskip-4mu l} {\rm 1\mskip-4mu l}
-{\rm 1\mskip-4.5mu l} {\rm 1\mskip-5mu l}}}
-\def\bbbc{{\mathchoice {\setbox0=\hbox{$\displaystyle\rm C$}\hbox{\hbox
-to0pt{\kern0.4\wd0\vrule height0.9\ht0\hss}\box0}}
-{\setbox0=\hbox{$\textstyle\rm C$}\hbox{\hbox
-to0pt{\kern0.4\wd0\vrule height0.9\ht0\hss}\box0}}
-{\setbox0=\hbox{$\scriptstyle\rm C$}\hbox{\hbox
-to0pt{\kern0.4\wd0\vrule height0.9\ht0\hss}\box0}}
-{\setbox0=\hbox{$\scriptscriptstyle\rm C$}\hbox{\hbox
-to0pt{\kern0.4\wd0\vrule height0.9\ht0\hss}\box0}}}}
-\def\bbbq{{\mathchoice {\setbox0=\hbox{$\displaystyle\rm
-Q$}\hbox{\raise
-0.15\ht0\hbox to0pt{\kern0.4\wd0\vrule height0.8\ht0\hss}\box0}}
-{\setbox0=\hbox{$\textstyle\rm Q$}\hbox{\raise
-0.15\ht0\hbox to0pt{\kern0.4\wd0\vrule height0.8\ht0\hss}\box0}}
-{\setbox0=\hbox{$\scriptstyle\rm Q$}\hbox{\raise
-0.15\ht0\hbox to0pt{\kern0.4\wd0\vrule height0.7\ht0\hss}\box0}}
-{\setbox0=\hbox{$\scriptscriptstyle\rm Q$}\hbox{\raise
-0.15\ht0\hbox to0pt{\kern0.4\wd0\vrule height0.7\ht0\hss}\box0}}}}
-\def\bbbt{{\mathchoice {\setbox0=\hbox{$\displaystyle\rm
-T$}\hbox{\hbox to0pt{\kern0.3\wd0\vrule height0.9\ht0\hss}\box0}}
-{\setbox0=\hbox{$\textstyle\rm T$}\hbox{\hbox
-to0pt{\kern0.3\wd0\vrule height0.9\ht0\hss}\box0}}
-{\setbox0=\hbox{$\scriptstyle\rm T$}\hbox{\hbox
-to0pt{\kern0.3\wd0\vrule height0.9\ht0\hss}\box0}}
-{\setbox0=\hbox{$\scriptscriptstyle\rm T$}\hbox{\hbox
-to0pt{\kern0.3\wd0\vrule height0.9\ht0\hss}\box0}}}}
-\def\bbbs{{\mathchoice
-{\setbox0=\hbox{$\displaystyle     \rm S$}\hbox{\raise0.5\ht0\hbox
-to0pt{\kern0.35\wd0\vrule height0.45\ht0\hss}\hbox
-to0pt{\kern0.55\wd0\vrule height0.5\ht0\hss}\box0}}
-{\setbox0=\hbox{$\textstyle        \rm S$}\hbox{\raise0.5\ht0\hbox
-to0pt{\kern0.35\wd0\vrule height0.45\ht0\hss}\hbox
-to0pt{\kern0.55\wd0\vrule height0.5\ht0\hss}\box0}}
-{\setbox0=\hbox{$\scriptstyle      \rm S$}\hbox{\raise0.5\ht0\hbox
-to0pt{\kern0.35\wd0\vrule height0.45\ht0\hss}\raise0.05\ht0\hbox
-to0pt{\kern0.5\wd0\vrule height0.45\ht0\hss}\box0}}
-{\setbox0=\hbox{$\scriptscriptstyle\rm S$}\hbox{\raise0.5\ht0\hbox
-to0pt{\kern0.4\wd0\vrule height0.45\ht0\hss}\raise0.05\ht0\hbox
-to0pt{\kern0.55\wd0\vrule height0.45\ht0\hss}\box0}}}}
-\def\bbbz{{\mathchoice {\hbox{$\sf\textstyle Z\kern-0.4em Z$}}
-{\hbox{$\sf\textstyle Z\kern-0.4em Z$}}
-{\hbox{$\sf\scriptstyle Z\kern-0.3em Z$}}
-{\hbox{$\sf\scriptscriptstyle Z\kern-0.2em Z$}}}}
-\def\ts{\thinspace}
+\else
+\fi
+
+\newdimen\markwidth
+\newdimen\blth
+\newdimen\marklength
+\newdimen\markdistance
+\newdimen\trimwidth
+\newdimen\trimheight
+\newdimen\auxaaa
+\newdimen\auxbbb
+\newdimen\auxccc
+\newdimen\auxddd
+
+\long\def\koo#1#2#3{\vbox to0pt{\hsize0pt\kern #2\hbox to0pt{\kern
+#1{#3}\hss}\vss}}
+\long\def\zeroCC#1{\vbox to0pt{\vss\hbox to0pt{\hss #1\hss}\vss}}
+\long\def\zeroLC#1{\vbox to0pt{\vss\hbox to0pt{\hss #1\hss}}}
+\long\def\zeroUC#1{\vbox to0pt{\hbox to0pt{\hss #1\hss}\vss}}
+\long\def\zeroLR#1{\vbox to0pt{\vss\hbox to0pt{\hss #1}}}
+\long\def\zeroLL#1{\vbox to0pt{\vss\hbox to0pt{#1\hss}}}
+\long\def\zeroUR#1{\vbox to0pt{\hbox to0pt{\hss #1}\vss}}
+\long\def\zeroUL#1{\vbox to0pt{\hbox to0pt{#1\hss}\vss}}
+\long\def\zeroCL#1{\vbox to0pt{\vss\hbox to0pt{#1\hss}\vss}}
+\long\def\zeroCR#1{\vbox to0pt{\vss\hbox to0pt{\hss #1}\vss}}
+
+\markwidth=.5pt %0.4 truept % Thickness of the mark line
+\blth=0.2pt
+\marklength=20 truept % Length of the mark line
+\markdistance=3 truept % Distance of the real corner to the beg. of the mark
+%%% \trimwidth=\textwidth+\oddsidemargin+\evensidemargin
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\auxaaa\marklength\advance\auxaaa\markdistance
+\def\oddevenswitch{\ifodd\c@page \auxbbb=\oddsidemargin
+ \else\auxbbb=\evensidemargin\fi}%
+
+%%% First reset all page position parameters depending on the job:
+% \PagePositionCropYes - should be just for testing
+% \PagePositionCropNo  - should be the default behavior
+% \PagePositionBoxYes  - gives the page box for testing
+
+\def\PagePositionCropYes#1#2#3#4#5#6#7#8{%
+  \oddsidemargin=#1%  % [3] inner margin / gutter
+  \evensidemargin=#2% % [4] outside margin
+  \topmargin=#3%      % [5] \rhsink = \topmargin + \headheight (=12pt here)
+  \headheight=#4%     % [6] VERY IMPORTANT! (see above)
+  \trimwidth=#5%      % [7]
+  \trimheight=#6%     % [8]
+  \hoffset=#7%        % = -1in to move the area in the upper left corner
+  \voffset=#8%        % = -1in to move the area in the upper left corner
+%%%
+ \def\CROPMARKS{\oddevenswitch
+ \hbox to0pt{\kern-\auxbbb
+   \vbox to0bp{\kern-\topmargin\kern-\headheight
+   \hbox to\trimwidth{%
+     \koo{-\auxaaa}{-\markwidth}{\VRHDW{\markwidth}{0pt}{\marklength}}%
+     \koo{-\markwidth}{-\auxaaa}{\VRHDW{0pt}{\marklength}{\markwidth}}%
+     \hfill
+     \koo{\markdistance}{-\markwidth}{\VRHDW{\markwidth}{0pt}{\marklength}}%
+     \koo{0pt}{-\auxaaa}{\VRHDW{0pt}{\marklength}{\markwidth}}}%
+   \nointerlineskip\vskip\trimheight
+   \nointerlineskip
+   \hbox to\trimwidth{%
+     \koo{-\auxaaa}{0pt}{\VRHDW{0pt}{\markwidth}{\marklength}}%
+     \koo{-\markwidth}{\markdistance}{\VRHDW{0pt}{\marklength}{\markwidth}}%
+     \hfill
+     \koo{\markdistance}{0pt}{\VRHDW{0pt}{\markwidth}{\marklength}}%
+     \koo{0pt}{\markdistance}{\VRHDW{0pt}{\marklength}{\markwidth}}}%
+   \vss}\hss}}%
+}%
+
+\def\PagePositionCropNo#1#2#3#4#5#6#7#8{%
+  \oddsidemargin=#1%  % [3] inner margin / gutter
+  \evensidemargin=#2% % [4] outside margin
+  \topmargin=#3%      % [5] \rhsink = \topmargin + \headheight (=12pt here)
+  \headheight=#4%     % [6] VERY IMPORTANT! (see above)
+  \trimwidth=#5%      % [7]
+  \trimheight=#6%     % [8]
+  \hoffset=#7%        % = -1in to move the area in the upper left corner
+  \voffset=#8%        % = -1in to move the area in the upper left corner
+%%%
+\def\CROPMARKS{}%
+}%
+
+\def\PagePositionBoxYes#1#2#3#4#5#6#7#8{%
+  \oddsidemargin=#1%  % [3] inner margin / gutter
+  \evensidemargin=#2% % [4] outside margin
+  \topmargin=#3%      % [5] \rhsink = \topmargin + \headheight (=12pt here)
+  \headheight=#4%     % [6] VERY IMPORTANT! (see above)
+  \trimwidth=#5%      % [7]
+  \trimheight=#6%     % [8]
+  \hoffset=#7%        % = -1in to move the area in the upper left corner
+  \voffset=#8%        % = -1in to move the area in the upper left corner
+%%%
+ \def\CROPMARKS{\oddevenswitch
+ \hbox to0pt{\kern-\auxbbb
+   \vbox to0bp{\kern-\topmargin\kern-\headheight
+   \hbox to\trimwidth{%
+     \auxccc=\trimwidth \advance\auxccc by 2\blth
+     \auxddd=\trimheight \advance\auxddd by 2\blth
+     \koo{-\blth}{0pt}{\zeroLL{\VRHDW{\blth}{0pt}{\auxccc}}}%
+     \koo{-\blth}{-\blth}{\zeroUL{\VRHDW{\auxddd}{0pt}{\blth}}}%
+     \koo{\trimwidth}{-\blth}{\zeroUL{\VRHDW{\auxddd}{0pt}{\blth}}}%
+     \koo{-\blth}{\trimheight}{\zeroUL{\VRHDW{\blth}{0pt}{\auxccc}}}\hss}%
+   \vss}\hss}}%
+}%
+
+\textheight=696pt
+\textwidth=516pt
+\footskip 36pt
+
 \endinput
 %%
-%% End of file `aa.cls'.
+%% End of file `doublecol.cls'.

 

Close Window
 
  The service has been written by
Heinrich Stamerjohanns