annotate writeup/nips10submit_e.sty @ 644:e63d23c7c9fb

reviews aistats finales
author Yoshua Bengio <bengioy@iro.umontreal.ca>
date Thu, 24 Mar 2011 17:05:05 -0400
parents 51213beaed8b
children
rev   line source
465
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
1 %%%% NIPS Macros (LaTex)
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
2 %%%% Style File
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
3 %%%% Dec 12, 1990 Rev Aug 14, 1991; Sept, 1995; April, 1997; April, 1999
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
4
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
5 % This file can be used with Latex2e whether running in main mode, or
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
6 % 2.09 compatibility mode.
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
7 %
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
8 % If using main mode, you need to include the commands
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
9 % \documentclass{article}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
10 % \usepackage{nips10submit_e,times}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
11 % as the first lines in your document. Or, if you do not have Times
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
12 % Roman font available, you can just use
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
13 % \documentclass{article}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
14 % \usepackage{nips10submit_e}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
15 % instead.
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
16 %
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
17 % If using 2.09 compatibility mode, you need to include the command
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
18 % \documentstyle[nips10submit_09,times]{article}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
19 % as the first line in your document. Or, if you do not have Times
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
20 % Roman font available, you can include the command
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
21 % \documentstyle[nips10submit_09]{article}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
22 % instead.
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
23
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
24 % Change the overall width of the page. If these parameters are
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
25 % changed, they will require corresponding changes in the
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
26 % maketitle section.
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
27 %
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
28 \usepackage{eso-pic} % used by \AddToShipoutPicture
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
29
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
30 \renewcommand{\topfraction}{0.95} % let figure take up nearly whole page
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
31 \renewcommand{\textfraction}{0.05} % let figure take up nearly whole page
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
32
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
33 % Define nipsfinal, set to true if nipsfinalcopy is defined
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
34 \newif\ifnipsfinal
604
51213beaed8b draft of NIPS 2010 workshop camera-ready version
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents: 465
diff changeset
35 \nipsfinaltrue
465
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
36 \def\nipsfinalcopy{\nipsfinaltrue}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
37 \font\nipstenhv = phvb at 8pt % *** IF THIS FAILS, SEE nips10submit_e.sty ***
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
38
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
39 % Specify the dimensions of each page
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
40
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
41 \setlength{\paperheight}{11in}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
42 \setlength{\paperwidth}{8.5in}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
43
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
44 \oddsidemargin .5in % Note \oddsidemargin = \evensidemargin
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
45 \evensidemargin .5in
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
46 \marginparwidth 0.07 true in
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
47 %\marginparwidth 0.75 true in
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
48 %\topmargin 0 true pt % Nominal distance from top of page to top of
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
49 %\topmargin 0.125in
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
50 \topmargin -0.625in
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
51 \addtolength{\headsep}{0.25in}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
52 \textheight 9.0 true in % Height of text (including footnotes & figures)
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
53 \textwidth 5.5 true in % Width of text line.
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
54 \widowpenalty=10000
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
55 \clubpenalty=10000
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
56
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
57 % \thispagestyle{empty} \pagestyle{empty}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
58 \flushbottom \sloppy
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
59
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
60 % We're never going to need a table of contents, so just flush it to
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
61 % save space --- suggested by drstrip@sandia-2
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
62 \def\addcontentsline#1#2#3{}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
63
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
64 % Title stuff, taken from deproc.
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
65 \def\maketitle{\par
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
66 \begingroup
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
67 \def\thefootnote{\fnsymbol{footnote}}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
68 \def\@makefnmark{\hbox to 0pt{$^{\@thefnmark}$\hss}} % for perfect author
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
69 % name centering
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
70 % The footnote-mark was overlapping the footnote-text,
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
71 % added the following to fix this problem (MK)
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
72 \long\def\@makefntext##1{\parindent 1em\noindent
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
73 \hbox to1.8em{\hss $\m@th ^{\@thefnmark}$}##1}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
74 \@maketitle \@thanks
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
75 \endgroup
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
76 \setcounter{footnote}{0}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
77 \let\maketitle\relax \let\@maketitle\relax
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
78 \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
79
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
80 % The toptitlebar has been raised to top-justify the first page
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
81
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
82 % Title (includes both anonimized and non-anonimized versions)
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
83 \def\@maketitle{\vbox{\hsize\textwidth
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
84 \linewidth\hsize \vskip 0.1in \toptitlebar \centering
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
85 {\LARGE\bf \@title\par} \bottomtitlebar % \vskip 0.1in % minus
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
86 \ifnipsfinal
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
87 \def\And{\end{tabular}\hfil\linebreak[0]\hfil
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
88 \begin{tabular}[t]{c}\bf\rule{\z@}{24pt}\ignorespaces}%
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
89 \def\AND{\end{tabular}\hfil\linebreak[4]\hfil
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
90 \begin{tabular}[t]{c}\bf\rule{\z@}{24pt}\ignorespaces}%
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
91 \begin{tabular}[t]{c}\bf\rule{\z@}{24pt}\@author\end{tabular}%
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
92 \else
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
93 \begin{tabular}[t]{c}\bf\rule{\z@}{24pt}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
94 Anonymous Author(s) \\
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
95 Affiliation \\
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
96 Address \\
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
97 \texttt{email} \\
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
98 \end{tabular}%
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
99 \fi
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
100 \vskip 0.3in minus 0.1in}}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
101
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
102 \renewenvironment{abstract}{\vskip.075in\centerline{\large\bf
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
103 Abstract}\vspace{0.5ex}\begin{quote}}{\par\end{quote}\vskip 1ex}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
104
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
105 % sections with less space
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
106 \def\section{\@startsection {section}{1}{\z@}{-2.0ex plus
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
107 -0.5ex minus -.2ex}{1.5ex plus 0.3ex
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
108 minus0.2ex}{\large\bf\raggedright}}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
109
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
110 \def\subsection{\@startsection{subsection}{2}{\z@}{-1.8ex plus
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
111 -0.5ex minus -.2ex}{0.8ex plus .2ex}{\normalsize\bf\raggedright}}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
112 \def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-1.5ex
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
113 plus -0.5ex minus -.2ex}{0.5ex plus
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
114 .2ex}{\normalsize\bf\raggedright}}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
115 \def\paragraph{\@startsection{paragraph}{4}{\z@}{1.5ex plus
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
116 0.5ex minus .2ex}{-1em}{\normalsize\bf}}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
117 \def\subparagraph{\@startsection{subparagraph}{5}{\z@}{1.5ex plus
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
118 0.5ex minus .2ex}{-1em}{\normalsize\bf}}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
119 \def\subsubsubsection{\vskip
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
120 5pt{\noindent\normalsize\rm\raggedright}}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
121
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
122
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
123 % Footnotes
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
124 \footnotesep 6.65pt %
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
125 \skip\footins 9pt plus 4pt minus 2pt
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
126 \def\footnoterule{\kern-3pt \hrule width 12pc \kern 2.6pt }
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
127 \setcounter{footnote}{0}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
128
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
129 % Lists and paragraphs
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
130 \parindent 0pt
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
131 \topsep 4pt plus 1pt minus 2pt
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
132 \partopsep 1pt plus 0.5pt minus 0.5pt
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
133 \itemsep 2pt plus 1pt minus 0.5pt
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
134 \parsep 2pt plus 1pt minus 0.5pt
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
135 \parskip .5pc
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
136
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
137
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
138 %\leftmargin2em
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
139 \leftmargin3pc
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
140 \leftmargini\leftmargin \leftmarginii 2em
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
141 \leftmarginiii 1.5em \leftmarginiv 1.0em \leftmarginv .5em
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
142
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
143 %\labelsep \labelsep 5pt
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
144
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
145 \def\@listi{\leftmargin\leftmargini}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
146 \def\@listii{\leftmargin\leftmarginii
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
147 \labelwidth\leftmarginii\advance\labelwidth-\labelsep
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
148 \topsep 2pt plus 1pt minus 0.5pt
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
149 \parsep 1pt plus 0.5pt minus 0.5pt
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
150 \itemsep \parsep}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
151 \def\@listiii{\leftmargin\leftmarginiii
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
152 \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
153 \topsep 1pt plus 0.5pt minus 0.5pt
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
154 \parsep \z@ \partopsep 0.5pt plus 0pt minus 0.5pt
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
155 \itemsep \topsep}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
156 \def\@listiv{\leftmargin\leftmarginiv
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
157 \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
158 \def\@listv{\leftmargin\leftmarginv
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
159 \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
160 \def\@listvi{\leftmargin\leftmarginvi
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
161 \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
162
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
163 \abovedisplayskip 7pt plus2pt minus5pt%
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
164 \belowdisplayskip \abovedisplayskip
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
165 \abovedisplayshortskip 0pt plus3pt%
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
166 \belowdisplayshortskip 4pt plus3pt minus3pt%
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
167
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
168 % Less leading in most fonts (due to the narrow columns)
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
169 % The choices were between 1-pt and 1.5-pt leading
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
170 %\def\@normalsize{\@setsize\normalsize{11pt}\xpt\@xpt} % got rid of @ (MK)
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
171 \def\normalsize{\@setsize\normalsize{11pt}\xpt\@xpt}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
172 \def\small{\@setsize\small{10pt}\ixpt\@ixpt}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
173 \def\footnotesize{\@setsize\footnotesize{10pt}\ixpt\@ixpt}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
174 \def\scriptsize{\@setsize\scriptsize{8pt}\viipt\@viipt}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
175 \def\tiny{\@setsize\tiny{7pt}\vipt\@vipt}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
176 \def\large{\@setsize\large{14pt}\xiipt\@xiipt}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
177 \def\Large{\@setsize\Large{16pt}\xivpt\@xivpt}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
178 \def\LARGE{\@setsize\LARGE{20pt}\xviipt\@xviipt}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
179 \def\huge{\@setsize\huge{23pt}\xxpt\@xxpt}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
180 \def\Huge{\@setsize\Huge{28pt}\xxvpt\@xxvpt}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
181
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
182 \def\toptitlebar{\hrule height4pt\vskip .25in\vskip-\parskip}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
183
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
184 \def\bottomtitlebar{\vskip .29in\vskip-\parskip\hrule height1pt\vskip
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
185 .09in} %
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
186 %Reduced second vskip to compensate for adding the strut in \@author
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
187
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
188 % Vertical Ruler
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
189 % This code is, largely, from the CVPR 2010 conference style file
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
190 % ----- define vruler
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
191 \makeatletter
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
192 \newbox\nipsrulerbox
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
193 \newcount\nipsrulercount
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
194 \newdimen\nipsruleroffset
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
195 \newdimen\cv@lineheight
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
196 \newdimen\cv@boxheight
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
197 \newbox\cv@tmpbox
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
198 \newcount\cv@refno
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
199 \newcount\cv@tot
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
200 % NUMBER with left flushed zeros \fillzeros[<WIDTH>]<NUMBER>
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
201 \newcount\cv@tmpc@ \newcount\cv@tmpc
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
202 \def\fillzeros[#1]#2{\cv@tmpc@=#2\relax\ifnum\cv@tmpc@<0\cv@tmpc@=-\cv@tmpc@\fi
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
203 \cv@tmpc=1 %
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
204 \loop\ifnum\cv@tmpc@<10 \else \divide\cv@tmpc@ by 10 \advance\cv@tmpc by 1 \fi
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
205 \ifnum\cv@tmpc@=10\relax\cv@tmpc@=11\relax\fi \ifnum\cv@tmpc@>10 \repeat
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
206 \ifnum#2<0\advance\cv@tmpc1\relax-\fi
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
207 \loop\ifnum\cv@tmpc<#1\relax0\advance\cv@tmpc1\relax\fi \ifnum\cv@tmpc<#1 \repeat
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
208 \cv@tmpc@=#2\relax\ifnum\cv@tmpc@<0\cv@tmpc@=-\cv@tmpc@\fi \relax\the\cv@tmpc@}%
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
209 % \makevruler[<SCALE>][<INITIAL_COUNT>][<STEP>][<DIGITS>][<HEIGHT>]
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
210 \def\makevruler[#1][#2][#3][#4][#5]{\begingroup\offinterlineskip
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
211 \textheight=#5\vbadness=10000\vfuzz=120ex\overfullrule=0pt%
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
212 \global\setbox\nipsrulerbox=\vbox to \textheight{%
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
213 {\parskip=0pt\hfuzz=150em\cv@boxheight=\textheight
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
214 \cv@lineheight=#1\global\nipsrulercount=#2%
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
215 \cv@tot\cv@boxheight\divide\cv@tot\cv@lineheight\advance\cv@tot2%
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
216 \cv@refno1\vskip-\cv@lineheight\vskip1ex%
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
217 \loop\setbox\cv@tmpbox=\hbox to0cm{{\nipstenhv\hfil\fillzeros[#4]\nipsrulercount}}%
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
218 \ht\cv@tmpbox\cv@lineheight\dp\cv@tmpbox0pt\box\cv@tmpbox\break
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
219 \advance\cv@refno1\global\advance\nipsrulercount#3\relax
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
220 \ifnum\cv@refno<\cv@tot\repeat}}\endgroup}%
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
221 \makeatother
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
222 % ----- end of vruler
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
223
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
224 % \makevruler[<SCALE>][<INITIAL_COUNT>][<STEP>][<DIGITS>][<HEIGHT>]
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
225 \def\nipsruler#1{\makevruler[12pt][#1][1][3][0.993\textheight]\usebox{\nipsrulerbox}}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
226 \AddToShipoutPicture{%
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
227 \ifnipsfinal\else
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
228 \nipsruleroffset=\textheight
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
229 \advance\nipsruleroffset by -3.7pt
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
230 \color[rgb]{.7,.7,.7}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
231 \AtTextUpperLeft{%
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
232 \put(\LenToUnit{-35pt},\LenToUnit{-\nipsruleroffset}){%left ruler
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
233 \nipsruler{\nipsrulercount}}
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
234 }
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
235 \fi
a48601e8d431 ajouter nips10submit_e.sty
Yoshua Bengio <bengioy@iro.umontreal.ca>
parents:
diff changeset
236 }