2021-01-28 13:24:13 +00:00
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
% jsys.sty - JSys style file
|
|
|
|
% For the use this style file, refer to the template: jsys.tex
|
2021-01-27 21:09:46 +00:00
|
|
|
%
|
|
|
|
% 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
|
2021-01-28 13:24:13 +00:00
|
|
|
% Journal of Systems Research (JSys)
|
|
|
|
%
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
2021-01-27 21:09:46 +00:00
|
|
|
|
|
|
|
\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
|
2021-01-28 13:24:13 +00:00
|
|
|
% more compact (and arguably nicer) font
|
|
|
|
\usepackage[kerning,spacing]{microtype}
|
2021-01-27 21:09:46 +00:00
|
|
|
|
|
|
|
% 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}
|
|
|
|
}
|
|
|
|
|
2021-02-01 09:27:49 +00:00
|
|
|
% Table
|
|
|
|
\usepackage{booktabs}
|
|
|
|
\usepackage{multirow}
|
|
|
|
\usepackage{tabularx}
|
2021-02-17 17:15:37 +00:00
|
|
|
\usepackage{etoolbox}
|
2021-02-01 09:27:49 +00:00
|
|
|
\BeforeBeginEnvironment{tabular}{\small}
|
|
|
|
\AfterEndEnvironment{tabular}{}
|
|
|
|
|
|
|
|
% Formatting
|
2021-01-27 21:09:46 +00:00
|
|
|
\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}
|
|
|
|
|
2021-01-28 13:24:13 +00:00
|
|
|
\setlength{\voffset}{-0.4in}
|
2021-01-27 21:09:46 +00:00
|
|
|
\setlength{\topmargin}{0.0in}
|
2021-01-28 13:24:13 +00:00
|
|
|
\setlength{\headheight}{12pt}
|
|
|
|
\setlength{\headsep}{24pt}
|
|
|
|
\setlength{\footskip}{40pt}
|
2021-01-27 21:09:46 +00:00
|
|
|
|
2021-01-28 13:24:13 +00:00
|
|
|
\setlength{\marginparsep}{0pt}
|
|
|
|
\setlength{\marginparwidth}{0pt}
|
2021-01-27 21:09:46 +00:00
|
|
|
|
|
|
|
\addtolength{\oddsidemargin}{-0.25in}
|
|
|
|
\addtolength{\evensidemargin}{-0.25in}
|
|
|
|
|
2021-01-28 13:24:13 +00:00
|
|
|
% Define ifjsysfinal, set to true if jsysfinalcopy is defined
|
2021-01-27 21:09:46 +00:00
|
|
|
\newif\ifjsysfinal
|
|
|
|
\jsysfinalfalse
|
|
|
|
\def\jsysfinalcopy{\jsysfinaltrue}
|
|
|
|
|
2021-01-28 13:24:13 +00:00
|
|
|
% Headers and footers
|
2021-01-27 21:09:46 +00:00
|
|
|
\pagestyle{fancy}
|
|
|
|
\fancyhf{}
|
2021-01-28 13:24:13 +00:00
|
|
|
\fancyhead[l]{Submitted to the Journal of Systems Research (JSys)}
|
|
|
|
\fancyhead[r]{\the\year{}}
|
|
|
|
\fancyfoot[c]{\thepage}
|
2021-01-27 21:09:46 +00:00
|
|
|
|
|
|
|
% 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
|
2021-01-28 13:24:13 +00:00
|
|
|
\vspace*{-1in}
|
2021-01-27 21:09:46 +00:00
|
|
|
\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}%
|
2021-01-28 13:24:13 +00:00
|
|
|
\else
|
|
|
|
\begin{tabular}[t]{c}\bf\rule{\z@}{24pt}Anonymous authors\\Paper
|
|
|
|
under double-blind review\end{tabular}%
|
|
|
|
\fi
|
2021-01-27 21:09:46 +00:00
|
|
|
\end{center}%
|
|
|
|
\par
|
|
|
|
\vspace*{\fill}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-01-28 13:24:13 +00:00
|
|
|
|
2021-01-27 21:09:46 +00:00
|
|
|
%
|
|
|
|
% The abstract is preceded by a 12-pt bold centered heading
|
2021-01-28 13:24:13 +00:00
|
|
|
%
|
2021-01-27 21:09:46 +00:00
|
|
|
\def\abstract{\begin{center}%
|
|
|
|
{\large\bf \abstractname\vspace{-.5em}\vspace{\z@}}%
|
|
|
|
\end{center}}
|
|
|
|
\def\endabstract{}
|
|
|
|
|
|
|
|
%
|
|
|
|
% Main section titles are 12-pt bold. Others can be same or smaller.
|
|
|
|
%
|
|
|
|
\def\section{\@startsection {section}{1}{\z@}{-3.5ex plus-1ex minus
|
2021-01-28 13:24:13 +00:00
|
|
|
-.2ex}{2.3ex plus.2ex}{\reset@font\large\bf}}
|
|
|
|
|
|
|
|
%
|
|
|
|
% Custom sections
|
|
|
|
%
|
|
|
|
\newcommand{\acks}{\section*{Acknowledgement}}
|
|
|
|
\newcommand{\artifacts}{\section*{Artifacts}}
|