templates/icml2026/icml2026.sty
templates/icml2026/icml2026.styBrowse 56 files
8,979 tokens
27,344 bytes
Token encoding: o200k_base
Snapshot 24fd22b
← Back to SKILL.md
1% File: icml2026.sty (LaTeX style file for ICML-2026, version of 2025-10-29)2 3% This file contains the LaTeX formatting parameters for a two-column4% conference proceedings that is 8.5 inches wide by 11 inches high.5%6% Modified by Hanze Dong, Alberto Bietti, and Felix Berkenkamp, 20257% - Revert to times for better compatibility8% - Updated years, volume, location9% - Added preprint version10% - Based on the suggestion from Johan Larsson:11% 1. Added an end-of-document safety check to ensure the affiliations or notice footnote is printed:12% (1) Introduces a flag \newif\ificml@noticeprinted and sets it false by default.13% (2) At end of document, emits a package warning if \printAffiliationsAndNotice{...} was never called.14% 2. \printAffiliationsAndNotice now sets the flag when called: Begins with \global\icml@noticeprintedtrue.15% - Migrated to more recent version of fancyhdr for running title in header16%17% Modified by Johan Larsson, 202518% - Use newtx instead of times, aligning serif, sans-serif, typerwriter,19% and math fonts.20% - Use caption package to setup captions instead of manually defining themanually defining them.21% - Formatted icml2026.sty and example_paper.tex22% - Use title case for section title to 2.923% - Replace subfigure package with subcaption in example, since it is24% designed to work together with the caption package (which is now required).25% - Remove unused label in example26%27% Modified by Tegan Maharaj and Felix Berkenkamp 2025: changed years, volume, location28%29% Modified by Jonathan Scarlett 2024: changed years, volume, location30%31% Modified by Sivan Sabato 2023: changed years and volume number.32% Modified by Jonathan Scarlett 2023: added page numbers to every page33%34% Modified by Csaba Szepesvari 2022: changed years, PMLR ref. Turned off checking marginparwidth35% as marginparwidth only controls the space available for margin notes and margin notes36% will NEVER be used anyways in submitted versions, so there is no reason one should37% check whether marginparwidth has been tampered with.38% Also removed pdfview=FitH from hypersetup as it did not do its job; the default choice is a bit better39% but of course the double-column format is not supported by this hyperlink preview functionality40% in a completely satisfactory fashion.41% Modified by Gang Niu 2022: Changed color to xcolor42%43% Modified by Iain Murray 2018: changed years, location. Remove affiliation notes when anonymous.44% Move times dependency from .tex to .sty so fewer people delete it.45%46% Modified by Daniel Roy 2017: changed byline to use footnotes for affiliations, and removed emails47%48% Modified by Percy Liang 12/2/2013: changed the year, location from the previous template for ICML 201449 50% Modified by Fei Sha 9/2/2013: changed the year, location form the previous template for ICML 201351%52% Modified by Fei Sha 4/24/2013: (1) remove the extra whitespace after the53% first author's email address (in %the camera-ready version) (2) change the54% Proceeding ... of ICML 2010 to 2014 so PDF's metadata will show up %55% correctly56%57% Modified by Sanjoy Dasgupta, 2013: changed years, location58%59% Modified by Francesco Figari, 2012: changed years, location60%61% Modified by Christoph Sawade and Tobias Scheffer, 2011: added line62% numbers, changed years63%64% Modified by Hal Daume III, 2010: changed years, added hyperlinks65%66% Modified by Kiri Wagstaff, 2009: changed years67%68% Modified by Sam Roweis, 2008: changed years69%70% Modified by Ricardo Silva, 2007: update of the ifpdf verification71%72% Modified by Prasad Tadepalli and Andrew Moore, merely changing years.73%74% Modified by Kristian Kersting, 2005, based on Jennifer Dy's 2004 version75% - running title. If the original title is to long or is breaking a line,76% use \icmltitlerunning{...} in the preamble to supply a shorter form.77% Added fancyhdr package to get a running head.78% - Updated to store the page size because pdflatex does compile the79% page size into the pdf.80%81% Hacked by Terran Lane, 2003:82% - Updated to use LaTeX2e style file conventions (ProvidesPackage,83% etc.)84% - Added an ``appearing in'' block at the base of the first column85% (thus keeping the ``appearing in'' note out of the bottom margin86% where the printer should strip in the page numbers).87% - Added a package option [accepted] that selects between the ``Under88% review'' notice (default, when no option is specified) and the89% ``Appearing in'' notice (for use when the paper has been accepted90% and will appear).91%92% Originally created as: ml2k.sty (LaTeX style file for ICML-2000)93% by P. Langley (12/23/99)94 95%%%%%%%%%%%%%%%%%%%%96%% This version of the style file supports both a ``review'' version97%% and a ``final/accepted'' version. The difference is only in the98%% text that appears in the note at the bottom of the first column of99%% the first page. The default behavior is to print a note to the100%% effect that the paper is under review and don't distribute it. The101%% final/accepted version prints an ``Appearing in'' note. To get the102%% latter behavior, in the calling file change the ``usepackage'' line103%% from:104%% \usepackage{icml2025}105%% to106%% \usepackage[accepted]{icml2025}107%%%%%%%%%%%%%%%%%%%%108 109\NeedsTeXFormat{LaTeX2e}110\ProvidesPackage{icml2026}[2025/10/29 v2.0 ICML Conference Style File]111 112% Before 2018, \usepackage{times} was in the example TeX, but inevitably113% not everybody did it.114% \RequirePackage[amsthm]{newtx}115% 2025.11.6 revert to times for better compatibility116\RequirePackage{times}117 118% Use fancyhdr package119\RequirePackage{fancyhdr}120\RequirePackage{xcolor} % changed from color to xcolor (2021/11/24)121\RequirePackage{algorithm}122\RequirePackage{algorithmic}123\RequirePackage{natbib}124\RequirePackage{eso-pic} % used by \AddToShipoutPicture125\RequirePackage{forloop}126\RequirePackage{url}127\RequirePackage{caption}128 129%%%%%%%% Options130\DeclareOption{accepted}{%131 \renewcommand{\Notice@String}{\ICML@appearing}132 \gdef\isaccepted{1}133}134 135% === Preprint option ===136\DeclareOption{preprint}{%%137 \renewcommand{\Notice@String}{\ICML@preprint}%%138 \gdef\ispreprint{1}%%139}140 141% Distinct preprint footer text142\newcommand{\ICML@preprint}{%143 \textit{Preprint. \today.}%144}145 146\DeclareOption{nohyperref}{%147 \gdef\nohyperref{1}148}149 150% Helper flag: show real authors for accepted or preprint151\newif\ificmlshowauthors152\icmlshowauthorsfalse153 154%%%%%%%%%%%%%%%%%%%%155% This string is printed at the bottom of the page for the156% final/accepted version of the ``appearing in'' note. Modify it to157% change that text.158%%%%%%%%%%%%%%%%%%%%159\newcommand{\ICML@appearing}{\textit{Proceedings of the160$\mathit{43}^{rd}$ International Conference on Machine Learning},161Seoul, South Korea. PMLR 306, 2026.162Copyright 2026 by the author(s).}163 164%%%%%%%%%%%%%%%%%%%%165% This string is printed at the bottom of the page for the draft/under166% review version of the ``appearing in'' note. Modify it to change167% that text.168%%%%%%%%%%%%%%%%%%%%169\newcommand{\Notice@String}{Preliminary work. Under review by the170International Conference on Machine Learning (ICML)\@. Do not distribute.}171 172% Cause the declared options to actually be parsed and activated173\ProcessOptions\relax174 175% After options are processed, decide if authors should be visible176\ifdefined\isaccepted \icmlshowauthorstrue \fi177\ifdefined\ispreprint \icmlshowauthorstrue \fi178 179\ifdefined\isaccepted\else\ifdefined\ispreprint\else\ifdefined\hypersetup180 \hypersetup{pdfauthor={Anonymous Authors}}181\fi\fi\fi182 183\ifdefined\nohyperref\else\ifdefined\hypersetup184 \definecolor{mydarkblue}{rgb}{0,0.08,0.45}185 \hypersetup{ %186 pdftitle={},187 pdfsubject={Proceedings of the International Conference on Machine Learning 2026},188 pdfkeywords={},189 pdfborder=0 0 0,190 pdfpagemode=UseNone,191 colorlinks=true,192 linkcolor=mydarkblue,193 citecolor=mydarkblue,194 filecolor=mydarkblue,195 urlcolor=mydarkblue,196 }197 \fi198\fi199 200 201 202% Uncomment the following for debugging. It will cause LaTeX to dump203% the version of the ``appearing in'' string that will actually appear204% in the document.205%\typeout{>> Notice string='\Notice@String'}206 207% Change citation commands to be more like old ICML styles208\newcommand{\yrcite}[1]{\citeyearpar{#1}}209\renewcommand{\cite}[1]{\citep{#1}}210 211 212%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%213% to ensure the letter format is used. pdflatex does compile the214% page size into the pdf. This is done using \pdfpagewidth and215% \pdfpageheight. As Latex does not know this directives, we first216% check whether pdflatex or latex is used.217%218% Kristian Kersting 2005219%220% in order to account for the more recent use of pdfetex as the default221% compiler, I have changed the pdf verification.222%223% Ricardo Silva 2007224%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%225 226\paperwidth=8.5in227\paperheight=11in228 229% old PDFLaTex verification, circa 2005230%231%\newif\ifpdf\ifx\pdfoutput\undefined232% \pdffalse % we are not running PDFLaTeX233%\else234% \pdfoutput=1 % we are running PDFLaTeX235% \pdftrue236%\fi237 238\newif\ifpdf %adapted from ifpdf.sty239\ifx\pdfoutput\undefined240\else241 \ifx\pdfoutput\relax242 \else243 \ifcase\pdfoutput244 \else245 \pdftrue246 \fi247 \fi248\fi249 250\ifpdf251% \pdfpagewidth=\paperwidth252% \pdfpageheight=\paperheight253 \setlength{\pdfpagewidth}{8.5in}254 \setlength{\pdfpageheight}{11in}255\fi256 257% Physical page layout258 259\evensidemargin -0.23in260\oddsidemargin -0.23in261\setlength\textheight{9.0in}262\setlength\textwidth{6.75in}263\setlength\columnsep{0.25in}264\setlength\headheight{10pt}265\setlength\headsep{10pt}266\addtolength{\topmargin}{-20pt}267\addtolength{\topmargin}{-0.29in}268 269% Historically many authors tried to include packages like geometry or fullpage,270% which change the page layout. It either makes the proceedings inconsistent, or271% wastes organizers' time chasing authors. So let's nip these problems in the272% bud here. -- Iain Murray 2018.273%\RequirePackage{printlen}274\AtBeginDocument{%275\newif\ifmarginsmessedwith276\marginsmessedwithfalse277\ifdim\oddsidemargin=-16.62178pt \else oddsidemargin has been altered.\\ \marginsmessedwithtrue\fi278\ifdim\headheight=10.0pt \else headheight has been altered.\\ \marginsmessedwithtrue\fi279\ifdim\textheight=650.43pt \else textheight has been altered.\\ \marginsmessedwithtrue\fi280\ifdim\marginparsep=11.0pt \else marginparsep has been altered.\\ \marginsmessedwithtrue\fi281\ifdim\footskip=25.0pt \else footskip has been altered.\\ \marginsmessedwithtrue\fi282\ifdim\hoffset=0.0pt \else hoffset has been altered.\\ \marginsmessedwithtrue\fi283\ifdim\paperwidth=614.295pt \else paperwidth has been altered.\\ \marginsmessedwithtrue\fi284\ifdim\topmargin=-24.95781pt \else topmargin has been altered.\\ \marginsmessedwithtrue\fi285\ifdim\headsep=10.0pt \else headsep has been altered.\\ \marginsmessedwithtrue\fi286\ifdim\textwidth=487.8225pt \else textwidth has been altered.\\ \marginsmessedwithtrue\fi287\ifdim\marginparpush=5.0pt \else marginparpush has been altered.\\ \marginsmessedwithtrue\fi288\ifdim\voffset=0.0pt \else voffset has been altered.\\ \marginsmessedwithtrue\fi289\ifdim\paperheight=794.96999pt \else paperheight has been altered.\\ \marginsmessedwithtrue\fi290\ifmarginsmessedwith291 292\textbf{\large \em The page layout violates the ICML style.}293 294Please do not change the page layout, or include packages like geometry,295savetrees, or fullpage, which change it for you.296 297We're not able to reliably undo arbitrary changes to the style. Please remove298the offending package(s), or layout-changing commands and try again.299 300\fi}301 302 303%% The following is adapted from code in the acmconf.sty conference304%% style file. The constants in it are somewhat magical, and appear305%% to work well with the two-column format on US letter paper that306%% ICML uses, but will break if you change that layout, or if you use307%% a longer block of text for the copyright notice string. Fiddle with308%% them if necessary to get the block to fit/look right.309%%310%% -- Terran Lane, 2003311%%312%% The following comments are included verbatim from acmconf.sty:313%%314%%% This section (written by KBT) handles the 1" box in the lower left315%%% corner of the left column of the first page by creating a picture,316%%% and inserting the predefined string at the bottom (with a negative317%%% displacement to offset the space allocated for a non-existent318%%% caption).319%%%320\def\ftype@copyrightbox{8}321\def\@copyrightspace{322\@float{copyrightbox}[b]323\begin{center}324\setlength{\unitlength}{1pc}325\begin{picture}(20,1.5)326\put(0,2.5){\line(1,0){4.818}}327\put(0,0){\parbox[b]{19.75pc}{\small \Notice@String}}328\end{picture}329\end{center}330\end@float}331 332\setlength\footskip{25.0pt}333\flushbottom \twocolumn334\sloppy335 336% Clear out the addcontentsline command337\def\addcontentsline#1#2#3{}338 339%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%340%%% commands for formatting paper title, author names, and addresses.341 342% box to check the size of the running head343\newbox\titrun344 345% general page style346\pagestyle{fancy}347\fancyhf{}348\fancyfoot[C]{\thepage}349% set the width of the head rule to 1 point350\renewcommand{\headrulewidth}{1pt}351 352% definition to set the head as running head in the preamble353\def\icmltitlerunning#1{\gdef\@icmltitlerunning{#1}}354 355% main definition adapting \icmltitle from 2004356\long\def\icmltitle#1{%357 358 %check whether @icmltitlerunning exists359 % if not \icmltitle is used as running head360 \ifx\undefined\@icmltitlerunning%361 \gdef\@icmltitlerunning{#1}362 \fi363 364 %add it to pdf information365 \ifdefined\nohyperref\else\ifdefined\hypersetup366 \hypersetup{pdftitle={#1}}367 \fi\fi368 369 %get the dimension of the running title370 \global\setbox\titrun=\vbox{\small\bf\@icmltitlerunning}371 372 % error flag373 \gdef\@runningtitleerror{0}374 375 % running title too long376 \ifdim\wd\titrun>\textwidth%377 \gdef\@runningtitleerror{1}%378 % running title breaks a line379 \else \ifdim\ht\titrun>6.25pt380 \gdef\@runningtitleerror{2}%381 \fi382 \fi383 384 % if there is somthing wrong with the running title385 \ifnum\@runningtitleerror>0386 \typeout{}%387 \typeout{}%388 \typeout{*******************************************************}%389 \typeout{Title exceeds size limitations for running head.}%390 \typeout{Please supply a shorter form for the running head}391 \typeout{with \string\icmltitlerunning{...}\space prior to \string\begin{document}}%392 \typeout{*******************************************************}%393 \typeout{}%394 \typeout{}%395 % set default running title396 \gdef\@icmltitlerunning{Title Suppressed Due to Excessive Size}397 \fi398 399 % no running title on the first page of the paper400 \thispagestyle{plain}401 402 {\center\baselineskip 18pt403 \toptitlebar{\Large\bf #1}\bottomtitlebar}404}405 406% set running title header407\fancyhead[C]{\small\bf\@icmltitlerunning}408 409\gdef\icmlfullauthorlist{}410\newcommand\addstringtofullauthorlist{\g@addto@macro\icmlfullauthorlist}411\newcommand\addtofullauthorlist[1]{%412 \ifdefined\icmlanyauthors%413 \addstringtofullauthorlist{, #1}%414 \else%415 \addstringtofullauthorlist{#1}%416 \gdef\icmlanyauthors{1}%417 \fi%418 \ifdefined\hypersetup%419 \hypersetup{pdfauthor=\icmlfullauthorlist}%420 \fi421}422 423\def\toptitlebar{\hrule height1pt \vskip .25in}424\def\bottomtitlebar{\vskip .22in \hrule height1pt \vskip .3in}425 426\newenvironment{icmlauthorlist}{%427 \setlength\topsep{0pt}428 \setlength\parskip{0pt}429 \begin{center}430 }{%431 \end{center}432}433 434\newcounter{@affiliationcounter}435\newcommand{\@pa}[1]{%436 \ifcsname the@affil#1\endcsname437 % do nothing438 \else439 \ifcsname @icmlsymbol#1\endcsname440 % nothing441 \else442 \stepcounter{@affiliationcounter}%443 \newcounter{@affil#1}%444 \setcounter{@affil#1}{\value{@affiliationcounter}}%445 \fi446 \fi%447 \ifcsname @icmlsymbol#1\endcsname448 \textsuperscript{\csname @icmlsymbol#1\endcsname\,}%449 \else450 \textsuperscript{\arabic{@affil#1}\,}%451 \fi452}453 454\newcommand{\icmlauthor}[2]{%455 \ificmlshowauthors456 \mbox{\bf #1}\,\@for\theaffil:=#2\do{\@pa{\theaffil}} \addtofullauthorlist{#1}%457 \else458 \ifdefined\@icmlfirsttime\else459 \gdef\@icmlfirsttime{1}460 \mbox{\bf Anonymous Authors}\@pa{@anon} \addtofullauthorlist{Anonymous Authors}461 \fi462 \fi463}464 465\newcommand{\icmlsetsymbol}[2]{%466 \expandafter\gdef\csname @icmlsymbol#1\endcsname{#2}467}468 469\newcommand{\icmlaffiliation}[2]{%470 \ificmlshowauthors471 \ifcsname the@affil#1\endcsname472 \expandafter\gdef\csname @affilname\csname the@affil#1\endcsname\endcsname{#2}%473 \else474 {\bf AUTHORERR: Error in use of \textbackslash{}icmlaffiliation command. Label ``#1'' not mentioned in some \textbackslash{}icmlauthor\{author name\}\{labels here\} command beforehand. }475 \typeout{}%476 \typeout{}%477 \typeout{*******************************************************}%478 \typeout{Affiliation label undefined. }%479 \typeout{Make sure \string\icmlaffiliation\space follows }%480 \typeout{all of \string\icmlauthor\space commands}%481 \typeout{*******************************************************}%482 \typeout{}%483 \typeout{}%484 \fi485 \else486 \expandafter\gdef\csname @affilname1\endcsname{Anonymous Institution, Anonymous City, Anonymous Region, Anonymous Country}487 \fi488}489 490\newcommand{\icmlcorrespondingauthor}[2]{%491 \ificmlshowauthors492 \ifdefined\icmlcorrespondingauthor@text493 \g@addto@macro\icmlcorrespondingauthor@text{, #1 \textless{}#2\textgreater{}}494 \else495 \gdef\icmlcorrespondingauthor@text{#1 \textless{}#2\textgreater{}}496 \fi497 \else498 \gdef\icmlcorrespondingauthor@text{Anonymous Author \textless{}anon.email@domain.com\textgreater{}}499 \fi500}501 502\newcommand{\icmlEqualContribution}{\textsuperscript{*}Equal contribution }503 504 505% --- ICML 2026: ensure authors do not omit the affiliations/notice footnote ---506\newif\ificml@noticeprinted507\icml@noticeprintedfalse508\AtEndDocument{%509 \ificml@noticeprinted\relax\else510 \PackageWarningNoLine{icml2026}{%511 You did not call \string\printAffiliationsAndNotice{}. If you have no notice,%512 call \string\printAffiliationsAndNotice\string{} (empty braces).%513 }%514 \fi515}516 517 518\newcounter{@affilnum}519\newcommand{\printAffiliationsAndNotice}[1]{\global\icml@noticeprintedtrue%520 \stepcounter{@affiliationcounter}%521 {\let\thefootnote\relax\footnotetext{\hspace*{-\footnotesep}\ificmlshowauthors #1\fi%522 \forloop{@affilnum}{1}{\value{@affilnum} < \value{@affiliationcounter}}{523 \textsuperscript{\arabic{@affilnum}}\ifcsname @affilname\the@affilnum\endcsname%524 \csname @affilname\the@affilnum\endcsname%525 \else526 {\bf AUTHORERR: Missing \textbackslash{}icmlaffiliation.}527 \fi528 }.%529 \ifdefined\icmlcorrespondingauthor@text530 { }Correspondence to: \icmlcorrespondingauthor@text.531 \else532 {\bf AUTHORERR: Missing \textbackslash{}icmlcorrespondingauthor.}533 \fi534 535 \ \\536 \Notice@String537 }538 }539}540 541\long\def\icmladdress#1{%542 {\bf The \textbackslash{}icmladdress command is no longer used. See the example\_paper PDF .tex for usage of \textbackslash{}icmlauther and \textbackslash{}icmlaffiliation.}543}544 545%% keywords as first class citizens546\def\icmlkeywords#1{%547 \ifdefined\nohyperref\else\ifdefined\hypersetup548 \hypersetup{pdfkeywords={#1}}549 \fi\fi550}551 552% modification to natbib citations553\setcitestyle{authoryear,round,citesep={;},aysep={,},yysep={;}}554 555% Redefinition of the abstract environment.556\renewenvironment{abstract}557{%558 \centerline{\large\bf Abstract}559 \vspace{-0.12in}\begin{quote}}560 {\par\end{quote}\vskip 0.12in}561 562% numbered section headings with different treatment of numbers563 564\def\@startsection#1#2#3#4#5#6{\if@noskipsec \leavevmode \fi565 \par \@tempskipa #4\relax566 \@afterindenttrue567 \ifdim \@tempskipa <\z@ \@tempskipa -\@tempskipa \fi568 \if@nobreak \everypar{}\else569 \addpenalty{\@secpenalty}\addvspace{\@tempskipa}\fi \@ifstar570 {\@ssect{#3}{#4}{#5}{#6}}{\@dblarg{\@sict{#1}{#2}{#3}{#4}{#5}{#6}}}}571 572\def\@sict#1#2#3#4#5#6[#7]#8{\ifnum #2>\c@secnumdepth573 \def\@svsec{}\else574 \refstepcounter{#1}\edef\@svsec{\csname the#1\endcsname}\fi575 \@tempskipa #5\relax576 \ifdim \@tempskipa>\z@577 \begingroup #6\relax578 \@hangfrom{\hskip #3\relax\@svsec.~}{\interlinepenalty \@M #8\par}579 \endgroup580 \csname #1mark\endcsname{#7}\addcontentsline581 {toc}{#1}{\ifnum #2>\c@secnumdepth \else582 \protect\numberline{\csname the#1\endcsname}\fi583 #7}\else584 \def\@svsechd{#6\hskip #3\@svsec #8\csname #1mark\endcsname585 {#7}\addcontentsline586 {toc}{#1}{\ifnum #2>\c@secnumdepth \else587 \protect\numberline{\csname the#1\endcsname}\fi588 #7}}\fi589 \@xsect{#5}}590 591\def\@sect#1#2#3#4#5#6[#7]#8{\ifnum #2>\c@secnumdepth592 \def\@svsec{}\else593 \refstepcounter{#1}\edef\@svsec{\csname the#1\endcsname\hskip 0.4em }\fi594 \@tempskipa #5\relax595 \ifdim \@tempskipa>\z@596 \begingroup #6\relax597 \@hangfrom{\hskip #3\relax\@svsec}{\interlinepenalty \@M #8\par}598 \endgroup599 \csname #1mark\endcsname{#7}\addcontentsline600 {toc}{#1}{\ifnum #2>\c@secnumdepth \else601 \protect\numberline{\csname the#1\endcsname}\fi602 #7}\else603 \def\@svsechd{#6\hskip #3\@svsec #8\csname #1mark\endcsname604 {#7}\addcontentsline605 {toc}{#1}{\ifnum #2>\c@secnumdepth \else606 \protect\numberline{\csname the#1\endcsname}\fi607 #7}}\fi608 \@xsect{#5}}609 610% section headings with less space above and below them611\def\thesection {\arabic{section}}612\def\thesubsection {\thesection.\arabic{subsection}}613\def\section{\@startsection{section}{1}{\z@}{-0.12in}{0.02in}614 {\large\bf\raggedright}}615\def\subsection{\@startsection{subsection}{2}{\z@}{-0.10in}{0.01in}616 {\normalsize\bf\raggedright}}617\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-0.08in}{0.01in}618 {\normalsize\sc\raggedright}}619\def\paragraph{\@startsection{paragraph}{4}{\z@}{1.5ex plus620 0.5ex minus .2ex}{-1em}{\normalsize\bf}}621\def\subparagraph{\@startsection{subparagraph}{5}{\z@}{1.5ex plus622 0.5ex minus .2ex}{-1em}{\normalsize\bf}}623 624% Footnotes625\footnotesep 6.65pt %626\skip\footins 9pt627\def\footnoterule{\kern-3pt \hrule width 0.8in \kern 2.6pt }628\setcounter{footnote}{0}629 630% Lists and paragraphs631\parindent 0pt632\topsep 4pt plus 1pt minus 2pt633\partopsep 1pt plus 0.5pt minus 0.5pt634\itemsep 2pt plus 1pt minus 0.5pt635\parsep 2pt plus 1pt minus 0.5pt636\parskip 6pt637 638\leftmargin 2em \leftmargini\leftmargin \leftmarginii 2em639\leftmarginiii 1.5em \leftmarginiv 1.0em \leftmarginv .5em640\leftmarginvi .5em641\labelwidth\leftmargini\advance\labelwidth-\labelsep \labelsep 5pt642 643\def\@listi{\leftmargin\leftmargini}644\def\@listii{\leftmargin\leftmarginii645 \labelwidth\leftmarginii\advance\labelwidth-\labelsep646 \topsep 2pt plus 1pt minus 0.5pt647 \parsep 1pt plus 0.5pt minus 0.5pt648 \itemsep \parsep}649\def\@listiii{\leftmargin\leftmarginiii650 \labelwidth\leftmarginiii\advance\labelwidth-\labelsep651 \topsep 1pt plus 0.5pt minus 0.5pt652 \parsep \z@ \partopsep 0.5pt plus 0pt minus 0.5pt653 \itemsep \topsep}654\def\@listiv{\leftmargin\leftmarginiv655 \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}656\def\@listv{\leftmargin\leftmarginv657 \labelwidth\leftmarginv\advance\labelwidth-\labelsep}658\def\@listvi{\leftmargin\leftmarginvi659 \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}660 661\abovedisplayskip 7pt plus2pt minus5pt%662\belowdisplayskip \abovedisplayskip663\abovedisplayshortskip 0pt plus3pt%664\belowdisplayshortskip 4pt plus3pt minus3pt%665 666% Less leading in most fonts (due to the narrow columns)667% The choices were between 1-pt and 1.5-pt leading668\def\@normalsize{\@setsize\normalsize{11pt}\xpt\@xpt}669\def\small{\@setsize\small{10pt}\ixpt\@ixpt}670\def\footnotesize{\@setsize\footnotesize{10pt}\ixpt\@ixpt}671\def\scriptsize{\@setsize\scriptsize{8pt}\viipt\@viipt}672\def\tiny{\@setsize\tiny{7pt}\vipt\@vipt}673\def\large{\@setsize\large{14pt}\xiipt\@xiipt}674\def\Large{\@setsize\Large{16pt}\xivpt\@xivpt}675\def\LARGE{\@setsize\LARGE{20pt}\xviipt\@xviipt}676\def\huge{\@setsize\huge{23pt}\xxpt\@xxpt}677\def\Huge{\@setsize\Huge{28pt}\xxvpt\@xxvpt}678 679% Revised formatting for figure captions and table titles.680\captionsetup{681 skip=0.1in,682 font=small,683 labelfont={it,small},684 labelsep=period685}686\captionsetup[table]{position=above}687\captionsetup[figure]{position=below}688 689\def\fnum@figure{Figure \thefigure}690\def\fnum@table{Table \thetable}691 692% Strut macros for skipping spaces above and below text in tables.693\def\abovestrut#1{\rule[0in]{0in}{#1}\ignorespaces}694\def\belowstrut#1{\rule[-#1]{0in}{#1}\ignorespaces}695 696\def\abovespace{\abovestrut{0.20in}}697\def\aroundspace{\abovestrut{0.20in}\belowstrut{0.10in}}698\def\belowspace{\belowstrut{0.10in}}699 700% Various personal itemization commands.701\def\texitem#1{\par\noindent\hangindent 12pt702 \hbox to 12pt {\hss #1 ~}\ignorespaces}703\def\icmlitem{\texitem{$\bullet$}}704 705% To comment out multiple lines of text.706\long\def\comment#1{}707 708%% Line counter (not in final version). Adapted from NIPS style file by Christoph Sawade709 710% Vertical Ruler711% This code is, largely, from the CVPR 2010 conference style file712% ----- define vruler713\makeatletter714\newbox\icmlrulerbox715\newcount\icmlrulercount716\newdimen\icmlruleroffset717\newdimen\cv@lineheight718\newdimen\cv@boxheight719\newbox\cv@tmpbox720\newcount\cv@refno721\newcount\cv@tot722% NUMBER with left flushed zeros \fillzeros[<WIDTH>]<NUMBER>723\newcount\cv@tmpc@ \newcount\cv@tmpc724\def\fillzeros[#1]#2{\cv@tmpc@=#2\relax\ifnum\cv@tmpc@<0\cv@tmpc@=-\cv@tmpc@\fi725 \cv@tmpc=1 %726 \loop\ifnum\cv@tmpc@<10 \else \divide\cv@tmpc@ by 10 \advance\cv@tmpc by 1 \fi727 \ifnum\cv@tmpc@=10\relax\cv@tmpc@=11\relax\fi \ifnum\cv@tmpc@>10 \repeat728 \ifnum#2<0\advance\cv@tmpc1\relax-\fi729 \loop\ifnum\cv@tmpc<#1\relax0\advance\cv@tmpc1\relax\fi \ifnum\cv@tmpc<#1 \repeat730 \cv@tmpc@=#2\relax\ifnum\cv@tmpc@<0\cv@tmpc@=-\cv@tmpc@\fi \relax\the\cv@tmpc@}%731% \makevruler[<SCALE>][<INITIAL_COUNT>][<STEP>][<DIGITS>][<HEIGHT>]732\def\makevruler[#1][#2][#3][#4][#5]{733 \begingroup\offinterlineskip734 \textheight=#5\vbadness=10000\vfuzz=120ex\overfullrule=0pt%735 \global\setbox\icmlrulerbox=\vbox to \textheight{%736 {737 \parskip=0pt\hfuzz=150em\cv@boxheight=\textheight738 \cv@lineheight=#1\global\icmlrulercount=#2%739 \cv@tot\cv@boxheight\divide\cv@tot\cv@lineheight\advance\cv@tot2%740 \cv@refno1\vskip-\cv@lineheight\vskip1ex%741 \loop\setbox\cv@tmpbox=\hbox to0cm{\hfil {\hfil\fillzeros[#4]\icmlrulercount}}%742 \ht\cv@tmpbox\cv@lineheight\dp\cv@tmpbox0pt\box\cv@tmpbox\break743 \advance\cv@refno1\global\advance\icmlrulercount#3\relax744 \ifnum\cv@refno<\cv@tot\repeat745 }746 }747 \endgroup748}%749\makeatother750% ----- end of vruler751 752% \makevruler[<SCALE>][<INITIAL_COUNT>][<STEP>][<DIGITS>][<HEIGHT>]753\def\icmlruler#1{\makevruler[12pt][#1][1][3][\textheight]\usebox{\icmlrulerbox}}754\AddToShipoutPicture{%755 \icmlruleroffset=\textheight756 \advance\icmlruleroffset by 5.2pt % top margin757 \color[rgb]{.7,.7,.7}758 \ificmlshowauthors\else759 \AtTextUpperLeft{%760 \put(\LenToUnit{-35pt},\LenToUnit{-\icmlruleroffset}){%left ruler761 \icmlruler{\icmlrulercount}}762 %\put(\LenToUnit{1.04\textwidth},\LenToUnit{-\icmlruleroffset}){%right ruler763 % \icmlruler{\icmlrulercount}}764 }765 \fi766}767\endinput768