revert header line and added table examples

This commit is contained in:
Romain Jacob 2021-02-01 10:27:49 +01:00
parent cc1384c07a
commit de587a218e
3 changed files with 43 additions and 12 deletions

View File

@ -1,10 +1,13 @@
# JSys paper template # JSys paper template
Paper template for the [Journal of Systems Research (Jsys)](http://jsysr.org/), written for submissions to Paper template for the [Journal of Systems Research (Jsys)](http://jsysr.org/), written for submissions to
JSys by Vijay Chidambaram. JSys by [Vijay Chidambaram](https://www.cs.utexas.edu/~vijay/) and [Romain Jacob](https://www.romainjacob.net/).
This template was adapted from the USENIX template with their permission. Thanks a lot! This template was adapted from the USENIX template with their permission. Thanks a lot!
## Version ## Version
+ 1.0: First release (current) + 1.0.1: (current)
+ Added `booktab` example
+ `hrule` separating the header
+ 1.0: First release

View File

@ -38,7 +38,14 @@
urlcolor={blue!70!black} urlcolor={blue!70!black}
} }
% JSys % Table
\usepackage{booktabs}
\usepackage{multirow}
\usepackage{tabularx}
\BeforeBeginEnvironment{tabular}{\small}
\AfterEndEnvironment{tabular}{}
% Formatting
\usepackage{fancyhdr} \usepackage{fancyhdr}
% %
% USENIX wants margins of: 0.75" sides, 1" bottom, and 1" top. % USENIX wants margins of: 0.75" sides, 1" bottom, and 1" top.
@ -72,7 +79,6 @@
\fancyhead[l]{Submitted to the Journal of Systems Research (JSys)} \fancyhead[l]{Submitted to the Journal of Systems Research (JSys)}
\fancyhead[r]{\the\year{}} \fancyhead[r]{\the\year{}}
\fancyfoot[c]{\thepage} \fancyfoot[c]{\thepage}
\renewcommand{\headrule}{}
% Title stuff, taken from deproc. % Title stuff, taken from deproc.
\def\maketitle{\par \def\maketitle{\par

View File

@ -3,10 +3,10 @@
% %
% History: % History:
% %
% - TEMPLATE for the Journal of Systems Research, written for submissions to % - TEMPLATE for the Journal of Systems Research, prepared for submissions to
% JSys in 2020 by Vijay Chidambaram, CS Department, University of Texas at % JSys in 2020 by Vijay Chidambaram (CS Department, University of Texas at
% Austin. This was originally the USENIX template, which was adapted with % Austin) and Romain Jacob (ETH Zurich). This was originally the USENIX
% USENIX permission. Thanks! % template, which was adapted with USENIX permission. Thanks!
% %
% - TEMPLATE for Usenix papers, specifically to meet requirements of USENIX '05. % - TEMPLATE for Usenix papers, specifically to meet requirements of USENIX '05.
% originally a template for producing IEEE-format articles using LaTeX. % originally a template for producing IEEE-format articles using LaTeX.
@ -61,13 +61,10 @@
\usepackage{tikz} \usepackage{tikz}
\usepackage{amsmath} \usepackage{amsmath}
\usepackage{layout}
% Uncomment the following line if you want the columns of the last page equal in % 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 % size. But note that doing so may cause issues with some document-generating
% tools. % tools.
\usepackage{flushend} % \usepackage{flushend}
% inlined bib file -> only for making the file compilable on its own. % inlined bib file -> only for making the file compilable on its own.
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
@ -223,7 +220,31 @@ 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 that it's a continuation of the preceding paragraph, as opposed to a new
paragraph in its own right. paragraph in its own right.
\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}
\subsection{LaTeX-ing Your TeX File} \subsection{LaTeX-ing Your TeX File}
%----------------------------------- %-----------------------------------
@ -250,6 +271,7 @@ In particular, papers introducing new software solutions, tools, or benchmarks
by a third-party without author help for the paper to be accepted. The JSys by a third-party without author help for the paper to be accepted. The JSys
Artifact Evaluation Board will ensure this is the case. Artifact Evaluation Board will ensure this is the case.
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
\bibliographystyle{plain} \bibliographystyle{plain}
\bibliography{\jobname} \bibliography{\jobname}