Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

iclr2024_conference.sty 8.9 KB

You have to be logged in to leave a comment. Sign In
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
  1. %%%% ICLR Macros (LaTex)
  2. %%%% Adapted by Hugo Larochelle from the NIPS stylefile Macros
  3. %%%% Style File
  4. %%%% Dec 12, 1990 Rev Aug 14, 1991; Sept, 1995; April, 1997; April, 1999; October 2014
  5. % This file can be used with Latex2e whether running in main mode, or
  6. % 2.09 compatibility mode.
  7. %
  8. % If using main mode, you need to include the commands
  9. % \documentclass{article}
  10. % \usepackage{iclr14submit_e,times}
  11. %
  12. % Change the overall width of the page. If these parameters are
  13. % changed, they will require corresponding changes in the
  14. % maketitle section.
  15. %
  16. \usepackage{eso-pic} % used by \AddToShipoutPicture
  17. \RequirePackage{fancyhdr}
  18. \RequirePackage{natbib}
  19. % modification to natbib citations
  20. \setcitestyle{authoryear,round,citesep={;},aysep={,},yysep={;}}
  21. \renewcommand{\topfraction}{0.95} % let figure take up nearly whole page
  22. \renewcommand{\textfraction}{0.05} % let figure take up nearly whole page
  23. % Define iclrfinal, set to true if iclrfinalcopy is defined
  24. \newif\ificlrfinal
  25. \iclrfinalfalse
  26. \def\iclrfinalcopy{\iclrfinaltrue}
  27. \font\iclrtenhv = phvb at 8pt
  28. % Specify the dimensions of each page
  29. \setlength{\paperheight}{11in}
  30. \setlength{\paperwidth}{8.5in}
  31. \oddsidemargin .5in % Note \oddsidemargin = \evensidemargin
  32. \evensidemargin .5in
  33. \marginparwidth 0.07 true in
  34. %\marginparwidth 0.75 true in
  35. %\topmargin 0 true pt % Nominal distance from top of page to top of
  36. %\topmargin 0.125in
  37. \topmargin -0.625in
  38. \addtolength{\headsep}{0.25in}
  39. \textheight 9.0 true in % Height of text (including footnotes & figures)
  40. \textwidth 5.5 true in % Width of text line.
  41. \widowpenalty=10000
  42. \clubpenalty=10000
  43. % \thispagestyle{empty} \pagestyle{empty}
  44. \flushbottom \sloppy
  45. % We're never going to need a table of contents, so just flush it to
  46. % save space --- suggested by drstrip@sandia-2
  47. \def\addcontentsline#1#2#3{}
  48. % Title stuff, taken from deproc.
  49. \def\maketitle{\par
  50. \begingroup
  51. \def\thefootnote{\fnsymbol{footnote}}
  52. \def\@makefnmark{\hbox to 0pt{$^{\@thefnmark}$\hss}} % for perfect author
  53. % name centering
  54. % The footnote-mark was overlapping the footnote-text,
  55. % added the following to fix this problem (MK)
  56. \long\def\@makefntext##1{\parindent 1em\noindent
  57. \hbox to1.8em{\hss $\m@th ^{\@thefnmark}$}##1}
  58. \@maketitle \@thanks
  59. \endgroup
  60. \setcounter{footnote}{0}
  61. \let\maketitle\relax \let\@maketitle\relax
  62. \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
  63. % The toptitlebar has been raised to top-justify the first page
  64. \usepackage{fancyhdr}
  65. \pagestyle{fancy}
  66. \fancyhead{}
  67. % Title (includes both anonimized and non-anonimized versions)
  68. \def\@maketitle{\vbox{\hsize\textwidth
  69. %\linewidth\hsize \vskip 0.1in \toptitlebar \centering
  70. {\LARGE\sc \@title\par}
  71. %\bottomtitlebar % \vskip 0.1in % minus
  72. \ificlrfinal
  73. \lhead{Published as a conference paper at ICLR 2024}
  74. \def\And{\end{tabular}\hfil\linebreak[0]\hfil
  75. \begin{tabular}[t]{l}\bf\rule{\z@}{24pt}\ignorespaces}%
  76. \def\AND{\end{tabular}\hfil\linebreak[4]\hfil
  77. \begin{tabular}[t]{l}\bf\rule{\z@}{24pt}\ignorespaces}%
  78. \begin{tabular}[t]{l}\bf\rule{\z@}{24pt}\@author\end{tabular}%
  79. \else
  80. \lhead{Under review as a conference paper at ICLR 2024}
  81. \def\And{\end{tabular}\hfil\linebreak[0]\hfil
  82. \begin{tabular}[t]{l}\bf\rule{\z@}{24pt}\ignorespaces}%
  83. \def\AND{\end{tabular}\hfil\linebreak[4]\hfil
  84. \begin{tabular}[t]{l}\bf\rule{\z@}{24pt}\ignorespaces}%
  85. \begin{tabular}[t]{l}\bf\rule{\z@}{24pt}Anonymous authors\\Paper under double-blind review\end{tabular}%
  86. \fi
  87. \vskip 0.3in minus 0.1in}}
  88. \renewenvironment{abstract}{\vskip.075in\centerline{\large\sc
  89. Abstract}\vspace{0.5ex}\begin{quote}}{\par\end{quote}\vskip 1ex}
  90. % sections with less space
  91. \def\section{\@startsection {section}{1}{\z@}{-2.0ex plus
  92. -0.5ex minus -.2ex}{1.5ex plus 0.3ex
  93. minus0.2ex}{\large\sc\raggedright}}
  94. \def\subsection{\@startsection{subsection}{2}{\z@}{-1.8ex plus
  95. -0.5ex minus -.2ex}{0.8ex plus .2ex}{\normalsize\sc\raggedright}}
  96. \def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-1.5ex
  97. plus -0.5ex minus -.2ex}{0.5ex plus
  98. .2ex}{\normalsize\sc\raggedright}}
  99. \def\paragraph{\@startsection{paragraph}{4}{\z@}{1.5ex plus
  100. 0.5ex minus .2ex}{-1em}{\normalsize\bf}}
  101. \def\subparagraph{\@startsection{subparagraph}{5}{\z@}{1.5ex plus
  102. 0.5ex minus .2ex}{-1em}{\normalsize\sc}}
  103. \def\subsubsubsection{\vskip
  104. 5pt{\noindent\normalsize\rm\raggedright}}
  105. % Footnotes
  106. \footnotesep 6.65pt %
  107. \skip\footins 9pt plus 4pt minus 2pt
  108. \def\footnoterule{\kern-3pt \hrule width 12pc \kern 2.6pt }
  109. \setcounter{footnote}{0}
  110. % Lists and paragraphs
  111. \parindent 0pt
  112. \topsep 4pt plus 1pt minus 2pt
  113. \partopsep 1pt plus 0.5pt minus 0.5pt
  114. \itemsep 2pt plus 1pt minus 0.5pt
  115. \parsep 2pt plus 1pt minus 0.5pt
  116. \parskip .5pc
  117. %\leftmargin2em
  118. \leftmargin3pc
  119. \leftmargini\leftmargin \leftmarginii 2em
  120. \leftmarginiii 1.5em \leftmarginiv 1.0em \leftmarginv .5em
  121. %\labelsep \labelsep 5pt
  122. \def\@listi{\leftmargin\leftmargini}
  123. \def\@listii{\leftmargin\leftmarginii
  124. \labelwidth\leftmarginii\advance\labelwidth-\labelsep
  125. \topsep 2pt plus 1pt minus 0.5pt
  126. \parsep 1pt plus 0.5pt minus 0.5pt
  127. \itemsep \parsep}
  128. \def\@listiii{\leftmargin\leftmarginiii
  129. \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
  130. \topsep 1pt plus 0.5pt minus 0.5pt
  131. \parsep \z@ \partopsep 0.5pt plus 0pt minus 0.5pt
  132. \itemsep \topsep}
  133. \def\@listiv{\leftmargin\leftmarginiv
  134. \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
  135. \def\@listv{\leftmargin\leftmarginv
  136. \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
  137. \def\@listvi{\leftmargin\leftmarginvi
  138. \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
  139. \abovedisplayskip 7pt plus2pt minus5pt%
  140. \belowdisplayskip \abovedisplayskip
  141. \abovedisplayshortskip 0pt plus3pt%
  142. \belowdisplayshortskip 4pt plus3pt minus3pt%
  143. % Less leading in most fonts (due to the narrow columns)
  144. % The choices were between 1-pt and 1.5-pt leading
  145. %\def\@normalsize{\@setsize\normalsize{11pt}\xpt\@xpt} % got rid of @ (MK)
  146. \def\normalsize{\@setsize\normalsize{11pt}\xpt\@xpt}
  147. \def\small{\@setsize\small{10pt}\ixpt\@ixpt}
  148. \def\footnotesize{\@setsize\footnotesize{10pt}\ixpt\@ixpt}
  149. \def\scriptsize{\@setsize\scriptsize{8pt}\viipt\@viipt}
  150. \def\tiny{\@setsize\tiny{7pt}\vipt\@vipt}
  151. \def\large{\@setsize\large{14pt}\xiipt\@xiipt}
  152. \def\Large{\@setsize\Large{16pt}\xivpt\@xivpt}
  153. \def\LARGE{\@setsize\LARGE{20pt}\xviipt\@xviipt}
  154. \def\huge{\@setsize\huge{23pt}\xxpt\@xxpt}
  155. \def\Huge{\@setsize\Huge{28pt}\xxvpt\@xxvpt}
  156. \def\toptitlebar{\hrule height4pt\vskip .25in\vskip-\parskip}
  157. \def\bottomtitlebar{\vskip .29in\vskip-\parskip\hrule height1pt\vskip
  158. .09in} %
  159. %Reduced second vskip to compensate for adding the strut in \@author
  160. %% % Vertical Ruler
  161. %% % This code is, largely, from the CVPR 2010 conference style file
  162. %% % ----- define vruler
  163. %% \makeatletter
  164. %% \newbox\iclrrulerbox
  165. %% \newcount\iclrrulercount
  166. %% \newdimen\iclrruleroffset
  167. %% \newdimen\cv@lineheight
  168. %% \newdimen\cv@boxheight
  169. %% \newbox\cv@tmpbox
  170. %% \newcount\cv@refno
  171. %% \newcount\cv@tot
  172. %% % NUMBER with left flushed zeros \fillzeros[<WIDTH>]<NUMBER>
  173. %% \newcount\cv@tmpc@ \newcount\cv@tmpc
  174. %% \def\fillzeros[#1]#2{\cv@tmpc@=#2\relax\ifnum\cv@tmpc@<0\cv@tmpc@=-\cv@tmpc@\fi
  175. %% \cv@tmpc=1 %
  176. %% \loop\ifnum\cv@tmpc@<10 \else \divide\cv@tmpc@ by 10 \advance\cv@tmpc by 1 \fi
  177. %% \ifnum\cv@tmpc@=10\relax\cv@tmpc@=11\relax\fi \ifnum\cv@tmpc@>10 \repeat
  178. %% \ifnum#2<0\advance\cv@tmpc1\relax-\fi
  179. %% \loop\ifnum\cv@tmpc<#1\relax0\advance\cv@tmpc1\relax\fi \ifnum\cv@tmpc<#1 \repeat
  180. %% \cv@tmpc@=#2\relax\ifnum\cv@tmpc@<0\cv@tmpc@=-\cv@tmpc@\fi \relax\the\cv@tmpc@}%
  181. %% % \makevruler[<SCALE>][<INITIAL_COUNT>][<STEP>][<DIGITS>][<HEIGHT>]
  182. %% \def\makevruler[#1][#2][#3][#4][#5]{\begingroup\offinterlineskip
  183. %% \textheight=#5\vbadness=10000\vfuzz=120ex\overfullrule=0pt%
  184. %% \global\setbox\iclrrulerbox=\vbox to \textheight{%
  185. %% {\parskip=0pt\hfuzz=150em\cv@boxheight=\textheight
  186. %% \cv@lineheight=#1\global\iclrrulercount=#2%
  187. %% \cv@tot\cv@boxheight\divide\cv@tot\cv@lineheight\advance\cv@tot2%
  188. %% \cv@refno1\vskip-\cv@lineheight\vskip1ex%
  189. %% \loop\setbox\cv@tmpbox=\hbox to0cm{{\iclrtenhv\hfil\fillzeros[#4]\iclrrulercount}}%
  190. %% \ht\cv@tmpbox\cv@lineheight\dp\cv@tmpbox0pt\box\cv@tmpbox\break
  191. %% \advance\cv@refno1\global\advance\iclrrulercount#3\relax
  192. %% \ifnum\cv@refno<\cv@tot\repeat}}\endgroup}%
  193. %% \makeatother
  194. %% % ----- end of vruler
  195. %% % \makevruler[<SCALE>][<INITIAL_COUNT>][<STEP>][<DIGITS>][<HEIGHT>]
  196. %% \def\iclrruler#1{\makevruler[12pt][#1][1][3][0.993\textheight]\usebox{\iclrrulerbox}}
  197. %% \AddToShipoutPicture{%
  198. %% \ificlrfinal\else
  199. %% \iclrruleroffset=\textheight
  200. %% \advance\iclrruleroffset by -3.7pt
  201. %% \color[rgb]{.7,.7,.7}
  202. %% \AtTextUpperLeft{%
  203. %% \put(\LenToUnit{-35pt},\LenToUnit{-\iclrruleroffset}){%left ruler
  204. %% \iclrruler{\iclrrulercount}}
  205. %% }
  206. %% \fi
  207. %% }
  208. %%% To add a vertical bar on the side
  209. %\AddToShipoutPicture{
  210. %\AtTextLowerLeft{
  211. %\hspace*{-1.8cm}
  212. %\colorbox[rgb]{0.7,0.7,0.7}{\small \parbox[b][\textheight]{0.1cm}{}}}
  213. %}
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...