-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tex
95 lines (78 loc) · 2.49 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
\documentclass[a4paper, english]{book}
\usepackage{geometry} % Title page needs its own margins.
%\usepackage[english]{babel} % Hyphenation rules, date format, etc. in English
\usepackage[main=english, ngerman]{babel}
%\usepackage[german]{babel} % Hyphenation rules, date format, etc. in English
\usepackage[T1,EU1]{fontenc}
%\usepackage{fontspec}
\usepackage{polyglossia}
%\setmainlanguage[babelshorthands=true]{english}
\setmainlanguage{english}
%\usepackage[T1]{fontenc} % European character set (special characters, etc.)
\usepackage[bitstream-charter]{mathdesign} % Modern, serif, and objective font
%\usepackage[utf8]{inputenc} % UTF-8 input character set
\usepackage[section]{placeins}
\usepackage{xstring} % Test/compare (sub)strings
\usepackage{totcount} % Count page numbers, figures, etc.
\usepackage{siunitx} % SI units
%\usepackage{natbib} % Scientific citations
\usepackage[printonlyused]{acronym} % Abbreviations + abbreviation directory
\usepackage{blindtext} % Filler text for testing
\usepackage[language=english, sorting=none, backend=biber, style=numeric, maxnames=99]{biblatex}
\addbibresource{bibliography/bibliography.bib}
\usepackage{pdfpages} % Include PDFs
%% Custom Macros
\input{config/config}
\input{macros/InOderAm}
\input{macros/HideIfZero}
\input{macros/citenumCounter}
\input{macros/totalfiguresCounter}
\input{macros/totalappendixCounter}
\usepackage{amsmath}
\usepackage{booktabs}
\usepackage{bm}
\usepackage{textcomp}
\usepackage[x11names]{xcolor} % For color options
\usepackage{graphicx}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{subfig}
\usepackage{svg}
\usepackage{etoolbox}
\usepackage{gensymb}
\begin{document}
%% Document
%\begin{document}
%% Title Page
\input{official/titelblatt_pretty}
%% Line number for the table of contents, etc.
%\pagenumbering{Roman}
% Modify the \frontmatter to not number any headings
\apptocmd{\frontmatter}{%
\setcounter{secnumdepth}{-1}%
}{}{}
% Modify the \mainmatter to reset that
\apptocmd{\mainmatter}{%
\setcounter{secnumdepth}{2}%
}{}{}
%% TOC
\tableofcontents
\newpage
%\pagenumbering{arabic}
%% Bibliographic Description
\frontmatter
\input{content/head/bibliographische_beschreibung}
\input{content/head/abkuerzungsverzeichnis}
\newpage
\setcounter{page}{1}
\mainmatter
%% Main Part
\input{content/main/main}
%% Final Part
%% Summary
\input{content/tail/zusammenfassung}
%% Bibliography
\input{content/tail/literaturverzeichnis}
%% Appendix
\input{content/tail/appendix}
\end{document}