usenix.sty 2.6 KB

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