arxmliv
arxmliv build tool
 
KWARC group
LaTeXML
About
   
 

Back to Homepage

--- /arXMLiv/repos/arXMLiv/trunk/sty/articlo.cls	2010-04-02 14:23:56.000000000 +0200
+++ /arXMLiv/repos/arXMLiv/trunk/sty/ecai2008.cls	2012-08-16 16:41:44.892364627 +0200
@@ -1,98 +1,45 @@
-%%
-%% This is file `article.cls',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% classes.dtx  (with options: `article')
-%%
-%%
-%% This is a generated file.
-%%
-%% Copyright 1993 1994 1995 The LaTeX3 Project and any individual
-%% authors listed elsewhere in this file.
-%%
-%% For further copyright information, and conditions for modification
-%% and distribution, see the file legal.txt, and any other copyright
-%% notices in this file.
-%%
-%% This file is part of the LaTeX2e system.
-%% ----------------------------------------
-%% This system 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.
-%%
-%% For error reports concerning UNCHANGED versions of this file no
-%% more than one year old, see bugs.txt.
-%%
-%% Please do not request updates from us directly. Primary
-%% distribution is through the CTAN archives.
-%%
-%%
-%% IMPORTANT COPYRIGHT NOTICE:
-%%
-%% You are NOT ALLOWED to distribute this file alone.
-%%
-%% You are allowed to distribute this file under the condition that it
-%% is distributed together with all the files listed in manifest.txt.
-%%
-%% If you receive only some of these files from someone, complain!
-%%
-%%
-%% Permission is granted to copy this file to another file with a
-%% clearly different name and to customize the declarations in that
-%% copy to serve the needs of your installation, provided that you
-%% comply with the conditions in the file legal.txt.
-%%
-%% However, NO PERMISSION is granted to generate or to distribute a
-%% modified version of this file under its original name.
-%%
-%% You are NOT ALLOWED to change this file.
-%%
-%%
-%% MODIFICATION ADVICE:
-%%
-%% If you want to customize this file, it is best to make a copy of
-%% the source file(s) from which it was produced. Use a different
-%% name for your copy(ies) and modify the copy(ies); this will ensure
-%% that your modifications do not get overwritten when you install a
-%% new release of the standard system. You should also ensure that
-%% your modified source file does not generate any modified file with
-%% the same name as a standard file.
-%%
-%% You can then easily distribute your modifications by distributing
-%% the modified and renamed copy of the source file, taking care to
-%% observe the conditions in legal.txt; this will ensure that other
-%% users can safely use your modifications.
-%%
-%% You will also need to produce your own, suitably named, .ins file to
-%% control the generation of files from your source file; this file
-%% should contain your own preambles for the files it generates, not
-%% those in the standard .ins files.
-%%
-%% The names of the source files used are shown above.
-%%
-%%
-%%
-%% \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{articlo}
-              [1995/12/20 v1.3q
- Standard LaTeX document class]
+% documentclass ecai2008
+%
+% This is file `ecai2008.cls', the recommended style file for ECAI-2008
+% and PAIS-2008 submission and camera-ready copy, for use with latex2e
+% in native mode. It is the same as `ecai2004.cls' used for ECAI-2004.
+
+% 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{ecai2008}
+              [2002/03/06 v01 ECAI-2004 document class]
 \newcommand\@ptsize{}
 \newif\if@restonecol
 \newif\if@titlepage
@@ -146,129 +93,346 @@
 \DeclareOption{twocolumn}{\@twocolumntrue}
 \DeclareOption{leqno}{\input{leqno.clo}}
 \DeclareOption{fleqn}{\input{fleqn.clo}}
-\DeclareOption{openbib}{%
-  \AtEndOfPackage{%
-   \renewcommand\@openbib@code{%
-      \advance\leftmargin\bibindent
-      \itemindent -\bibindent
-      \listparindent \itemindent
-      \parsep \z@
-      }%
-   \renewcommand\newblock{\par}}%
-}
-\ExecuteOptions{letterpaper,10pt,oneside,onecolumn,final}
+% 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
-\input{size1\@ptsize.clo}
+
+%  --  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@
+              \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
+
 \setlength\lineskip{1\p@}
 \setlength\normallineskip{1\p@}
-\renewcommand\baselinestretch{}
-\setlength\parskip{0\p@ \@plus \p@}
+\renewcommand\baselinestretch{1}
+\setlength\parskip{0\p@}
 \@lowpenalty   51
 \@medpenalty  151
 \@highpenalty 301
 \setcounter{topnumber}{2}
-\renewcommand\topfraction{.7}
-\setcounter{bottomnumber}{1}
-\renewcommand\bottomfraction{.3}
+\renewcommand\topfraction{.9}
+\setcounter{bottomnumber}{2}
+\renewcommand\bottomfraction{.9}
 \setcounter{totalnumber}{3}
-\renewcommand\textfraction{.2}
+\renewcommand\textfraction{.1}
 \renewcommand\floatpagefraction{.5}
 \setcounter{dbltopnumber}{2}
-\renewcommand\dbltopfraction{.7}
+\renewcommand\dbltopfraction{.9}
 \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\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}%
-    \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
-    \long\def\@makefntext##1{\parindent 1em\noindent
-            \hb@xt@1.8em{%
-                \hss\@textsuperscript{\normalfont\@thefnmark}}##1}%
+%    \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
+%      \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{plain}\@thanks
+    \thispagestyle{empty}\@thanks
   \endgroup
-  \setcounter{footnote}{0}%
+%  \setcounter{footnote}{0}%
   \global\let\thanks\relax
   \global\let\maketitle\relax
   \global\let\@maketitle\relax
@@ -281,25 +445,26 @@
   \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
-    {\LARGE \@title \par}%
+    {\tit@mysize\bfseries \@title \par}%
     \vskip 1.5em%
-    {\large
-      \lineskip .5em%
+    {\aut@mysize\bfseries
+%      \lineskip .5em%
       \begin{tabular}[t]{c}%
         \@author
       \end{tabular}\par}%
-    \vskip 1em%
-    {\large \@date}%
+%    \vskip 1em%
+%    {\large \@date}%
   \end{center}%
   \par
   \vskip 1.5em}
-\fi
+%\fi
 \setcounter{secnumdepth}{3}
 \newcounter {part}
 \newcounter {section}
@@ -346,17 +511,17 @@
      \vskip 3ex
      \@afterheading}
 \newcommand\section{\@startsection {section}{1}{\z@}%
-                                   {-3.5ex \@plus -1ex \@minus -.2ex}%
-                                   {2.3ex \@plus.2ex}%
-                                   {\normalfont\Large\bfseries}}
+                                   {-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@}%
-                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
-                                     {1.5ex \@plus .2ex}%
-                                     {\normalfont\large\bfseries}}
+                                   {-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@}%
-                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
-                                     {1.5ex \@plus .2ex}%
-                                     {\normalfont\normalsize\bfseries}}
+                                   {-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}%
@@ -366,22 +531,22 @@
                                        {-1em}%
                                       {\normalfont\normalsize\bfseries}}
 \if@twocolumn
-  \setlength\leftmargini  {2em}
+  \setlength\leftmargini  {10\p@}
 \else
   \setlength\leftmargini  {2.5em}
 \fi
 \leftmargin  \leftmargini
-\setlength\leftmarginii  {2.2em}
-\setlength\leftmarginiii {1.87em}
-\setlength\leftmarginiv  {1.7em}
+\setlength\leftmarginii  {10\p@}
+\setlength\leftmarginiii {5\p@}
+\setlength\leftmarginiv  {5\p@}
 \if@twocolumn
-  \setlength\leftmarginv  {.5em}
-  \setlength\leftmarginvi {.5em}
+  \setlength\leftmarginv  {5\p@}
+  \setlength\leftmarginvi {5\p@}
 \else
   \setlength\leftmarginv  {1em}
   \setlength\leftmarginvi {1em}
 \fi
-\setlength  \labelsep  {.5em}
+\setlength  \labelsep  {5\p@}
 \setlength  \labelwidth{\leftmargini}
 \addtolength\labelwidth{-\labelsep}
 \@beginparpenalty -\@lowpenalty
@@ -408,20 +573,21 @@
                {\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
-        \section*{\abstractname}%
+        {\parindent 0mm\bf \abstractname.\hspace{3pt}}
+%        \section*{\abstractname}%
       \else
         \small
         \begin{center}%
@@ -430,7 +596,7 @@
         \quotation
       \fi}
       {\if@twocolumn\else\endquotation\fi}
-\fi
+%\fi
 \newenvironment{verse}
                {\let\\\@centercr
                 \list{}{\itemsep      \z@
@@ -496,7 +662,7 @@
 \renewcommand\theequation{\@arabic\c@equation}
 \newcounter{figure}
 \renewcommand\thefigure{\@arabic\c@figure}
-\def\fps@figure{tbp}
+\def\fps@figure{htbp}
 \def\ftype@figure{1}
 \def\ext@figure{lof}
 \def\fnum@figure{\figurename~\thefigure}
@@ -508,32 +674,28 @@
                {\end@dblfloat}
 \newcounter{table}
 \renewcommand\thetable{\@arabic\c@table}
-\def\fps@table{tbp}
+\def\fps@table{htbp}
 \def\ftype@table{2}
 \def\ext@table{lot}
 \def\fnum@table{\tablename~\thetable}
 \newenvironment{table}
-               {\@float{table}}
+               {\@float{table}\tabsize}
                {\end@float}
 \newenvironment{table*}
                {\@dblfloat{table}}
                {\end@dblfloat}
 \newlength\abovecaptionskip
 \newlength\belowcaptionskip
-\newlength\maximcaptionwidth
-\setlength\abovecaptionskip{10\p@}
-\setlength\belowcaptionskip{0\p@}
-\setlength\maximcaptionwidth{12.0cm}
+\setlength\abovecaptionskip{6\p@}
+\setlength\belowcaptionskip{2\p@}
 \long\def\@makecaption#1#2{%
   \vskip\abovecaptionskip
-  \sbox\@tempboxa{#1: #2}%  \ifdim \wd\@tempboxa >\hsize
-  \ifdim \wd\@tempboxa > \maximcaptionwidth
-    \centering\begin{minipage}{14.8cm}
-    #1: #2\par
-    \end{minipage}
+  \sbox\@tempboxa{{\captsize{\bfseries #1.}\quad #2\normalsize}}%
+  \ifdim \wd\@tempboxa >\hsize
+    {\captsize{\bfseries #1.}\quad #2\normalsize}\par%
   \else
     \global \@minipagefalse
-    \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
+    \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
   \fi
   \vskip\belowcaptionskip}
 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
@@ -564,7 +726,7 @@
       \parindent \z@ \rightskip \@pnumwidth
       \parfillskip -\@pnumwidth
       {\leavevmode
-       \large \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par
+       \large \bfseries #1\hfil \hbox to\@pnumwidth{\hss #2}}\par
        \nobreak
        \if@compatibility
          \global\@nobreaktrue
@@ -583,7 +745,7 @@
       \leavevmode \bfseries
       \advance\leftskip\@tempdima
       \hskip -\leftskip
-      #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
+      #1\nobreak\hfil \nobreak\hbox to\@pnumwidth{\hss #2}\par
     \endgroup
   \fi}
 \newcommand*\l@subsection{\@dottedtocline{2}{1.5em}{2.3em}}
@@ -608,17 +770,19 @@
 \setlength\bibindent{1.5em}
 \newenvironment{thebibliography}[1]
      {\section*{\refname
-        \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}}%
-      \list{\@biblabel{\@arabic\c@enumiv}}%
-           {\settowidth\labelwidth{\@biblabel{#1}}%
+        \@mkboth{\eightrm\MakeUppercase\refname}{\eightrm\MakeUppercase\refname}}%
+      \refsize\list{[\@arabic\c@enumi]~}%
+           {\settowidth\labelwidth{[0#1]~}%
             \leftmargin\labelwidth
-            \advance\leftmargin\labelsep
+%            \advance\leftmargin\labelsep
+            \itemsep 0\p@
+            \parsep 0\p@
             \@openbib@code
-            \usecounter{enumiv}%
-            \let\p@enumiv\@empty
-            \renewcommand\theenumiv{\@arabic\c@enumiv}}%
-      \sloppy\clubpenalty4000\widowpenalty4000%
-      \sfcode`\.\@m}
+            \usecounter{enumi}%
+            \let\p@enumi\@empty
+            \renewcommand\theenumi{\@arabic\c@enumi}}%
+      \sloppy\clubpenalty4000\widowpenalty4000\interlinepenalty=100%
+      \sfcode`\.=1000}
      {\def\@noitemerr
        {\@latex@warning{Empty `thebibliography' environment}}%
       \endlist}
@@ -643,18 +807,22 @@
 \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\@width.4\columnwidth
-  \kern2.6\p@}
+  \hrule \@height 0.8\p@
+  \kern 2.2\p@}
 \newcommand\@makefntext[1]{%
-    \parindent 1em%
-    \noindent
-    \hb@xt@1.8em{\hss\@makefnmark}#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\refname{REFERENCES}
 \newcommand\indexname{Index}
 \newcommand\figurename{Figure}
 \newcommand\tablename{Table}
@@ -666,10 +834,12 @@
   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{10\p@}
+\setlength\columnsep{1.5pc}
 \setlength\columnseprule{0\p@}
+\setlength{\hoffset}{-3.5pc}
 \pagestyle{plain}
 \pagenumbering{arabic}
+\frenchspacing
 \if@twoside
 \else
   \raggedbottom
@@ -681,6 +851,135 @@
 \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 `article.cls'.

 

Close Window
 
  The service has been written by
Heinrich Stamerjohanns