-
Notifications
You must be signed in to change notification settings - Fork 0
/
thesis.tex
executable file
·150 lines (116 loc) · 3.25 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
\documentclass[a4paper]{report}
\usepackage[dvipsnames]{xcolor}
\usepackage{subfiles}
\usepackage{packages/thesis}
\usepackage{multirow}
\usepackage{tikz-cd}
%comments -> this are to be removed at the end
\usepackage{todonotes}
\usepackage{verbatim}
% Other packages
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{thmtools}
\usepackage{bm}
\usepackage{enumerate, enumitem}
\usepackage{float}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{cleveref}
\usepackage{mathtools}
\usepackage{soul}
\usepackage{tensor}
\usepackage{tikz}
\usetikzlibrary{cd}
\usepackage{url}
\usepackage{verbatim}
\usepackage[all]{xy}
\usepackage{indentfirst}
\usepackage[%
style=trad-alpha,sorting=none,
sortcites=true,doi=false,isbn=false, url=false,
giveninits=true,hyperref, sorting=nyt]{biblatex}
% Define how to create theorems, etc
\theoremstyle{definition}
\newtheorem{thm}{Theorem}
\newtheorem{defn}[thm]{Definition}
\newtheorem{lem}[thm]{Lemma}
\newtheorem{prop}[thm]{Proposition}
\newtheorem{cor}[thm]{Corollary}
\newtheorem{rem}[thm]{Remark}
\newtheorem{ex}[thm]{Example}
\newtheorem{exerc}[thm]{Exercise}
% Set how to refer to various entities
\newcommand{\secref}[1]{Section \ref{#1}}
\newcommand{\figref}[1]{Figure \ref{#1}}
\newcommand{\tableref}[1]{Table (\ref{#1})}
\newcommand{\equationref}[1]{Equation (\ref{#1})}
\newcommand{\thmref}[1]{Theorem \ref{#1}}
\newcommand{\defref}[1]{Definition \ref{#1}}
\newcommand{\lemref}[1]{Lemma \ref{#1}}
\newcommand{\propref}[1]{Proposition \ref{#1}}
\newcommand{\corref}[1]{Corollary \ref{#1}}
\newcommand{\remref}[1]{Remark \ref{#1}}
\newcommand{\exref}[1]{Example \ref{#1}}
% URL/Link/Citation colors
\colorlet{mylinkcolor}{WildStrawberry}
\colorlet{mycitecolor}{Green}
\colorlet{myurlcolor}{YellowOrange}
\hypersetup{
linkcolor = mylinkcolor,%!\myshade!black,
citecolor = mycitecolor,%!\myshade!black,
urlcolor = myurlcolor,%!\myshade!black,
colorlinks = true,
}
\input{../latex_commands/general}
\input{../latex_commands/geometry_mathphys}
\bibliography{../bib/bibliography}
\AtEveryBibitem{\clearfield{month}}
\AtEveryBibitem{%
\clearlist{language}%
}
\renewbibmacro*{journal}{%
\ifboolexpr{ test {\ifcitation} and not test {\iffieldundef{shortjournal}} }
{\printfield[journaltitle]{shortjournal}}
{\iffieldundef{journaltitle}
{}
{\printtext[journaltitle]{%
\printfield[titlecase]{journaltitle}%
\setunit{\subtitlepunct}%
\printfield[titlecase]{journalsubtitle}}}}}
%\bibliographystyle{alpha}
\graphicspath{{../img/}{../../img/}}
\makeindex
\begin{document}
\subfile{files/cover}
\clearpage \pagenumbering{gobble} \mbox{}\clearpage
\subfile{files/abstract_eng}
\newpage
\subfile{files/abstract_pt}
\pagenumbering{gobble} \mbox{}\clearpage
\pagenumbering{roman}
\setcounter{tocdepth}{3}
\setcounter{secnumdepth}{3}
\tableofcontents
\listoffigures
%\listoftables
\pagebreak
\subfile{files/abbreviations}
\newpage
\subfile{files/acknowledgements}
\newpage
\setcounter{page}{1}
\pagenumbering{arabic}
\subfile{files/introduction}
\newpage
\subfile{files/preliminaries}
\newpage
\subfile{files/examples}
\newpage
\subfile{files/conclusion}
%put the books without citation on bibliography
%\nocite{*}
\printbibliography
\pagebreak
%\subfile{appendix}%
\end{document}