-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththesis.tex
232 lines (163 loc) · 5.47 KB
/
thesis.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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
% This document should be printed double-sided on standard A4 paper
% The default options for memoir are:
% letterpaper,10pt,twoside,onecolumn,openright,final
\documentclass[a4paper,12pt]{memoir}
% Number everything down to, and including, subsections
% \setsecnumdepth{subsection}
% Remove the 'draft' option when you're ready to submit
% It will remove the line numbers, and the "Draft generated on..." line on
% the title page
\usepackage{packages}
\input{chapters/production/macros.tex}
\input{chapters/cpv/measurements.tex}
% Remove "Chapter" from the page headings, and don't show the current chapter
% title in all caps
\addtopsmarks{headings}{}{%
\createmark{chapter}{both}{shownumber}{}{. \ }
}
\nouppercaseheads
\pagestyle{headings}
% Never break footnotes across pages
\interfootnotelinepenalty=10000
\author{Alex Pearce}
% Use texorpdfstring to stop TeX strings being mangled in PDF viewer toolbars
\title{%
Measurements of charm production and
\texorpdfstring{\CP}{CP}\ violation
with the \lhcb\ detector
}
% Regulation 4.1.b.iii:
% the year of presentation (not including the month)
\date{2016}
% Fill in the PDF metadata
% Don't need to specify the title as we passed the pdfusetitle option to
% hyperref
\hypersetup{%
pdfauthor={\theauthor},
pdfcreator={\theauthor},
pdfsubject={High energy physics},
pdfkeywords={Flavour physics} {Charm Production} {CP violation} {LHCb} {LHC} {CERN} {Thesis} {The University of Manchester},
% Colour everything black
% Citations, using \cite
citecolor=[rgb]{0,0,0},
% URLs, using \href and \url
urlcolor=[rgb]{0,0,0},
% Internal links, such as \ref and \footnote
linkcolor=[rgb]{0,0,0}
}
\begin{document}
% Starred version doesn't switch to roman numerals
% Manchester requires all pages are numbered with arabic numerals, with the
% title page as page number 1, and that all pages display a number except the
% title page
\frontmatter*
% This is gross, but it overrides the cleared pagestyle to be the plain style,
% so that (almost) every page has a page number (as stipulated by the
% Manchester regulations)
\makeatletter
\let\ps@cleared\ps@plain
\makeatother
% Title page
% Starred version doesn't reset the page number after the title page
\begin{titlingpage*}
\begin{center}
% The \par makes the line spacing sensible given the \huge
% http://tex.stackexchange.com/a/84324/45857
{\huge \textbf{\thetitle}\par}
\vfill
A thesis submitted to The University of Manchester for the degree of\\
Doctor of Philosophy\\
in the Faculty of Science and Engineering\\
\vspace{0.8cm}
\textbf{\thedate}
\vfill
\textbf{\theauthor}
\vspace{0.8cm}
Particle Physics Group\\
School of Physics and Astronomy\\
\vspace{0.8cm}
\includegraphics[width=0.4\textwidth]{university_logo}
\iftoggle{draft}{%
\vspace{0.8cm}
\texttt{Draft generated on \today}
}{}
\end{center}
\end{titlingpage*}
% Now the title page is done, we force *every* page to be numbered
% Placing this before the title page declaration would cause the title page to
% be number, which should not be the case according to the regulations
\makeatletter
\let\ps@empty\ps@plain
\makeatother
% Add a PDF bookmark for the contents page
\pdfbookmark[0]{\contentsname}{tableofcontents}
% The star omits the ToC entry from the ToC listing itself
\tableofcontents*
\vspace{1cm}
\noindent
Word count: \num{40000}
\include{chapters/frontmatter/abstract}
% \include{chapters/frontmatter/summary}
\include{chapters/frontmatter/declaration}
\include{chapters/frontmatter/copyright}
\include{chapters/frontmatter/dedication}
\include{chapters/frontmatter/acknowledgements}
\include{chapters/frontmatter/preface}
% Starred version doesn't reset the page counter
\mainmatter*
\iftoggle{draft}{\linenumbers}{}
\part{%
Introduction
}
\label{chap:intro}
\include{chapters/introduction/overview}
\include{chapters/introduction/sm}
\include{chapters/introduction/lhc}
\include{chapters/introduction/lhcb}
\part{%
Charm production
}
\label{chap:prod}
\include{chapters/production/introduction}
\include{chapters/production/theory}
\include{chapters/production/data}
\include{chapters/production/selection}
\include{chapters/production/fitting}
\include{chapters/production/efficiencies}
\include{chapters/production/systematics}
\include{chapters/production/results}
\include{chapters/production/summary}
\cleardoublepage
\part{%
Direct \texorpdfstring{\CP}{CP}\ violation in charm baryon decays
}
\label{chap:cpv}
\include{chapters/cpv/introduction}
\include{chapters/cpv/theory}
\include{chapters/cpv/data}
\include{chapters/cpv/selection}
\include{chapters/cpv/preliminary_fits}
\include{chapters/cpv/kinematic_weighting}
\include{chapters/cpv/phase_space}
\include{chapters/cpv/measuring_araw}
\include{chapters/cpv/results}
\include{chapters/cpv/systematics}
\include{chapters/cpv/summary}
% Do a little dance to have the appendices appear 'outside' the last Part in
% the table of contents
% http://tex.stackexchange.com/a/286452/45857
\phantomsection
\appendix
\addcontentsline{toc}{part}{Appendices}
\appendixpage*
\include{chapters/appendices/production_tables}
\include{chapters/appendices/decision_trees}
\backmatter
% For some reason, acronyms don't work if this is an `include` and I use the
% acronym package with `nolist` option
% http://tex.stackexchange.com/a/172117/45857
\input{chapters/acronyms}
\bibliographystyle{thesis}
\renewcommand{\bibname}{References}
\bibliography{bibliography}
\end{document}