default-paper/main.tex

210 lines
4.5 KiB
TeX

% IEEE Template:
%\documentclass[conference]{templates/IEEEtran}
% USENIX Template:
\documentclass[letterpaper,twocolumn,10pt]{article}
\usepackage{templates/usenix-2020-09}
% STANDALONE TEMPLATE
%\documentclass{article}
%\usepackage[letterpaper,top=2cm,bottom=2cm,left=3cm,right=3cm,marginparwidth=1.75cm]{geometry}
% Packages
%\usepackage[T1]{fontenc}
%\usepackage[utf8]{inputenc}
\usepackage{csquotes}
\usepackage[english]{babel}
\usepackage{tikz}
\usepackage{subfig}
\usepackage{booktabs}
\usepackage{tabularx}
\usepackage{multirow}
\usepackage{pifont}
\usepackage[nointegrals]{wasysym}
\usepackage{amsmath}
\usepackage[labelfont=bf]{caption}
\usepackage{comment}
\usepackage{xcolor}
%\usepackage[nospread,keeplastbox]{flushend}
\usepackage{tcolorbox}
\usepackage{listings}
%\usepackage{cite}
\usepackage[normalem]{ulem}
\usepackage{xspace}
\usepackage{relsize}
% Bibliography settings
\usepackage[sorting=anyt,%
giveninits=true,%
maxbibnames=99,%
citestyle=numeric-comp,%
natbib=true,%
backend=biber,%,
mincrossrefs=1000]{biblatex}
\setcounter{biburlnumpenalty}{9000}
\setcounter{biburlucpenalty}{9000}
\setcounter{biburllcpenalty}{9000}
\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
\renewcommand*{\bibfont}{\small}
\AtEveryBibitem{% Clean up the bibliography rather than editing it
\clearfield{editor}
\clearfield{pages}
\ifentrytype{book}{
}{
\ifentrytype{inbook}{}{% Remove publisher, editor, ISBN and ISSN except for books
\clearlist{publisher}
\clearname{editor}
\clearfield{isbn}
\clearfield{issn}
}}
\ifentrytype{inproceedings}{
\clearfield{series}
\clearfield{volume}
\clearfield{edition}
\clearfield{doi}
\clearfield{isbn}
\clearfield{url}
\clearfield{pages}
\clearfield{month}
\clearfield{language}
}{}
%
\clearlist{location}
\clearlist{address}
\clearfield{doi}
\clearfield{language}
}
% Bibliography imports
\addbibresource{proceedings.bib}
\addbibresource{main.bib}
% Hyphen and Hyperref
\PassOptionsToPackage{hyphens}{url}
\usepackage{hyperref}
\renewcommand{\UrlNoBreaks}{}
\renewcommand{\UrlBigBreaks}{\do\/\do\-\do\r\do\i}
%\def\UrlBreaks{\do\/\do-\do\\\do\.\do\?}
\mathchardef\UrlBreakPenalty=0
\mathchardef\UrlBigBreakPenalty=0
\renewcommand{\UrlFont}{\ttfamily\relscale{0.9}}
% Experiments with URL font:
%\makeatletter
%\def\url@foostyle{%
% \@ifundefined{selectfont}{\def\UrlFont{\sf}}{\def\UrlFont{\small\sffamily}}}
%\makeatother
%\appto{\bibsetup}{\urlstyle{sf}\hypersetup{urlcolor=black}}
%\renewcommand{\UrlFont}{\sffamily\relscale{0.9}}
\hypersetup{
breaklinks=true,
filecolor=black,
citecolor=black,
urlcolor=black,
linkcolor=black,
colorlinks,
pdfpagelabels,
pdfpagelayout=SinglePage,
unicode
}
% must be loaded after hyperref
\usepackage{cleveref} % for \Cref{sec:background} -> Section 2
% Styling commands
%%%% SPACESAVING COMMANDS (if needed)
%\captionsetup{belowskip=0.5em,aboveskip=0.5em}
%\setlength{\textfloatsep}{1.5em}
%\setlength{\floatsep}{1em}
%\setlength{\dbltextfloatsep}{1.5em}
%\setlength{\dblfloatsep}{1em}
%%%%
% Orphans and Widows
\clubpenalty=10000
\widowpenalty=10000
\displaywidowpenalty=10000
% Split footnotes
\interfootnotelinepenalty=10000
% global variables
\newif\ifreview % hides/shows all notes and todos
\reviewtrue
% Macros and Acronyms
\input{macros.tex}
%-------------------------------------------------------------------------------
\begin{document}
%-------------------------------------------------------------------------------
% don't want date printed
\date{}
% make title bold and 14 pt font (Latex default is non-bold, 16 pt)
%\title{\Large \bf Poyo: A wonderful title}
\title{Poyo: A wonderful title}
\author{Anonymous Submission \# XY}
\maketitle
%For page numbers
\thispagestyle{plain}
\pagestyle{plain}
\input{sections/abstract.tex}
\input{sections/introduction.tex}
\input{sections/background.tex}
\input{sections/related_work.tex}
\input{sections/approach.tex}
\input{sections/evaluation.tex}
\input{sections/discussion.tex}
\input{sections/future_work.tex}
\input{sections/conclusion.tex}
\input{sections/availability.tex}
\input{sections/acknowledgements.tex}
% {References}
{
%\linespread{0.98}\selectfont
\printbibliography
}
\input{sections/appendix.tex}
\end{document}