%% (Master) Thesis template
% Template version used: v2
%
% Largely adapted from Adrian Nievergelt's template for the ADPS
% (lecture notes) project.
%% We use the memoir class because it offers many easy to use features.
% Template v2 fixes:
% Removed titlepage from options: LaTeX Warning: Unused global option(s): [titlepage].
% Electronic version that does not waste space
\documentclass[11pt,a4paper,openany,oneside]{memoir}
% Printable version that does waste space (but people like it), uncomment for printing
% \documentclass[11pt,a4paper]{memoir}
%% Packages
%% ========
%% LaTeX Font encoding -- DO NOT CHANGE
\usepackage[OT1]{fontenc}
%% Babel provides support for languages. 'english' uses British
%% English hyphenation and text snippets like "Figure" and
%% "Theorem". Use the option 'ngerman' if your document is in German.
%% Use 'american' for American English. Note that if you change this,
%% the next LaTeX run may show spurious errors. Simply run it again.
%% If they persist, remove the .aux file and try again.
\usepackage[english]{babel}
%% Input encoding 'utf8'. In some cases you might need 'utf8x' for
%% extra symbols. Not all editors, especially on Windows, are UTF-8
%% capable, so you may want to use 'latin1' instead.
\usepackage[utf8]{inputenc}
%% This changes default fonts for both text and math mode to use Herman Zapfs
%% excellent Palatino font. Do not change this.
\usepackage[sc]{mathpazo}
%% The AMS-LaTeX extensions for mathematical typesetting. Do not
%% remove.
\usepackage{amsmath,amssymb,amsfonts,mathrsfs}
%% NTheorem is a reimplementation of the AMS Theorem package. This
%% will allow us to typeset theorems like examples, proofs and
%% similar. Do not remove.
%% NOTE: Must be loaded AFTER amsmath, or the \qed placement will
%% break
\usepackage[amsmath,thmmarks]{ntheorem}
%% LaTeX' own graphics handling
\usepackage{graphicx}
%% We unfortunately need this for the Rules chapter. Remove it
%% afterwards; or at least NEVER use its underlining features.
\usepackage{soul}
%% This allows you to add .pdf files. It is used to add the
%% declaration of originality.
\usepackage{pdfpages}
%% Some more packages that you may want to use. Have a look at the
%% file, and consult the package docs for each.
\input{eth-template/extrapackages}
%% Our layout configuration. DO NOT CHANGE.
\input{eth-template/layoutsetup}
%% Theorem environments. You will have to adapt this for a German
%% thesis.
\input{eth-template/theoremsetup}
%% Helpful macros.
\input{eth-template/macrosetup}
% Template v2: BibLaTeX with Biber backend are in my opinion best maintainable citation configurations. IEEE style is common in CS.
% Bibliography
\usepackage[
bibstyle=ieee,
citestyle=numeric,
isbn=true,
doi=true,
sorting=none,
url=true,
% defernumbers=true,
bibencoding=utf8,
backend=biber
]{biblatex} %Imports BibLaTeX package
\addbibresource{refs.bib} %Import the bibliography file
%% Document information
%% ====================
\title{Title of Thesis}
\author{S. Tudent}
\thesistype{Master Thesis}
\advisors{Advisors: Prof.\ Dr.\ A. D. Visor, Dr.\ P. Ostdoc}
\department{Department of Computer Science}
\date{January 19, 2038}
\begin{document}
\frontmatter
%% Title page is autogenerated from document information above. DO
%% NOT CHANGE.
\begin{titlingpage}
\calccentering{\unitlength}
\begin{adjustwidth*}{\unitlength-24pt}{-\unitlength-24pt}
\maketitle
\end{adjustwidth*}
\end{titlingpage}
%% The abstract of your thesis. Edit the file as needed.
\input{abstract}
%% TOC with the proper setup, do not change.
\cleartorecto
\tableofcontents
\mainmatter
%% Your real content!
\input{introduction}
\input{rules}
\input{typography}
\input{sections}
% \backmatter % Template v2 fixes: this just breaks things
% Template v2 fixes: Bibliography belongs before appendix
\printbibliography
\appendix
\input{appendix}
\includepdf[pages={-}]{eth-template/declaration-originality.pdf}
\end{document}