various formating update and clean up

This commit is contained in:
Romain Jacob 2021-01-28 14:24:13 +01:00
parent 608286a76e
commit f6ccbfdc73
3 changed files with 167 additions and 230 deletions

View File

@ -1,21 +0,0 @@
%% LaTeX2e file `jsys.bib'
%% generated by the `filecontents' environment
%% from source `jsys' on 2021/01/27.
%%
%-------------------------------------------------------------------------------
@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},
note = {\url{http://pages.cs.wisc.edu/~remzi/OSTEP/}}
}
@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},
note = {\url{https://www.usenix.org/legacy/event/osdi02/tech/waldspurger/waldspurger.pdf}}}

106
jsys.sty
View File

@ -1,5 +1,6 @@
% jsys.sty - to be used with latex2e for USENIX.
% To use this style file, look at the template jsys.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% jsys.sty - JSys style file
% For the use this style file, refer to the template: jsys.tex
%
% v1.0, 12/31/2020
%
@ -8,7 +9,9 @@
% file with permission from Casey Henderson.
%
% This is a double column format with slight modifications for the
% Journal of Systems Research
% Journal of Systems Research (JSys)
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\if@twocolumn\else\input twocolumn.sty\fi
\usepackage{mathptmx} % times roman, including math (where possible)
@ -19,12 +22,8 @@
\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}
% more compact (and arguably nicer) font
\usepackage[kerning,spacing]{microtype}
% refs and bib
\usepackage{cite} % order multiple entries in \cite{...}
@ -41,7 +40,6 @@
% JSys
\usepackage{fancyhdr}
%
% USENIX wants margins of: 0.75" sides, 1" bottom, and 1" top.
% 0.33" gutter between columns.
@ -51,72 +49,30 @@
\setlength{\columnsep}{0.33in}
\setlength{\textwidth}{7.00in}
\setlength{\voffset}{-0.4in}
\setlength{\topmargin}{0.0in}
\setlength{\headheight}{12pt}
\setlength{\headsep}{24pt}
\setlength{\footskip}{40pt}
\setlength{\headheight}{0.0in}
\setlength{\headsep}{0.0in}
\setlength{\marginparsep}{0pt}
\setlength{\marginparwidth}{0pt}
\addtolength{\oddsidemargin}{-0.25in}
\addtolength{\evensidemargin}{-0.25in}
% Define iclrfinal, set to true if iclrfinalcopy is defined
% Define ifjsysfinal, set to true if jsysfinalcopy 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.
%
%
% Headers and footers
\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
\fancyhead[l]{Submitted to the Journal of Systems Research (JSys)}
\fancyhead[r]{\the\year{}}
\fancyfoot[c]{\thepage}
\renewcommand{\headrule}{}
% Title stuff, taken from deproc.
\def\maketitle{\par
@ -136,6 +92,7 @@
\gdef\@thanks{}\gdef\@author{}\gdef \@title{}\let\thanks\relax}
\def\@maketitle{\newpage
\vspace*{-1in}
\vbox to 2.5in{
\vspace*{\fill}
\vskip 2em
@ -147,28 +104,33 @@
\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}%
\else
\begin{tabular}[t]{c}\bf\rule{\z@}{24pt}Anonymous authors\\Paper
under double-blind review\end{tabular}%
\fi
\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}}
-.2ex}{2.3ex plus.2ex}{\reset@font\large\bf}}
%
% Custom sections
%
\newcommand{\acks}{\section*{Acknowledgement}}
\newcommand{\artifacts}{\section*{Artifacts}}

270
jsys.tex
View File

@ -3,31 +3,29 @@
%
% History:
%
% - TEMPLATE for the Journal of Systems Research, written for
% submissions to JSys in 2020 by Vijay Chidambaram, CS Department,
% University of Texas at Austin. This was originally the USENIX
% template, as explained below.
% - TEMPLATE for the Journal of Systems Research, written for submissions to
% JSys in 2020 by Vijay Chidambaram, CS Department, University of Texas at
% Austin. This was originally the USENIX template, which was adapted with
% USENIX permission. Thanks!
%
% - 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.
% - 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.
%
% - 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.
% - 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.
%
% - 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.
% - 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.
%
% - Updated July 2018: Text block size changed from 6.5" to 7"
%
@ -41,15 +39,14 @@
%
% * \section* => \begin{abstract} ... \end{abstract}
%
% * 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 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.
% * Make template self-contained in terms of figures, to allow this file to be
% compiled.
%
% * Added packages for hyperref, embedding fonts, and improving appearance.
%
% * Added packages for hyperref, embedding fonts, and improving
% appearance.
%
% * Removed outdated text.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@ -57,64 +54,68 @@
\documentclass[letterpaper,twocolumn,10pt]{article}
\usepackage{jsys}
% Disable a warning related to \nonfrenchspacing
\microtypecontext{spacing=nonfrench}
% to be able to draw some self-contained figs
\usepackage{tikz}
\usepackage{amsmath}
% inlined bib file
\usepackage{filecontents}
\usepackage{layout}
% 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}
% inlined bib file -> only for making the file compilable on its own.
%-------------------------------------------------------------------------------
\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},
note = {\url{http://pages.cs.wisc.edu/~remzi/OSTEP/}}
}
@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},
note = {\url{https://www.usenix.org/legacy/event/osdi02/tech/waldspurger/waldspurger.pdf}}}
@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}, note = {\url{http://pages.cs.wisc.edu/~remzi/OSTEP/}}}
@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}, note =
{\url{https://www.usenix.org/legacy/event/osdi02/tech/waldspurger/waldspurger.pdf}}}
\end{filecontents}
%-------------------------------------------------------------------------------
\begin{document}
%-------------------------------------------------------------------------------
\jsysfinalcopy
%don't want date printed
\date{}
% make title bold and 14 pt font (Latex default is non-bold, 16 pt)
\title{Template for Journal of Systems Research}
\title{Template for Journal of Systems Research }
%for single author (just remove % characters)
\author{
{\rm Your N.\ Here}\\
Your Institution
\and
{\rm Second Name}\\
Second Institution
% copy the following lines to add more authors
% \and
% {\rm Name}\\
%Name Institution
\author{{\rm Your N.\ Here}\\
Your Institution
\and
{\rm Second Name}\\
Second Institution
% copy the following lines to add more authors \and {\rm Name}\\
% Name Institution
} % end author
\maketitle
% Disable header and footer on the from page
\thispagestyle{empty}
%-------------------------------------------------------------------------------
\begin{abstract}
%-------------------------------------------------------------------------------
Your abstract text goes here. Just a few facts. Whet our appetites.
Not more than 200 words, if possible, and preferably closer to 150.
Your abstract text goes here. Just a few facts. Whet our appetites. Not more
than 200 words, if possible, and preferably closer to 150.
\end{abstract}
@ -122,22 +123,20 @@ Not more than 200 words, if possible, and preferably closer to 150.
\section{Introduction}
%-------------------------------------------------------------------------------
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.
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.
%-------------------------------------------------------------------------------
\section{Footnotes, Verbatim, and Citations}
%-------------------------------------------------------------------------------
Footnotes should be places after punctuation characters, without any
spaces between said characters and footnotes, like so.%
\footnote{Remember that USENIX format stopped using endnotes and is
now using regular footnotes.} And some embedded literal code may
look as follows.
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.
\begin{verbatim}
int main(int argc, char *argv[])
@ -146,30 +145,29 @@ int main(int argc, char *argv[])
}
\end{verbatim}
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}.
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}.
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.
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.
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}.
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}.
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.
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.
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.
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.
%-------------------------------------------------------------------------------
\section{Floating Figures and Lists}
@ -181,79 +179,77 @@ clickable in the PDF because of the packages we've included.
\begin{figure}
\begin{center}
\begin{tikzpicture}
\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}$};
\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}$};
\end{tikzpicture}
\end{center}
\caption{\label{fig:vectors} 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. Text size inside figure should be as big as
caption's text. }
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. }
\end{figure}
%% %---------------------------
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.
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.
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.
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.
Lists are sometimes quite handy. If you want to itemize things, feel
free:
Lists are sometimes quite handy. If you want to itemize things, feel free:
\begin{description}
\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.
\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.
\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.
\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!
\end{description}
\noindent
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.
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.
\subsection{LaTeX-ing Your TeX File}
%-----------------------------------
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.
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.
%-------------------------------------------------------------------------------
\section*{Acknowledgments}
\acks
%-------------------------------------------------------------------------------
The USENIX latex style is old and very tired, which is why
there's no \textbackslash{}acks command for you to use when
acknowledging. Sorry.
Use this section to acknowledge collaborators, funding agencies, or anyone that
contributed to make this research happen. Yes, this includes open source program
contributors.
%-------------------------------------------------------------------------------
\section*{Availability}
\artifacts
%-------------------------------------------------------------------------------
USENIX program committees give extra points to submissions that are
backed by artifacts that are publicly available. If you made your code
or data available, it's worth mentioning this fact in a dedicated
section.
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.
%-------------------------------------------------------------------------------
\bibliographystyle{plain}
@ -263,5 +259,5 @@ section.
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% LocalWords: endnotes includegraphics fread ptr nobj noindent
%% LocalWords: pdflatex acks
%% LocalWords: endnotes includegraphics fread ptr nobj noindent % LocalWords:
%pdflatex acks