templates/colm2025/colm2025_conference.sty
templates/colm2025/colm2025_conference.styBrowse 56 files
2,814 tokens
7,727 bytes
Token encoding: o200k_base
Snapshot 24fd22b
← Back to SKILL.md
1%%%% COLM Macros (LaTex)2%%%% Adapted by Yoav Artzi and Sasha Rush from Hugo Larochelle's adaptation for ICLR, which has been adaptated from the NIPS stylefile Macros3%%%% Style File4%%%% Dec 12, 1990 Rev Aug 14, 1991; Sept, 1995; April, 1997; April, 1999; October 20145 6% This file can be used with Latex2e whether running in main mode, or7% 2.09 compatibility mode.8%9% If using main mode, you need to include the commands10% \documentclass{article}11% \usepackage{colm14submit_e}12%13 14% Define options15\newif\ifcolmsubmission16\newif\ifcolmpreprint17\newif\ifcolmfinal18 19% Set submission as default20\colmsubmissiontrue21\colmpreprintfalse22\colmfinalfalse23 24% Define option handling25\DeclareOption{submission}{\colmsubmissiontrue\colmpreprintfalse\colmfinalfalse}26\DeclareOption{preprint}{\colmsubmissionfalse\colmpreprinttrue\colmfinalfalse}27\DeclareOption{final}{\colmsubmissionfalse\colmpreprintfalse\colmfinaltrue}28\ProcessOptions\relax29 30 31% Palatino font32\RequirePackage{tgpagella} % text only33\RequirePackage{mathpazo} % math & text34\RequirePackage{inconsolata} % for tt font35 36% Change the overall width of the page. If these parameters are37% changed, they will require corresponding changes in the38% maketitle section.39%40\usepackage{eso-pic} % used by \AddToShipoutPicture41\RequirePackage{fancyhdr}42\RequirePackage{natbib}43 44% modification to natbib citations45\setcitestyle{authoryear,round,citesep={;},aysep={,},yysep={;}}46 47\renewcommand{\topfraction}{0.95} % let figure take up nearly whole page48\renewcommand{\textfraction}{0.05} % let figure take up nearly whole page49 50 51% Specify the dimensions of each page52 53\setlength{\paperheight}{11in}54\setlength{\paperwidth}{8.5in}55 56 57\oddsidemargin .5in % Note \oddsidemargin = \evensidemargin58\evensidemargin .5in59\marginparwidth 0.07 true in60%\marginparwidth 0.75 true in61%\topmargin 0 true pt % Nominal distance from top of page to top of62%\topmargin 0.125in63\topmargin -0.625in64\addtolength{\headsep}{0.25in}65\textheight 9.0 true in % Height of text (including footnotes & figures)66\textwidth 5.5 true in % Width of text line.67\widowpenalty=1000068\clubpenalty=1000069 70% \thispagestyle{empty} \pagestyle{empty}71\flushbottom \sloppy72 73% We're never going to need a table of contents, so just flush it to74% save space --- suggested by drstrip@sandia-275\def\addcontentsline#1#2#3{}76 77% Title stuff, taken from deproc.78\def\maketitle{\par79\begingroup80 \def\thefootnote{\fnsymbol{footnote}}81 \def\@makefnmark{\hbox to 0pt{$^{\@thefnmark}$\hss}} % for perfect author82 % name centering83% The footnote-mark was overlapping the footnote-text,84% added the following to fix this problem (MK)85 \long\def\@makefntext##1{\parindent 1em\noindent86 \hbox to1.8em{\hss $\m@th ^{\@thefnmark}$}##1}87 \@maketitle \@thanks88\endgroup89\setcounter{footnote}{0}90\let\maketitle\relax \let\@maketitle\relax91\gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}92 93% The toptitlebar has been raised to top-justify the first page94 95\usepackage{fancyhdr}96\pagestyle{fancy}97\renewcommand{\headrulewidth}{1.5pt}98\fancyhead{}99 100% Title (includes both anonymized and non-anonymized versions)101\def\@maketitle{\vbox{\hsize\textwidth102%\linewidth\hsize \vskip 0.1in \toptitlebar \centering103{\Large\bf \@title\par}104%\bottomtitlebar % \vskip 0.1in % minus105\ifcolmfinal106 \lhead{Published as a conference paper at COLM 2025}107 \def\And{\end{tabular}\hfil\linebreak[0]\hfil108 \begin{tabular}[t]{l}\bf\rule{\z@}{24pt}\ignorespaces}%109 \def\AND{\end{tabular}\hfil\linebreak[4]\hfil110 \begin{tabular}[t]{l}\bf\rule{\z@}{24pt}\ignorespaces}%111 \begin{tabular}[t]{l}\bf\rule{\z@}{24pt}\@author\end{tabular}%112\else\ifcolmpreprint113\lhead{Preprint. Under review.}114\def\And{\end{tabular}\hfil\linebreak[0]\hfil115 \begin{tabular}[t]{l}\bf\rule{\z@}{24pt}\ignorespaces}%116\def\AND{\end{tabular}\hfil\linebreak[4]\hfil117 \begin{tabular}[t]{l}\bf\rule{\z@}{24pt}\ignorespaces}%118\begin{tabular}[t]{l}\bf\rule{\z@}{24pt}\@author\end{tabular}%119\else120\lhead{Under review as a conference paper at COLM 2025}121 \def\And{\end{tabular}\hfil\linebreak[0]\hfil122 \begin{tabular}[t]{l}\bf\rule{\z@}{24pt}\ignorespaces}%123 \def\AND{\end{tabular}\hfil\linebreak[4]\hfil124 \begin{tabular}[t]{l}\bf\rule{\z@}{24pt}\ignorespaces}%125 \begin{tabular}[t]{l}\bf\rule{\z@}{24pt}Anonymous authors\\Paper under double-blind review\end{tabular}%126\fi\fi127\vskip 0.3in minus 0.1in}}128 129\renewenvironment{abstract}{\vskip.075in\centerline{\large\bf130Abstract}\vspace{0.5ex}\begin{quote}}{\par\end{quote}\vskip 1ex}131 132% Less leading in most fonts (due to the narrow columns)133% The choices were between 1-pt and 1.5-pt leading134%\def\@normalsize{\@setsize\normalsize{11pt}\xpt\@xpt} % got rid of @ (MK)135\def\normalsize{\@setsize\normalsize{11pt}\xpt\@xpt}136\def\small{\@setsize\small{10pt}\ixpt\@ixpt}137\def\footnotesize{\@setsize\footnotesize{10pt}\ixpt\@ixpt}138\def\scriptsize{\@setsize\scriptsize{8pt}\viipt\@viipt}139\def\tiny{\@setsize\tiny{7pt}\vipt\@vipt}140\def\large{\@setsize\large{14pt}\xiipt\@xiipt}141\def\Large{\@setsize\Large{16pt}\xivpt\@xivpt}142\def\LARGE{\@setsize\LARGE{20pt}\xviipt\@xviipt}143\def\huge{\@setsize\huge{23pt}\xxpt\@xxpt}144\def\Huge{\@setsize\Huge{28pt}\xxvpt\@xxvpt}145 146 147 148% sections with less space149\def\section{\@startsection {section}{1}{\z@}{-2.0ex plus150 -0.5ex minus -.2ex}{1.5ex plus 0.3ex151minus0.2ex}{\large\bf\raggedright}}152 153\def\subsection{\@startsection{subsection}{2}{\z@}{-1.8ex plus154-0.5ex minus -.2ex}{0.8ex plus .2ex}{\normalsize\bf\raggedright}}155\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-1.5ex156plus -0.5ex minus -.2ex}{0.5ex plus157.2ex}{\normalsize\bf\itshape\raggedright}}158\def\paragraph{\@startsection{paragraph}{4}{\z@}{1.5ex plus1590.5ex minus .2ex}{-1em}{\normalsize\bf}}160\def\subparagraph{\@startsection{subparagraph}{5}{\z@}{1.5ex plus161 0.5ex minus .2ex}{-1em}{\normalsize\it}}162\def\subsubsubsection{\vskip1635pt{\noindent\normalsize\raggedright}}164 165 166% Footnotes167\footnotesep 6.65pt %168\skip\footins 9pt plus 4pt minus 2pt169\def\footnoterule{\kern-3pt \hrule width 12pc \kern 2.6pt }170\setcounter{footnote}{0}171 172% Lists and paragraphs173\parindent 0pt174\topsep 4pt plus 1pt minus 2pt175\partopsep 1pt plus 0.5pt minus 0.5pt176\itemsep 2pt plus 1pt minus 0.5pt177\parsep 2pt plus 1pt minus 0.5pt178\parskip .5pc179 180 181%\leftmargin2em182\leftmargin3pc183\leftmargini\leftmargin \leftmarginii 2em184\leftmarginiii 1.5em \leftmarginiv 1.0em \leftmarginv .5em185 186%\labelsep \labelsep 5pt187 188\def\@listi{\leftmargin\leftmargini}189\def\@listii{\leftmargin\leftmarginii190 \labelwidth\leftmarginii\advance\labelwidth-\labelsep191 \topsep 2pt plus 1pt minus 0.5pt192 \parsep 1pt plus 0.5pt minus 0.5pt193 \itemsep \parsep}194\def\@listiii{\leftmargin\leftmarginiii195 \labelwidth\leftmarginiii\advance\labelwidth-\labelsep196 \topsep 1pt plus 0.5pt minus 0.5pt197 \parsep \z@ \partopsep 0.5pt plus 0pt minus 0.5pt198 \itemsep \topsep}199\def\@listiv{\leftmargin\leftmarginiv200 \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}201\def\@listv{\leftmargin\leftmarginv202 \labelwidth\leftmarginv\advance\labelwidth-\labelsep}203\def\@listvi{\leftmargin\leftmarginvi204 \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}205 206\abovedisplayskip 7pt plus2pt minus5pt%207\belowdisplayskip \abovedisplayskip208\abovedisplayshortskip 0pt plus3pt%209\belowdisplayshortskip 4pt plus3pt minus3pt%210 211 212\def\toptitlebar{\hrule height4pt\vskip .25in\vskip-\parskip}213 214\def\bottomtitlebar{\vskip .29in\vskip-\parskip\hrule height1pt\vskip215.09in} %216%Reduced second vskip to compensate for adding the strut in \@author217 218 219