% --------------------------------------------------------------------------- % Title: pgm.sty % This is the LaTeX style file for PGM. It is adopted from the % LaTex style file for ACL'02 submissions. The ACL'02 style is based % on the aclap style. % We encourage authors to use this style file for preparing them. % This will help ensure that submission requirements are met, and that % the effort required to format the final version will be minimized. % Here's a document template: % % \documentclass[11pt,twoside]{article} % \usepackage{pgm02sub} % \title{Title} % \author{Author1 \and Author2\\Address Line 1\\Address Line 2} % \summary{This is the abstract.} % \pagestyle{plain} % \begin{document} % \maketitle % %... % \bibliographystyle{acl} % \bibliography{yourbiblio} % \end{document} % % or for earlier versions of latex: % % \documentstyle[11pt,colaclsub]{article} % \title{Title} % % ... (as above) % Here are some other things you might want to know: % % - there are various options for formatting authors' names and % addresses; see the comments below TITLE % - \thanks won't work with this style. Instead (if needed) use a separate % not numbered section called Acknowledgment % - to have a figure or table span both columns, use \figure* or \table* % - \cite produces citations like this: (Author, 1990) % \shortcite does this: (1990) % \newcite does this: Author (1990) % - the "\summary" field must be supplied. \typeout{PGM submissions style} % --------------------------------------------------------------------------- % Physical page layout: \setlength\topmargin{0.0in} \setlength\textheight{9.0in} \setlength\textwidth{6.5in} \setlength\columnsep{0.25in} \setlength\oddsidemargin{0.1in} \setlength{\evensidemargin}{\paperwidth} \addtolength{\evensidemargin}{-\textwidth} \addtolength{\evensidemargin}{-2.0in} \addtolength{\evensidemargin}{-\oddsidemargin} \newlength\titlebox \setlength\titlebox{2.25in} \setlength\headheight{0pt} \setlength\headsep{0pt} \setlength\footskip{0.5in} \flushbottom \twocolumn \sloppy % --------------------------------------------------------------------------- % Title: % Author information can be set in various styles: % For several authors from the same institution: % \author{Author 1 \and ... \and Author n \\ % Address line \\ ... \\ Address line} % if the names do not fit well on one line use % Author 1 \\ {\bf Author 2} \\ ... \\ {\bf Author n} \\ % For authors from different institutions: % \author{Author 1 \\ Address line \\ ... \\ Address line % \And ... \And % Author n \\ Address line \\ ... \\ Address line} % To start a seperate ``row'' of authors use \AND, as in % \author{Author 1 \\ Address line \\ ... \\ Address line % \AND % Author 2 \\ Address line \\ ... \\ Address line \And % Author 3 \\ Address line \\ ... \\ Address line} \def\title#1{\gdef\@title{#1}} \def\summary#1{\gdef\@summary{#1}} \def\maketitle{\par \begingroup \newpage \setcounter{page}{1} \global\@topnum\z@ \twocolumn[\@maketitle] \endgroup \let\maketitle\relax \let\@maketitle\relax} \def\@maketitle{\newpage \null \vskip .3in \begin{center} {\Large\bf \@title \par} \vskip .1in {\def\and{\unskip\enspace{\rm and}\enspace}% \def\And{\end{tabular}\hss \egroup \hskip 1in plus 2fil \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}}% \def\AND{\end{tabular}\hss\egroup \hfil\hfil\egroup \vskip 0.15in %plus 1fil minus 0.125in \hbox to \linewidth\bgroup \hfil\hfil \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}} \hbox to \linewidth\bgroup \hfil\hfil \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\@author \end{tabular}\hss\egroup \hfil\hfil\egroup} \vskip .2in {\bf Abstract}{\vspace{-.5em}\vspace{0pt}} \quotation\noindent\@summary\endquotation \end{center} \vskip .1in} % --------------------------------------------------------------------------- % bibliography \def\thebibliography#1{\section*{References} \global\def\@listi{\leftmargin\leftmargini \labelwidth\leftmargini \advance\labelwidth-\labelsep \topsep 1pt plus 2pt minus 1pt \parsep 0.25ex plus 1pt \itemsep 0.25ex plus 1pt} \list {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}\leftmargin\labelwidth \advance\leftmargin\labelsep\usecounter{enumi}} \def\newblock{\hskip .11em plus .33em minus -.07em} \sloppy \sfcode`\.=1000\relax} \def\@up#1{\raise.2ex\hbox{#1}} % most of cite format is from aclsub.sty by SMS % don't box citations, separate with ; and a space \def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi \def\@citea{}\@cite{\@for\@citeb:=#2\do {\@citea\def\@citea{; }\@ifundefined {b@\@citeb}{{\bf ?}\@warning {Citation `\@citeb' on page \thepage \space undefined}}% {\csname b@\@citeb\endcsname}}}{#1}} % Allow short (name-less) citations, when used in % conjunction with a bibliography style that creates labels like % \citename{, } % \let\@internalcite\cite \def\cite{\def\citename##1{##1, }\@internalcite} \def\shortcite{\def\citename##1{}\@internalcite} \def\newcite{\leavevmode\def\citename##1{{##1} (}\@internalciteb} % Macros for \newcite, which leaves name in running text, and is % otherwise like \shortcite. \def\@citexb[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi \def\@citea{}\@newcite{\@for\@citeb:=#2\do {\@citea\def\@citea{;\penalty\@m\ }\@ifundefined {b@\@citeb}{{\bf ?}\@warning {Citation `\@citeb' on page \thepage \space undefined}}% \hbox{\csname b@\@citeb\endcsname}}}{#1}} \def\@internalciteb{\@ifnextchar [{\@tempswatrue\@citexb}{\@tempswafalse\@citexb[]}} \def\@newcite#1#2{{#1\if@tempswa, #2\fi)}} \def\@biblabel#1{\def\citename##1{##1}[#1]\hfill} %%% More changes made by SMS (originals in latex.tex) % Use parentheses instead of square brackets in the text. \def\@cite#1#2{({#1\if@tempswa , #2\fi})} % Don't put a label in the bibliography at all. Just use the unlabeled format % instead. \def\thebibliography#1{\vskip\parskip% \vskip\baselineskip% \def\baselinestretch{1}% \ifx\@currsize\normalsize\@normalsize\else\@currsize\fi% \vskip-\parskip% \vskip-\baselineskip% \section*{References\@mkboth {References}{References}}\list {}{\setlength{\labelwidth}{0pt}\setlength{\leftmargin}{\parindent} \setlength{\itemindent}{-\parindent}} \def\newblock{\hskip .11em plus .33em minus -.07em} \sloppy\clubpenalty4000\widowpenalty4000 \sfcode`\.=1000\relax} \let\endthebibliography=\endlist \def\@lbibitem[#1]#2{\item[]\if@filesw { \def\protect##1{\string ##1\space}\immediate \write\@auxout{\string\bibcite{#2}{#1}}\fi\ignorespaces}} \def\@bibitem#1{\item\if@filesw \immediate\write\@auxout {\string\bibcite{#1}{\the\c@enumi}}\fi\ignorespaces} % --------------------------------------------------------------------------- % sections with less space \def\section{\@startsection {section}{1}{\z@}{-2.0ex plus -0.5ex minus -.2ex}{1.5ex plus 0.3ex minus .2ex}{\large\bf\raggedright}} \def\subsection{\@startsection{subsection}{2}{\z@}{-1.8ex plus -0.5ex minus -.2ex}{0.8ex plus .2ex}{\normalsize\bf\raggedright}} \def\subsubsection{\@startsection{subsubsection}{3}{\z@}{1.5ex plus 0.5ex minus .2ex}{0.5ex plus .2ex}{\normalsize\bf\raggedright}} \def\paragraph{\@startsection{paragraph}{4}{\z@}{1.5ex plus 0.5ex minus .2ex}{-1em}{\normalsize\bf}} \def\subparagraph{\@startsection{subparagraph}{5}{\parindent}{1.5ex plus 0.5ex minus .2ex}{-1em}{\normalsize\bf}} % --------------------------------------------------------------------------- % 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 1em \topsep 4pt plus 1pt minus 2pt \partopsep 1pt plus 0.5pt minus 0.5pt \itemsep 2pt plus 1pt minus 0.5pt \parsep 2pt plus 1pt minus 0.5pt \leftmargin 2em \leftmargini\leftmargin \leftmarginii 2em \leftmarginiii 1.5em \leftmarginiv 1.0em \leftmarginv .5em \leftmarginvi .5em \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{\@setsize\normalsize{11pt}\xpt\@xpt} \def\small{\@setsize\small{10pt}\ixpt\@ixpt} \def\footnotesize{\@setsize\footnotesize{10pt}\ixpt\@ixpt} \def\scriptsize{\@setsize\scriptsize{8pt}\viipt\@viipt} \def\tiny{\@setsize\tiny{7pt}\vipt\@vipt} \def\large{\@setsize\large{14pt}\xiipt\@xiipt} \def\Large{\@setsize\Large{16pt}\xivpt\@xivpt} \def\LARGE{\@setsize\LARGE{20pt}\xviipt\@xviipt} \def\huge{\@setsize\huge{23pt}\xxpt\@xxpt} \def\Huge{\@setsize\Huge{28pt}\xxvpt\@xxvpt}