arxmliv
arxmliv build tool
 
KWARC group
LaTeXML
About
   
 

Back to Homepage

--- /arXMLiv/repos/arXMLiv/trunk/sty/AISB2008.cls	2010-04-01 18:48:03.000000000 +0200
+++ /arXMLiv/repos/arXMLiv/trunk/sty/jcm.cls	2010-04-02 10:37:27.000000000 +0200
@@ -1,469 +1,383 @@
-% documentclass AISB2008
+%%
+%% This is file `jcm.cls',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% jcm.dtx  (with options: `class')
+%% TEST VERSION
+
+%%
+%% File `jcm.dtx'.
+%% Copyright 1997 David Carlisle
 %
-% AISB is using the ECAI format
+%SER Revision 1.5: homepage in \tt, with a line break before
 %
-
-% This file is an adaption of ecai98.cls. It provides the same style
-% as ecai98.cls but removes any footer.
-% ecai98.cls was created by merging the ECAI-96 document style with the
-% latex2e article class. It has inherited most of the features (and bugs)
-% of the ECAI-96 document style, but only promises to approximate that style.
-
-% For users without access to latex2e, a style file for latex209
-% is also available. This works with latex209 (but not with latex2e).
-
-% Both these style files are available via
-%   http://www.ai.univie.ac.at/ecai/latex
-
-% Authorship and copyright:
-% latex2e article.cls - copyright, the LaTeX3 project
-% latex2e size10.clo  - copyright, the LaTeX3 project
-% ecai96.sty          - based on original 209 aritcle style by Leslie
-%                       Lamport, successively modified by Oliver Ludwig,
-%                       Geeti Granger and Jenny Smith.
-% ecai98.cls          - copyright 1998, Roger Evans, University of
-%                       Brighton
-% ecai2000.cls        - copyright 2000, Werner Horn, Austrian Research
-%                       Institute for Artificial Intelligence
-% ecai2002.cls        - copyright 2002, Frank van Harmelen,
-%                       Vrije Universiteit Amsterdam,
-
-% This file is distributed in the hope that it will be useful,
-% but WITHOUT ANY WARRANTY; without even the implied warranty of
-% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-% This file is NOT SUPPORTED.
-% Comments or bugs may be reported to ecai2004@dsic.upv.es
-
-% ----------------------------------------------------------------------
-
-\ProvidesClass{AISB2008}
-              [2002/03/06 v01 ECAI-2004 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}
+%
+%%SER Revision 1.4: maths class nos updated to 2000; published date not italics
+%%
+%% $Id: jcm.dtx,v 1.3 1998/04/07 07:15:31 worrall Exp worrall $
+%%
+%% $Log: jcm.dtx,v $
+%% Revision 1.3  1998/04/07 07:15:31  worrall
+%% New version from DavidC
+%%
+%% Revision 1.2  1998/04/07 07:14:55  worrall
+%% Various 'Larry' tweaks
+%%
+%% Revision 1.1  1998/04/06 09:33:14  worrall
+%% Initial revision
+%%
+%%
+\NeedsTeXFormat{LaTeX2e}[1995/06/01]
+\ProvidesClass{jcm}
+          [1998/01/20 v0.06 LMS JCM class (DPC)]
+\def\JCM@err#1{\ClassError{jcm}{#1}\@eha}
+\def\JCM@warn#1{\ClassWarning{jcm}{#1}}
+\DeclareOption{10pt}{}
+\DeclareOption{11pt}{\JCM@warn{10pt used (not optional)}}
+\DeclareOption{12pt}{\JCM@warn{10pt used (not optional)}}
+\DeclareOption{oneside}{}
+\DeclareOption{twoside}{\JCM@warn{oneside used (not optional)}}
+\DeclareOption{twocolumn}{\JCM@warn{onecolumn used (not optional)}}
+\DeclareOption{onecolumn}{}
+\DeclareOption{a4paper}{\JCM@warn{Paper size option ignored}}
+\DeclareOption{letterpaper}{\JCM@warn{Paper size option ignored}}
+\DeclareOption{mathptm}{%
+  \def\JCM@fontencoding{T1}%
+  \def\JCM@fonts{\RequirePackage{times,mathptm}%
+                 \DeclareMathVersion{bold}}}
+\DeclareOption{mathtime}{%
+  \def\JCM@fontencoding{T1}%
+  \def\JCM@fonts{%
+    \RequirePackage[mtpluscal,mtbold,subscriptcorrection]{mathtime}}}
+\DeclareOption{cmfonts}{%
+  \def\JCM@fontencoding{OT1}%
+  \let\JCM@fonts\relax}
+\DeclareOption{cmsc}{%
+  \AtEndOfClass{%
+    \def\scshape{\usefont{OT1}{cmr}{m}{sc}}}}
+\DeclareOption{OT1}{\def\JCM@fontencoding{OT1}}
+\DeclareOption{T1}{%
+  \PassOptionsToPackage{T1}{mathtime}%
+  \def\JCM@fontencoding{T1}}
+\DeclareOption{LY1}{%
+  \PassOptionsToPackage{LY1}{mathtime}%
+  \def\JCM@fontencoding{LY1}}
+\DeclareOption{ams}{%
+  \def\JCM@ams{\RequirePackage{amsthm,amssymb}%
+               \def\th@plain{%
+               \thm@headfont{\scshape}\itshape}
+               \def\th@definition{%
+               \thm@headfont{\scshape}\normalfont}
+               \def\th@remark{%
+               \thm@headfont{\itshape}\normalfont}
+               \let\oldleq\leq
+               \let\le\leqslant
+               \let\leq\leqslant
+               \let\oldgeq\geq
+               \let\ge\geqslant
+               \let\geq\geqslant}}
+\DeclareOption{noams}{%
+  \def\JCM@ams{%
+               \let\theoremstyle\@gobble
+               \let\oldnewtheorem\newtheorem
+               \def\newtheorem{\@ifstar\oldnewtheorem\oldnewtheorem}%
+               \let\mathbb\mathbf}}
+\ExecuteOptions{ams,cmfonts}
+\InputIfFileExists{jcm.cfg}
+  {\JCM@warn{Using local configuration file.\MessageBreak
+             Ignoring document options: [\@classoptionslist]}%
+   \let\@classoptionslist\@empty
+   \@namedef{opt@\@currname.\@currext}{}}%
+  {}
+\ProcessOptions
+\RequirePackage{latexsym}
+\def\title{\@dblarg\JCM@title}
+\def\JCM@title[#1]#2{%
+  \def\@title{#2}%
+  \def\@shorttitle{#1}}
+\def\@title{\JCM@warn{No title}}
+\def\@shorttitle{}
+\renewcommand*\author[2][]{%
+  \gdef\JCM@doauthors{%
+    \@authors\@andorcomma\relax\@andorcomma\relax\par}%
+  \gdef\JCM@doauthorslcase{%
+    \@authorslcase\@andorcomma\relax\@andorcomma\relax\par}%
+  \g@addto@macro\@curr@author{\\*#2}%
+  \g@addto@macro\@authors{%
+    \@andorcomma,{\ignorespaces\MakeTextUppercase{#2}\unskip}}
+  \g@addto@macro\@authorslcase{%
+    \@andorcomma,{\ignorespaces#2\unskip}}}%
+\def\@authors{\@gobbletwo}
+\def\@authorslcase{\@gobbletwo}
+\def\JCM@doauthors{\JCM@warn{No author specified}}
+\def\@curr@author{\@gobbletwo}
+\def\and{\JCM@err{\protect\and\space is not supported}}
+\def\@andorcomma#1#2\@andorcomma#3{%
+  \ifx#3\relax
+    \ifx#1\relax%
+      \let\@tempa\relax
+    \else
+    \def\@tempa{\space\andname\space #2\@gobbletwo}%
+    \fi
+  \else
+    \def\@tempa{#1 #2\@andorcomma#3}%
+  \fi
+  \@tempa}
+\def\address#1{%
+  \ifx\@curr@author\JCM@gobble
+    \JCM@err{\noexpand\address with no \string\author}\@ehd
+  \else
+    \expandafter\g@addto@macro\expandafter\@addresses\expandafter{%
+         \expandafter\filbreak\@curr@author\jcm@address{#1}}%
+    \let\@curr@author\JCM@gobble
+  \fi}
+\def\@addresses{}
+\AtEndDocument{%
+  \ifx\@deferlist\@empty\else\clearpage\fi
+  \par
+  \parindent\z@
+  \parskip12\p@
+  \@addresses}
+\def\jcm@address#1{\\*[6pt]\begin{tabular}{@{}l}#1\end{tabular}\par}
+\def\JCM@gobble{\@gobbletwo}
+\def\email#1{%
+  \ifx\@curr@author\JCM@gobble
+    \JCM@err{\noexpand\email with no \string\author}\@ehd
 \else
-\DeclareOption{10pt}{\renewcommand\@ptsize{0}}
-\fi
-\DeclareOption{11pt}{\renewcommand\@ptsize{1}}
-\DeclareOption{12pt}{\renewcommand\@ptsize{2}}
-\if@compatibility\else
-\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
-\fi
-\DeclareOption{twoside}{\@twosidetrue  \@mparswitchtrue}
-\DeclareOption{draft}{\setlength\overfullrule{5pt}}
-\if@compatibility\else
-\DeclareOption{final}{\setlength\overfullrule{0pt}}
-\fi
-\DeclareOption{titlepage}{\@titlepagetrue}
-\if@compatibility\else
-\DeclareOption{notitlepage}{\@titlepagefalse}
-\fi
-\if@compatibility\else
-\DeclareOption{onecolumn}{\@twocolumnfalse}
+    \g@addto@macro\@curr@author{\quad\JCM@email{#1}}%
+  \fi}
+\def\JCM@email#1{\href{mailto:#1}{\texttt{#1}}}
+\AtBeginDocument{%
+  \providecommand\url[1]{%
+    \texttt{\language\@M\hyphenchar\the\font=`\/ #1}}%
+  \providecommand\href[2]{{%
+    \let~\textasciitilde#2}}}
+\def\homepage#1#2{%								%SER#1{%
+  \ifx\@curr@author\JCM@gobble
+    \JCM@err{\noexpand\homepage with no \string\author}\@ehd
+  \else
+    \g@addto@macro\@curr@author{\\ \href{{#1}}{\tt #2}}			%SER{\quad\url{#1}}%
+  \fi}
+\def\thanks#1{%
+  \g@addto@macro\@thanks{\footnotetext{#1}}}
+\let\@thanks\@empty
+\def\keywords#1{%
+  \gdef\@keywords{%
+    {\itshape Keywords:\/} \ignorespaces#1\unskip}}
+\def\@keywords{\JCM@warn{No keywords}}
+\def\classification#1{%
+  \gdef\@classification{%
+    2000 Mathematics Subject Classification \ignorespaces#1\unskip}}
+\let\subjclass\classification
+\def\@classification{%
+  \JCM@warn{No Subject Classification}}
+\def\received#1{%
+  \gdef\@received{Received #1}}
+\def\@received{\JCM@warn{No received date}}
+\def\revised#1{%
+  \g@addto@macro\@revised{{, revised #1}}}
+\let\@revised\@empty
+\def\accepted#1{%
+  \gdef\@accepted{{\itshape; accepted #1}}}
+\def\@accepted{\JCM@warn{No accepted date}}
+\def\published#1{%
+  \gdef\@published{;\ {\itshape published} #1}}
+\def\@published{\JCM@warn{No published date}}
+\newbox\absbox
+\def\abstract{\lrbox\absbox\minipage{.75\textwidth}%
+  \parindent12\p@
+  \normalsize\normalfont
+  \section*{Abstract}}
+\def\endabstract{\endminipage\endlrbox}
+\def\maketitle{%
+  \ifx\@curr@author\JCM@gobble
+  \else
+    \begingroup
+      \def\\*{, }%
+      \JCM@warn{No address for \@curr@author}%
+    \endgroup
+    \address\relax
 \fi
-\DeclareOption{twocolumn}{\@twocolumntrue}
-\DeclareOption{leqno}{\input{leqno.clo}}
-\DeclareOption{fleqn}{\input{fleqn.clo}}
-% removed because the definition upsets 1994 latex2e systems
-%\DeclareOption{openbib}{%
-%  \AtEndOfPackage{%
-%   \renewcommand\@openbib@code{%
-%      \advance\leftmargin\bibindent
-%      \itemindent -\bibindent
-%      \listparindent \itemindent
-%      \parsep \z@
-%      }%
-%   \renewcommand\newblock{\par}}%
-%}
-\ExecuteOptions{a4paper,twoside,twocolumn,final}
-\ProcessOptions
-
-%  --  here we instert a modified version of size10.clo, reduced to 9pt
-%      plus one or two other little changes
-
+  \begingroup
+  \long\def\@makefntext##1{\parindent 1em\noindent##1}%
+  \thispagestyle{title}\label{FirstPage}%
+  \global\@topnum\z@
+  \normalfont
+  \centering
+  \def\\{\protect\@centercr}%
+  \large\MakeTextUppercase\@title\par
+  \addvspace{12pt}%
+  \normalsize\scshape
+  \JCM@doauthors
+  \addvspace{15pt}%
+  \ifvoid\absbox
+    \JCM@warn{No abstract}%
+  \else
+    \usebox\absbox\par
+  \fi
+  \@thanks
+  \footnotetext{\@received\@revised\@published.}%
+  \footnotetext{\@classification}%
+  \footnotetext{\copyright\ \@volumeyear,  \JCM@doauthorslcase}%
+  \endgroup
+  \let\and\relax
+  \let\author\relax
+  \let\keywords\relax
+  \let\@keywords\relax
+  \let\address\relax
+  \let\email\relax
+  \let\@address\relax
+  \let\maketitle\relax
+  \let\thanks\@gobble
+  \def\abstract{%
+    \JCM@err{abstract must be before \protect\maketitle}\@ehd
+    \lrbox\absbox\minipage{.75\textwidth}}}
+\def\ps@jcm{%
+  \def\@oddhead{%
+      \itshape
+      \def\\{\unskip\space\ignorespaces}%
+      \hss\@shorttitle\hss}%
+  \let\@evenhead\@oddhead
+  \def\@oddfoot{\hss\thepage\hss}%
+  \let\@evenfoot\@oddfoot}
+\def\ps@title{%
+  \def\@oddhead{%
+    {\itshape\@journalpublisher}\hfill\footnotesize ISSN \@journalissn}%
+  \let\@evenhead\@oddhead
+  \def\@oddfoot{%
+    \footnotesize
+    \hss
+    \journalname\
+    \href{\journalBaseURL/jcm/\@volumenumber}{\@volumenumber\ (\@volumeyear)}
+    \@startpage--\@endpage
+    \hss}%
+  \let\@evenfoot\@oddfoot}
+\def\ps@headings{\JCM@warn{headings pagestyle ignored}}
+\ps@jcm
+\def\@volumeyear{????}
+\def\@volumenumber{??}
+\def\@issuenumber{??}
+\def\@startpage{\pageref{FirstPage}}
+\def\@endpage{\pageref{LastPage}}
+\def\volumeyear#1{\gdef\@volumeyear{#1}}
+\def\volumenumber#1{\gdef\@volumenumber{#1}}
+\def\issuenumber#1{\gdef\@issuenumber{#1}}
+\def\startpage#1{\gdef\@startpage{#1}\c@page#1}
+\def\endpage#1{\gdef\@endpage{#1}}
+\def\lastpage@putlabel{%
+  \if@filesw
+    \advance\c@page\m@ne
+     \immediate\write\@auxout{\string
+     \newlabel{LastPage}{{}{\thepage}{}{}{}}}%
+     \advance\c@page\@ne
+  \fi}
+\AtEndDocument{%
+   \clearpage\lastpage@putlabel}%
 \renewcommand\normalsize{%
-   \@setfontsize\normalsize\@ixpt{11}
-   \abovedisplayskip 9\p@ \@plus1.8\p@ \@minus4.5\p@
+   \@setfontsize\normalsize\@xpt\@xiipt
+   \abovedisplayskip 6\p@ \@plus\p@ \@minus\p@
    \belowdisplayskip \abovedisplayskip
-   \abovedisplayshortskip  \z@ plus2.7\p@
-   \belowdisplayshortskip  5.4\p@ plus2.7\p@ minus3\p@
+   \abovedisplayshortskip 3\p@ \@plus\p@
+   \belowdisplayshortskip  \abovedisplayskip
    \let\@listi\@listI}
 \normalsize
 \newcommand\small{%
-   \@setfontsize\small\@ixpt{9.9}%
-   \abovedisplayskip 7.7\p@ \@plus2.7\p@ \@minus3.6\p@
-   \abovedisplayshortskip \z@ \@plus1.8\p@
-   \belowdisplayshortskip 3.6\p@ \@plus1.8\p@ \@minus1.8\p@
+   \@setfontsize\small\@ixpt{11}%
+   \abovedisplayskip 5\p@ \@plus\p@ \@minus\p@
+   \belowdisplayskip \abovedisplayskip
+   \abovedisplayshortskip 2.5\p@ \@plus\p@
+   \belowdisplayshortskip \abovedisplayskip
    \def\@listi{\leftmargin\leftmargini
-               \topsep 3.6\p@ \@plus1.8\p@ \@minus1.8\p@
-               \parsep 1.8\p@ \@plus\p@ \@minus\p@
+               \topsep 3\p@ \@plus\p@ \@minus1\p@
+               \parsep \z@
                \itemsep \parsep}%
-   \belowdisplayskip \abovedisplayskip
-}
+   \belowdisplayskip \abovedisplayskip}
 \newcommand\footnotesize{%
-   \@setfontsize\footnotesize\@viiipt{8.6}%
-   \abovedisplayskip 5.4\p@ \@plus1.8\p@ \@minus3.6\p@
+   \@setfontsize\footnotesize\@viiipt{9.5}%
+   \abovedisplayskip 4.5\p@ \@plus\p@ \@minus\p@
+   \belowdisplayskip \abovedisplayskip
    \abovedisplayshortskip \z@ \@plus\p@
-   \belowdisplayshortskip 2.7\p@ \@plus\p@ \@minus1.8\p@
+   \belowdisplayshortskip  \abovedisplayskip
    \def\@listi{\leftmargin\leftmargini
-               \topsep 2.7\p@ \@plus\p@ \@minus\p@
-               \parsep 1.8\p@ \@plus\p@ \@minus\p@
+               \topsep 3\p@ \@plus\p@ \@minus\p@
+               \parsep \z@skip
                \itemsep \parsep}%
-   \belowdisplayskip \abovedisplayskip
-}
-\newcommand\scriptsize{\@setfontsize\scriptsize{7.2}\@vipt}
-\newcommand\tiny{\@setfontsize\tiny\@vpt\@vpt}
-\newcommand\large{\@setfontsize\large\@xipt{12}}
-\newcommand\Large{\@setfontsize\Large\@xiipt{14}}
-\newcommand\LARGE{\@setfontsize\LARGE\@xivpt{18}}
-\newcommand\huge{\@setfontsize\huge\@xviipt{22}}
-\newcommand\Huge{\@setfontsize\Huge\@xxpt{25}}
-\if@twocolumn
-  \setlength\parindent{1em}
-\else
-  \setlength\parindent{15\p@}
-\fi
-\setlength\smallskipamount{2.7\p@ \@plus 0.9\p@ \@minus 0.9\p@}
-\setlength\medskipamount{5.4\p@ \@plus 1.8\p@ \@minus 1.8\p@}
-\setlength\bigskipamount{10.8\p@ \@plus 3.6\p@ \@minus 3.6\p@}
-\setlength\headheight{0\p@}
-\setlength\headsep   {0\p@}
-\setlength\topskip   {1\p@}
-\setlength\footskip{24\p@}
-\if@compatibility \setlength\maxdepth{4\p@} \else
-\setlength\maxdepth{.5\topskip} \fi
-%\if@compatibility
-  \if@twocolumn
-    \setlength\textwidth{42.5pc}
-  \else
-    \setlength\textwidth{345\p@}
-  \fi
-%\else
-%  \setlength\@tempdima{\paperwidth}
-%  \addtolength\@tempdima{-2in}
-%  \setlength\@tempdimb{345\p@}
-%  \if@twocolumn
-%    \ifdim\@tempdima>2\@tempdimb\relax
-%      \setlength\textwidth{2\@tempdimb}
-%    \else
-%      \setlength\textwidth{\@tempdima}
-%    \fi
-%  \else
-%    \ifdim\@tempdima>\@tempdimb\relax
-%      \setlength\textwidth{\@tempdimb}
-%    \else
-%      \setlength\textwidth{\@tempdima}
-%    \fi
-%  \fi
-%\fi
-\if@compatibility\else
-  \@settopoint\textwidth
-\fi
-%\if@compatibility
-%  \setlength\textheight{43\baselineskip}
-%\else
-%  \setlength\@tempdima{\paperheight}
-%  \addtolength\@tempdima{-2in}
-%  \addtolength\@tempdima{-1.5in}
-%  \divide\@tempdima\baselineskip
-%  \@tempcnta=\@tempdima
-%  \setlength\textheight{\@tempcnta\baselineskip}
-%\fi
-%\addtolength\textheight{\topskip}
-
-\newdimen\ftextheight
-\newdimen\ntextheight
-\ntextheight 671\p@
-\ftextheight\ntextheight
-\advance\ftextheight -42\p@
-
-
-\if@twocolumn
- \setlength\marginparsep {0\p@}
-\else
-  \setlength\marginparsep{11\p@}
-\fi
-\setlength\marginparpush{5\p@}
-%\if@compatibility
-  \if@twoside
-     \setlength\oddsidemargin   {44\p@}
-     \setlength\evensidemargin  {82\p@}
-     \setlength\marginparwidth {107\p@}
-  \else
-     \setlength\oddsidemargin   {63\p@}
-     \setlength\evensidemargin  {63\p@}
-     \setlength\marginparwidth  {90\p@}
-  \fi
-  \if@twocolumn
-     \setlength\oddsidemargin  {12\p@}
-%     \addtolength\oddsidemargin  {-3.2mm}
-     \setlength\evensidemargin {12\p@}
-%     \addtolength\evensidemargin  {-3.2mm}
-     \setlength\marginparwidth {0\p@}
-  \fi
-%\else
-%  \if@twoside
-%    \setlength\@tempdima        {\paperwidth}
-%    \addtolength\@tempdima      {-\textwidth}
-%    \setlength\oddsidemargin    {.4\@tempdima}
-%    \addtolength\oddsidemargin  {-1in}
-%    \setlength\marginparwidth   {.6\@tempdima}
-%    \addtolength\marginparwidth {-\marginparsep}
-%    \addtolength\marginparwidth {-0.4in}
-%  \else
-%    \setlength\@tempdima        {\paperwidth}
-%    \addtolength\@tempdima      {-\textwidth}
-%    \setlength\oddsidemargin    {.5\@tempdima}
-%    \addtolength\oddsidemargin  {-1in}
-%    \setlength\marginparwidth   {.5\@tempdima}
-%    \addtolength\marginparwidth {-\marginparsep}
-%    \addtolength\marginparwidth {-0.4in}
-%    \addtolength\marginparwidth {-.4in}
-%  \fi
-%  \ifdim \marginparwidth >2in
-%     \setlength\marginparwidth{2in}
-%  \fi
-%  \@settopoint\oddsidemargin
-%  \@settopoint\marginparwidth
-%  \setlength\evensidemargin  {\paperwidth}
-%  \addtolength\evensidemargin{-2in}
-%  \addtolength\evensidemargin{-\textwidth}
-%  \addtolength\evensidemargin{-\oddsidemargin}
-%  \@settopoint\evensidemargin
-%\fi
-%\if@compatibility
-  \setlength\topmargin{27\p@}
-  \addtolength\topmargin{-9.8mm}
-%\else
-%  \setlength\topmargin{\paperheight}
-%  \addtolength\topmargin{-2in}
-%  \addtolength\topmargin{-\headheight}
-%  \addtolength\topmargin{-\headsep}
-%  \addtolength\topmargin{-\textheight}
-%  \addtolength\topmargin{-\footskip}     % this might be wrong!
-%  \addtolength\topmargin{-.5\topmargin}
-%  \@settopoint\topmargin
-%\fi
-\setlength\footnotesep{6.65\p@}
-\setlength{\skip\footins}{9\p@ \@plus 4\p@ \@minus 2\p@}
-\setlength\floatsep    {11\p@ \@plus 2\p@ \@minus 4\p@}
-\setlength\textfloatsep{11\p@ \@plus 2\p@ \@minus 2\p@}
-\setlength\intextsep   {11\p@ \@plus 2\p@ \@minus 2\p@}
-\setlength\dblfloatsep    {11\p@ \@plus 2\p@ \@minus 2\p@}
-\setlength\dbltextfloatsep{11\p@ \@plus 2\p@ \@minus 4\p@}
+   \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\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\maxdepth{5\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@}
+\partopsep\z@ \@plus \p@
 \def\@listi{\leftmargin\leftmargini
-            \parsep 0\p@
-            \topsep 8\p@ \@plus2\p@ \@minus4\p@
-            \itemsep 0\p@}
+            \parsep\z@skip
+            \topsep 3\p@ \@plus\p@
+            \itemsep3\p@ \@plus\p@ \@minus\p@}
 \let\@listI\@listi
 \@listi
 \def\@listii {\leftmargin\leftmarginii
               \labelwidth\leftmarginii
               \advance\labelwidth-\labelsep
-              \topsep    4\p@ \@plus2\p@ \@minus\p@
-              \parsep    02\p@
+              \topsep    3\p@ \@plus\p@ \@minus\p@
+              \parsep\z@skip
               \itemsep   \parsep}
 \def\@listiii{\leftmargin\leftmarginiii
               \labelwidth\leftmarginiii
               \advance\labelwidth-\labelsep
               \topsep    2\p@ \@plus\p@\@minus\p@
-              \parsep    \z@
+              \parsep    \z@skip
               \partopsep \p@ \@plus\z@ \@minus\p@
               \itemsep   \topsep}
 \def\@listiv {\leftmargin\leftmarginiv
               \labelwidth\leftmarginiv
-              \advance\labelwidth-\labelsep
-              \parsep \z@ \itemsep \parsep}
+              \advance\labelwidth-\labelsep}
 \def\@listv  {\leftmargin\leftmarginv
               \labelwidth\leftmarginv
-              \advance\labelwidth-\labelsep
-              \parsep \z@ \itemsep \parsep}
+              \advance\labelwidth-\labelsep}
 \def\@listvi {\leftmargin\leftmarginvi
               \labelwidth\leftmarginvi
-              \advance\labelwidth-\labelsep
-              \parsep \z@ \itemsep \parsep}
-
-%  -- end of inserted modified size10.clo
-
+              \advance\labelwidth-\labelsep}
+\setlength\parskip{0pt}
+\setlength\parindent{12pt}
+\setlength\topsep{8pt \@plus 2pt \@minus 4pt}
+\setlength\partopsep{0pt \@plus 1pt}
+\setlength\itemsep{0pt \@plus 2pt}
 \setlength\lineskip{1\p@}
 \setlength\normallineskip{1\p@}
-\renewcommand\baselinestretch{1}
-\setlength\parskip{0\p@}
+\renewcommand\baselinestretch{}
+\setlength\parskip{0\p@ \@plus \p@}
 \@lowpenalty   51
 \@medpenalty  151
 \@highpenalty 301
 \setcounter{topnumber}{2}
-\renewcommand\topfraction{.9}
-\setcounter{bottomnumber}{2}
-\renewcommand\bottomfraction{.9}
+\renewcommand\topfraction{.7}
+\setcounter{bottomnumber}{1}
+\renewcommand\bottomfraction{.3}
 \setcounter{totalnumber}{3}
-\renewcommand\textfraction{.1}
+\renewcommand\textfraction{.2}
 \renewcommand\floatpagefraction{.5}
 \setcounter{dbltopnumber}{2}
-\renewcommand\dbltopfraction{.9}
+\renewcommand\dbltopfraction{.7}
 \renewcommand\dblfloatpagefraction{.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{\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 \@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
-%}
-%\else
-\newcommand\maketitle{\par
-  \begingroup
-%    \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
-%    The following breaks 1994 latex2e, so we use an older variant
-%    \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
-    \def\@makefnmark{\hbox to\z@{$\m@th^{\@thefnmark}$\hss}}%
-%    \long\def\@makefntext##1{\parindent 1em\noindent
-%            \hbox to1.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
-    \thispagestyle{empty}\@thanks
-  \endgroup
-%  \setcounter{footnote}{0}%
-  \global\let\thanks\relax
-  \global\let\maketitle\relax
-  \global\let\@maketitle\relax
-  \global\let\@thanks\@empty
-  \global\let\@author\@empty
-  \global\let\@date\@empty
-  \global\let\@title\@empty
-  \global\let\title\relax
-  \global\let\author\relax
-  \global\let\date\relax
-  \global\let\and\relax
-}
-\newcommand{\institute}[1]{\thanks{#1}}
-\def\@maketitle{%
-  \newpage
-  \null
-%  \vskip 2em%
-  \begin{center}%
-  \let \footnote \thanks
-    {\tit@mysize\bfseries \@title \par}%
-    \vskip 1.5em%
-    {\aut@mysize\bfseries
-%      \lineskip .5em%
-      \begin{tabular}[t]{c}%
-        \@author
-      \end{tabular}\par}%
-%    \vskip 1em%
-%    {\large \@date}%
-  \end{center}%
-  \par
-  \vskip 1.5em}
-%\fi
 \setcounter{secnumdepth}{3}
 \newcounter {part}
 \newcounter {section}
@@ -477,75 +391,12 @@
 \renewcommand\thesubsubsection{\thesubsection .\@arabic\c@subsubsection}
 \renewcommand\theparagraph    {\thesubsubsection.\@arabic\c@paragraph}
 \renewcommand\thesubparagraph {\theparagraph.\@arabic\c@subparagraph}
-\newcommand\part{\par
-   \addvspace{4ex}%
-   \@afterindentfalse
-   \secdef\@part\@spart}
-
-\def\@part[#1]#2{%
-    \ifnum \c@secnumdepth >\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}
-\newcommand\section{\@startsection {section}{1}{\z@}%
-                                   {-16.5\p@ \@plus -5\p@ \@minus -3\p@}%
-                                   {5.5\p@ \@plus5\p@}%
-                                   {\normalfont\seca@mysize\bfseries\raggedright}}
-\newcommand\subsection{\@startsection{subsection}{2}{\z@}%
-                                   {-16.5\p@ \@plus -5\p@ \@minus -3\p@}%
-                                   {5.5\p@ \@plus5\p@}%
-                                   {\normalfont\secb@mysize\bfseries\raggedright}}
-\newcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
-                                   {-16.5\p@ \@plus -5\p@ \@minus -3\p@}%
-                                   {5.5\p@ \@plus5\p@}%
-                                   {\normalfont\secc@mysize\itshape\raggedright}}
-\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  {10\p@}
-\else
-  \setlength\leftmargini  {2.5em}
-\fi
+\setlength\leftmargini  {2pc}
 \leftmargin  \leftmargini
-\setlength\leftmarginii  {10\p@}
-\setlength\leftmarginiii {5\p@}
-\setlength\leftmarginiv  {5\p@}
-\if@twocolumn
-  \setlength\leftmarginv  {5\p@}
-  \setlength\leftmarginvi {5\p@}
-\else
-  \setlength\leftmarginv  {1em}
-  \setlength\leftmarginvi {1em}
-\fi
-\setlength  \labelsep  {5\p@}
+\setlength\leftmarginii  {1.5pc}
+\setlength\leftmarginiii {1.5pc}
+\setlength\leftmarginiv  {1.5pc}
+\setlength  \labelsep  {6pt}
 \setlength  \labelwidth{\leftmargini}
 \addtolength\labelwidth{-\labelsep}
 \@beginparpenalty -\@lowpenalty
@@ -562,40 +413,16 @@
 \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}
 \newcommand*\descriptionlabel[1]{\hspace\labelsep
                                 \normalfont\bfseries #1}
-%\if@titlepage
-%  \newenvironment{abstract}{%
-%      \titlepage
-%      \null\vfil
-%      \@beginparpenalty\@lowpenalty
-%      \begin{center}%
-%        \bfseries \abstractname
-%        \@endparpenalty\@M
-%      \end{center}}%
-%     {\par\vfil\null\endtitlepage}
-%\else
-  \newenvironment{abstract}{%
-      \if@twocolumn
-        {\parindent 0mm\bf \abstractname.\hspace{3pt}}
-%        \section*{\abstractname}%
-      \else
-        \small
-        \begin{center}%
-          {\bfseries \abstractname\vspace{-.5em}\vspace{\z@}}%
-        \end{center}%
-        \quotation
-      \fi}
-      {\if@twocolumn\else\endquotation\fi}
-%\fi
 \newenvironment{verse}
                {\let\\\@centercr
                 \list{}{\itemsep      \z@
@@ -616,52 +443,21 @@
                {\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}}
+  \renewcommand\thesection{Appendix \@Alph\c@section}}
 \setlength\arraycolsep{5\p@}
 \setlength\tabcolsep{6\p@}
 \setlength\arrayrulewidth{.4\p@}
 \setlength\doublerulesep{2\p@}
 \setlength\tabbingsep{\labelsep}
-\skip\@mpfootins = \skip\footins
 \setlength\fboxsep{3\p@}
 \setlength\fboxrule{.4\p@}
 \renewcommand\theequation{\@arabic\c@equation}
 \newcounter{figure}
 \renewcommand\thefigure{\@arabic\c@figure}
-\def\fps@figure{htbp}
+\def\fps@figure{tbp}
 \def\ftype@figure{1}
 \def\ext@figure{lof}
 \def\fnum@figure{\figurename~\thefigure}
@@ -673,30 +469,16 @@
                {\end@dblfloat}
 \newcounter{table}
 \renewcommand\thetable{\@arabic\c@table}
-\def\fps@table{htbp}
+\def\fps@table{tbp}
 \def\ftype@table{2}
 \def\ext@table{lot}
 \def\fnum@table{\tablename~\thetable}
 \newenvironment{table}
-               {\@float{table}\tabsize}
+               {\@float{table}}
                {\end@float}
 \newenvironment{table*}
                {\@dblfloat{table}}
                {\end@dblfloat}
-\newlength\abovecaptionskip
-\newlength\belowcaptionskip
-\setlength\abovecaptionskip{6\p@}
-\setlength\belowcaptionskip{2\p@}
-\long\def\@makecaption#1#2{%
-  \vskip\abovecaptionskip
-  \sbox\@tempboxa{{\captsize{\bfseries #1.}\quad #2\normalsize}}%
-  \ifdim \wd\@tempboxa >\hsize
-    {\captsize{\bfseries #1.}\quad #2\normalsize}\par%
-  \else
-    \global \@minipagefalse
-    \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
-  \fi
-  \vskip\belowcaptionskip}
 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
@@ -725,7 +507,7 @@
       \parindent \z@ \rightskip \@pnumwidth
       \parfillskip -\@pnumwidth
       {\leavevmode
-       \large \bfseries #1\hfil \hbox to\@pnumwidth{\hss #2}}\par
+       \large \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par
        \nobreak
        \if@compatibility
          \global\@nobreaktrue
@@ -744,7 +526,7 @@
       \leavevmode \bfseries
       \advance\leftskip\@tempdima
       \hskip -\leftskip
-      #1\nobreak\hfil \nobreak\hbox to\@pnumwidth{\hss #2}\par
+      #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
     \endgroup
   \fi}
 \newcommand*\l@subsection{\@dottedtocline{2}{1.5em}{2.3em}}
@@ -769,19 +551,20 @@
 \setlength\bibindent{1.5em}
 \newenvironment{thebibliography}[1]
      {\section*{\refname
-        \@mkboth{\eightrm\MakeUppercase\refname}{\eightrm\MakeUppercase\refname}}%
-      \refsize\list{[\@arabic\c@enumi]~}%
-           {\settowidth\labelwidth{[0#1]~}%
+        \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}}%
+      \list{\@biblabel{\@arabic\c@enumiv}}%
+           {\settowidth\labelwidth{\@biblabel{#1}}%
             \leftmargin\labelwidth
-%            \advance\leftmargin\labelsep
-            \itemsep 0\p@
-            \parsep 0\p@
+            \advance\leftmargin\labelsep
             \@openbib@code
-            \usecounter{enumi}%
-            \let\p@enumi\@empty
-            \renewcommand\theenumi{\@arabic\c@enumi}}%
-      \sloppy\clubpenalty4000\widowpenalty4000\interlinepenalty=100%
-      \sfcode`\.=1000}
+            \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}
@@ -806,179 +589,223 @@
 \newcommand\subitem{\@idxitem \hspace*{20\p@}}
 \newcommand\subsubitem{\@idxitem \hspace*{30\p@}}
 \newcommand\indexspace{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
-\count202=0
-\renewcommand\footnoterule{%
-  \global\advance\count202 1
-  \kern-3\p@
-  \hrule \@height 0.8\p@
-  \kern 2.2\p@}
+\def\footnoterule{\kern-6\p@
+  \hrule\kern 5.6\p@} % the \hrule is .4pt high
 \newcommand\@makefntext[1]{%
-    \ifnum\thefootnote<10\hangindent7pt\else\hangindent9pt\fi
-    $^{\rm \@thefnmark}$ #1}
-%    \parindent 1em%
-%    \noindent
-%    \hbox to1.8em{\hss\@makefnmark}#1}
-\newcommand\contentsname{Contents}
-\newcommand\listfigurename{List of Figures}
-\newcommand\listtablename{List of Tables}
-\newcommand\refname{REFERENCES}
-\newcommand\indexname{Index}
-\newcommand\figurename{Figure}
-\newcommand\tablename{Table}
-\newcommand\partname{Part}
-\newcommand\appendixname{Appendix}
-\newcommand\abstractname{Abstract}
-\newcommand\today{}
-\edef\today{\ifcase\month\or
-  January\or February\or March\or April\or May\or June\or
-  July\or August\or September\or October\or November\or December\fi
-  \space\number\day, \number\year}
-\setlength\columnsep{1.5pc}
+    \parindent12pt%
+    \noindent
+    \@makefnmark#1}
+\setlength\footnotesep{6\p@}
+\setlength{\skip\footins}{12\p@ \@plus 12\p@ \@minus 1\p@}
+\skip\@mpfootins = \skip\footins
+\setlength\columnsep{10\p@}
 \setlength\columnseprule{0\p@}
-\setlength{\hoffset}{-3.5pc}
-\pagestyle{plain}
+\pagestyle{jcm}
 \pagenumbering{arabic}
+\onecolumn
 \frenchspacing
-\if@twoside
-\else
-  \raggedbottom
-\fi
-\if@twocolumn
-  \twocolumn
-  \sloppy
-  \flushbottom
+\def\eqnarray{%
+   \stepcounter{equation}%
+   \def\@currentlabel{\p@equation\theequation}%
+   \global\@eqnswtrue
+   \m@th
+   \global\@eqcnt\z@
+   \tabskip\@centering
+   \let\\\@eqncr
+   $$\everycr{}\halign to\displaywidth\bgroup
+      \tabskip\z@skip$\hfil\displaystyle{##}$%
+      &\global\@eqcnt\@ne\hfil${\displaystyle{}##{}}$\hfil
+      &\global\@eqcnt\tw@
+         $\displaystyle{##}$\hfil
+      \tabskip\@centering
+      &\global\@eqcnt\thr@@\llap{##}%
+      \tabskip\z@skip
+      \cr}
+\def\@uclcnotmath#1#2#3#4{\begingroup
+      #1%
+      \def\({$}\let\)\(% $
+      \def\reserved@a##1##2{\let#2\reserved@a}%
+      \expandafter\reserved@a\@uclclist\reserved@b{\reserved@b\@gobble}%
+      \protected@edef\reserved@a{\endgroup
+          \noexpand\@skipmath#3#4$\valign$}%
+      \reserved@a}
+\def\@skipmath#1{%
+\def\@skipmath##1##2$##3${%
+  \@skipensuremath##1##2#1\valign
+  \ifx\valign##3%
+  \else
+    $##3$%
+    \expandafter\@skipmath\expandafter##1%
+  \fi}%
+\def\@skipensuremath##1##2#1##3{%
+  ##1{##2}%
+  \ifx\valign##3%
+  \else
+    $##3$%
+    \expandafter\@skipensuremath\expandafter##1%
+  \fi}}
+\expandafter\@skipmath\csname ensuremath \endcsname
+\DeclareRobustCommand\MakeTextUppercase{%
+  \@uclcnotmath{\def\i{I}\def\j{J}}{##1##2}\uppercase}
+\DeclareRobustCommand\MakeTextLowercase{%
+  \@uclcnotmath{}{##2##1}\lowercase}
+\def\section{%
+  \@startsection
+    {section}{1}{\z@}{18\p@ \@plus 2\p@ \@minus 2\p@}%
+    {6\p@}{\centering\normalfont\normalsize\itshape}}
+\def\@seccntformat#1{\textup{\csname the#1\endcsname.}\quad}
+\def\subsection{%
+  \@startsection
+    {subsection}{2}{\z@}{12\p@ \@plus 1.2\p@ \@minus 1.2\p@}%
+    {1sp}{\normalfont\normalsize\itshape}}
+\def\subsubsection{%
+  \@startsection
+    {subsubsection}{3}{\z@}{-12\p@ \@plus -1.2\p@ \@minus-1.2\p@}%
+    {1sp}{\normalfont\normalsize}}
+\def\paragraph{%
+  \@startsection
+    {paragraph}{4}{\z@}{12\p@}%
+    {-1em}{\normalfont\normalsize\itshape}}
+\def\subparagraph{%
+  \@startsection
+    {paragraph}{5}{\z@}{12\p@}%
+    {-1em}{\normalfont\normalsize\itshape}}
+\setcounter{secnumdepth}{6}
+\setcounter{tocdepth}{2}
+\newlength\abovecaptionskip
+\newlength\belowcaptionskip
+\setlength\abovecaptionskip{10\p@}
+\setlength\belowcaptionskip{0\p@}
+\long\def\@makecaption#1#2{%
+  \vspace\abovecaptionskip
+  \sbox\@tempboxa{#1: #2}%
+  \ifdim \wd\@tempboxa >\hsize
+    #1: #2\par
 \else
-  \onecolumn
-\fi
-
-% -- now we add in the remaining bits of ecai96.sty that haven't already
-%    been covered
-
-\def\tit@mysize{\@setfontsize\tit@mysize\@xxpt{22}\bfseries}
-\def\aut@mysize{\@setfontsize\aut@mysize\@xipt{12}}
-\def\abs@mysize{\@setfontsize\abs@mysize\@viiipt{10}}
-\def\seca@mysize{\@setfontsize\seca@mysize\@xipt{11}}
-\def\secb@mysize{\@setfontsize\secb@mysize\@xipt{11}}
-\def\secc@mysize{\@setfontsize\secc@mysize\@xpt{11}}
-\def\footsize{\@setfontsize\footsize\@viiipt{9}}
-\def\tabsize{\@setfontsize\tabsize\@viiipt{9}}
-\def\captsize{\@setfontsize\captsize\@viiipt{9}}
-\def\refsize{\@setfontsize\refsize\@viiipt{9}}
-\def\progsize{\@setfontsize\progsize\@ixpt{10}}
-
-
-\if@compatibility
-    \@maxsep 20pt
-    \@dblmaxsep 20pt
-\fi
-
-% for acknowledgements
-\def\acknowledgements{\section*{\bf ACKNOWLEDGEMENTS}}
-\def\ack{\acknowledgements}
-
-\def\lquotation{\list{}{\listparindent 1.5em
- \setlength{\rightmargin}{1true cm}
- \setlength{\leftmargin}{\rightmargin}}\item[]}
-\let\endlquotation=\endlist
-
-\def\citestr#1{\nocite{#1}\csname b@#1\endcsname}
-
-\def\and{{\enspace \rm and \enspace}}
-
-\mark{{}{}}
-
-\def\fnum@table{\captsize\bf Table \thetable}
-\def\fnum@figure{\captsize\bf Figure \thefigure}
-
-\long\def\@caption#1[#2]#3{\addcontentsline{\csname
-  ext@#1\endcsname}{#1}{\protect\numberline{\csname
-  the#1\endcsname}{\ignorespaces #2}}\par
-  \begingroup
-    \@parboxrestore
-    \captsize
-    \begin{center}
-    \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par
-    \end{center}
-  \endgroup}
-
-% support page numbers during submission phase
-\gdef\@myfinalfoot{}
-\def\ecaisubmission{%
-\gdef\@myfinalfoot{\normalsize\hfill\thepage\hfill}
-}
-
-%section title
-\def\sectionfoot#1{\gdef\@sectionfoot{#1}}
-
-% author name
-\def\authorfoot#1{\gdef\@authorfoot{#1}}
-
-% defaults to empty footer for ECAI2004
-% IOS will insert footers
-\sectionfoot{}
-\authorfoot{}
-
-% Supply start page for each paper
-
-\def\ecai#1{
-\setcounter{page}{#1}
-\gdef\@myauth{\footsize\copyright\ 2004 \@authorfoot}
-\gdef\@myref{\footsize ECAI 2004. {\it 16th European Conference on
-  Artificial Intelligence\/}}
-\gdef\@myedit{\footsize Edited by Frank van Harmelen}
-\gdef\@mycopyright{\footsize Published in 2004 by IOS Press}
-}
-
-%Set page counter to one by default
-\ecai{1}
-\newcounter{pageone}
-
-\def\myfootnote{%
-\vbox{\footnotesize
-\hbox{\vrule height 0pt depth 0pt width0pt}
-\ifodd\count202\relax\else\ifnum\thepageone=\thepage%
-\hbox to \textwidth{\leaders\hrule height 0.8pt\hfill}%
-\fi%
+    \global \@minipagefalse
+    \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
 \fi
-\hbox to \textwidth{\hfill}
-\hbox to \textwidth{\noindent \@myauth\hfill}
-\hbox to \textwidth{\noindent \@myref\hfill}
-\hbox to \textwidth{\noindent \@myedit\hfill}
-\hbox to \textwidth{\noindent \@mycopyright \hfill}}}
-
-%***************************************
-%Pagestyle to give correct page depth for second and subsequent pages
-%***************************************
-\def\ps@ecaifirst{\let\@mkboth\@gobbletwo%
-     \def\@oddhead{}%
-     \def\@oddfoot{\global\textheight\ntextheight}%
-     \def\@evenhead{}%
-     \let\@evenfoot\@oddfoot}
-\let\ps@empty\ps@ecaifirst
-\let\ps@plain\ps@ecaifirst
-\ps@empty
-
-\def\ps@ecai{\let\@mkboth\@gobbletwo%
-     \def\@oddfoot{\@myfinalfoot}
-     \let\@evenfoot\@oddfoot
-     \def\@oddhead{}
-     \let\@evenhead\@oddhead}
-
-\pagestyle{ecai}
-
-\thispagestyle{ecaifirst}
-\textheight\ftextheight
-
-\newtheorem{theorem}{Theorem}
-
-%List within theorem
-\newcounter{theoremlistno}
-\newenvironment{theoremlist}{%
-\begin{list}{\arabic{theoremlistno}.}{\usecounter{theoremlistno}
-  \setlength{\leftmargin}{10pt}
-  \setlength{\labelsep}{6pt}
-  \setlength{\labelwidth}{6pt}
-  \sl}}
-{\end{list}}
+  \vskip\belowcaptionskip}
+\setlength\voffset{-1in}
+\setlength\hoffset{-1in}
+\setlength\paperwidth{34pc}
+\setlength\headsep{12pt}
+\setlength\topskip\baselineskip
+\setlength\marginparsep{5pt}
+\setlength\marginparwidth{18pt}
+\setlength\marginparpush{5pt}
+\setlength\headheight{30pt}
+\setlength\topmargin{0pt}
+\setlength{\footskip}{21pt}
+\setlength\textheight{48\baselineskip}
+\setlength\paperheight{49\baselineskip}
+\addtolength\paperheight\headheight
+\addtolength\paperheight\headsep
+\addtolength\paperheight\footskip
+\setlength\columnsep{2pc}
+\setlength\oddsidemargin{2pc}
+\setlength\evensidemargin{2pc}
+\setlength\textwidth\paperwidth
+\addtolength\textwidth{-2\oddsidemargin}
+\RequirePackage[\JCM@fontencoding]{fontenc}
+\def\@tempa{T1}
+\ifx\@tempa\JCM@fontencoding
+\DeclareFontFamily{T1}{phv}{}
+\DeclareFontShape{T1}{phv}{b}{n}{<->s*[.9]phvb8t}{}
+\DeclareFontShape{T1}{phv}{b}{sc}{<->s*[.9]phvbc8t}{}
+\DeclareFontShape{T1}{phv}{b}{sl}{<->s*[.9]phvbo8t}{}
+\DeclareFontShape{T1}{phv}{bc}{n}{<->s*[.9]phvbrn8t}{}
+\DeclareFontShape{T1}{phv}{bc}{sc}{<->s*[.9]phvbcn8t}{}
+\DeclareFontShape{T1}{phv}{bc}{sl}{<->s*[.9]phvbon8t}{}
+\DeclareFontShape{T1}{phv}{m}{n}{<->s*[.9]phvr8t}{}
+\DeclareFontShape{T1}{phv}{m}{sc}{<->s*[.9]phvrc8t}{}
+\DeclareFontShape{T1}{phv}{m}{sl}{<->s*[.9]phvro8t}{}
+\DeclareFontShape{T1}{phv}{mc}{n}{<->s*[.9]phvrrn8t}{}
+\DeclareFontShape{T1}{phv}{mc}{sc}{<->s*[.9]phvrcn8t}{}
+\DeclareFontShape{T1}{phv}{mc}{sl}{<->s*[.9]phvron8t}{}
+\DeclareFontShape{\JCM@fontencoding}{phv}{bx}{n}{<->ssub*phv/b/n}{}
+\DeclareFontShape{\JCM@fontencoding}{phv}{bx}{sc}{<->ssub*phv/b/sc}{}
+\DeclareFontShape{\JCM@fontencoding}{phv}{bx}{sl}{<->ssub*phv/b/sl}{}
+\DeclareFontShape{\JCM@fontencoding}{phv}{b}{it}{<->ssub*phv/b/sl}{}
+\DeclareFontShape{\JCM@fontencoding}{phv}{bx}{it}{<->ssub*phv/b/it}{}
+\DeclareFontShape{\JCM@fontencoding}{phv}{bc}{it}{<->ssub*phv/bc/sl}{}
+\DeclareFontShape{\JCM@fontencoding}{phv}{m}{it}{<->ssub*phv/m/sl}{}
+\DeclareFontShape{\JCM@fontencoding}{phv}{mc}{it}{<->ssub*phv/mc/sl}{}
+\fi
+\def\@tempa{LY1}
+\ifx\@tempa\JCM@fontencoding
+\input{ly1ptm.fd}
+\expandafter\def\expandafter\@tempa\expandafter{\csname<->ptmr8y\endcsname}
+%%\show\@tempa
+\expandafter\ifx\csname ly1/ptm/m/n\endcsname \@tempa
+  \def\sftfm#1#2{<->[.9]phv#18y}
+\else
+%%  \def\sftfm#1#2{<->[.9]phv#18y}
+  \def\sftfm#1#2{<->[.9]hv#2}
+\fi
+%%\show\sftfm
+\DeclareFontFamily{LY1}{phv}{}
+\DeclareFontShape{LY1}{phv}{b}{n}{\sftfm{b}{b}}{}
+\DeclareFontShape{LY1}{phv}{b}{sc}{<->sub*phv/b/n}{}
+\DeclareFontShape{LY1}{phv}{b}{sl}{\sftfm{bo}{bo}}{}
+\DeclareFontShape{LY1}{phv}{bc}{n}{<->sub*phv/m/n}{}
+\DeclareFontShape{LY1}{phv}{bc}{sc}{<->sub*phv/bc/n}{}
+\DeclareFontShape{LY1}{phv}{bc}{sl}{<->sub*phv/m/sl}{}
+\DeclareFontShape{LY1}{phv}{m}{n}{\sftfm{r}{}}{}
+\DeclareFontShape{LY1}{phv}{m}{sc}{<->sub*phv/m/n}{}
+\DeclareFontShape{LY1}{phv}{m}{sl}{\sftfm{ro}{o}}{}
+\DeclareFontShape{LY1}{phv}{mc}{n}{<->sub*phv/m/n}{}
+\DeclareFontShape{LY1}{phv}{mc}{sc}{<->sub*phv/m/n}{}
+\DeclareFontShape{LY1}{phv}{mc}{sl}{<->sub*phv/m/sl}{}
+\DeclareFontShape{\JCM@fontencoding}{phv}{bx}{n}{<->ssub*phv/b/n}{}
+\DeclareFontShape{\JCM@fontencoding}{phv}{bx}{sc}{<->ssub*phv/b/sc}{}
+\DeclareFontShape{\JCM@fontencoding}{phv}{bx}{sl}{<->ssub*phv/b/sl}{}
+\DeclareFontShape{\JCM@fontencoding}{phv}{b}{it}{<->ssub*phv/b/sl}{}
+\DeclareFontShape{\JCM@fontencoding}{phv}{bx}{it}{<->ssub*phv/b/it}{}
+\DeclareFontShape{\JCM@fontencoding}{phv}{bc}{it}{<->ssub*phv/bc/sl}{}
+\DeclareFontShape{\JCM@fontencoding}{phv}{m}{it}{<->ssub*phv/m/sl}{}
+\DeclareFontShape{\JCM@fontencoding}{phv}{mc}{it}{<->ssub*phv/mc/sl}{}
+\fi
+\JCM@fonts
+\JCM@ams
+\bibliographystyle{jcm}
+\def\@cite#1#2{[{{\citeform{#1}}\if@tempswa , #2\fi}]}
+\let\citeform\textbf
+\def\@biblabel#1{\textbf{#1.~}}
+\providecommand{\textsuperscript}[1]{%
+  \ensuremath{{}^{\mbox{\normalfont\scriptsize#1}}}}
+\providecommand{\@textsuperscript}[1]{%
+  \ensuremath{{}^{\mbox{\normalfont\scriptsize#1}}}}
+\providecommand\MakeUppercase[1]{%
+  \protected@edef\@tempa{\uppercase{#1}}\@tempa}
+\def\hb@xt@{\hbox to}
+\def\contentsname{Contents}
+\def\listfigurename{List of Figures}
+\def\listtablename{List of Tables}
+\def\refname{References}
+\def\indexname{Index}
+\def\figurename{Figure}
+\def\tablename{Table}
+\def\partname{Part}
+\def\appendixname{Appendix}
+\def\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}
+\def\journalBaseURL{http://www.lms.ac.uk}
+\def\journalname{\href
+  {\journalBaseURL/jcm/}{LMS J. Comput. Math.}}
+\def\@journalissn{1461--1570}
+\def\@journalpublisher{\href
+  {\journalBaseURL}%
+  {London Mathematical Society}}
+\def\copyrightname{David Carlisle}
+\def\andname{and}
+\def\ppname{pp}
+\def\numbername{number}
+\def\volumename{volume}

 \endinput
+%%
+%% End of file `jcm.cls'.

 

Close Window
 
  The service has been written by
Heinrich Stamerjohanns