void-processes-jsys/jsys.sty

174 lines
4.8 KiB
Plaintext
Raw Normal View History

2021-01-27 21:09:46 +00:00
% jsys.sty - to be used with latex2e for USENIX.
% To use this style file, look at the template jsys.tex
%
% v1.0, 12/31/2020
%
% This is a modification of the USENIX sty file for the Journal of
% Systems Research, by Vijay Chidambaram. Borrowing the USENIX sty
% file with permission from Casey Henderson.
%
% This is a double column format with slight modifications for the
% Journal of Systems Research
\if@twocolumn\else\input twocolumn.sty\fi
\usepackage{mathptmx} % times roman, including math (where possible)
% hopefully embeds all fonts in pdf
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{pslatex}
% appearance
\usepackage[kerning,spacing]{microtype} % more compact and arguably nicer
% Uncomment the following line if you want the columns of the last page
% equal in size. But note that doing so may cause issues with some
% document-generating tools.
% \usepackage{flushend}
% refs and bib
\usepackage{cite} % order multiple entries in \cite{...}
\usepackage{breakurl} % break too-long urls in refs
\usepackage{url} % allow \url in bibtex for clickable links
\usepackage{xcolor} % color definitions, to be use for...
\usepackage[]{hyperref} % ...clickable refs within pdf...
\hypersetup{ % ...like so
colorlinks,
linkcolor={green!80!black},
citecolor={red!70!black},
urlcolor={blue!70!black}
}
% JSys
\usepackage{fancyhdr}
%
% USENIX wants margins of: 0.75" sides, 1" bottom, and 1" top.
% 0.33" gutter between columns.
% Gives active areas of 7" x 9"
%
\setlength{\textheight}{9.0in}
\setlength{\columnsep}{0.33in}
\setlength{\textwidth}{7.00in}
\setlength{\topmargin}{0.0in}
\setlength{\headheight}{0.0in}
\setlength{\headsep}{0.0in}
\addtolength{\oddsidemargin}{-0.25in}
\addtolength{\evensidemargin}{-0.25in}
% Define iclrfinal, set to true if iclrfinalcopy is defined
\newif\ifjsysfinal
\jsysfinalfalse
\def\jsysfinalcopy{\jsysfinaltrue}
\font\iclrtenhv = phvb at 8pt
% USENIX wants no page numbers for camera-ready papers, so that they can
% number them themselves. But submitted papers should have page numbers
% for the reviewers' convenience.
%
%
\pagestyle{fancy}
% This ensures the header doesn't say anything else
\fancyhf{}
\if 0
%
% USENIX titles are in 14-point bold type, with no date, and with no
% change in the empty page headers. The whole author section is 12 point
% italic--- you must use {\rm } around the actual author names to get
% them in roman.
%
\def\maketitle{\par
\begingroup
\renewcommand\thefootnote{\fnsymbol{footnote}}%
\def\@makefnmark{\hbox to\z@{$\m@th^{\@thefnmark}$\hss}}%
\long\def\@makefntext##1{\parindent 1em\noindent
\hbox to1.8em{\hss$\m@th^{\@thefnmark}$}##1}%
\if@twocolumn
\twocolumn[\@maketitle]%
\else \newpage
\global\@topnum\z@
\@maketitle \fi\@thanks
\endgroup
\setcounter{footnote}{0}%
\let\maketitle\relax
\let\@maketitle\relax
\gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
\def\@maketitle{\newpage
\vbox to 2.5in{
\vspace*{\fill}
\vskip 2em
\begin{center}%
{\Large\bf \@title \par}%
\vskip 0.375in minus 0.300in
{\large\it
\lineskip .5em
\begin{tabular}[t]{c}\@author
\end{tabular}\par}%
\end{center}%
\par
\vspace*{\fill}
% \vskip 1.5em
}
}
\fi
% Title stuff, taken from deproc.
\def\maketitle{\par
\begingroup
\def\thefootnote{\fnsymbol{footnote}}
\def\@makefnmark{\hbox to 0pt{$^{\@thefnmark}$\hss}} % for perfect author
% name centering
% The footnote-mark was overlapping the footnote-text,
% added the following to fix this problem (MK)
\long\def\@makefntext##1{\parindent 1em\noindent
\hbox to1.8em{\hss $\m@th ^{\@thefnmark}$}##1}
% \@maketitle \@thanks
\twocolumn[\@maketitle]%
\endgroup
\setcounter{footnote}{0}
\let\maketitle\relax \let\@maketitle\relax
\gdef\@thanks{}\gdef\@author{}\gdef \@title{}\let\thanks\relax}
\def\@maketitle{\newpage
\vbox to 2.5in{
\vspace*{\fill}
\vskip 2em
\begin{center}%
{\Large\bf \sc \@title \par}%
\vskip 0.375in minus 0.300in
\ifjsysfinal
{\large\it
\lineskip .5em
\begin{tabular}[t]{c}\@author
\end{tabular}\par}%
\else
\begin{tabular}[t]{l}\bf\rule{\z@}{24pt}Anonymous authors\\Paper
under double-blind review\end{tabular}%
\end{center}%
\par
\vspace*{\fill}
% \vskip 1.5em
}
}
%
% The abstract is preceded by a 12-pt bold centered heading
\def\abstract{\begin{center}%
{\large\bf \abstractname\vspace{-.5em}\vspace{\z@}}%
\end{center}}
\def\endabstract{}
\lhead{Under Submission to the Journal of Systems Research 2021}
%
% Main section titles are 12-pt bold. Others can be same or smaller.
%
\def\section{\@startsection {section}{1}{\z@}{-3.5ex plus-1ex minus
-.2ex}{2.3ex plus.2ex}{\reset@font\large\bf}}