% IEEE Template:
\documentclass[conference]{templates/IEEEtran}
% USENIX Template:
%\documentclass[letterpaper,twocolumn,10pt]{article}
%\usepackage{usenix-2020-09}



% Packages

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\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}
\usepackage{cleveref} % for \Cref{sec:background} -> Section 2



% 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}}
    
\AtEveryBibitem{% Clean up the bibliography rather than editing it
    \clearfield{editor}
    \clearfield{pages}
    \clearfield{language}
    \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}
    }{}
    %
    \clearlist{location}
    \clearlist{address}
    \clearfield{doi}
}

% 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}}
\hypersetup{
    breaklinks=true,
    filecolor=black,
    citecolor=black,
    urlcolor=black,
    linkcolor=black,
    colorlinks,
    pdfpagelabels,
    pdfpagelayout=SinglePage,
    unicode
}



% 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



% variables and macros

% 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
}

\end{document}
