aboutsummaryrefslogtreecommitdiffstats
path: root/.agents/skills/ml-paper-writing/templates/aaai2026/aaai2026.sty
blob: 1c587a54d5613355974d8ac25ebb7d5d741c84e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
\NeedsTeXFormat{LaTeX2e}%
\ProvidesPackage{aaai2026}[2026/04/29 AAAI 2026 Submission format]%
\def\year{2026}%
\typeout{Conference Style for AAAI for LaTeX 2e -- version for submission}%
%
\def\copyright@on{T}
\def\showauthors@on{T}
\def\nocopyright{\gdef\copyright@on{}} % Copyright notice is required for camera-ready only.
\DeclareOption{submission}{%
  \gdef\copyright@on{}%
  \gdef\showauthors@on{}%
  \long\gdef\pdfinfo #1{\relax}%
}%
\DeclareOption{draft}{%
  \gdef\copyright@on{}%
}%
\ProcessOptions\relax%
% WARNING: IF YOU ARE USING THIS STYLE SHEET FOR AN AAAI PUBLICATION, YOU
% MAY NOT MODIFY IT FOR ANY REASON. MODIFICATIONS (IN YOUR SOURCE
% OR IN THIS STYLE SHEET WILL RESULT IN REJECTION OF YOUR PAPER).
%
% WARNING: This style is NOT guaranteed to work. It is provided in the
% hope that it might make the preparation of papers easier, but this style
% file is provided "as is" without warranty of any kind, either express or
% implied, including but not limited to the implied warranties of
% merchantability, fitness for a particular purpose, or noninfringement.
% You use this style file at your own risk. Standard disclaimers apply.
% There are undoubtably bugs in this style. If you would like to submit
% bug fixes, improvements, etc. please let us know. Please use the contact form
% at www.aaai.org.
%
% Do not use this file unless you are an experienced LaTeX user.
%
% PHYSICAL PAGE LAYOUT
\setlength\topmargin{-0.25in} \setlength\oddsidemargin{-0.25in}
\setlength\textheight{9.0in} \setlength\textwidth{7.0in}
\setlength\columnsep{0.375in} \newlength\titlebox \setlength\titlebox{2.25in}
\setlength\headheight{0pt}  \setlength\headsep{0pt}
%\setlength\footheight{0pt}  \setlength\footskip{0pt}
\thispagestyle{empty} \pagestyle{empty}
\flushbottom \twocolumn \sloppy
% We're never going to need a table of contents, so just flush it to
% save space --- suggested by drstrip@sandia-2
\def\addcontentsline#1#2#3{}
% gf: PRINT COPYRIGHT NOTICE
\def\copyright@year{\number\year}
\def\copyright@text{Copyright \copyright\space \copyright@year,
Association for the Advancement of Artificial Intelligence (www.aaai.org).
All rights reserved.}
\def\copyrighttext#1{\gdef\copyright@on{T}\gdef\copyright@text{#1}}
\def\copyrightyear#1{\gdef\copyright@on{T}\gdef\copyright@year{#1}}
% gf: End changes for copyright notice (used in \maketitle, below)
% Title stuff, taken from deproc.
%
\def\maketitle{%
  \par%
  \begingroup % to make the footnote style local to the title
    \def\thefootnote{\fnsymbol{footnote}}
    \twocolumn[\@maketitle] \@thanks%
  \endgroup%
  % Insert copyright slug unless turned off
  \if T\copyright@on\insert\footins{\noindent\footnotesize\copyright@text}\fi%
  %
  \setcounter{footnote}{0}%
  \let\maketitle\relax%
  \let\@maketitle\relax%
  \gdef\@thanks{}%
  \gdef\@author{}%
  \gdef\@title{}%
  \let\thanks\relax%
}%
\long\gdef\affiliations #1{ \def \affiliations_{\if T\showauthors@on#1\fi}}%
%
\def\@maketitle{%
  \def\theauthors{\if T\showauthors@on\@author\else Anonymous submission\fi}
  \newcounter{eqfn}\setcounter{eqfn}{0}%
  \newsavebox{\titlearea}
  \sbox{\titlearea}{
    \let\footnote\relax\let\thanks\relax%
    \setcounter{footnote}{0}%
    \def\equalcontrib{%
      \ifnum\value{eqfn}=0%
        \footnote{These authors contributed equally.}%
        \setcounter{eqfn}{\value{footnote}}%
      \else%
        \footnotemark[\value{eqfn}]%
      \fi%
    }%
    \vbox{%
      \hsize\textwidth%
      \linewidth\hsize%
      \vskip 0.625in minus 0.125in%
      \centering%
      {\LARGE\bf \@title \par}%
      \vskip 0.1in plus 0.5fil minus 0.05in%
      {\Large{\textbf{\theauthors\ifhmode\\\fi}}}%
      \vskip .2em plus 0.25fil%
      {\normalsize \affiliations_\ifhmode\\\fi}%
      \vskip 1em plus 2fil%
    }%
  }%
%
  \newlength\actualheight%
  \settoheight{\actualheight}{\usebox{\titlearea}}%
  \ifdim\actualheight>\titlebox%
    \setlength{\titlebox}{\actualheight}%
  \fi%
%
  \vbox to \titlebox {%
    \let\footnote\thanks\relax%
    \setcounter{footnote}{0}%
    \def\equalcontrib{%
      \ifnum\value{eqfn}=0%
        \footnote{These authors contributed equally.}%
        \setcounter{eqfn}{\value{footnote}}%
      \else%
        \footnotemark[\value{eqfn}]%
      \fi%
    }%
    \hsize\textwidth%
    \linewidth\hsize%
    \vskip 0.625in minus 0.125in%
    \centering%
    {\LARGE\bf \@title \par}%
    \vskip 0.1in plus 0.5fil minus 0.05in%
    {\Large{\textbf{\theauthors\ifhmode\\\fi}}}%
    \vskip .2em plus 0.25fil%
    {\normalsize \affiliations_\ifhmode\\\fi}%
    \vskip 1em plus 2fil%
  }%
}%
%
\renewenvironment{abstract}{%
  \centerline{\bf Abstract}%
  \vspace{0.5ex}%
  \setlength{\leftmargini}{10pt}%
  \begin{quote}%
    \small%
}{%
  \par%
  \end{quote}%
  \vskip 1ex%
}%
\newenvironment{links}{%
  \newcommand{\link}[2]{\par\textbf{##1} --- \url{##2}}%
  \setlength{\hangindent}{10pt}%
  \setlength{\parskip}{2pt}%
  \begin{flushleft}%
}{%
  \end{flushleft}%
  \vskip 1ex%
}%
% jsp added:
\def\pubnote#1{
  \thispagestyle{myheadings}%
  \pagestyle{myheadings}%
  \markboth{#1}{#1}%
  \setlength\headheight{10pt}%
  \setlength\headsep{10pt}%
}%
%
% SECTIONS with less space
\def\section{\@startsection {section}{1}{\z@}{-2.0ex plus
-0.5ex minus -.2ex}{3pt plus 2pt minus 1pt}{\Large\bf\centering}}
\def\subsection{\@startsection{subsection}{2}{\z@}{-2.0ex plus
-0.5ex minus -.2ex}{3pt plus 2pt minus 1pt}{\large\bf\raggedright}}
\def\subsubsection{\@startsection{subparagraph}{3}{\z@}{-6pt plus
%%% DIEGO changed: 29/11/2009
%% 2pt minus 1pt}{-1em}{\normalsize\bf}}
-2pt minus -1pt}{-1em}{\normalsize\bf}}
%%% END changed
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}{-6pt plus -2pt minus -1pt}{-1em}{\normalsize\bf}}%
\setcounter{secnumdepth}{0}
% add period to section (but not subsection) numbers, reduce space after
%\renewcommand{\thesection}
%   {\arabic{section}.\hskip-0.6em}
%\renewcommand{\thesubsection}
%   {\arabic{section}.\arabic{subsection}\hskip-0.6em}
% FOOTNOTES
\footnotesep 6.65pt %
\skip\footins 9pt plus 4pt minus 2pt
\def\footnoterule{\kern-3pt \hrule width 5pc \kern 2.6pt }
\setcounter{footnote}{0}
% LISTS AND PARAGRAPHS
\parindent 10pt
\topsep 4pt plus 1pt minus 2pt
\partopsep 1pt plus 0.5pt minus 0.5pt
\itemsep 0.5pt plus 1pt minus 0.5pt
\parsep 2pt plus 1pt minus 0.5pt
\leftmargin 10pt \leftmargini 13pt \leftmarginii 10pt \leftmarginiii 5pt \leftmarginiv 5pt \leftmarginv 5pt \leftmarginvi 5pt
\labelwidth\leftmargini\advance\labelwidth-\labelsep \labelsep 5pt
\def\@listi{\leftmargin\leftmargini}
\def\@listii{\leftmargin\leftmarginii
\labelwidth\leftmarginii\advance\labelwidth-\labelsep
\topsep 2pt plus 1pt minus 0.5pt
\parsep 1pt plus 0.5pt minus 0.5pt
\itemsep \parsep}
\def\@listiii{\leftmargin\leftmarginiii
\labelwidth\leftmarginiii\advance\labelwidth-\labelsep
\topsep 1pt plus 0.5pt minus 0.5pt
\parsep \z@
\partopsep 0.5pt plus 0pt minus 0.5pt
\itemsep \topsep}
\def\@listiv{\leftmargin\leftmarginiv
\labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
\def\@listv{\leftmargin\leftmarginv
\labelwidth\leftmarginv\advance\labelwidth-\labelsep}
\def\@listvi{\leftmargin\leftmarginvi
\labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
\abovedisplayskip 7pt plus2pt minus5pt%
\belowdisplayskip \abovedisplayskip
\abovedisplayshortskip 0pt plus3pt%
\belowdisplayshortskip 4pt plus3pt minus3pt%
% Less leading in most fonts (due to the narrow columns)
% The choices were between 1-pt and 1.5-pt leading
\def\normalsize{\@setfontsize\normalsize\@xpt{11}}   % 10 point on 11
\def\small{\@setfontsize\small\@ixpt{10}}    % 9 point on 10
\def\footnotesize{\@setfontsize\footnotesize\@ixpt{10}}  % 9 point on 10
\def\scriptsize{\@setfontsize\scriptsize\@viipt{10}}  % 7 point on 8
\def\tiny{\@setfontsize\tiny\@vipt{7}}    % 6 point on 7
\def\large{\@setfontsize\large\@xipt{12}}    % 11 point on 12
\def\Large{\@setfontsize\Large\@xiipt{14}}    % 12 point on 14
\def\LARGE{\@setfontsize\LARGE\@xivpt{16}}    % 14 point on 16
\def\huge{\@setfontsize\huge\@xviipt{20}}    % 17 point on 20
\def\Huge{\@setfontsize\Huge\@xxpt{23}}    % 20 point on 23

\AtBeginDocument{%
  \@ifpackageloaded{natbib}%
    {%
      % When natbib is in use, set the proper style and fix a few things
      \let\cite\citep
      \let\shortcite\citeyearpar
      \setcitestyle{aysep={}}
      \setlength\bibhang{0pt}
      \bibliographystyle{aaai2026}
    }{}%
  \@ifpackageloaded{hyperref}%
    {%
      \PackageError{aaai}{You must not use hyperref in AAAI papers.}{You (or one of the packages you imported) are importing the hyperref package, which is forbidden in AAAI papers. You must remove it from the paper to proceed.}
    }{}%
  \@ifpackageloaded{bbm}%
    {%
      \PackageError{aaai}{You must not use bbm package in AAAI papers because it introduces Type 3 fonts which are forbidden.}{See https://tex.stackexchange.com/questions/479160/a-replacement-to-mathbbm1-with-type-1-fonts for possible alternatives.}
    }{}%
    \@ifpackageloaded{authblk}%
    {%
      \PackageError{aaai}{Package authblk is forbbidden.}{Package authblk is forbbiden. You must find an alternative.}
    }{}%
  \@ifpackageloaded{balance}%
    {%
      \PackageError{aaai}{Package balance is forbbidden.}{Package balance is forbbiden. You must find an alternative.}
    }{}%
  \@ifpackageloaded{CJK}%
    {%
      \PackageError{aaai}{Package CJK is forbbidden.}{Package CJK is forbbiden. You must find an alternative.}
    }{}%
  \@ifpackageloaded{flushend}%
    {%
      \PackageError{aaai}{Package flushend is forbbidden.}{Package flushend is forbbiden. You must find an alternative.}
    }{}%
  \@ifpackageloaded{fontenc}%
    {%
      \PackageError{aaai}{Package fontenc is forbbidden.}{Package fontenc is forbbiden. You must find an alternative.}
    }{}%
  \@ifpackageloaded{fullpage}%
    {%
      \PackageError{aaai}{Package fullpage is forbbidden.}{Package fullpage is forbbiden. You must find an alternative.}
    }{}%
  \@ifpackageloaded{geometry}%
    {%
      \PackageError{aaai}{Package geometry is forbbidden.}{Package geometry is forbbiden. You must find an alternative.}
    }{}%
  \@ifpackageloaded{grffile}%
    {%
      \PackageError{aaai}{Package grffile is forbbidden.}{Package grffile is forbbiden. You must find an alternative.}
    }{}%
  \@ifpackageloaded{navigator}%
    {%
      \PackageError{aaai}{Package navigator is forbbidden.}{Package navigator is forbbiden. You must find an alternative.}
    }{}%
  \@ifpackageloaded{savetrees}%
    {%
      \PackageError{aaai}{Package savetrees is forbbidden.}{Package savetrees is forbbiden. You must find an alternative.}
    }{}%
  \@ifpackageloaded{setspace}%
    {%
      \PackageError{aaai}{Package setspace is forbbidden.}{Package setspace is forbbiden. You must find an alternative.}
    }{}%
  \@ifpackageloaded{stfloats}%
    {%
      \PackageError{aaai}{Package stfloats is forbbidden.}{Package stfloats is forbbiden. You must find an alternative.}
    }{}%
  \@ifpackageloaded{tabu}%
    {%
      \PackageError{aaai}{Package tabu is forbbidden.}{Package tabu is forbbiden. You must find an alternative.}
    }{}%
  \@ifpackageloaded{titlesec}%
    {%
      \PackageError{aaai}{Package titlesec is forbbidden.}{Package titlesec is forbbiden. You must find an alternative.}
    }{}%
  \@ifpackageloaded{tocbibind}%
    {%
      \PackageError{aaai}{Package tocbibind is forbbidden.}{Package tocbibind is forbbiden. You must find an alternative.}
    }{}%
  \@ifpackageloaded{ulem}%
    {%
      \PackageError{aaai}{Package ulem is forbbidden.}{Package ulem is forbbiden. You must find an alternative.}
    }{}%
  \@ifpackageloaded{wrapfig}%
    {%
      \PackageError{aaai}{Package wrapfig is forbbidden.}{Package wrapfig is forbbiden. You must find an alternative.}
    }{}%
}

\let\endthebibliography=\endlist