donau

Donation authority for GNU Taler (experimental)
Log | Files | Refs | Submodules | README | LICENSE

usenix-2020-09.sty (3795B)


      1 % usenix.sty - to be used with latex2e for USENIX.
      2 % To use this style file, look at the template usenix2019_v3.1.tex
      3 %
      4 % $Id: usenix.sty,v 1.2 2005/02/16 22:30:47 maniatis Exp $
      5 %
      6 % The following definitions are modifications of standard article.sty
      7 % definitions, arranged to do a better job of matching the USENIX
      8 % guidelines.
      9 % It will automatically select two-column mode and the Times-Roman
     10 % font.
     11 %
     12 % 2018-12-19 [for ATC'19]: add packages to help embed all fonts in
     13 %   pdf; to improve appearance (hopefully); to make refs and citations
     14 %   clickable in pdf
     15 %
     16 % 2020-09-21 file updated to comment out flushend and make it optional
     17 
     18 %
     19 % USENIX papers are two-column.
     20 % Times-Roman font is nice if you can get it (requires NFSS,
     21 % which is in latex2e.
     22 
     23 \if@twocolumn\else\input twocolumn.sty\fi
     24 \usepackage{mathptmx}  % times roman, including math (where possible)
     25 
     26 % hopefully embeds all fonts in pdf
     27 \usepackage[T1]{fontenc}
     28 \usepackage[utf8]{inputenc}
     29 \usepackage{pslatex}
     30 
     31 % appearance
     32 \usepackage[kerning,spacing]{microtype} % more compact and arguably nicer
     33 
     34 % Uncomment the following line if you want the columns of the last page 
     35 % equal in size. But note that doing so may cause issues with some 
     36 % document-generating tools.
     37 % \usepackage{flushend}
     38 
     39 % refs and bib
     40 \usepackage{cite}               % order multiple entries in \cite{...}
     41 \usepackage{breakurl}           % break too-long urls in refs
     42 \usepackage{url}                % allow \url in bibtex for clickable links
     43 \usepackage{xcolor}             % color definitions, to be use for...
     44 \usepackage[]{hyperref}         % ...clickable refs within pdf...
     45 \hypersetup{                    % ...like so
     46   colorlinks,
     47   linkcolor={green!80!black},
     48   citecolor={red!70!black},
     49   urlcolor={blue!70!black}
     50 }
     51 
     52 %
     53 % USENIX wants margins of: 0.75" sides, 1" bottom, and 1" top.
     54 % 0.33" gutter between columns.
     55 % Gives active areas of 7" x 9"
     56 %
     57 \setlength{\textheight}{9.0in}
     58 \setlength{\columnsep}{0.33in}
     59 \setlength{\textwidth}{7.00in}
     60 
     61 \setlength{\topmargin}{0.0in}
     62 
     63 \setlength{\headheight}{0.0in}
     64 
     65 \setlength{\headsep}{0.0in}
     66 
     67 \addtolength{\oddsidemargin}{-0.25in}
     68 \addtolength{\evensidemargin}{-0.25in}
     69 
     70 % USENIX wants no page numbers for camera-ready papers, so that they can
     71 % number them themselves.  But submitted papers should have page numbers
     72 % for the reviewers' convenience.
     73 % 
     74 %
     75 % \pagestyle{empty}
     76 
     77 %
     78 % USENIX titles are in 14-point bold type, with no date, and with no
     79 % change in the empty page headers.  The whole author section is 12 point
     80 % italic--- you must use {\rm } around the actual author names to get
     81 % them in roman.
     82 %
     83 \def\maketitle{\par
     84  \begingroup
     85    \renewcommand\thefootnote{\fnsymbol{footnote}}%
     86    \def\@makefnmark{\hbox to\z@{$\m@th^{\@thefnmark}$\hss}}%
     87     \long\def\@makefntext##1{\parindent 1em\noindent
     88             \hbox to1.8em{\hss$\m@th^{\@thefnmark}$}##1}%
     89    \if@twocolumn
     90      \twocolumn[\@maketitle]%
     91      \else \newpage
     92      \global\@topnum\z@
     93      \@maketitle \fi\@thanks
     94  \endgroup
     95  \setcounter{footnote}{0}%
     96  \let\maketitle\relax
     97  \let\@maketitle\relax
     98  \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
     99 
    100 \def\@maketitle{\newpage
    101  \vbox to 2.5in{
    102  \vspace*{\fill}
    103  \vskip 2em
    104  \begin{center}%
    105   {\Large\bf \@title \par}%
    106   \vskip 0.375in minus 0.300in
    107   {\large\it
    108    \lineskip .5em
    109    \begin{tabular}[t]{c}\@author
    110    \end{tabular}\par}%
    111  \end{center}%
    112  \par
    113  \vspace*{\fill}
    114 % \vskip 1.5em
    115  }
    116 }
    117 
    118 %
    119 % The abstract is preceded by a 12-pt bold centered heading
    120 \def\abstract{\begin{center}%
    121 {\large\bf \abstractname\vspace{-.5em}\vspace{\z@}}%
    122 \end{center}}
    123 \def\endabstract{}
    124 
    125 %
    126 % Main section titles are 12-pt bold.  Others can be same or smaller.
    127 %
    128 \def\section{\@startsection {section}{1}{\z@}{-3.5ex plus-1ex minus
    129     -.2ex}{2.3ex plus.2ex}{\reset@font\large\bf}}