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/lecture.cls	2010-04-03 09:51:47.000000000 +0200
@@ -1,48 +1,61 @@
-% documentclass AISB2008
-%
-% AISB is using the ECAI format
-%
-
-% 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]
+%%
+%% This is file `lecture.cls',
+%%  Edited from `report.cls', which was
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% classes.dtx  (with options: `report')
+%%
+%% This is a generated file.
+%%
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 2001
+%% The LaTeX3 Project and any individual authors listed elsewhere
+%% in this file.
+%%
+%% This file was generated from file(s) of the LaTeX base system.
+%% --------------------------------------------------------------
+%%
+%% It may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.2
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%%    http://www.latex-project.org/lppl.txt
+%% and version 1.2 or later is part of all distributions of LaTeX
+%% version 1999/12/01 or later.
+%%
+%% This file may only be distributed together with a copy of the LaTeX
+%% base system. You may however distribute the LaTeX base system without
+%% such generated files.
+%%
+%% The list of all files belonging to the LaTeX base distribution is
+%% given in the file `manifest.txt'. See also `legal.txt' for additional
+%% information.
+%%
+%% \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{lecture}
+              [2001/04/21 v1.4e
+ Standard LaTeX document class]
 \newcommand\@ptsize{}
 \newif\if@restonecol
 \newif\if@titlepage
-\@titlepagefalse
+\@titlepagetrue
+\newif\if@openright
 \if@compatibility\else
 \DeclareOption{a4paper}
    {\setlength\paperheight {297mm}%
@@ -86,352 +99,140 @@
 \if@compatibility\else
 \DeclareOption{notitlepage}{\@titlepagefalse}
 \fi
+\if@compatibility
+\else
+\DeclareOption{openright}{\@openrighttrue}
+\DeclareOption{openany}{\@openrightfalse}
+\fi
 \if@compatibility\else
 \DeclareOption{onecolumn}{\@twocolumnfalse}
 \fi
 \DeclareOption{twocolumn}{\@twocolumntrue}
 \DeclareOption{leqno}{\input{leqno.clo}}
 \DeclareOption{fleqn}{\input{fleqn.clo}}
-% 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
-
-\renewcommand\normalsize{%
-   \@setfontsize\normalsize\@ixpt{11}
-   \abovedisplayskip 9\p@ \@plus1.8\p@ \@minus4.5\p@
-   \belowdisplayskip \abovedisplayskip
-   \abovedisplayshortskip  \z@ plus2.7\p@
-   \belowdisplayshortskip  5.4\p@ plus2.7\p@ minus3\p@
-   \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@
-   \def\@listi{\leftmargin\leftmargini
-               \topsep 3.6\p@ \@plus1.8\p@ \@minus1.8\p@
-               \parsep 1.8\p@ \@plus\p@ \@minus\p@
-               \itemsep \parsep}%
-   \belowdisplayskip \abovedisplayskip
-}
-\newcommand\footnotesize{%
-   \@setfontsize\footnotesize\@viiipt{8.6}%
-   \abovedisplayskip 5.4\p@ \@plus1.8\p@ \@minus3.6\p@
-   \abovedisplayshortskip \z@ \@plus\p@
-   \belowdisplayshortskip 2.7\p@ \@plus\p@ \@minus1.8\p@
-   \def\@listi{\leftmargin\leftmargini
-               \topsep 2.7\p@ \@plus\p@ \@minus\p@
-               \parsep 1.8\p@ \@plus\p@ \@minus\p@
-               \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@}
-\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 0\p@
-            \topsep 8\p@ \@plus2\p@ \@minus4\p@
-            \itemsep 0\p@}
-\let\@listI\@listi
-\@listi
-\def\@listii {\leftmargin\leftmarginii
-              \labelwidth\leftmarginii
-              \advance\labelwidth-\labelsep
-              \topsep    4\p@ \@plus2\p@ \@minus\p@
-              \parsep    02\p@
-              \itemsep   \parsep}
-\def\@listiii{\leftmargin\leftmarginiii
-              \labelwidth\leftmarginiii
-              \advance\labelwidth-\labelsep
-              \topsep    2\p@ \@plus\p@\@minus\p@
+\DeclareOption{openbib}{%
+  \AtEndOfPackage{%
+   \renewcommand\@openbib@code{%
+      \advance\leftmargin\bibindent
+      \itemindent -\bibindent
+      \listparindent \itemindent
               \parsep    \z@
-              \partopsep \p@ \@plus\z@ \@minus\p@
-              \itemsep   \topsep}
-\def\@listiv {\leftmargin\leftmarginiv
-              \labelwidth\leftmarginiv
-              \advance\labelwidth-\labelsep
-              \parsep \z@ \itemsep \parsep}
-\def\@listv  {\leftmargin\leftmarginv
-              \labelwidth\leftmarginv
-              \advance\labelwidth-\labelsep
-              \parsep \z@ \itemsep \parsep}
-\def\@listvi {\leftmargin\leftmarginvi
-              \labelwidth\leftmarginvi
-              \advance\labelwidth-\labelsep
-              \parsep \z@ \itemsep \parsep}
-
-%  -- end of inserted modified size10.clo
-
+      }%
+   \renewcommand\newblock{\par}}%
+}
+\ExecuteOptions{letterpaper,10pt,oneside,onecolumn,final,openany}
+\ProcessOptions
+\input{size1\@ptsize.clo}
 \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
+\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\chaptermark##1{%
+      \markboth {\MakeUppercase{%
+        \ifnum \c@secnumdepth >\m@ne
+            \@chapapp\ \thechapter. \ %
+        \fi
+        ##1}}{}}%
+    \def\sectionmark##1{%
+      \markright {\MakeUppercase{%
+        \ifnum \c@secnumdepth >\z@
+          \thesection. \ %
+        \fi
+        ##1}}}}
+\else
+  \def\ps@headings{%
+    \let\@oddfoot\@empty
+    \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
+    \let\@mkboth\markboth
+    \def\chaptermark##1{%
+      \markright {\MakeUppercase{%
+        \ifnum \c@secnumdepth >\m@ne
+            \@chapapp\ \thechapter. \ %
+        \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\chaptermark\@gobble
+    \let\sectionmark\@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 5 March 2006 \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
+    \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
+    \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
+    \long\def\@makefntext##1{\parindent 1em\noindent
+            \hb@xt@1.8em{%
+                \hss\@textsuperscript{\normalfont\@thefnmark}}##1}%
+    \if@twocolumn
+      \ifnum \col@number=\@ne
+        \@maketitle
+      \else
         \twocolumn[\@maketitle]%
-%      \fi
+      \fi
     \else
       \newpage
       \global\@topnum\z@   % Prevents figures from going at top of page.
       \@maketitle
     \fi
-    \thispagestyle{empty}\@thanks
+    \thispagestyle{plain}\@thanks
   \endgroup
-%  \setcounter{footnote}{0}%
+  \setcounter{footnote}{0}%
   \global\let\thanks\relax
   \global\let\maketitle\relax
   \global\let\@maketitle\relax
@@ -444,83 +245,154 @@
   \global\let\date\relax
   \global\let\and\relax
 }
-\newcommand{\institute}[1]{\thanks{#1}}
 \def\@maketitle{%
   \newpage
   \null
-%  \vskip 2em%
+  \vskip 2em%
   \begin{center}%
   \let \footnote \thanks
-    {\tit@mysize\bfseries \@title \par}%
+    {\LARGE \@title \par}%
     \vskip 1.5em%
-    {\aut@mysize\bfseries
-%      \lineskip .5em%
+    {\large
+      \lineskip .5em%
       \begin{tabular}[t]{c}%
         \@author
       \end{tabular}\par}%
-%    \vskip 1em%
-%    {\large \@date}%
+    \vskip 1em%
+    {\large 5 March 2006}%
   \end{center}%
   \par
   \vskip 1.5em}
-%\fi
-\setcounter{secnumdepth}{3}
+\fi
+\newcommand*\chaptermark[1]{}
+\setcounter{secnumdepth}{2}
 \newcounter {part}
-\newcounter {section}
+\newcounter {chapter}
+\newcounter {section}[chapter]
 \newcounter {subsection}[section]
 \newcounter {subsubsection}[subsection]
 \newcounter {paragraph}[subsubsection]
 \newcounter {subparagraph}[paragraph]
 \renewcommand\thepart         {\@Roman\c@part}
-\renewcommand\thesection      {\@arabic\c@section}
+\renewcommand \thechapter {\@arabic\c@chapter}
+\renewcommand \thesection {\thechapter.\@arabic\c@section}
 \renewcommand\thesubsection   {\thesection.\@arabic\c@subsection}
 \renewcommand\thesubsubsection{\thesubsection .\@arabic\c@subsubsection}
 \renewcommand\theparagraph    {\thesubsubsection.\@arabic\c@paragraph}
 \renewcommand\thesubparagraph {\theparagraph.\@arabic\c@subparagraph}
-\newcommand\part{\par
-   \addvspace{4ex}%
-   \@afterindentfalse
+\newcommand\@chapapp{\chaptername}
+\newcommand\part{%
+  \if@openright
+    \cleardoublepage
+  \else
+    \clearpage
+  \fi
+  \thispagestyle{plain}%
+  \if@twocolumn
+    \onecolumn
+    \@tempswatrue
+  \else
+    \@tempswafalse
+  \fi
+  \null\vfil
    \secdef\@part\@spart}

 \def\@part[#1]#2{%
-    \ifnum \c@secnumdepth >\m@ne
+    \ifnum \c@secnumdepth >-2\relax
       \refstepcounter{part}%
       \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
     \else
       \addcontentsline{toc}{part}{#1}%
     \fi
-    {\parindent \z@ \raggedright
+    \markboth{}{}%
+    {\centering
      \interlinepenalty \@M
      \normalfont
+     \ifnum \c@secnumdepth >-2\relax
+       \huge\bfseries \partname\nobreakspace\thepart
+       \par
+       \vskip 20\p@
+     \fi
+     \Huge \bfseries #2\par}%
+    \@endpart}
+\def\@spart#1{%
+    {\centering
+     \interlinepenalty \@M
+     \normalfont
+     \Huge \bfseries #1\par}%
+    \@endpart}
+\def\@endpart{\vfil\newpage
+              \if@twoside
+               \if@openright
+                \null
+                \thispagestyle{empty}%
+                \newpage
+               \fi
+              \fi
+              \if@tempswa
+                \twocolumn
+              \fi}
+\newcommand\chapter{\if@openright\cleardoublepage\else\clearpage\fi
+                    \thispagestyle{plain}%
+                    \global\@topnum\z@
+                    \@afterindentfalse
+                    \secdef\@chapter\@schapter}
+\def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
+                         \refstepcounter{chapter}%
+                         \typeout{\@chapapp\space\thechapter.}%
+                         \addcontentsline{toc}{chapter}%
+                                   {\protect\numberline{\thechapter}#1}%
+                    \else
+                      \addcontentsline{toc}{chapter}{#1}%
+                    \fi
+                    \chaptermark{#1}%
+                    \addtocontents{lof}{\protect\addvspace{10\p@}}%
+                    \addtocontents{lot}{\protect\addvspace{10\p@}}%
+                    \if@twocolumn
+                      \@topnewpage[\@makechapterhead{#2}]%
+                    \else
+                      \@makechapterhead{#2}%
+                      \@afterheading
+                    \fi}
+\def\@makechapterhead#1{%
+  \vspace*{0.5\p@}%
+  {\parindent \z@ \raggedright \normalfont
      \ifnum \c@secnumdepth >\m@ne
-       \Large\bfseries \partname~\thepart
+        \huge\bfseries \@chapapp\space \thechapter  :\ Real Solutions
+  to \\ {\hspace{114.4pt} } Equations from Geometry
        \par\nobreak
+        \vskip 20\p@
      \fi
-     \huge \bfseries #2%
-     \markboth{}{}\par}%
-    \nobreak
-    \vskip 3ex
-    \@afterheading}
-\def\@spart#1{%
-    {\parindent \z@ \raggedright
      \interlinepenalty \@M
+    \Huge \bfseries #1\par\nobreak
+    \vskip 40\p@
+  }}
+\def\@schapter#1{\if@twocolumn
+                   \@topnewpage[\@makeschapterhead{#1}]%
+                 \else
+                   \@makeschapterhead{#1}%
+                   \@afterheading
+                 \fi}
+\def\@makeschapterhead#1{%
+  \vspace*{50\p@}%
+  {\parindent \z@ \raggedright
      \normalfont
-     \huge \bfseries #1\par}%
-     \nobreak
-     \vskip 3ex
-     \@afterheading}
+    \interlinepenalty\@M
+    \Huge \bfseries  #1\par\nobreak
+    \vskip 40\p@
+  }}
 \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}}
+                                   {-3.5ex \@plus -1ex \@minus -.2ex}%
+                                   {2.3ex \@plus.2ex}%
+                                   {\normalfont\Large\bfseries}}
 \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}}
+                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
+                                     {1.5ex \@plus .2ex}%
+                                     {\normalfont\large\bfseries}}
 \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}}
+                                     {-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}%
@@ -530,22 +402,22 @@
                                        {-1em}%
                                       {\normalfont\normalsize\bfseries}}
 \if@twocolumn
-  \setlength\leftmargini  {10\p@}
+  \setlength\leftmargini  {2em}
 \else
   \setlength\leftmargini  {2.5em}
 \fi
 \leftmargin  \leftmargini
-\setlength\leftmarginii  {10\p@}
-\setlength\leftmarginiii {5\p@}
-\setlength\leftmarginiv  {5\p@}
+\setlength\leftmarginii  {2.2em}
+\setlength\leftmarginiii {1.87em}
+\setlength\leftmarginiv  {1.7em}
 \if@twocolumn
-  \setlength\leftmarginv  {5\p@}
-  \setlength\leftmarginvi {5\p@}
+  \setlength\leftmarginv  {.5em}
+  \setlength\leftmarginvi {.5em}
 \else
   \setlength\leftmarginv  {1em}
   \setlength\leftmarginvi {1em}
 \fi
-\setlength  \labelsep  {5\p@}
+\setlength  \labelsep  {.5em}
 \setlength  \labelwidth{\leftmargini}
 \addtolength\labelwidth{-\labelsep}
 \@beginparpenalty -\@lowpenalty
@@ -562,31 +434,30 @@
 \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
+\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}%
+        \section*{\abstractname}%
       \else
         \small
         \begin{center}%
@@ -595,7 +466,7 @@
         \quotation
       \fi}
       {\if@twocolumn\else\endquotation\fi}
-%\fi
+\fi
 \newenvironment{verse}
                {\let\\\@centercr
                 \list{}{\itemsep      \z@
@@ -647,9 +518,10 @@
     }
 \fi
 \newcommand\appendix{\par
+  \setcounter{chapter}{0}%
   \setcounter{section}{0}%
-  \setcounter{subsection}{0}%
-  \renewcommand\thesection{\@Alph\c@section}}
+  \gdef\@chapapp{\appendixname}%
+  \gdef\thechapter{\@Alph\c@chapter}}
 \setlength\arraycolsep{5\p@}
 \setlength\tabcolsep{6\p@}
 \setlength\arrayrulewidth{.4\p@}
@@ -658,43 +530,47 @@
 \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}
+\@addtoreset {equation}{chapter}
+\renewcommand\theequation
+  {\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@equation}
+\newcounter{figure}[chapter]
+\renewcommand \thefigure
+     {\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@figure}
+\def\fps@figure{tbp}
 \def\ftype@figure{1}
 \def\ext@figure{lof}
-\def\fnum@figure{\figurename~\thefigure}
+\def\fnum@figure{\figurename\nobreakspace\thefigure}
 \newenvironment{figure}
                {\@float{figure}}
                {\end@float}
 \newenvironment{figure*}
                {\@dblfloat{figure}}
                {\end@dblfloat}
-\newcounter{table}
-\renewcommand\thetable{\@arabic\c@table}
-\def\fps@table{htbp}
+\newcounter{table}[chapter]
+\renewcommand \thetable
+     {\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@table}
+\def\fps@table{tbp}
 \def\ftype@table{2}
 \def\ext@table{lot}
-\def\fnum@table{\tablename~\thetable}
+\def\fnum@table{\tablename\nobreakspace\thetable}
 \newenvironment{table}
-               {\@float{table}\tabsize}
+               {\@float{table}}
                {\end@float}
 \newenvironment{table*}
                {\@dblfloat{table}}
                {\end@dblfloat}
 \newlength\abovecaptionskip
 \newlength\belowcaptionskip
-\setlength\abovecaptionskip{6\p@}
-\setlength\belowcaptionskip{2\p@}
+\setlength\abovecaptionskip{10\p@}
+\setlength\belowcaptionskip{0\p@}
 \long\def\@makecaption#1#2{%
   \vskip\abovecaptionskip
-  \sbox\@tempboxa{{\captsize{\bfseries #1.}\quad #2\normalsize}}%
+  \sbox\@tempboxa{#1: #2}%
   \ifdim \wd\@tempboxa >\hsize
-    {\captsize{\bfseries #1.}\quad #2\normalsize}\par%
+    #1: #2\par
   \else
     \global \@minipagefalse
-    \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
+    \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
   \fi
   \vskip\belowcaptionskip}
 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
@@ -709,34 +585,38 @@
 \newcommand\@pnumwidth{1.55em}
 \newcommand\@tocrmarg{2.55em}
 \newcommand\@dotsep{4.5}
-\setcounter{tocdepth}{3}
+\setcounter{tocdepth}{2}
 \newcommand\tableofcontents{%
-    \section*{\contentsname
+    \if@twocolumn
+      \@restonecoltrue\onecolumn
+    \else
+      \@restonecolfalse
+    \fi
+    \chapter*{\contentsname
         \@mkboth{%
            \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%
     \@starttoc{toc}%
+    \if@restonecol\twocolumn\fi
     }
 \newcommand*\l@part[2]{%
   \ifnum \c@tocdepth >-2\relax
-    \addpenalty\@secpenalty
+    \addpenalty{-\@highpenalty}%
     \addvspace{2.25em \@plus\p@}%
-    \begingroup
       \setlength\@tempdima{3em}%
+    \begingroup
       \parindent \z@ \rightskip \@pnumwidth
       \parfillskip -\@pnumwidth
       {\leavevmode
-       \large \bfseries #1\hfil \hbox to\@pnumwidth{\hss #2}}\par
+       \large \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par
        \nobreak
-       \if@compatibility
          \global\@nobreaktrue
          \everypar{\global\@nobreakfalse\everypar{}}%
-      \fi
     \endgroup
   \fi}
-\newcommand*\l@section[2]{%
-  \ifnum \c@tocdepth >\z@
-    \addpenalty\@secpenalty
-    \addvspace{1.0em \@plus\p@}%
+\newcommand*\l@chapter[2]{%
+  \ifnum \c@tocdepth >\m@ne
+    \addpenalty{-\@highpenalty}%
+    \vskip 1.0em \@plus\p@
     \setlength\@tempdima{1.5em}%
     \begingroup
       \parindent \z@ \rightskip \@pnumwidth
@@ -744,44 +624,60 @@
       \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
+      \penalty\@highpenalty
     \endgroup
   \fi}
-\newcommand*\l@subsection{\@dottedtocline{2}{1.5em}{2.3em}}
-\newcommand*\l@subsubsection{\@dottedtocline{3}{3.8em}{3.2em}}
-\newcommand*\l@paragraph{\@dottedtocline{4}{7.0em}{4.1em}}
-\newcommand*\l@subparagraph{\@dottedtocline{5}{10em}{5em}}
+\newcommand*\l@section{\@dottedtocline{1}{1.5em}{2.3em}}
+\newcommand*\l@subsection{\@dottedtocline{2}{3.8em}{3.2em}}
+\newcommand*\l@subsubsection{\@dottedtocline{3}{7.0em}{4.1em}}
+\newcommand*\l@paragraph{\@dottedtocline{4}{10em}{5em}}
+\newcommand*\l@subparagraph{\@dottedtocline{5}{12em}{6em}}
 \newcommand\listoffigures{%
-    \section*{\listfigurename
+    \if@twocolumn
+      \@restonecoltrue\onecolumn
+    \else
+      \@restonecolfalse
+    \fi
+    \chapter*{\listfigurename}%
       \@mkboth{\MakeUppercase\listfigurename}%
-              {\MakeUppercase\listfigurename}}%
+              {\MakeUppercase\listfigurename}%
     \@starttoc{lof}%
+    \if@restonecol\twocolumn\fi
     }
 \newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
 \newcommand\listoftables{%
-    \section*{\listtablename
+    \if@twocolumn
+      \@restonecoltrue\onecolumn
+    \else
+      \@restonecolfalse
+    \fi
+    \chapter*{\listtablename}%
       \@mkboth{%
-          \MakeUppercase\listtablename}{\MakeUppercase\listtablename}}%
+          \MakeUppercase\listtablename}%
+         {\MakeUppercase\listtablename}%
     \@starttoc{lot}%
+    \if@restonecol\twocolumn\fi
     }
 \let\l@table\l@figure
 \newdimen\bibindent
 \setlength\bibindent{1.5em}
 \newenvironment{thebibliography}[1]
-     {\section*{\refname
-        \@mkboth{\eightrm\MakeUppercase\refname}{\eightrm\MakeUppercase\refname}}%
-      \refsize\list{[\@arabic\c@enumi]~}%
-           {\settowidth\labelwidth{[0#1]~}%
+     {\chapter*{\bibname}%
+      \@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}%
+      \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}
@@ -795,7 +691,7 @@
                 \fi
                 \columnseprule \z@
                 \columnsep 35\p@
-                \twocolumn[\section*{\indexname}]%
+                \twocolumn[\@makeschapterhead{\indexname}]%
                 \@mkboth{\MakeUppercase\indexname}%
                         {\MakeUppercase\indexname}%
                 \thispagestyle{plain}\parindent\z@
@@ -806,39 +702,34 @@
 \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@}
+  \hrule\@width.4\columnwidth
+  \kern2.6\p@}
+\@addtoreset{footnote}{chapter}
 \newcommand\@makefntext[1]{%
-    \ifnum\thefootnote<10\hangindent7pt\else\hangindent9pt\fi
-    $^{\rm \@thefnmark}$ #1}
-%    \parindent 1em%
-%    \noindent
-%    \hbox to1.8em{\hss\@makefnmark}#1}
+    \parindent 1em%
+    \noindent
+    \hb@xt@1.8em{\hss\@makefnmark}#1}
 \newcommand\contentsname{Contents}
 \newcommand\listfigurename{List of Figures}
 \newcommand\listtablename{List of Tables}
-\newcommand\refname{REFERENCES}
+\newcommand\bibname{Bibliography}
 \newcommand\indexname{Index}
 \newcommand\figurename{Figure}
 \newcommand\tablename{Table}
 \newcommand\partname{Part}
+\newcommand\chaptername{Lecture}
 \newcommand\appendixname{Appendix}
 \newcommand\abstractname{Abstract}
-\newcommand\today{}
-\edef\today{\ifcase\month\or
+\def\today{\ifcase\month\or
   January\or February\or March\or April\or May\or June\or
   July\or August\or September\or October\or November\or December\fi
   \space\number\day, \number\year}
-\setlength\columnsep{1.5pc}
+\setlength\columnsep{10\p@}
 \setlength\columnseprule{0\p@}
-\setlength{\hoffset}{-3.5pc}
 \pagestyle{plain}
 \pagenumbering{arabic}
-\frenchspacing
 \if@twoside
 \else
   \raggedbottom
@@ -850,135 +741,6 @@
 \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%
-\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}}
-
 \endinput
+%%
+%% End of file `lecture.cls'.

 

Close Window
 
  The service has been written by
Heinrich Stamerjohanns