void-processes-jsys/jsys.tex

300 lines
12 KiB
TeX
Raw Normal View History

2021-01-27 21:09:46 +00:00
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Template for JSys papers.
%
% History:
%
% - TEMPLATE for the Journal of Systems Research, prepared for submissions to
% JSys in 2020 by Vijay Chidambaram (CS Department, University of Texas at
% Austin) and Romain Jacob (ETH Zurich). This was originally the USENIX
% template, which was adapted with USENIX permission. Thanks!
2021-01-27 21:09:46 +00:00
%
2021-01-28 13:24:13 +00:00
% - TEMPLATE for Usenix papers, specifically to meet requirements of USENIX '05.
% originally a template for producing IEEE-format articles using LaTeX.
% written by Matthew Ward, CS Department, Worcester Polytechnic Institute.
% adapted by David Beazley for his excellent SWIG paper in Proceedings, Tcl
% 96. turned into a smartass generic template by De Clarke, with thanks to
% both the above pioneers. Use at your own risk. Complaints to /dev/null.
% Make it two column with no page numbering, default is 10 point.
2021-01-27 21:09:46 +00:00
%
2021-01-28 13:24:13 +00:00
% - Munged by Fred Douglis <douglis@research.att.com> 10/97 to separate the .sty
% file from the LaTeX source template, so that people can more easily include
% the .sty file into an existing document. Also changed to more closely follow
% the style guidelines as represented by the Word sample file.
2021-01-27 21:09:46 +00:00
%
2021-01-28 13:24:13 +00:00
% - Note that since 2010, USENIX does not require endnotes. If you want foot of
% page notes, don't include the endnotes package in the usepackage command,
% below.
%
% - This version uses the latex2e styles, not the very ancient 2.09 stuff.
2021-01-27 21:09:46 +00:00
%
% - Updated July 2018: Text block size changed from 6.5" to 7"
%
% - Updated Dec 2018 for ATC'19:
%
% * Revised text to pass HotCRP's auto-formatting check, with
% hotcrp.settings.submission_form.body_font_size=10pt, and
% hotcrp.settings.submission_form.line_height=12pt
%
% * Switched from \endnote-s to \footnote-s to match Usenix's policy.
%
% * \section* => \begin{abstract} ... \end{abstract}
%
2021-01-28 13:24:13 +00:00
% * Make template self-contained in terms of bibtex entires, to allow this
% file to be compiled. (And changing refs style to 'plain'.)
%
% * Make template self-contained in terms of figures, to allow this file to be
% compiled.
2021-01-27 21:09:46 +00:00
%
2021-01-28 13:24:13 +00:00
% * Added packages for hyperref, embedding fonts, and improving appearance.
2021-01-27 21:09:46 +00:00
%
% * Removed outdated text.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[letterpaper,twocolumn,10pt]{article}
\usepackage{jsys}
2021-01-28 13:24:13 +00:00
% Disable a warning related to \nonfrenchspacing
\microtypecontext{spacing=nonfrench}
2021-01-27 21:09:46 +00:00
% to be able to draw some self-contained figs
\usepackage{tikz}
\usepackage{amsmath}
2021-01-28 13:24:13 +00:00
% 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}
2021-01-28 13:24:13 +00:00
% inlined bib file -> only for making the file compilable on its own.
2021-01-27 21:09:46 +00:00
%-------------------------------------------------------------------------------
\begin{filecontents}{\jobname.bib}
%-------------------------------------------------------------------------------
@Book{arpachiDusseau18:osbook,
author = {Arpaci-Dusseau, Remzi H. and Arpaci-Dusseau Andrea C.},
title = {Operating Systems: Three Easy Pieces},
publisher = {Arpaci-Dusseau Books, LLC},
year = 2015,
edition = {1.00},
doi = {10.5070/SR31154815},}
@InProceedings{waldspurger02,
author = {Waldspurger, Carl A.},
title = {Memory resource management in {VMware ESX} server},
booktitle = {USENIX Symposium on Operating System Design and Implementation (OSDI)},
year = 2002,
pages = {181--194},
url = {https://www.usenix.org/legacy/event/osdi02/tech/waldspurger/waldspurger.pdf}}
2021-01-27 21:09:46 +00:00
\end{filecontents}
2021-09-15 21:56:57 +01:00
% enable this for the camera-ready version
2021-11-15 13:53:36 +00:00
%\jsysfinaltrue
% for ORCID
\usepackage{orcidlink}
2021-09-15 21:56:57 +01:00
2021-01-27 21:09:46 +00:00
%-------------------------------------------------------------------------------
\begin{document}
%-------------------------------------------------------------------------------
%don't want date printed
\date{}
% make title bold and 14 pt font (Latex default is non-bold, 16 pt)
2021-01-28 13:24:13 +00:00
\title{Template for Journal of Systems Research }
2021-01-27 21:09:46 +00:00
2021-11-15 13:53:36 +00:00
% for single author (just remove % characters)
% ORCID links to two nobel laureates for now, please change
\author{
{\textsc{John Doe}}\orcidlink{0000-0002-2218-5750}\\
Your Institution\\
Your Email
2021-01-28 13:24:13 +00:00
\and
2021-11-15 13:53:36 +00:00
{\textsc{John Doe}}\orcidlink{0000-0001-7985-6087}\\
Second Institution\\
Your Email
2021-01-28 13:24:13 +00:00
% copy the following lines to add more authors \and {\rm Name}\\
% Name Institution
2021-01-27 21:09:46 +00:00
} % end author
2021-01-28 13:24:13 +00:00
2021-01-27 21:09:46 +00:00
\maketitle
2021-01-28 13:24:13 +00:00
% Disable header and footer on the from page
\thispagestyle{empty}
2021-01-27 21:09:46 +00:00
%-------------------------------------------------------------------------------
\begin{abstract}
%-------------------------------------------------------------------------------
2021-01-28 13:24:13 +00:00
Your abstract text goes here. Just a few facts. Whet our appetites. Not more
than 200 words, if possible, and preferably closer to 150.
2021-01-27 21:09:46 +00:00
\end{abstract}
%-------------------------------------------------------------------------------
\section{Introduction}
%-------------------------------------------------------------------------------
2021-01-28 13:24:13 +00:00
A paragraph of text goes here. Lots of text. Plenty of interesting text. Text
text text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text. More
fascinating text. Features galore, plethora of promises.
2021-01-27 21:09:46 +00:00
%-------------------------------------------------------------------------------
\section{Footnotes, Verbatim, and Citations}
%-------------------------------------------------------------------------------
2021-01-28 13:24:13 +00:00
Footnotes should be places after punctuation characters, without any spaces
between said characters and footnotes, like so.%
\footnote{Regular footnotes---like this one---should be used, no endnotes.} And
some embedded literal code may look as follows.
2021-01-27 21:09:46 +00:00
\begin{verbatim}
int main(int argc, char *argv[])
{
return 0;
}
\end{verbatim}
2021-01-28 13:24:13 +00:00
Now we're going to cite somebody. Watch for the cite tag. Here it comes.
Arpachi-Dusseau and Arpachi-Dusseau co-authored an excellent OS book, which is
also really funny~\cite{arpachiDusseau18:osbook}, and Waldspurger got into the
SIGOPS hall-of-fame due to his seminal paper about resource management in the
ESX hypervisor~\cite{waldspurger02}.
2021-01-27 21:09:46 +00:00
2021-01-28 13:24:13 +00:00
The tilde character (\~{}) in the tex source means a non-breaking space. This
way, your reference will always be attached to the word that preceded it,
instead of going to the next line.
2021-01-27 21:09:46 +00:00
2021-01-28 13:24:13 +00:00
And the 'cite' package sorts your citations by their numerical order of the
corresponding references at the end of the paper, ridding you from the need to
notice that, e.g, ``Waldspurger'' appears after ``Arpachi-Dusseau'' when sorting
references alphabetically~\cite{waldspurger02,arpachiDusseau18:osbook}.
2021-01-27 21:09:46 +00:00
2021-01-28 13:24:13 +00:00
It'd be nice and thoughtful of you to include a suitable link in each and every
bibtex entry that you use in your submission, to allow reviewers (and other
readers) to easily get to the cited work, as is done in all entries found in the
References section of this document.
2021-01-27 21:09:46 +00:00
2021-01-28 13:24:13 +00:00
Now we're going take a look at Section~\ref{sec:figs}, but not before observing
that refs to sections and citations and such are colored and clickable in the
PDF because of the packages we've included.
2021-01-27 21:09:46 +00:00
%-------------------------------------------------------------------------------
\section{Floating Figures and Lists}
\label{sec:figs}
%-------------------------------------------------------------------------------
%---------------------------
\begin{figure}
\begin{center}
\begin{tikzpicture}
2021-01-28 13:24:13 +00:00
\draw[thin,gray!40] (-2,-2) grid (2,2); \draw[<->] (-2,0)--(2,0)
node[right]{$x$}; \draw[<->] (0,-2)--(0,2) node[above]{$y$}; \draw[line
width=2pt,blue,-stealth](0,0)--(1,1) node[anchor=south
west]{$\boldsymbol{u}$}; \draw[line width=2pt,red,-stealth](0,0)--(-1,-1)
node[anchor=north east]{$\boldsymbol{-u}$};
2021-01-27 21:09:46 +00:00
\end{tikzpicture}
\end{center}
\caption{\label{fig:vectors} Text size inside figure should be as big as
2021-01-28 13:24:13 +00:00
caption's text. Text size inside figure should be as big as caption's text.
Text size inside figure should be as big as caption's text. Text size inside
figure should be as big as caption's text. Text size inside figure should be
as big as caption's text. }
2021-01-27 21:09:46 +00:00
\end{figure}
%% %---------------------------
2021-01-28 13:24:13 +00:00
Here's a typical reference to a floating figure: Figure~\ref{fig:vectors}.
Floats should usually be placed where latex wants then. Figure~\ref{fig:vectors}
is centered, and has a caption that instructs you to make sure that the size of
the text within the figures that you use is as big as (or bigger than) the size
of the text in the caption of the figures. Please do. Really.
2021-01-27 21:09:46 +00:00
2021-01-28 13:24:13 +00:00
In our case, we've explicitly drawn the figure inlined in latex, to allow this
tex file to cleanly compile. But usually, your figures will reside in some
file.pdf, and you'd include them in your document with, say,
\textbackslash{}includegraphics.
2021-01-27 21:09:46 +00:00
2021-01-28 13:24:13 +00:00
Lists are sometimes quite handy. If you want to itemize things, feel free:
2021-01-27 21:09:46 +00:00
\begin{description}
2021-01-28 13:24:13 +00:00
\item[fread] a function that reads from a \texttt{stream} into the array
\texttt{ptr} at most \texttt{nobj} objects of size \texttt{size}, returning
returns the number of objects read.
2021-01-27 21:09:46 +00:00
2021-01-28 13:24:13 +00:00
\item[Fred] a person's name, e.g., there once was a dude named Fred who
separated usenix.sty from this file to allow for easy inclusion. We are
grateful to Fred as JSys benefits from his work as well!
2021-01-27 21:09:46 +00:00
\end{description}
\noindent
2021-01-28 13:24:13 +00:00
The noindent at the start of this paragraph in its tex version makes it clear
that it's a continuation of the preceding paragraph, as opposed to a new
paragraph in its own right.
2021-01-27 21:09:46 +00:00
\subsection{Tables with \texttt{booktabs}}
JSys recommends using the \texttt{booktabs} package, which provides the \texttt{toprule}, \texttt{midrule}, and \texttt{bottomrule} commands with much nicer spacing around horizontal lines. Table's caption should be placed {below} the table; centering is optional. Table text font is set to \texttt{small} by default. \textbf{Do not} make it any smaller; larger is fine.
The template also includes the \texttt{tabularx} and \texttt{multirow} packages, which should fill most table-related needs.
\begin{table}
\centering
\begin{tabular}{llr}
\toprule
\multicolumn{2}{c}{Item} \\
\cmidrule(r){1-2}
Animal & Description & Price (\$) \\
\midrule
Gnat & per gram & 13.65 \\
& each & 0.01 \\
Gnu & stuffed & 92.50 \\
Emu & stuffed & 33.33 \\
Armadillo & frozen & 8.99 \\
\bottomrule
\end{tabular}
\caption{Table's caption should be placed \textbf{below} the table. The \texttt{booktabs} package provides nicer spacing around lines.}
\label{tab:booktab_ex}
\end{table}
2021-01-27 21:09:46 +00:00
\subsection{LaTeX-ing Your TeX File}
%-----------------------------------
2021-01-28 13:24:13 +00:00
People often use \texttt{pdflatex} these days for creating pdf-s from tex files
via the shell. And \texttt{bibtex}, of course. Works for us.
2021-01-27 21:09:46 +00:00
%-------------------------------------------------------------------------------
2021-01-28 13:24:13 +00:00
\acks
2021-01-27 21:09:46 +00:00
%-------------------------------------------------------------------------------
2021-01-28 13:24:13 +00:00
Use this section to acknowledge collaborators, funding agencies, or anyone that
contributed to make this research happen. Yes, this includes open source program
contributors.
2021-01-27 21:09:46 +00:00
%-------------------------------------------------------------------------------
2021-01-28 13:24:13 +00:00
\artifacts
2021-01-27 21:09:46 +00:00
%-------------------------------------------------------------------------------
2021-01-28 13:24:13 +00:00
JSys has a strong commitment to open and reproducible science; if you made your
code or data available, it's worth mentioning this fact in a dedicated section!
In particular, papers introducing new software solutions, tools, or benchmarks
\textbf{must} make their software available. Software artifacts must be usable
by a third-party without author help for the paper to be accepted. The JSys
Artifact Evaluation Board will ensure this is the case.
2021-01-27 21:09:46 +00:00
2021-01-27 21:09:46 +00:00
%-------------------------------------------------------------------------------
\bibliographystyle{plainurl}
2021-01-27 21:09:46 +00:00
\bibliography{\jobname}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2021-01-28 13:24:13 +00:00
%% LocalWords: endnotes includegraphics fread ptr nobj noindent % LocalWords:
%pdflatex acks