Guest User

Untitled

a guest
Sep 2nd, 2020
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.61 KB | None | 0 0
  1. \def\year{2021}
  2. %
  3. %Filename: aaai21-mod.sty
  4. %
  5. \typeout{Conference Style for AAAI for LaTeX 2e -- version for the AAAI-21 conference - MODIFIED}
  6. % WARNING: IF YOU ARE USING THIS STYLE SHEET FOR AN AAAI PUBLICATION, YOU
  7. % MAY NOT MODIFY IT FOR ANY REASON. MODIFICATIONS (IN YOUR SOURCE
  8. % OR IN THIS STYLE SHEET WILL RESULT IN REJECTION OF YOUR PAPER).
  9. %
  10. % WARNING: This style is NOT guaranteed to work. It is provided in the
  11. % hope that it might make the preparation of papers easier, but this style
  12. % file is provided "as is" without warranty of any kind, either express or
  13. % implied, including but not limited to the implied warranties of
  14. % merchantability, fitness for a particular purpose, or noninfringement.
  15. % You use this style file at your own risk. Standard disclaimers apply.
  16. % There are undoubtably bugs in this style. If you would like to submit
  17. % bug fixes, improvements, etc. please let us know. Please use the contact form
  18. % at www.aaai.org.
  19. %
  20. % Do not use this file unless you are an experienced LaTeX user.
  21. %
  22. %
  23. % PHYSICAL PAGE LAYOUT
  24. \setlength\topmargin{-0.25in} \setlength\oddsidemargin{-0.25in}
  25. \setlength\textheight{9.0in} \setlength\textwidth{7.0in}
  26. \setlength\columnsep{0.375in} \newlength\titlebox \setlength\titlebox{2.25in}
  27. \setlength\headheight{0pt} \setlength\headsep{0pt}
  28. %\setlength\footheight{0pt} \setlength\footskip{0pt}
  29. \thispagestyle{empty} \pagestyle{empty}
  30. \flushbottom \twocolumn \sloppy
  31. % We're never going to need a table of contents, so just flush it to
  32. % save space --- suggested by drstrip@sandia-2
  33. \def\addcontentsline#1#2#3{}
  34. % gf: PRINT COPYRIGHT NOTICE
  35. \def\copyright@year{\number\year}
  36. \def\copyright@text{Copyright \copyright\space \copyright@year,
  37. Association for the Advancement of Artificial Intelligence (www.aaai.org).
  38. All rights reserved.}
  39. \def\copyright@on{T}
  40. %\def\nocopyright{\gdef\copyright@on{}} % Copyright notice is required for AAAI-21 papers.
  41. \def\copyrighttext#1{\gdef\copyright@on{T}\gdef\copyright@text{#1}}
  42. \def\copyrightyear#1{\gdef\copyright@on{T}\gdef\copyright@year{#1}}
  43. % gf: End changes for copyright notice (used in \maketitle, below)
  44. % Title stuff, taken from deproc.
  45. \def\maketitle{\par
  46. \begingroup % to make the footnote style local to the title
  47. \def\thefootnote{\fnsymbol{footnote}}
  48. % gf: Don't see why we'd want the footnotemark to be 0pt wide
  49. %\def\@makefnmark{\hbox to 0pt{$^{\@thefnmark}$\hss}}
  50. \twocolumn[\@maketitle] \@thanks
  51. \endgroup
  52. % gf: Insert copyright slug unless turned off
  53. \if T\copyright@on\insert\footins{\noindent\footnotesize\copyright@text}\fi
  54. % gf: And now back to your regular programming
  55. \setcounter{footnote}{0}
  56. \let\maketitle\relax \let\@maketitle\relax
  57. \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
  58. \long\gdef\affiliations #1{ \def \affiliations_{#1}}
  59.  
  60. \def\@maketitle{%
  61. \newsavebox{\titlearea}
  62. \sbox{\titlearea}{
  63. \let\footnote\thanks\relax
  64. \vbox{
  65. \hsize\textwidth
  66. %%% AAAI changed: 03/05/2010
  67. %%\linewidth\hsize \vskip 0.625in minus 0.125in \centering
  68. \linewidth\hsize \vskip 0.625in minus 0.125in \centering
  69. %%% END changed
  70. {\LARGE\bf \@title \par} \vskip 0.2in plus 1fil minus 0.1in
  71. {
  72. \hbox to \linewidth\bgroup\normalsize \hfil\hfil
  73. \hbox to 0pt\bgroup\hss
  74. \begin{tabular}[t]{p{\textwidth}}\centering \Large{\textbf \@author}
  75. \vspace{3pt} \normalsize \affiliations_
  76. \end{tabular}\hss\egroup
  77. \hfil\hfil\egroup}
  78. \vskip 0.0in plus 2fil minus 0.1in}}
  79. \newlength\actualheight
  80. \settoheight{\actualheight}{\usebox{\titlearea}}
  81. \ifdim\actualheight>\titlebox
  82. \setlength{\titlebox}{\actualheight}
  83. \fi
  84. \setcounter{footnote}{0}
  85. \vbox to \titlebox {\let\footnote\thanks\relax
  86. \vbox{
  87. \hsize\textwidth
  88. %%% AAAI changed: 03/05/2010
  89. %%\linewidth\hsize \vskip 0.625in minus 0.125in \centering
  90. \linewidth\hsize \vskip 0.625in minus 0.125in \centering
  91. %%% END changed
  92. {\LARGE\bf \@title \par} \vskip 0.2in plus 1fil minus 0.1in
  93. {
  94. \hbox to \linewidth\bgroup\normalsize \hfil\hfil
  95. \hbox to 0pt\bgroup\hss
  96. \begin{tabular}[t]{p{\textwidth}}\centering \Large{\textbf \@author}
  97. \vspace{3pt} \normalsize \affiliations_
  98. \end{tabular}\hss\egroup
  99. \hfil\hfil\egroup}
  100. \vskip 0.0in plus 2fil minus 0.1in}}
  101. }
  102.  
  103. \renewenvironment{abstract}{\centerline{\bf
  104. Abstract}\vspace{0.5ex}\begin{quote}\small}{\par\end{quote}\vskip 1ex}
  105. % jsp added:
  106. \def\pubnote#1{\thispagestyle{myheadings}
  107. \pagestyle{myheadings}
  108. \markboth{#1}{#1}
  109. \setlength\headheight{10pt} \setlength\headsep{10pt}
  110. }
  111. % SECTIONS with less space
  112. \def\section{\@startsection {section}{1}{\z@}{-2.0ex plus
  113. -0.5ex minus -.2ex}{3pt plus 2pt minus 1pt}{\Large\bf\centering}}
  114. \def\subsection{\@startsection{subsection}{2}{\z@}{-2.0ex plus
  115. -0.5ex minus -.2ex}{3pt plus 2pt minus 1pt}{\large\bf\raggedright}}
  116. \def\subsubsection{\@startsection{subparagraph}{3}{\z@}{-6pt plus
  117. %%% DIEGO changed: 29/11/2009
  118. %% 2pt minus 1pt}{-1em}{\normalsize\bf}}
  119. -2pt minus -1pt}{-1em}{\normalsize\bf}}
  120. %%% END changed
  121. \setcounter{secnumdepth}{0}
  122. % add period to section (but not subsection) numbers, reduce space after
  123. %\renewcommand{\thesection}
  124. % {\arabic{section}.\hskip-0.6em}
  125. %\renewcommand{\thesubsection}
  126. % {\arabic{section}.\arabic{subsection}\hskip-0.6em}
  127. % FOOTNOTES
  128. \footnotesep 6.65pt %
  129. \skip\footins 9pt plus 4pt minus 2pt
  130. \def\footnoterule{\kern-3pt \hrule width 5pc \kern 2.6pt }
  131. \setcounter{footnote}{0}
  132. % LISTS AND PARAGRAPHS
  133. \parindent 10pt
  134. \topsep 4pt plus 1pt minus 2pt
  135. \partopsep 1pt plus 0.5pt minus 0.5pt
  136. \itemsep 2pt plus 1pt minus 0.5pt
  137. \parsep 2pt plus 1pt minus 0.5pt
  138. \leftmargin 10pt \leftmargini\leftmargin \leftmarginii 10pt
  139. \leftmarginiii 5pt \leftmarginiv 5pt \leftmarginv 5pt \leftmarginvi 5pt
  140. \labelwidth\leftmargini\advance\labelwidth-\labelsep \labelsep 5pt
  141. \def\@listi{\leftmargin\leftmargini}
  142. \def\@listii{\leftmargin\leftmarginii
  143. \labelwidth\leftmarginii\advance\labelwidth-\labelsep
  144. \topsep 2pt plus 1pt minus 0.5pt
  145. \parsep 1pt plus 0.5pt minus 0.5pt
  146. \itemsep \parsep}
  147. \def\@listiii{\leftmargin\leftmarginiii
  148. \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
  149. \topsep 1pt plus 0.5pt minus 0.5pt
  150. \parsep \z@ \partopsep 0.5pt plus 0pt minus 0.5pt
  151. \itemsep \topsep}
  152. \def\@listiv{\leftmargin\leftmarginiv
  153. \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
  154. \def\@listv{\leftmargin\leftmarginv
  155. \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
  156. \def\@listvi{\leftmargin\leftmarginvi
  157. \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
  158. \abovedisplayskip 7pt plus2pt minus5pt%
  159. \belowdisplayskip \abovedisplayskip
  160. \abovedisplayshortskip 0pt plus3pt%
  161. \belowdisplayshortskip 4pt plus3pt minus3pt%
  162. % Less leading in most fonts (due to the narrow columns)
  163. % The choices were between 1-pt and 1.5-pt leading
  164. \def\normalsize{\@setfontsize\normalsize\@xpt{11}} % 10 point on 11
  165. \def\small{\@setfontsize\small\@ixpt{10}} % 9 point on 10
  166. \def\footnotesize{\@setfontsize\footnotesize\@ixpt{10}} % 9 point on 10
  167. \def\scriptsize{\@setfontsize\scriptsize\@viipt{10}} % 7 point on 8
  168. \def\tiny{\@setfontsize\tiny\@vipt{7}} % 6 point on 7
  169. \def\large{\@setfontsize\large\@xipt{12}} % 11 point on 12
  170. \def\Large{\@setfontsize\Large\@xiipt{14}} % 12 point on 14
  171. \def\LARGE{\@setfontsize\LARGE\@xivpt{16}} % 14 point on 16
  172. \def\huge{\@setfontsize\huge\@xviipt{20}} % 17 point on 20
  173. \def\Huge{\@setfontsize\Huge\@xxpt{23}} % 20 point on 23
  174.  
  175. \AtBeginDocument{\@ifpackageloaded{natbib}
  176. {
  177. % When natbib is in use, set the proper style and fix a few things
  178. \let\cite\citep
  179. \let\shortcite\citeyearpar
  180. \setcitestyle{aysep={}}
  181. \setlength\bibhang{0pt}
  182. \bibliographystyle{aaai21}
  183. }{}
  184. }
  185.  
  186. \let\endthebibliography=\endlist
  187.  
Advertisement
Add Comment
Please, Sign In to add comment