-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tex
executable file
·53 lines (42 loc) · 1.11 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
%!TEX program = lualatex
\documentclass[
a4paper,
BCOR=15mm,
bibliography=totoc,
numbers=noenddot,
headings=optiontotocandhead,
twoside
]{scrbook}
% packages
\input{common/config/config}
% definitions
\input{common/definitions/definitions}
% private packages
\InputIfFileExists{private/config/config}{}{}
% private definitions
\InputIfFileExists{private/definitions/definitions}{}{}
\begin{document}
\ifbool{setlinenumbers}{\linenumbers}{}
\frontmatter
\IfFileExists{private/content/titlepage/titlepage}{
\include{private/content/titlepage/titlepage}
}{}
% \listoftodos
\tableofcontents
\mainmatter
\InputIfFileExists{private/content/content}{}{}
\IfFileExists{private/content/appendices/appendices}{
\noappendicestocpagenum
\begin{appendices}
\crefalias{chapter}{appch}
\crefalias{section}{appsec}
\crefalias{subsection}{appsubsec}
\crefalias{subsubsection}{appsubsubsec}
\input{private/content/appendices/appendices}
\end{appendices}
}{}
\backmatter
\emergencystretch=1em
\printbibliography
\InputIfFileExists{private/content/acknowledgement}{}{}
\end{document}