paper-template/main.tex

63 lines
2.0 KiB
TeX

% ===== Version switch ========================================================
% The full version is the text. make conf defines \conference before reading this file and builds the conference version; vimtex, make watch and make full build the full version. macros/version.tex defines the commands that hide or swap text in the conference version.
\newif\iffull
\ifdefined\conference \fullfalse \else \fulltrue \fi
% ===== Document class: article by default ===================================
% To switch a version to a venue class, put the class files in venue/ (.latexmkrc adds venue/ to the TeX search path), comment out the article line of that version and uncomment its venue line. A venue class that defines its own theorem environments replaces macros/theorems.tex.
\iffull
\documentclass[11pt]{article}
% \documentclass{llncs}
\else
\documentclass[11pt]{article}
% \documentclass{llncs}
\fi
% ===== End of document class ================================================
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{amsmath,amssymb}
\usepackage{graphicx}
\graphicspath{{figures/build/}}
\input{macros/theorems}
\input{macros/algorithms}
\input{macros/notation}
\input{macros/version}
\usepackage[backend=biber,style=numeric-comp]{biblatex}
\addbibresource{bib/dblp.bib}
\addbibresource{bib/refs.bib}
% make conf reads this label to print the page on which the References heading lands.
\defbibheading{bibliography}[\refname]{\section*{#1}\label{references}}
\usepackage{hyperref}
\title{Paper Title}
\author{Author Name}
\date{}
\begin{document}
\maketitle
\begin{abstract}
% Sentences of the full version only go in \iffull ... \fi; an abstract that differs as a whole goes in \full{<full abstract>}{<conference abstract>}.
Abstract.
\end{abstract}
\input{sections/01-introduction}
\input{sections/02-model}
\input{sections/03-construction}
\input{sections/04-security}
\input{sections/05-evaluation}
\input{sections/06-related-work}
\input{sections/07-conclusion}
\printbibliography
\appendix
\input{appendix/proofs}
\end{document}