forked from Excyto/LaTeX-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tex
168 lines (127 loc) · 3.24 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
\documentclass[12pt, a4paper, onecolumn, oneside, titlepage]{report}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{csquotes}
\usepackage[backend=biber,style=ieee]{biblatex}
% comment the following line in/out if using article style format
\usepackage[a4paper,width=160mm,top=25mm,bottom=25mm]{geometry}
\usepackage{amsmath}
\usepackage{url}
\usepackage{hyperref}
\usepackage{graphicx}
\usepackage{listings}
\usepackage{fancyhdr}
\usepackage{rotating}
\usepackage{markdown}
\usepackage{pdfpages}
\usepackage{tocbibind}
\usepackage{subcaption}
\usepackage{float}
\usepackage{color}
\usepackage{tikz}
\usepackage{array}
\usepackage[acronym]{glossaries}
\addbibresource{Bibliography.bib}
% headers and footers configuration
\pagestyle{headings}
\pagestyle{fancy}
\fancyhf{}
\rhead{Short title}
\lhead{\leftmark}
\rfoot{\thepage}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}
\setlength{\headheight}{15pt}
% listing configuration
\lstdefinestyle{mystyle}{
numbers=left,
numbersep=5pt,
captionpos=b,
tabsize=2,
breaklines=true,
abovecaptionskip=10pt
}
\lstset{style=mystyle}
\makeglossaries
%% -------------------------------------------------- %%
% acronyms
\newacronym{acr}{Acr}{Acronym}
%% -------------------------------------------------- %%
% title page
\begin{document}
\begin{titlepage}
\begin{center}
\includegraphics[height=40mm]{img/thu_logo.png}
\\
\vspace{3cm}
\textbf{\Large{Title}}
\\
\vspace{2cm}
\large{University
\\Main course
\\Master/Bachelor Thesis
}
\\
\vspace{1cm}
{Firstname Lastname}
\\
\vspace{2cm}
{Date}
\\
\vfill
\large{\textbf{Advisors from the University}
\\Prof. Dr. Firstname Lastname
\\Prof. Dr. Firstname Lastnme
}
\end{center}
\end{titlepage}
\pagenumbering{Roman}
%% -------------------------------------------------- %%
% abstract
\cleardoublepage
\include{chapter/abstract.tex}
%% -------------------------------------------------- %%
% declaration of originality
\newpage
\section*{Declaration of Originality}
I hereby declare that this master/bachelor thesis is entirely the result of my own except where otherwise indicated. I have only used the
resources given in the list of references.
\vspace{2cm}
\begin{tabular}[t]{c}
\rule{4cm}{0.4pt} \\ (Date, Place)
\end{tabular}
\hfill
\begin{tabular}[t]{c}
\rule{8cm}{0.4pt} \\ (Firstname Lastname)
\end{tabular}
%% -------------------------------------------------- %%
% content, figures, glossary
\cleardoublepage
\tableofcontents
\newpage
\listoffigures
\newpage
\listoftables
\newpage
\lstlistoflistings
% \newpage
% \printglossary[type=\acronymtype]
\cleardoublepage
\pagenumbering{arabic}
\setcounter{page}{1}
%% -------------------------------------------------- %%
% start thesis
\include{chapter/introduction.tex}
%% --------------------------------------------------- %%
% end thesis
\pagenumbering{roman}
\setcounter{page}{1}
\cleardoublepage
\addcontentsline{toc}{chapter}{Bibliography}
\printbibliography
%Appendix
%
%\cleardoublepage
%\appendix
%\include{appendix/appendix.tex}
\end{document}