forked from jbmartin/CogSci13AMTTutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cogsci.sty
220 lines (170 loc) · 6.11 KB
/
cogsci.sty
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
%begin COGSCI.STY
% Modified: Niels Taatgen (taatgen@cmu.edu) 10/24/2006
% Place this in a file called cogsci.sty in the TeX search path.
% (Placing it in the same directory as the paper should also work.)
% Start your LaTeX file with:
% \documentclass[10pt]{article}
% \usepackage{cogsci}
% Modified from earlier style files published by P.F. Patel-Schneider
% and others for IJCAI-89, AAAI-90, COGSCI-91, and other conferences.
%
% Ashwin Ram, ashwin@cc.gatech.edu, 4/1/94
% Modified : Eli M. Silk (esilk@pitt.edu) 05/24/2005
% Author information can be set in various styles. For several
% authors from the same institution use:
%
% \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}
\typeout{Conference Style for COGSCI -- last modified October 24, 2006}
% Physical page layout:
% 0.75in left margin,
% 1in top margin,
% 7in textwidth,
% 9.25in textheight
\setlength\oddsidemargin{-0.25in}
\setlength\textheight{9.25in}
\setlength\textwidth{7in}
\setlength\columnsep{0.25in}
\setlength\headheight{0pt}
\setlength\headsep{0pt}
\ifx\pdfoutput\@undefined
\setlength\topmargin{0.75in}
\else
\setlength\topmargin{0in}
\setlength\pdfpagewidth{8.5in}
\setlength\pdfpageheight{11in}
\fi
% Now we want page numbers
\setlength\footskip{0pt}
%\setlength\footheight{0pt}
\thispagestyle{empty}
\pagestyle{empty}
% \pagestyle{plain}
\flushbottom
\twocolumn
\sloppy
% Set the starting page
\newcommand{\startpage}[1]{%
\setcounter{page}{#1}}
%%% MEF: A couple of customizations that used to be in the sample document
%%% have been moved here:
% Have to do it like this or it won't be in effect in the document
\AtBeginDocument{\setlength\baselineskip{12pt}}
% Use Times fonts by default
%%\RequirePackage{pslatex}
% We're never going to need a table of contents, so just flush it to
% save space --- suggested by drstrip@sandia-2
\def\addcontentsline#1#2#3{}
% Title stuff, taken from deproc.
\def\maketitle{\par
\begingroup
% \def\thefootnote{\fnsymbol{footnote}}
% \def\@makefnmark{\hbox to 0pt{$^{\@thefnmark}$\hss}}
\twocolumn[\@maketitle] \@thanks
\endgroup
%\setcounter{footnote}{1}
\let\maketitle\relax \let\@maketitle\relax
\gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
\def\@maketitle%
{%
\linewidth\hsize
\centering
{\LARGE\bf \@title \par} \vskip 1em%
{\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 1em
\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 2em
}
% Abstract
\renewenvironment{abstract}
{\centerline{\bf Abstract}
\begin{quote}
\small}
{\par
\end{quote}}
% Sections with less space
\def\section{\@startsection {section}{1}{\z@}{-1.5ex plus
-0.25ex minus -.2ex}{3pt plus 2pt minus 1pt}{\Large\bf\centering}}
\def\subsection{\@startsection{subsection}{2}{\z@}{-1.5ex plus
-0.25ex minus -.2ex}{3pt plus 2pt minus 1pt}{\large\bf\raggedright}}
\def\subsubsection{\@startsection{subparagraph}{3}{\z@}{-6pt plus
2pt minus 1pt}{-1em}{\normalsize\bf}}
\setcounter{secnumdepth}{0}
% 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 10pt
\topsep 4pt plus 1pt minus 2pt
\partopsep 1pt plus 0.5pt minus 0.5pt
\itemsep 1pt plus 1pt minus 0.5pt
\parsep 1pt plus 1pt minus 0.5pt
\leftmargin 10pt
\leftmargini\leftmargin
\leftmarginii 10pt
\leftmarginiii 5pt
\leftmarginiv 5pt
\leftmarginv 5pt
\leftmarginvi 5pt
\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{10pt}\xpt\@xpt}
\def\small{\@setsize\small{9pt}\ixpt\@ixpt}
\def\footnotesize{\@setsize\footnotesize{9pt}\ixpt\@ixpt}
\def\scriptsize{\@setsize\scriptsize{7pt}\viipt\@viipt}
\def\tiny{\@setsize\tiny{6pt}\vipt\@vipt}
\def\large{\@setsize\large{13pt}\xipt\@xipt}
\def\Large{\@setsize\Large{15pt}\xiipt\@xiipt}
\def\LARGE{\@setsize\LARGE{17pt}\xivpt\@xivpt}
\def\huge{\@setsize\huge{20pt}\xviipt\@xviipt}
\def\Huge{\@setsize\Huge{23pt}\xxpt\@xxpt}
%end COGSCI.STY