r13703@catbus: nickm | 2007-07-12 11:41:38 -0400
[tor.git] / doc / design-paper / usenix.sty
blob4442f1157478373350a8822a1a479ff5e1007f29
1 % usenix-2e.sty - to be used with latex2e (the new one) for USENIX.
2 % To use this style file, do this:
4 % \documentclass[twocolumn]{article}
5 % \usepackage{usenix-2e}
6 % and put {\rm ....} around the author names.
8 % $Id$
10 % The following definitions are modifications of standard article.sty
11 % definitions, arranged to do a better job of matching the USENIX
12 % guidelines.
13 % It will automatically select two-column mode and the Times-Roman
14 % font.
17 % USENIX papers are two-column.
18 % Times-Roman font is nice if you can get it (requires NFSS,
19 % which is in latex2e.
21 \if@twocolumn\else\input twocolumn.sty\fi
22 \usepackage{times}
25 % USENIX wants margins of: 7/8" side, 1" bottom, and 3/4" top.
26 % 0.25" gutter between columns.
27 % Gives active areas of 6.75" x 9.25"
29 \setlength{\textheight}{9.0in}
30 \setlength{\columnsep}{0.25in}
31 %%\setlength{\textwidth}{6.75in}
32 \setlength{\textwidth}{7.00in}
33 %\setlength{\footheight}{0.0in}
34 \setlength{\topmargin}{-0.25in}
35 \setlength{\headheight}{0.0in}
36 \setlength{\headsep}{0.0in}
37 \setlength{\evensidemargin}{-0.125in}
38 \setlength{\oddsidemargin}{-0.125in}
41 % Usenix wants no page numbers for submitted papers, so that they can
42 % number them themselves.
44 \pagestyle{empty}
47 % Usenix titles are in 14-point bold type, with no date, and with no
48 % change in the empty page headers. The whol author section is 12 point
49 % italic--- you must use {\rm } around the actual author names to get
50 % them in roman.
52 \def\maketitle{\par
53 \begingroup
54 \renewcommand\thefootnote{\fnsymbol{footnote}}%
55 \def\@makefnmark{\hbox to\z@{$\m@th^{\@thefnmark}$\hss}}%
56 \long\def\@makefntext##1{\parindent 1em\noindent
57 \hbox to1.8em{\hss$\m@th^{\@thefnmark}$}##1}%
58 \if@twocolumn
59 \twocolumn[\@maketitle]%
60 \else \newpage
61 \global\@topnum\z@
62 \@maketitle \fi\@thanks
63 \endgroup
64 \setcounter{footnote}{0}%
65 \let\maketitle\relax
66 \let\@maketitle\relax
67 \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
69 \def\@maketitle{\newpage
70 \vbox to 2.5in{
71 \vspace*{\fill}
72 \vskip 2em
73 \begin{center}%
74 {\Large\bf \@title \par}%
75 \vskip 0.375in minus 0.300in
76 {\large\it
77 \lineskip .5em
78 \begin{tabular}[t]{c}\@author
79 \end{tabular}\par}%
80 \end{center}%
81 \par
82 \vspace*{\fill}
83 % \vskip 1.5em
88 % The abstract is preceded by a 12-pt bold centered heading
89 \def\abstract{\begin{center}%
90 {\large\bf \abstractname\vspace{-.5em}\vspace{\z@}}%
91 \end{center}}
92 \def\endabstract{}
95 % Main section titles are 12-pt bold. Others can be same or smaller.
97 \def\section{\@startsection {section}{1}{\z@}{-3.5ex plus-1ex minus
98 -.2ex}{2.3ex plus.2ex}{\reset@font\large\bf}}