-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tex
126 lines (99 loc) · 3 KB
/
main.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
%!TEX root = main_online.tex
\usepackage{import}
\input{preamble/preamble}
\addbibresource{bibliography.bib}
\ifprintedversion
% For printing, print everything in black.
\hypersetup{hidelinks}
\fi
\title{Convolutional Conditional \texorpdfstring{\\[0.5em]}{} Neural Processes}
\author{Wessel Pieter Bruinsma}
\begin{document}
\hypersetup{pageanchor=false}
\begin{titlepage}
\makeatletter
\centering
\null
{\bfseries\Huge \@title}
\vfill
\vspace{1cm}
\includegraphics[width=0.25\textwidth]{resources/cambridge_crest.pdf}
\vfill
{\Large\bfseries \@author \par}
{\large Department of Engineering\par}
{\large University of Cambridge}
\vfill
{\large This dissertation is submitted for the degree of\par}
{\large\itshape Doctor of Philosophy}
\vfill
{\large Christ's College \hfill 15 July 2022}
\makeatother
\end{titlepage}
\null
\thispagestyle{empty}
\ifprintedversion
% Only insert white page here for printing to get the alignment right.
\newpage
\fi
\pagenumbering{roman}
\import{essential/}{declaration}
\import{essential/}{abstract}
\import{essential/}{acknowledgements}
\chapter*{Contents}
\vspace{-16pt} % Make start of contents align perfectly with other pages.
\addcontentsline{toc}{chapter}{Contents}
\makeatletter\@starttoc{toc}\makeatother
\chapter*{List of Figures}
\addcontentsline{toc}{chapter}{List of Figures}
\makeatletter\@starttoc{lof}\makeatother
\chapter*{List of Tables}
\addcontentsline{toc}{chapter}{List of Tables}
\makeatletter\@starttoc{lot}\makeatother
% For some inexplicable reason, there is an alignment issue, which we
% solve with a negative `\vspace`. This only happens for the printed version.
\ifprintedversion
\chapter*{\texorpdfstring{\vspace*{-2.5pt}}{}List of Mathematical Statements}
\else
\chapter*{List of Mathematical Statements}
\fi
\addcontentsline{toc}{chapter}{List of Mathematical Statements}
\renewcommand{\listtheoremname}{}
\oldlistoftheorems[ignoreall, show={%
theorem,%
corollary,%
proposition,%
lemma,%
fact,%
assumption,%
definition,%
procedure,
}]
\chapter*{List of Models}
\addcontentsline{toc}{chapter}{List of Models}
\listofmodels
% Some documents use `\xrprefix` to prefix references imported from this document.
\newcommand{\xrprefix}[1]{#1}
\import{essential/}{notation}
\import{essential/}{abbreviations}
\hypersetup{pageanchor=true}
\newpage
\pagenumbering{arabic}
\newcommand{\gp}[1]{figures/#1}
\import{chapters/}{chapters}
\newpage\phantomsection\addcontentsline{toc}{chapter}{Bibliography}
\emergencystretch=1em
% Page breaks can behave weirdly. This solved it. See
% https://tex.stackexchange.com/a/326234
\setlength\bibitemsep{1.7\bibitemsep plus 1pt minus 1pt}
% We made the unfortunate choice of overwriting `\ss`.
\let\ssnew\ss
\let\ss\ssorig
\printbibliography[nottype=proceedings]
\let\ss\ssnew
\appendix
\newpage
\import{appendices/}{appendices}
\newpage\phantomsection\addcontentsline{toc}{chapter}{Index}
\RaggedRight
\printindex
\end{document}