\documentclass[11pt,a4paper,notitlepage,twoside]{report} \usepackage[ngerman, english]{babel} \usepackage[utf8]{inputenc} \usepackage[a4paper, top=3cm, bottom=3.5cm, inner=3.5cm, outer=5cm, marginpar=3.8cm]{geometry} \usepackage[T1]{fontenc} \usepackage{amssymb} \usepackage{amsmath} \usepackage{listings} \usepackage{eurosym} \usepackage{wasysym} \usepackage{extdash} \usepackage{amsthm} \usepackage{mwe} \usepackage{tabularx} \usepackage{multirow} \usepackage{multicol} \usepackage{tikz} \usepackage{mathtools} \usepackage{setspace} \usepackage{titlesec} \usepackage{fancybox} \usepackage{fancyhdr} \usepackage[binary-units,per-mode=fraction]{siunitx} \usepackage[hidelinks]{hyperref} \usepackage{commath} \usepackage{graphicx,color} \usepackage{ccicons} \usepackage{subcaption} \usepackage{float} \usepackage{footmisc} \usepackage{array} \usepackage[underline=false]{pgf-umlsd} \usetikzlibrary{calc} \usepackage{epstopdf} \usepackage{pdfpages} \usepackage{etoolbox} \usepackage{catchfile} \usepackage{minitoc} \usepackage{minted} % pygmentized source code %\usepackage[pdftex]{graphicx,color} %\usepackage{showframe} % Useful for page layout debugging \DeclareSIUnit{\baud}{Bd} \DeclarePairedDelimiter{\ceil}{\lceil}{\rceil} \DeclarePairedDelimiter{\paren}{(}{)} \usepackage[ backend=biber, style=numeric, natbib=true, url=false, doi=true, eprint=false, % Make the split online / other resource bibliographies behave defernumbers=true, ]{biblatex} \addbibresource{../main.bib} \DeclareSourcemap{ \maps[datatype=bibtex]{ \map{ \step[fieldsource=doi,final] \step[fieldset=isbn,null] \step[fieldset=issn,null] \step[fieldset=url,null] } \map{ \step[fieldsource=isbn,final] \step[fieldset=issn,null] \step[fieldset=url,null] } } } \renewcommand{\thesection}{\arabic{section}} \renewcommand{\thesubsection}{\arabic{section}.\arabic{subsection}} \renewcommand{\thesubsubsection}{\arabic{section}.\arabic{subsection}.\arabic{subsubsection}} % Re-define heading formats to force single line spacing \titleformat{\section}{\normalfont\large\bfseries\singlespacing}{\thesection}{1em}{} \titleformat{\subsection}{\normalfont\large\bfseries\singlespacing}{\thesubsection}{1em}{} \titleformat{\subsubsection}{\normalfont\large\bfseries\singlespacing}{\thesubsubsection}{1em}{} \newcommand{\degree}{\ensuremath{^\circ}} \newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}} \definecolor{todoboxcolor}{RGB}{251 224 252} \pagestyle{fancy} \fancyhead[C]{} \fancyhead[ER]{\footnotesize% \ifdefined\thesispreviewmode % (draft \texttt{\input{version.tex}\unskip}) % \fi % \leftmark} \fancyhead[OL]{\footnotesize\rightmark} \fancyhead[EL,OR]{\thepage} \fancyfoot[LCR]{} \fancypagestyle{plain}{% \fancyhf{}% \renewcommand{\headrulewidth}{0pt}% \renewcommand{\footrulewidth}{0pt}% } \raggedbottom \renewcommand{\chaptermark}[1]{\markboth{Chapter \thechapter: #1}{}} \renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}} \addtolength{\headwidth}{\marginparsep} \addtolength{\headwidth}{\marginparwidth} \addtolength{\headwidth}{-1cm} \newcommand{\todo}[1]{ \ifdefined\thesispreviewmode \marginpar{ \setlength{\fboxsep}{2mm} \shadowbox{ \parbox{3cm}{ \singlespacing \raggedright \textsf{ \small\textbf{To do}\\ \footnotesize#1 } } } } \fi } \newcommand{\todoplaceholder}[1]{\textbf{TODO}\todo{#1}} % https://tex.stackexchange.com/questions/30720/footnote-without-a-marker \newcommand\blfootnote[1]{% \begingroup \renewcommand\thefootnote{}\footnote{#1}% \addtocounter{footnote}{-1}% \endgroup } \newcommand{\figurepath}{figures} \graphicspath{{\figurepath}} \newcommand{\figureattrib}[1]{% \input{\figurepath/#1.latex_meta} % \scriptsize \ifdefined\thesispreviewmode\resourcestate\ \resourcescale\\\fi% Resource: % \texttt{\resourcerepo/\resourcepath} % rev \texttt{\resourcerev} % (\underline{\href{\resourceurl}{link}})% } \newcommand{\draftgraphics}{\ifdefined\thesispreviewmode\textcolor{red}{\bfseries Not final graphics. }\fi} \newcommand{\camerareadygraphics}{\ifdefined\thesispreviewmode Camera-ready graphics. \fi} \newcommand{\scaledgraphics}[1]{\ifdefined\thesispreviewmode scaled-#1\else#1\fi} \newcommand{\imgsource}[4]{\scriptsize% Image source: #1, #2 (\underline{\href{#4}{link}}). % Licensed #3.} \hyphenation{a-me-na-ble} \begin{document} \dominitoc \faketableofcontents \chapter{Secure Multiparty Computation in Scalable Hardware Security Modulese} \ifdefined\thesispreviewmode {\Large \textbf{Draft build}, git revision \texttt{\input{version.tex}}} \fi \minitoc \newpage \setstretch{1.3} \section{Trust by Committee} \section{Outlook} \clearpage % clearpage flushes all figures. force this here so we don't get figures floating in between references. % TODO when breaking this out into a template for building both the whole thesis and individual chapters, we have to % decide whether we want to keep the bibliography per-chapter or only once for the whole thesis. In the latter case, we % probably want to replace subbibintoc with bibintoc, or add a custom "bibliography" chapter and adjust the second % bibliography's heading \newrefcontext[labelprefix={W}] \printbibliography[type={online},title={Web sources},heading=subbibintoc] \newrefcontext \printbibliography[nottype={online},resetnumbers,heading=subbibintoc] \appendix \end{document}