-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tex
225 lines (181 loc) · 6.47 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
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
%---------------------------------------------------------------------------------------------------
% Info
%---------------------------------------------------------------------------------------------------
% - !TEX program = xelatex
% - !BIB program = biber
%---------------------------------------------------------------------------------------------------
% Preamble
%---------------------------------------------------------------------------------------------------
\documentclass[11pt,openright,twoside]{report}
\usepackage[english,portuguese]{babel}
\selectlanguage{english}
%---------------------------------------------------------------------------------------------------
% Set Cover Information
%---------------------------------------------------------------------------------------------------
\newcommand{\departmentname}{FÍSICA}
\newcommand{\thesisname}{Constraining f(Q) Cosmology with Standard Sirens}
\newcommand{\studentname}{José Pedro Mota Valente Ferreira}
\newcommand{\coursename}{Física}
\newcommand{\specname}{Especialização em Astrofísica e Cosmologia}
\newcommand{\versaoprovisoria}{} % Blank for final version
\newcommand{\thesistype}{Dissertação}
\newcommand{\firstadvisor}{Prof. Doutor Nelson Nunes}
\newcommand{\secondadvisor}{Prof. Doutor Tiago Barreiro}
%---------------------------------------------------------------------------------------------------
% Packages and Definitions
%---------------------------------------------------------------------------------------------------
\usepackage{times}
\usepackage{graphicx}
\usepackage{subcaption}
\usepackage{csquotes}
\usepackage{makeidx}
\usepackage{datetime2}
% Packages for the cover
\usepackage{fontspec}
\newfontfamily{\coverfont}{arial-narrow}
[Path = ./assets/,
Extension = .ttf,
UprightFont = *-regular,
BoldFont = *-bold
]
\usepackage{anyfontsize}
\usepackage{afterpage}
\usepackage{changepage}
% Positioning
\usepackage{float}
% Page format
\usepackage[dvips]{geometry}
\geometry{
a4paper=true,
portrait=true,
left=2.5cm,
right=2.5cm,
top=2.5cm,
bottom=2.5cm
}
% Bibliography: import and configure BibLaTeX
\usepackage[
backend=biber, % More modern backend when compared to bibtex
sorting=none, % All entries are processed in citation order
style=numeric, % Citation style
maxbibnames=4, % Maximum number of authors before truncating
maxcitenames=1 % Number of authors to show before the "et al."
]{biblatex}
\addbibresource{bibliography.bib} % Bibliography .bib file
% Math
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsthm}
% Images
\usepackage{color}
\usepackage[table,xcdraw,dvipsnames]{xcolor}
% Code listings
\usepackage{caption}
\usepackage{listings}
% Text and pdf
\usepackage{pdfpages}
\usepackage{xspace}
\usepackage[shortlabels]{enumitem}
% Links
\usepackage{hyperref}
\usepackage[all]{hypcap}
\usepackage{cleveref}
% Configure hyperref
\hypersetup{
colorlinks=true, % color links
linkcolor=blue, % color of internal links
citecolor=green, % color of links to bibliography
filecolor=magenta, % color of file links
urlcolor=cyan, % color to urls
pdfauthor={\studentname},
pdftitle={\thesisname},
pdfsubject={\thesistype in \coursename},
pdfkeywords={Multi-messeger Astronomy, Modified Gravity, Observational Cosmology, Standard Sirens, Gravitational Waves}
}
% Fancy fonts for 'Agradecimentos'
\usepackage{calligra}
\usepackage{miama}
\usepackage[T1]{fontenc}
% Glossary
\usepackage[automake,toc]{glossaries-extra}
\input{front-matter/glossary}
\glsdisablehyper % disable hyperlinks to glossary
% Clean page command
\newcommand{\cleanpage}{\newpage\mbox{}\thispagestyle{empty}\newpage}
% Change page counter type
\newcommand{\startpagecounter}[1]{\setcounter{page}{1}\pagenumbering{#1}}
% Overtext
\usepackage{accents}
\newcommand{\overtext}[2]{\accentset{\text{\raisebox{1pt}{\scalebox{0.9}{#1}}}}{#2}}
% Fancy tables
\usepackage{multirow}
%---------------------------------------------------------------------------------------------------
% Begin of Document
%---------------------------------------------------------------------------------------------------
\makeindex
\begin{document}
\startpagecounter{roman}
%---------------------------------------------------------------------------------------------------
% Front Matter
%---------------------------------------------------------------------------------------------------
% Cover
\input{front-matter/cover}
\cleardoublepage
% Dedicatória
\input{front-matter/dedicatoria}
\cleardoublepage
% Agradecimentos
\phantomsection
\addcontentsline{toc}{chapter}{Agradecimentos}
\input{front-matter/agradecimentos}
\cleardoublepage
% Resumo
\phantomsection
\addcontentsline{toc}{chapter}{Resumo}
\input{front-matter/resumo}
\glsresetall % reset all acronyms to have first occurrences again
\cleardoublepage
% Abstract
\phantomsection
\addcontentsline{toc}{chapter}{Abstract}
\input{front-matter/abstract}
\glsresetall % reset all acronyms to have first occurrences again
\cleardoublepage
\pagestyle{plain}
% Table of Contents
\tableofcontents
% List of tables
\listoftables
\addcontentsline{toc}{chapter}{List of Tables}
% List of figures
\listoffigures
\addcontentsline{toc}{chapter}{List of Figures}
% other listings (N/A for this thesis)
%\lstlistoflistings
%\addcontentsline{toc}{chapter}{Listings}
% Print glossary
\printglossary[type=acronyms] % Acronyms (showing occurrences)
%\printunsrtglossary[type=symbols] % Symbols (not showing occurrences)
%---------------------------------------------------------------------------------------------------
% Main text
%---------------------------------------------------------------------------------------------------
\cleardoublepage
\startpagecounter{arabic}
% Chapters
\input{chapters/introduction}
\glsresetall % reset all acronyms to have first occurrences again
\input{chapters/gravity}
\input{chapters/cosmology}
\input{chapters/datasets}
\input{chapters/stg-lcdm-bg}
\input{chapters/stg-dark-energy}
\input{chapters/final-remarks}
%---------------------------------------------------------------------------------------------------
% Bibliography and Appendices
%---------------------------------------------------------------------------------------------------
% Print bibliography and show entry in TOC
\printbibliography[heading=bibintoc]
% Appendices
%\appendix
%\input{}
\end{document}