usenix.sty 2.6 KB

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