-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tex
119 lines (90 loc) · 1.98 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
%!TEX root = ./main.tex
% arara: pdflatex
% arara: makeglossaries if changed('glo')
% arara: biber if changed(toFile('bibliographie.bib')) || changed('bcf')
% arara: pdflatex while changed('bbl') || changed('gls') || found('log', 'Please rerun') || found('log', 'Label(s) may have changed')
%%**************************************************************
%%
%% IU Internationale Hochschule - Template for Thesis
%%
%% Bevor usisng this template please have a look at the REAMDME.md file
%%
%%**************************************************************
\input{ads/header}
\input{content/glossary}
\begin{document}
% Cover
\begin{spacing}{1}
\input{ads/cover}
\end{spacing}
\newpage
\pagenumbering{Roman}
% Restriction notices
\ifUseCompany{%
\input{ads/restrictionNotices}
\newpage
}%
% Aknowldgements
\ifUseAcknowledments{%
\input{ads/acknowledments}
\newpage
}%
% Abstract
\input{content/abstract}
\newpage
% only page number in footer
\pagestyle{plain}
% space bevore chapter headline
\RedeclareSectionCommand[beforeskip=\chapterMargin]{chapter}
% Contents
\begin{spacing}{1.1}
\begingroup
% set subchapter depth
\setcounter{tocdepth}{2}
\tableofcontents
\clearpage
\endgroup
\end{spacing}
\newpage
% Acronyms
\cleardoublepage
\input{content/acronyms}
% List of Figures
\cleardoublepage
\listoffigures
%List of Tables
\cleardoublepage
\listoftables
% List of Listings
\cleardoublepage
\lstlistoflistings
\cleardoublepage
\pagenumbering{arabic}
\pagestyle{headings}
%Content
\foreach \i in {01,02,03,04,05,06,07,08,09,...,99} {%
\edef\FileName{content/chapter/\i .tex}%
\IfFileExists{\FileName}{%
\input{\FileName}
}
{%
% No chapter available
}
}
\clearpage
% Bibilography
\cleardoublepage
\printbibliography
% Glossar
\cleardoublepage
\printglossary[style=altlist,title=\glossaryPhrase]
\input{content/glossary}
% Appendix
\clearpage
\appendix
\input{content/appendix}
% Declaration
\clearpage
\input{ads/declaration}
\newpage
\end{document}