-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tex
61 lines (46 loc) · 2.15 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
% =============================================================================
% Thesis
% =============================================================================
\documentclass[
% b5paper, % b5 is not an option for amsbook, but can be adjusted via geometry, see below
10pt, % font size
twoside % identifying left and right pages, useful for printout
]{amsbook} % could choose amsart (article), or something else, but this is chosen because of printing
% =============================================================================
% Margins
% =============================================================================
\usepackage[
b5paper%,
%inner=30mm,
%outer=25mm,
%tmargin=27mm,
%bmargin=30mm
]{geometry}
\input{setup/preamble} % adds the preamble file
\input{setup/settings} % adds the settings file
\begin{document}
% =============================================================================
% Part 2 - Frontmatter
% =============================================================================
\frontmatter % to make page numbering appear in roman numerals
\input{tex/frontmatter/titlepage.tex}
\input{tex/frontmatter/abstract.tex}
\input{tex/frontmatter/sammendrag.tex}
\input{tex/frontmatter/preface.tex}
\cleardoublepage % for 'contents' to have right page number in toc
\setcounter{tocdepth}{2} % to adjust if chapters, sections, subsections, etc. should show
\addcontentsline{toc}{chapter}{Contents} % add "Contents" to toc
\tableofcontents
% =============================================================================
% Part 3 - Mainmatter
% =============================================================================
\mainmatter % makes page numbering appear in arabic numerals again
\input{tex/chapters/introduction.tex}
\input{tex/chapters/chapter1.tex}
% =============================================================================
% Part 5 - Backmatter
% =============================================================================
\backmatter
\input{tex/backmatter/appendix.tex}
\input{tex/backmatter/bibliography.tex}
\end{document}