-
Notifications
You must be signed in to change notification settings - Fork 0
/
thesis.tex
178 lines (132 loc) · 5.03 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
%*******************************************************
%%% Astrophysics & Cosmology Master Thesis
%%% Alma Mater Studiorum - University of Bologna
%%% Author: Simone La Porta
%%% Created: March 2024
%*******************************************************
%%%%% DOCUMENT CLASS ************************************************************
\documentclass[print, final]{src/thesis} % printing version
%\documentclass[final]{src/thesis} % final electronic version
%%%%% PREAMBLE ******************************************************************
% Loading files
\input{src/packages} % packages
\input{src/commands} % custom commands
\input{src/mathematics} % custom mathematics
%\usepackage{showframe} % page-layout diagram
%%%%% DOCUMENT DETAILS **********************************************************
\author{Simone La Porta}
\title{Applications of automatic differentiation in gravitational lensing}
\makeatletter
\AtBeginDocument{\RenewCommandCopy\qty\SI} % fix for siunitx and siunitx-quantity
\NewDocumentCommand{\anote}{}{\makebox[0pt][l]{$^*$}} % add a note to tables
%%%% MAIN DOCUMENT *************************************************************
\begin{document}
\selectlanguage{english}
\pagenumbering{roman}
\thispagestyle{empty}
%%%%% FRONT MATTERS *************************************************************
\cover{img/cover_front.pdf} % Add front cover if the option 'print' is not used.
% Color bleau de france for title and thumb index
%\definecolor{thumbcolor}{rgb}{0.19, 0.55, 0.91}
%\definecolor{titlecolor}{rgb}{0.19, 0.55, 0.91}
% Color black for title and thumb index
\definecolor{thumbcolor}{rgb}{0, 0, 0}
\definecolor{titlecolor}{rgb}{0, 0, 0}
%%%%% TITLEPAGE ***********************************
\include{0_preface/titlepage}
\afterpage{\blankpage}
%%%%% EPIGRAPH ***********************************
\include{0_preface/epigraph}
\afterpage{\blankpage}
\singlespacing%
\setcounter{page}{1}
%%%%% ABSTRACT ***********************************
\include{1_summary/abstract}
\cleardoublepage
\afterpage{\blankpage}
%%%%% SOMMARIO ***********************************
\include{1_summary/sommario}
\cleardoublepage
\afterpage{\blankpage}
\onehalfspacing%
\selectlanguage{english}
\cleardoublepage
%%%%% TOC ***********************************
\pdfbookmark{\contentsname}{Contents}
\pagestyle{plain}
\tableofcontents
%\newpage
%%%%% GLOSSARY ***********************************
%\include{2_glossary/glossary}
%\cleardoublepage
%%%%% LIST OF FIGURES *****************************
\pdfbookmark{\contentsname}{List of Figures}
\addcontentsline{toc}{chapter}{\listfigurename}
\listoffigures
%\cleardoublepage
%%%%% LIST OF TABLES *****************************
\pdfbookmark{\contentsname}{List of Tables}
\addcontentsline{toc}{chapter}{\listtablename}
\listoftables
\afterpage{\blankpage}
%%%%% MAIN MATTER ***********************************
\isstarredchapterfalse% normal chapter: YES thumb index
\cleardoublepage%
\thispagestyle{empty}
\setcounter{page}{1}
\pagenumbering{arabic}
\pagestyle{fancy}
% *************************************************************
%%%%% CHAPTER 1: INTRODUCTION %%%%%
\include{3_chapters/chapter1_cosmology/1.0_cosmology}
% *************************************************************
%%%%% CHAPTER 2: GRAVITATIONAL LENSING %%%%%
\cleardoublepage%
\include{3_chapters/chapter2_gravitational_lensing/2.0_gravitational_lensing}
% *************************************************************
%%%%% CHAPTER 3: LENS MODELS %%%%%
\cleardoublepage%
\include{3_chapters/chapter3_lens_models/3.0_lens_models}
% *************************************************************
%%%%% CHAPTER 4: OPTIMIZATION ALGORITHMS %%%%%
\cleardoublepage%
\include{3_chapters/chapter4_algorithms/4.0_algorithms}
% *************************************************************
%%%%% CHAPTER 5: APPLICATIONS %%%%%
\cleardoublepage%
\include{3_chapters/chapter5_applications/5.0_applications}
% *************************************************************
%%%%% CHAPTER 6: CONCLUSIONS %%%%%
\cleardoublepage%
\include{3_chapters/chapter6_conclusions/6.0_conclusions}
\afterpage{\blankpage}
%%%%% APPENDIX ***********************************
\cleardoublepage%
\appendix
%\part{Appendices}
%\include{4_appendix/4.0_appendix}
\pagenumbering{roman}
\setcounter{page}{8}
%%%% BACK MATTER ***********************************
\isstarredchaptertrue% starred chapter: NO thumb index
\bookmarksetup{startatroot}
\addtocontents{toc}{\bigskip}
%%%%% BIBLIOGRAPHY ***********************************
\bibliographystyle{aasjournal}
\cleardoublepage%
\addcontentsline{toc}{chapter}{\bibname}
\bibliography{5_bibliography/references.bib}
\afterpage{\blankpage}
%%%%% AKNOWLEDGEMENTS ***********************************
\selectlanguage{italian}
\include{6_ringraziamenti/ringraziamenti} % ringraziamenti
\afterpage{\blankpage}
%%%% BACK ***********************************
% Add back cover if the option 'print' is not used. Require an even number of pages.
\ifprint{\cleardoublepage}
\else
\newpage{~}
\thispagestyle{empty}
\includepdf[pages=-]{img/cover_front.pdf}
\fi
\end{document}