Debian Codegraph @

texmf-dist/doc/latex/hepthesis/example/example.tex

raw
1 %% For normal draft builds (figs undisplayed hence fast compile)
2 %\documentclass[hyperpdf,nobind,draft,oneside]{hepthesis}
3 %\documentclass[hyperpdf,nobind,draft,twoside]{hepthesis}
4
5 %% For short draft builds (breaks citations by necessity)
6 %\documentclass[hyperpdf,nobind,draft,hidefrontback]{hepthesis}
7
8 %% For Cambridge soft-bound version
9 \documentclass[hyperpdf,bindnopdf]{hepthesis}
10 %% For Cambridge hard-bound version (must be one-sided)
11 %\documentclass[hyperpdf,oneside]{hepthesis}
12
13 %% Load special font packages here if you wish
14 %\usepackage{lmodern}
15 \usepackage{mathpazo}
16 %\usepackage{euler}
17
18 %% Put package includes etc. into preamble.tex for convenience
19 \input{preamble}
20
21 %% You can set the line spacing this way
22 %\setallspacing{double}
23 %% or a section at a time like this
24 %\setfrontmatterspacing{double}
25
26
27 %% Define the thesis title and author
28 \title{A study of \BToKPi decays with\\ the \LHCb experiment}
29 \author{Andrew Gordon Buckley}
30
31 %% Doc-specific PDF metadata
32 \makeatletter
33 \@ifpackageloaded{hyperref}{%
34 \hypersetup{%
35 pdftitle = {Studying B to K pi decays with LHCb},
36 pdfsubject = {Andy Buckley's PhD thesis},
37 pdfkeywords = {LHCb, B, physics, LHC, heavy flavour},
38 pdfauthor = {\textcopyright\ Andy Buckley}
39 }}{}
40 \makeatother
41
42
43 %% Start the document
44 \begin{document}
45
46 %% Define the un-numbered front matter (cover pages, rubrik and table of contents)
47 \begin{frontmatter}
48 \input{frontmatter}
49 \end{frontmatter}
50
51 %% Start the content body of the thesis
52 \begin{mainmatter}
53 %% Actually, more semantic chapter filenames are better, like "chap-bgtheory.tex"
54 \input{chap1}
55 \input{chap2}
56 \input{chap3}
57 %% To ignore a specific chapter while working on another, making the build faster, comment it out:
58 %\input{chap4}
59 \end{mainmatter}
60
61 %% Produce the appendices
62 \begin{appendices}
63 \input{appendices}
64 \end{appendices}
65
66 %% Produce the un-numbered back matter (e.g. colophon,
67 %% bibliography, tables of figures etc., index...)
68 \begin{backmatter}
69 \input{backmatter}
70 \end{backmatter}
71
72 %% Close
73 \end{document}