
hekeus@51: %Filename: aaai.sty
hekeus@51: %
hekeus@51: \typeout{Conference Style for AAAI for LaTeX 2e -- version of 8 April 2012}
hekeus@51: % WARNING: IF YOU ARE USING THIS STYLE SHEET FOR AN AAAI PUBLICATION, YOU
hekeus@51: % MAY NOT MODIFY IT FOR ANY REASON. MODIFICATIONS (IN YOUR SOURCE 
hekeus@51: % OR IN THIS STYLE SHEET WILL RESULT IN REJECTION OF YOUR PAPER).
hekeus@51: 
hekeus@51: % NOTICE: DO NOT MODIFY THIS FILE WITHOUT CHANGING ITS NAME. This style
hekeus@51: % file is called aaai.sty. Modifications to this file are permitted,
hekeus@51: % provided that your modified version does not include the acronym "aaai"
hekeus@51: % in its name, that credit to the authors and supporting agencies is
hekeus@51: % retained, and that further modification or reuse is not restricted. This
hekeus@51: % file was originally prepared by Peter F. Patel-Schneider, liberally
hekeus@51: % using the ideas of other style hackers, including Barbara Beeton. It was
hekeus@51: % modified in April 1999 by J. Scott Penberthy and George Ferguson. It was
hekeus@51: % modified in 2007 by AAAI. It was modified in February 2009  
hekeus@51: % and in November 2009 by Hans W. Guesgen and Giuseppe De Giacomo. It
hekeus@51: % was further modified in March 2010 by AAAI.
hekeus@51: % The original preparation of this file was supported by 
hekeus@51: % Schlumberger Palo Alto Research, AT\&T Bell Laboratories, AAAI, and 
hekeus@51: % Morgan Kaufmann Publishers.
hekeus@51: % 
hekeus@51: % WARNING: This style is NOT guaranteed to work. It is provided in the
hekeus@51: % hope that it might make the preparation of papers easier, but this style
hekeus@51: % file is provided "as is" without warranty of any kind, either express or
hekeus@51: % implied, including but not limited to the implied warranties of
hekeus@51: % merchantability, fitness for a particular purpose, or noninfringement.
hekeus@51: % You use this style file at your own risk. Standard disclaimers apply.
hekeus@51: % 
hekeus@51: % Do not use this file unless you are an experienced LaTeX user. To
hekeus@51: % satisfy AAAI's requirements, you must change your paper's configuration
hekeus@51: % to use Times fonts. AAAI will not accept your paper if it is formatted
hekeus@51: % using obsolete type 3 Computer Modern bitmapped fonts. Please ensure
hekeus@51: % that your version of dvips maps to type 1 fonts. Place this document in
hekeus@51: % a file called aaai.sty in the TeX search path. (Placing it in the same
hekeus@51: % directory as the paper should also work.)
hekeus@51: %
hekeus@51: % You must also format your paper for US letter-sized paper.
hekeus@51: % 
hekeus@51: % There are undoubtably bugs in this style. If you would like to submit
hekeus@51: % bug fixes, improvements, etc. please let us know. Please use the contact form
hekeus@51: % at www.aaai.org.
hekeus@51: % 
hekeus@51: % \documentclass[letterpaper]{article}
hekeus@51: % \usepackage{aaai}
hekeus@51: % \usepackage{times}
hekeus@51: % \usepackage{helvet}
hekeus@51: % \usepackage{courier}
hekeus@51: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
hekeus@51: % IMPORTANT -- ADDITION OF A PDF MARK WITH YOUR PAPER TITLE
hekeus@51: % AND ALL AUTHOR NAMES IS REQUIRED ON ALL AAAI PAPERS
hekeus@51: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
hekeus@51: %
hekeus@51: % PDFMARK for TeX and GhostScript
hekeus@51: % Uncomment and complete the following for metadata if
hekeus@51: % your paper is typeset using TeX and GhostScript (e.g
hekeus@51: % if you use .ps or .eps files in your paper):
hekeus@51: % \special{! /pdfmark where
hekeus@51: % {pop} {userdict /pdfmark /cleartomark load put} ifelse
hekeus@51: % [ /Author (John Doe, Jane Doe)
hekeus@51: % /Title (Input Your Paper Title Here)
hekeus@51: % /Subject (Input the Proceedings Title Here)
hekeus@51: % /Keywords (AAAI, artificial intelligence)
hekeus@51: % /DOCINFO pdfmark}
hekeus@51: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
hekeus@51: % PDFINFO for PDFTeX
hekeus@51: % Uncomment and complete the following for metadata if
hekeus@51: % your paper is typeset using PDFTeX
hekeus@51: % \pdfinfo{
hekeus@51: % /Title (Input Your Paper Title Here)
hekeus@51: % /Subject (Input the Proceedings Title Here)
hekeus@51: % /Author (John Doe, Jane Doe)
hekeus@51: % }
hekeus@51: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
hekeus@51: % Section Numbers
hekeus@51: % Uncomment if you want to use section numbers
hekeus@51: % and change the 0 to a 1 or 2
hekeus@51: % \setcounter{secnumdepth}{0}
hekeus@51: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
hekeus@51: % \title{Title}
hekeus@51: % \author{Author 1 \and Author 2 \\ Address line \\ Address line \And
hekeus@51: % Author 3 \\ Address line \\ Address line}
hekeus@51: % \begin{document}
hekeus@51: % \maketitle
hekeus@51: % ...
hekeus@51: % \bibliography{Bibliography-File}
hekeus@51: % \bibliographystyle{aaai}
hekeus@51: % \end{document}
hekeus@51: % \pubnote{\em To appear, AAAI-10} % optional, remove for submission
hekeus@51: %
hekeus@51: % \pubnote is for printing the paper yourself, and should not be used in
hekeus@51: % submitted versions!!!!
hekeus@51: % Author information can be set in various styles:
hekeus@51: % For several authors from the same institution:
hekeus@51: % \author{Author 1 \and ... \and Author n \\
hekeus@51: % Address line \\ ... \\ Address line}
hekeus@51: % if the names do not fit well on one line use
hekeus@51: % \author{Author 1 \\ {\bf Author 2} \\ ... \\ {\bf Author n} \\
hekeus@51: % Address line \\ ... \\ Address line}
hekeus@51: % For authors from different institutions:
hekeus@51: % \author{Author 1 \\ Address line \\ ... \\ Address line
hekeus@51: % \And ... \And
hekeus@51: % Author n \\ Address line \\ ... \\ Address line}
hekeus@51: % To start a separate ``row'' of authors use \AND, as in
hekeus@51: % \author{Author 1 \\ Address line \\ ... \\ Address line
hekeus@51: % \AND
hekeus@51: % Author 2 \\ Address line \\ ... \\ Address line \And
hekeus@51: % Author 3 \\ Address line \\ ... \\ Address line}
hekeus@51: % If the title and author information does not fit in the area allocated,
hekeus@51: % place \setlength\titlebox{height}
hekeus@51: % after the \documentstyle line
hekeus@51: % where {height} is something like 2.5in
hekeus@51: % PHYSICAL PAGE LAYOUT
hekeus@51: \setlength\topmargin{-0.25in} \setlength\oddsidemargin{-0.25in}
hekeus@51: \setlength\textheight{9.0in} \setlength\textwidth{7.0in}
hekeus@51: \setlength\columnsep{0.375in} \newlength\titlebox \setlength\titlebox{2.25in}
hekeus@51: \setlength\headheight{0pt}  \setlength\headsep{0pt}
hekeus@51: %\setlength\footheight{0pt}  \setlength\footskip{0pt}
hekeus@51: \thispagestyle{empty} \pagestyle{empty}
hekeus@51: \flushbottom \twocolumn \sloppy
hekeus@51: % We're never going to need a table of contents, so just flush it to
hekeus@51: % save space --- suggested by drstrip@sandia-2
hekeus@51: \def\addcontentsline#1#2#3{}
hekeus@51: % gf: PRINT COPYRIGHT NOTICE
hekeus@51: \def\copyright@year{\number\year}
hekeus@51: \def\copyright@text{Copyright \copyright\space \copyright@year,
hekeus@51: Association for the Advancement of Artificial Intelligence (www.aaai.org).
hekeus@51: All rights reserved.}
hekeus@51: \def\copyright@on{T}
hekeus@51: \def\nocopyright{\gdef\copyright@on{}}
hekeus@51: \def\copyrighttext#1{\gdef\copyright@on{T}\gdef\copyright@text{#1}}
hekeus@51: \def\copyrightyear#1{\gdef\copyright@on{T}\gdef\copyright@year{#1}}
hekeus@51: % gf: End changes for copyright notice (used in \maketitle, below)
hekeus@51: % Title stuff, taken from deproc.
hekeus@51: \def\maketitle{\par
hekeus@51: \begingroup % to make the footnote style local to the title
hekeus@51: \def\thefootnote{\fnsymbol{footnote}}
hekeus@51: % gf: Don't see why we'd want the footnotemark to be 0pt wide
hekeus@51: %\def\@makefnmark{\hbox to 0pt{$^{\@thefnmark}$\hss}}
hekeus@51: \twocolumn[\@maketitle] \@thanks
hekeus@51: \endgroup
hekeus@51: % gf: Insert copyright slug unless turned off
hekeus@51: \if T\copyright@on\insert\footins{\noindent\footnotesize\copyright@text}\fi
hekeus@51: % gf: And now back to your regular programming
hekeus@51: \setcounter{footnote}{0}
hekeus@51: \let\maketitle\relax \let\@maketitle\relax
hekeus@51: \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
hekeus@51: \def\@maketitle{\vbox to \titlebox{\hsize\textwidth
hekeus@51: %%% AAAI changed: 03/05/2010
hekeus@51: %%\linewidth\hsize \vskip 0.625in minus 0.125in \centering
hekeus@51: \linewidth\hsize \vskip 0.625in minus 0.125in \centering
hekeus@51: %%% END changed
hekeus@51: {\LARGE\bf \@title \par} \vskip 0.2in plus 1fil minus 0.1in
hekeus@51: {\def\and{\unskip\enspace{\rm and}\enspace}%
hekeus@51: \def\And{\end{tabular}\hss \egroup \hskip 1in plus 2fil 
hekeus@51:  \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\Large\bf}%
hekeus@51: \def\AND{\end{tabular}\hss\egroup \hfil\hfil\egroup
hekeus@51: \vskip 0.25in plus 1fil minus 0.125in
hekeus@51: % hg: Changed Large to normalsize on next line
hekeus@51:  \hbox to \linewidth\bgroup\normalsize \hfil\hfil
hekeus@51: \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\Large\bf}
hekeus@51: \hbox to \linewidth\bgroup\normalsize \hfil\hfil
hekeus@51: \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\Large\bf\@author 
hekeus@51: \end{tabular}\hss\egroup
hekeus@51: \hfil\hfil\egroup}
hekeus@51: \vskip 0.3in plus 2fil minus 0.1in
hekeus@51: }}
hekeus@51: \renewenvironment{abstract}{\centerline{\bf
hekeus@51: Abstract}\vspace{0.5ex}\begin{quote}\small}{\par\end{quote}\vskip 1ex}
hekeus@51: % jsp added:
hekeus@51: \def\pubnote#1{\thispagestyle{myheadings}
hekeus@51: \pagestyle{myheadings}
hekeus@51: \markboth{#1}{#1}
hekeus@51: \setlength\headheight{10pt}  \setlength\headsep{10pt}
hekeus@51: }
hekeus@51: % SECTIONS with less space
hekeus@51: \def\section{\@startsection {section}{1}{\z@}{-2.0ex plus
hekeus@51: -0.5ex minus -.2ex}{3pt plus 2pt minus 1pt}{\Large\bf\centering}}
hekeus@51: \def\subsection{\@startsection{subsection}{2}{\z@}{-2.0ex plus
hekeus@51: -0.5ex minus -.2ex}{3pt plus 2pt minus 1pt}{\large\bf\raggedright}}
hekeus@51: \def\subsubsection{\@startsection{subparagraph}{3}{\z@}{-6pt plus
hekeus@51: %%% DIEGO changed: 29/11/2009
hekeus@51: %% 2pt minus 1pt}{-1em}{\normalsize\bf}}
hekeus@51: -2pt minus -1pt}{-1em}{\normalsize\bf}}
hekeus@51: %%% END changed
hekeus@51: \setcounter{secnumdepth}{0}
hekeus@51: % add period to section (but not subsection) numbers, reduce space after
hekeus@51: %\renewcommand{\thesection}
hekeus@51: %   {\arabic{section}.\hskip-0.6em}
hekeus@51: %\renewcommand{\thesubsection}
hekeus@51: %   {\arabic{section}.\arabic{subsection}\hskip-0.6em}
hekeus@51: % FOOTNOTES
hekeus@51: \footnotesep 6.65pt %
hekeus@51: \skip\footins 9pt plus 4pt minus 2pt
hekeus@51: \def\footnoterule{\kern-3pt \hrule width 5pc \kern 2.6pt }
hekeus@51: \setcounter{footnote}{0}
hekeus@51: % LISTS AND PARAGRAPHS
hekeus@51: \parindent 10pt
hekeus@51: \topsep 4pt plus 1pt minus 2pt
hekeus@51: \partopsep 1pt plus 0.5pt minus 0.5pt
hekeus@51: \itemsep 2pt plus 1pt minus 0.5pt
hekeus@51: \parsep 2pt plus 1pt minus 0.5pt
hekeus@51: \leftmargin 10pt \leftmargini\leftmargin \leftmarginii 10pt
hekeus@51: \leftmarginiii 5pt \leftmarginiv 5pt \leftmarginv 5pt \leftmarginvi 5pt
hekeus@51: \labelwidth\leftmargini\advance\labelwidth-\labelsep \labelsep 5pt
hekeus@51: \def\@listi{\leftmargin\leftmargini}
hekeus@51: \def\@listii{\leftmargin\leftmarginii
hekeus@51: \labelwidth\leftmarginii\advance\labelwidth-\labelsep
hekeus@51: \topsep 2pt plus 1pt minus 0.5pt
hekeus@51: \parsep 1pt plus 0.5pt minus 0.5pt
hekeus@51: \itemsep \parsep}
hekeus@51: \def\@listiii{\leftmargin\leftmarginiii
hekeus@51: \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
hekeus@51: \topsep 1pt plus 0.5pt minus 0.5pt 
hekeus@51: \parsep \z@ \partopsep 0.5pt plus 0pt minus 0.5pt
hekeus@51: \itemsep \topsep}
hekeus@51: \def\@listiv{\leftmargin\leftmarginiv
hekeus@51: \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
hekeus@51: \def\@listv{\leftmargin\leftmarginv
hekeus@51: \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
hekeus@51: \def\@listvi{\leftmargin\leftmarginvi
hekeus@51: \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
hekeus@51: \abovedisplayskip 7pt plus2pt minus5pt%
hekeus@51: \belowdisplayskip \abovedisplayskip
hekeus@51: \abovedisplayshortskip 0pt plus3pt% 
hekeus@51: \belowdisplayshortskip 4pt plus3pt minus3pt%
hekeus@51: % Less leading in most fonts (due to the narrow columns)
hekeus@51: % The choices were between 1-pt and 1.5-pt leading
hekeus@51: \def\normalsize{\@setfontsize\normalsize\@xpt{11}}   % 10 point on 11
hekeus@51: \def\small{\@setfontsize\small\@ixpt{10}}    % 9 point on 10
hekeus@51: \def\footnotesize{\@setfontsize\footnotesize\@ixpt{10}}  % 9 point on 10
hekeus@51: \def\scriptsize{\@setfontsize\scriptsize\@viipt{10}}  % 7 point on 8
hekeus@51: \def\tiny{\@setfontsize\tiny\@vipt{7}}    % 6 point on 7
hekeus@51: \def\large{\@setfontsize\large\@xipt{12}}    % 11 point on 12
hekeus@51: \def\Large{\@setfontsize\Large\@xiipt{14}}    % 12 point on 14
hekeus@51: \def\LARGE{\@setfontsize\LARGE\@xivpt{16}}    % 14 point on 16
hekeus@51: \def\huge{\@setfontsize\huge\@xviipt{20}}    % 17 point on 20
hekeus@51: \def\Huge{\@setfontsize\Huge\@xxpt{23}}    % 20 point on 23
hekeus@51: %%%% named style for aaai, included here for ease of use
hekeus@51: % This section implements citations for the ``named'' bibliography style,
hekeus@51: % modified for AAAI use.
hekeus@51: % This file can be modified and used in other conferences as long
hekeus@51: % as credit to the authors and supporting agencies is retained, this notice
hekeus@51: % is not changed, and further modification or reuse is not restricted.
hekeus@51: % The ``named'' bibliography style creates citations with labels like
hekeus@51: % \citeauthoryear{author-info}{year}
hekeus@51: % these labels are processed by the following commands:
hekeus@51: % \cite{keylist}
hekeus@51: %  which produces citations with both author and year,
hekeus@51: %  enclosed in square brackets
hekeus@51: % \shortcite{keylist}
hekeus@51: %  which produces citations with year only,
hekeus@51: %  enclosed in square brackets
hekeus@51: % \citeauthor{key}
hekeus@51: %  which produces the author information only
hekeus@51: % \citeyear{key}
hekeus@51: %  which produces the year information only
hekeus@51: \def\leftcite{(}\def\rightcite{)}
hekeus@51: \def\cite{\def\citeauthoryear##1##2{\def\@thisauthor{##1}%
hekeus@51: \ifx \@lastauthor \@thisauthor \relax \else##1 \fi ##2}\@icite}
hekeus@51: \def\shortcite{\def\citeauthoryear##1##2{##2}\@icite}
hekeus@51: \def\citeauthor{\def\citeauthoryear##1##2{##1}\@nbcite}
hekeus@51: \def\citeyear{\def\citeauthoryear##1##2{##2}\@nbcite}
hekeus@51: % internal macro for citations with () and with breaks between citations
hekeus@51: % used in \cite and \shortcite
hekeus@51: \def\@icite{\leavevmode\def\@citeseppen{-1000}%
hekeus@51: \def\@cite##1##2{\leftcite\nobreak\hskip 0in{##1\if@tempswa , ##2\fi}\rightcite}%
hekeus@51: \@ifnextchar [{\@tempswatrue\@citex}{\@tempswafalse\@citex[]}}
hekeus@51: % internal macro for citations without [] and with no breaks
hekeus@51: % used in \citeauthor and \citeyear
hekeus@51: \def\@nbcite{\leavevmode\def\@citeseppen{1000}%
hekeus@51: \def\@cite##1##2{{##1\if@tempswa , ##2\fi}}%
hekeus@51: \@ifnextchar [{\@tempswatrue\@citex}{\@tempswafalse\@citex[]}}
hekeus@51: % don't box citations, separate with ; and a space
hekeus@51: % also, make the penalty between citations a parameter, 
hekeus@51: % it may be a good place to break
hekeus@51: \def\@citex[#1]#2{%
hekeus@51: \def\@lastauthor{}\def\@citea{}%
hekeus@51: \@cite{\@for\@citeb:=#2\do
hekeus@51: {\@citea\def\@citea{;\penalty\@citeseppen\ }%
hekeus@51: \if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi
hekeus@51: \@ifundefined{b@\@citeb}{\def\@thisauthor{}{\bf ?}\@warning
hekeus@51: {Citation `\@citeb' on page \thepage \space undefined}}%
hekeus@51: {\csname b@\@citeb\endcsname}\let\@lastauthor\@thisauthor}}{#1}}
hekeus@51: %Ignore the key when generating the Reference section.
hekeus@51: \def\@lbibitem[#1]#2{\item\if@filesw 
hekeus@51: { \def\protect##1{\string ##1\space}\immediate
hekeus@51: \write\@auxout{\string\bibcite{#2}{#1}}}\fi\ignorespaces}
hekeus@51: \def\thebibliography#1{\section*{References\@mkboth
hekeus@51: {REFERENCES}{REFERENCES}}\list
hekeus@51: {}{\labelwidth 0in\leftmargin\labelwidth
hekeus@51: %%% DIEGO removed
hekeus@51: %%\advance\leftmargin\labelsep
hekeus@51: %%% END removed
hekeus@51: %%% DIEGO changed
hekeus@51: \itemsep .01in % original
hekeus@51: %%\itemsep -.0125in % reduced space between bib entries
hekeus@51: %%% END changed
hekeus@51: }
hekeus@51: \def\newblock{\hskip .11em plus .33em minus .07em}
hekeus@51: \sloppy\clubpenalty4000\widowpenalty4000
hekeus@51: \sfcode`\.=1000\relax}
hekeus@51: \let\endthebibliography=\endlist




