WAC8: acl2013.sty

File acl2013.sty, 14.6 KB (added by egon w. stemle, 12 years ago)
Line 
1% File acl2013.sty
2% same as --
3% File acl-ijcnlp2009.sty
4% same as --
5% File eacl2006.sty
6% September 19, 2005
7% Contact: e.agirre@ehu.es or Sergi.Balari@uab.es
8
9% This is the LaTeX style file for EACL 2006. It is nearly identical to the
10% style files for ACL2005, ACL 2002, ACL 2001, ACL 2000, EACL 95 and EACL
11% 99.
12%
13% Changes made include: adapt layout to A4 and centimeters, widden abstract
14
15% This is the LaTeX style file for ACL 2000. It is nearly identical to the
16% style files for EACL 95 and EACL 99. Minor changes include editing the
17% instructions to reflect use of \documentclass rather than \documentstyle
18% and removing the white space before the title on the first page
19% -- John Chen, June 29, 2000
20
21% To convert from submissions prepared using the style file aclsub.sty
22% prepared for the ACL 2000 conference, proceed as follows:
23% 1) Remove submission-specific information: \whichsession, \id,
24% \wordcount, \otherconferences, \area, \keywords
25% 2) \summary should be removed. The summary material should come
26% after \maketitle and should be in the ``abstract'' environment
27% 3) Check all citations. This style should handle citations correctly
28% and also allows multiple citations separated by semicolons.
29% 4) Check figures and examples. Because the final format is double-
30% column, some adjustments may have to be made to fit text in the column
31% or to choose full-width (\figure*} figures.
32% 5) Change the style reference from aclsub to acl2000, and be sure
33% this style file is in your TeX search path
34
35
36% This is the LaTeX style file for EACL-95. It is identical to the
37% style file for ANLP '94 except that the margins are adjusted for A4
38% paper. -- abney 13 Dec 94
39
40% The ANLP '94 style file is a slightly modified
41% version of the style used for AAAI and IJCAI, using some changes
42% prepared by Fernando Pereira and others and some minor changes
43% by Paul Jacobs.
44
45% Papers prepared using the aclsub.sty file and acl.bst bibtex style
46% should be easily converted to final format using this style.
47% (1) Submission information (\wordcount, \subject, and \makeidpage)
48% should be removed.
49% (2) \summary should be removed. The summary material should come
50% after \maketitle and should be in the ``abstract'' environment
51% (between \begin{abstract} and \end{abstract}).
52% (3) Check all citations. This style should handle citations correctly
53% and also allows multiple citations separated by semicolons.
54% (4) Check figures and examples. Because the final format is double-
55% column, some adjustments may have to be made to fit text in the column
56% or to choose full-width (\figure*} figures.
57
58% Place this in a file called aclap.sty in the TeX search path.
59% (Placing it in the same directory as the paper should also work.)
60
61% Prepared by Peter F. Patel-Schneider, liberally using the ideas of
62% other style hackers, including Barbara Beeton.
63% This style is NOT guaranteed to work. It is provided in the hope
64% that it will make the preparation of papers easier.
65%
66% There are undoubtably bugs in this style. If you make bug fixes,
67% improvements, etc. please let me know. My e-mail address is:
68% pfps@research.att.com
69
70% Papers are to be prepared using the ``acl'' bibliography style,
71% as follows:
72% \documentclass[11pt]{article}
73% \usepackage{acl2000}
74% \title{Title}
75% \author{Author 1 \and Author 2 \\ Address line \\ Address line \And
76% Author 3 \\ Address line \\ Address line}
77% \begin{document}
78% ...
79% \bibliography{bibliography-file}
80% \bibliographystyle{acl}
81% \end{document}
82
83% Author information can be set in various styles:
84% For several authors from the same institution:
85% \author{Author 1 \and ... \and Author n \\
86% Address line \\ ... \\ Address line}
87% if the names do not fit well on one line use
88% Author 1 \\ {\bf Author 2} \\ ... \\ {\bf Author n} \\
89% For authors from different institutions:
90% \author{Author 1 \\ Address line \\ ... \\ Address line
91% \And ... \And
92% Author n \\ Address line \\ ... \\ Address line}
93% To start a seperate ``row'' of authors use \AND, as in
94% \author{Author 1 \\ Address line \\ ... \\ Address line
95% \AND
96% Author 2 \\ Address line \\ ... \\ Address line \And
97% Author 3 \\ Address line \\ ... \\ Address line}
98
99% If the title and author information does not fit in the area allocated,
100% place \setlength\titlebox{<new height>} right after
101% \usepackage{acl2000}
102% where <new height> can be something larger than 2.25in
103
104% \typeout{Conference Style for ACL 2000 -- released June 20, 2000}
105\typeout{Conference Style for ACL 2005 -- released Octobe 11, 2004}
106
107% NOTE: Some laser printers have a serious problem printing TeX output.
108% These printing devices, commonly known as ``write-white'' laser
109% printers, tend to make characters too light. To get around this
110% problem, a darker set of fonts must be created for these devices.
111%
112
113%% % Physical page layout - slightly modified from IJCAI by pj
114%% \setlength\topmargin{0.0in} \setlength\oddsidemargin{-0.0in}
115%% \setlength\textheight{9.0in} \setlength\textwidth{6.5in}
116%% \setlength\columnsep{0.2in}
117%% \newlength\titlebox
118%% \setlength\titlebox{2.25in}
119%% \setlength\headheight{0pt} \setlength\headsep{0pt}
120%% %\setlength\footheight{0pt}
121%% \setlength\footskip{0pt}
122%% \thispagestyle{empty} \pagestyle{empty}
123%% \flushbottom \twocolumn \sloppy
124
125%% Original A4 version of page layout
126%% \setlength\topmargin{-0.45cm} % changed by Rz -1.4
127%% \setlength\oddsidemargin{.8mm} % was -0cm, changed by Rz
128%% \setlength\textheight{23.5cm}
129%% \setlength\textwidth{15.8cm}
130%% \setlength\columnsep{0.6cm}
131%% \newlength\titlebox
132%% \setlength\titlebox{2.00in}
133%% \setlength\headheight{5pt}
134%% \setlength\headsep{0pt}
135%% \setlength\footheight{0pt}
136%% \setlength\footskip{0pt}
137%% \thispagestyle{empty}
138%% \pagestyle{empty}
139
140% A4 modified by Eneko
141\setlength{\paperwidth}{21cm} % A4
142\setlength{\paperheight}{29.7cm}% A4
143\setlength\topmargin{-0.5cm}
144\setlength\oddsidemargin{0cm}
145\setlength\textheight{24.7cm}
146\setlength\textwidth{16.0cm}
147\setlength\columnsep{0.6cm}
148\newlength\titlebox
149\setlength\titlebox{2.00in}
150\setlength\headheight{5pt}
151\setlength\headsep{0pt}
152\thispagestyle{empty}
153\pagestyle{empty}
154
155
156\flushbottom \twocolumn \sloppy
157
158% We're never going to need a table of contents, so just flush it to
159% save space --- suggested by drstrip@sandia-2
160\def\addcontentsline#1#2#3{}
161
162% Title stuff, taken from deproc.
163\def\maketitle{\par
164 \begingroup
165 \def\thefootnote{\fnsymbol{footnote}}
166 \def\@makefnmark{\hbox to 0pt{$^{\@thefnmark}$\hss}}
167 \twocolumn[\@maketitle] \@thanks
168 \endgroup
169 \setcounter{footnote}{0}
170 \let\maketitle\relax \let\@maketitle\relax
171 \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
172\def\@maketitle{\vbox to \titlebox{\hsize\textwidth
173 \linewidth\hsize \vskip 0.125in minus 0.125in \centering
174 {\Large\bf \@title \par} \vskip 0.2in plus 1fil minus 0.1in
175 {\def\and{\unskip\enspace{\rm and}\enspace}%
176 \def\And{\end{tabular}\hss \egroup \hskip 1in plus 2fil
177 \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf}%
178 \def\AND{\end{tabular}\hss\egroup \hfil\hfil\egroup
179 \vskip 0.25in plus 1fil minus 0.125in
180 \hbox to \linewidth\bgroup\large \hfil\hfil
181 \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf}
182 \hbox to \linewidth\bgroup\large \hfil\hfil
183 \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf\@author
184 \end{tabular}\hss\egroup
185 \hfil\hfil\egroup}
186 \vskip 0.3in plus 2fil minus 0.1in
187}}
188
189% margins for abstract
190\renewenvironment{abstract}%
191 {\centerline{\large\bf Abstract}%
192 \begin{list}{}%
193 {\setlength{\rightmargin}{0.6cm}%
194 \setlength{\leftmargin}{0.6cm}}%
195 \item[]\ignorespaces}%
196 {\unskip\end{list}}
197
198%\renewenvironment{abstract}{\centerline{\large\bf
199% Abstract}\vspace{0.5ex}\begin{quote}}{\par\end{quote}\vskip 1ex}
200
201
202% bibliography
203
204\def\thebibliography#1{\section*{References}
205 \global\def\@listi{\leftmargin\leftmargini
206 \labelwidth\leftmargini \advance\labelwidth-\labelsep
207 \topsep 1pt plus 2pt minus 1pt
208 \parsep 0.25ex plus 1pt \itemsep 0.25ex plus 1pt}
209 \list {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}\leftmargin\labelwidth
210 \advance\leftmargin\labelsep\usecounter{enumi}}
211 \def\newblock{\hskip .11em plus .33em minus -.07em}
212 \sloppy
213 \sfcode`\.=1000\relax}
214
215\def\@up#1{\raise.2ex\hbox{#1}}
216
217% most of cite format is from aclsub.sty by SMS
218
219% don't box citations, separate with ; and a space
220% also, make the penalty between citations negative: a good place to break
221% changed comma back to semicolon pj 2/1/90
222% \def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
223% \def\@citea{}\@cite{\@for\@citeb:=#2\do
224% {\@citea\def\@citea{;\penalty\@citeseppen\ }\@ifundefined
225% {b@\@citeb}{{\bf ?}\@warning
226% {Citation `\@citeb' on page \thepage \space undefined}}%
227% {\csname b@\@citeb\endcsname}}}{#1}}
228
229% don't box citations, separate with ; and a space
230% Replaced for multiple citations (pj)
231% don't box citations and also add space, semicolon between multiple citations
232\def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
233 \def\@citea{}\@cite{\@for\@citeb:=#2\do
234 {\@citea\def\@citea{; }\@ifundefined
235 {b@\@citeb}{{\bf ?}\@warning
236 {Citation `\@citeb' on page \thepage \space undefined}}%
237 {\csname b@\@citeb\endcsname}}}{#1}}
238
239% Allow short (name-less) citations, when used in
240% conjunction with a bibliography style that creates labels like
241% \citename{<names>, }<year>
242%
243\let\@internalcite\cite
244\def\cite{\def\citename##1{##1, }\@internalcite}
245\def\shortcite{\def\citename##1{}\@internalcite}
246\def\newcite{\def\citename##1{{\frenchspacing##1} (}\@internalciteb}
247
248% Macros for \newcite, which leaves name in running text, and is
249% otherwise like \shortcite.
250\def\@citexb[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
251 \def\@citea{}\@newcite{\@for\@citeb:=#2\do
252 {\@citea\def\@citea{;\penalty\@m\ }\@ifundefined
253 {b@\@citeb}{{\bf ?}\@warning
254 {Citation `\@citeb' on page \thepage \space undefined}}%
255{\csname b@\@citeb\endcsname}}}{#1}}
256\def\@internalciteb{\@ifnextchar [{\@tempswatrue\@citexb}{\@tempswafalse\@citexb[]}}
257
258\def\@newcite#1#2{{#1\if@tempswa, #2\fi)}}
259
260\def\@biblabel#1{\def\citename##1{##1}[#1]\hfill}
261
262%%% More changes made by SMS (originals in latex.tex)
263% Use parentheses instead of square brackets in the text.
264\def\@cite#1#2{({#1\if@tempswa , #2\fi})}
265
266% Don't put a label in the bibliography at all. Just use the unlabeled format
267% instead.
268\def\thebibliography#1{\vskip\parskip%
269\vskip\baselineskip%
270\def\baselinestretch{1}%
271\ifx\@currsize\normalsize\@normalsize\else\@currsize\fi%
272\vskip-\parskip%
273\vskip-\baselineskip%
274\section*{References\@mkboth
275 {References}{References}}\list
276 {}{\setlength{\labelwidth}{0pt}\setlength{\leftmargin}{\parindent}
277 \setlength{\itemindent}{-\parindent}}
278 \def\newblock{\hskip .11em plus .33em minus -.07em}
279 \sloppy\clubpenalty4000\widowpenalty4000
280 \sfcode`\.=1000\relax}
281\let\endthebibliography=\endlist
282
283% Allow for a bibliography of sources of attested examples
284\def\thesourcebibliography#1{\vskip\parskip%
285\vskip\baselineskip%
286\def\baselinestretch{1}%
287\ifx\@currsize\normalsize\@normalsize\else\@currsize\fi%
288\vskip-\parskip%
289\vskip-\baselineskip%
290\section*{Sources of Attested Examples\@mkboth
291 {Sources of Attested Examples}{Sources of Attested Examples}}\list
292 {}{\setlength{\labelwidth}{0pt}\setlength{\leftmargin}{\parindent}
293 \setlength{\itemindent}{-\parindent}}
294 \def\newblock{\hskip .11em plus .33em minus -.07em}
295 \sloppy\clubpenalty4000\widowpenalty4000
296 \sfcode`\.=1000\relax}
297\let\endthesourcebibliography=\endlist
298
299\def\@lbibitem[#1]#2{\item[]\if@filesw
300 { \def\protect##1{\string ##1\space}\immediate
301 \write\@auxout{\string\bibcite{#2}{#1}}\fi\ignorespaces}}
302
303\def\@bibitem#1{\item\if@filesw \immediate\write\@auxout
304 {\string\bibcite{#1}{\the\c@enumi}}\fi\ignorespaces}
305
306% sections with less space
307\def\section{\@startsection {section}{1}{\z@}{-2.0ex plus
308 -0.5ex minus -.2ex}{1.5ex plus 0.3ex minus .2ex}{\large\bf\raggedright}}
309\def\subsection{\@startsection{subsection}{2}{\z@}{-1.8ex plus
310 -0.5ex minus -.2ex}{0.8ex plus .2ex}{\normalsize\bf\raggedright}}
311%% changed by KO to - values to get teh initial parindent right
312\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-1.5ex plus
313 -0.5ex minus -.2ex}{0.5ex plus .2ex}{\normalsize\bf\raggedright}}
314\def\paragraph{\@startsection{paragraph}{4}{\z@}{1.5ex plus
315 0.5ex minus .2ex}{-1em}{\normalsize\bf}}
316\def\subparagraph{\@startsection{subparagraph}{5}{\parindent}{1.5ex plus
317 0.5ex minus .2ex}{-1em}{\normalsize\bf}}
318
319% Footnotes
320\footnotesep 6.65pt %
321\skip\footins 9pt plus 4pt minus 2pt
322\def\footnoterule{\kern-3pt \hrule width 5pc \kern 2.6pt }
323\setcounter{footnote}{0}
324
325% Lists and paragraphs
326\parindent 1em
327\topsep 4pt plus 1pt minus 2pt
328\partopsep 1pt plus 0.5pt minus 0.5pt
329\itemsep 2pt plus 1pt minus 0.5pt
330\parsep 2pt plus 1pt minus 0.5pt
331
332\leftmargin 2em \leftmargini\leftmargin \leftmarginii 2em
333\leftmarginiii 1.5em \leftmarginiv 1.0em \leftmarginv .5em \leftmarginvi .5em
334\labelwidth\leftmargini\advance\labelwidth-\labelsep \labelsep 5pt
335
336\def\@listi{\leftmargin\leftmargini}
337\def\@listii{\leftmargin\leftmarginii
338 \labelwidth\leftmarginii\advance\labelwidth-\labelsep
339 \topsep 2pt plus 1pt minus 0.5pt
340 \parsep 1pt plus 0.5pt minus 0.5pt
341 \itemsep \parsep}
342\def\@listiii{\leftmargin\leftmarginiii
343 \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
344 \topsep 1pt plus 0.5pt minus 0.5pt
345 \parsep \z@ \partopsep 0.5pt plus 0pt minus 0.5pt
346 \itemsep \topsep}
347\def\@listiv{\leftmargin\leftmarginiv
348 \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
349\def\@listv{\leftmargin\leftmarginv
350 \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
351\def\@listvi{\leftmargin\leftmarginvi
352 \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
353
354\abovedisplayskip 7pt plus2pt minus5pt%
355\belowdisplayskip \abovedisplayskip
356\abovedisplayshortskip 0pt plus3pt%
357\belowdisplayshortskip 4pt plus3pt minus3pt%
358
359% Less leading in most fonts (due to the narrow columns)
360% The choices were between 1-pt and 1.5-pt leading
361\def\@normalsize{\@setsize\normalsize{11pt}\xpt\@xpt}
362\def\small{\@setsize\small{10pt}\ixpt\@ixpt}
363\def\footnotesize{\@setsize\footnotesize{10pt}\ixpt\@ixpt}
364\def\scriptsize{\@setsize\scriptsize{8pt}\viipt\@viipt}
365\def\tiny{\@setsize\tiny{7pt}\vipt\@vipt}
366\def\large{\@setsize\large{14pt}\xiipt\@xiipt}
367\def\Large{\@setsize\Large{16pt}\xivpt\@xivpt}
368\def\LARGE{\@setsize\LARGE{20pt}\xviipt\@xviipt}
369\def\huge{\@setsize\huge{23pt}\xxpt\@xxpt}
370\def\Huge{\@setsize\Huge{28pt}\xxvpt\@xxvpt}