-
Notifications
You must be signed in to change notification settings - Fork 0
/
print.tex
100 lines (91 loc) · 2.78 KB
/
print.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
%% Specify root of repository relative to this file.
\providecommand{\relativeRoot}{.}
\documentclass[
a4paper,
12pt,
twoside,
openright
]{report}
%% Load preamble
\input{preamble.tex}
%% Setting up the headers and footers
\usepackage{fancyhdr}
% delete all headers and footers for the `empty' pagestyle in the front matter
\fancypagestyle{empty}{
\renewcommand{\headrulewidth}{0pt}
\fancyhf{}
}
% `plain' is the pagestyle of chapter beginnings
\fancypagestyle{plain}{
\renewcommand{\headrulewidth}{0pt}
\fancyhf{}
\fancyfoot[RO,LE]{\thepage}
}
\fancypagestyle{fancy}{
\renewcommand{\headrulewidth}{0pt}
\fancyhf{}
\fancyfoot[RO,LE]{\thepage}
}
% Print out the URLs of all links
\renewcommand{\superhref}[3][]{#1#3~{\footnotesize\textup{(\url{#2})}}}
\renewcommand{\inlinelyproxlogo}{%
\providetoggle{lyproxLogoIsUsed}%
\iftoggle{lyproxLogoIsUsed}{%
\href{https://lyprox.org}{\raisebox{-0.7\dp\strutbox}{\def\svgscale{0.4}\input{\relativeRoot/figures/lyprox_black.pdf_tex}}}%
}{%
\href{https://lyprox.org}{\raisebox{-0.7\dp\strutbox}{\def\svgscale{0.4}\input{\relativeRoot/figures/lyprox_black.pdf_tex}}}~{\footnotesize\textup{(\url{https://lyprox.org})}}%
}%
\global\toggletrue{lyproxLogoIsUsed}%
}
% But don't print repolinks repeatedly for the same repo
\renewcommand{\repolink}[2][rmnldwg]{%
\providetoggle{#2IsUsed}%
\iftoggle{#2IsUsed}{%
\faIcon{github}~\texttt{#2}%
}{%
\superhref[\faIcon{github}~]{https://github.com/#1/#2}{\texttt{#2}}%
}%
\global\toggletrue{#2IsUsed}%
}
% Reset all toggles
\newcommand{\globalreset}{%
\glsresetall%
\providetoggle{lyproxLogoIsUsed}%
\providetoggle{lyproxIsUsed}%
\providetoggle{lyDATAIsUsed}%
\providetoggle{lynferenceIsUsed}%
\providetoggle{lyThesisIsUsed}%
\providetoggle{lymphIsUsed}%
\providetoggle{lyscriptsIsUsed}%
\providetoggle{emceeIsUsed}%
\providetoggle{corner.pyIsUsed}%
\global\togglefalse{lyproxLogoIsUsed}%
\global\togglefalse{lyproxIsUsed}%
\global\togglefalse{lyDATAIsUsed}%
\global\togglefalse{lynferenceIsUsed}%
\global\togglefalse{lyThesisIsUsed}%
\global\togglefalse{lymphIsUsed}%
\global\togglefalse{lyscriptsIsUsed}%
\global\togglefalse{emceeIsUsed}%
\global\togglefalse{corner.pyIsUsed}%
}
%% Metadata
\title{Modelling Lymphatic Metastatic Progression in Head and Neck Cancer}
\author{Roman Ludwig}
\date{\monthyeardate\today}
\hypersetup{
pdftitle={\thetitle},
pdfauthor={\theauthor},
colorlinks=true,
linkcolor=black,
citecolor=gray,
urlcolor=uszblue
}
%% The actual document
\begin{document}
\pagestyle{empty}
\includepdf{_build/titlepage.pdf}
\cleardoublepage
\pagestyle{fancy}
\subfile{content/_content.tex}
\end{document}