-
Notifications
You must be signed in to change notification settings - Fork 0
/
thesis.tex
114 lines (96 loc) · 2.37 KB
/
thesis.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
% Compile with:
% pdflatex --shell-escape filename
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Select to have report for SAAB or Chalmers
\def\saab{true}
\ifdefined\saab
% Use template for the SAAB-report
\documentclass[english,twoside,notitlepage]{reportsaab} % Full report
%\documentclass[english,twoside,notitlepage,draft]{reportsaab} % No figures - faster
% Get rid of nasty whitespace between paragraphs
\setlength{\parskip}{0ex}
\else
% Use template for the Chalmers-report
\documentclass[a4paper]{report}
\fi
% Optional resolution usage:
%\opt{res300}{\includegraphics[width=200pt]{fig/introduction/300/figur}}
%\opt{res72}{\includegraphics[width=200pt]{fig/introduction/72/figur}}
% Include packages and commands
\input{include/packagescommands}
% Add Contents to pdf-bookmarks
\addtocontents{toc}{\protect{\pdfbookmark[0]{\contentsname}{toc}}}
% Set a proper header separation
\addtolength{\headsep}{20pt}
\begin{document}
% Title page, abstract and foreword
\ifdefined\saab
\pagenumbering{arabic}
\setcounter{page}{1}
\fi
\input{include/titlepageabstract}
% Table of contents
\newpage
\ifdefined\saab
\else
\pagenumbering{roman}
\setcounter{page}{1}
\pagestyle{fancy}
\setspecialhdr
\fi
%\pagestyle{fancy}
%\setspecialhdr
\tableofcontents
%\newpage
%\listoffigures
%\newpage
%\listoftables
% Main body
\newpage
\ifdefined\saab
\else
\setdefaulthdr
\pagenumbering{arabic}
\setcounter{page}{1}
\fi
\settocdepth{section}
\cleardoublepage
\input{include/introduction}
\cleardoublepage
\input{include/systemdesign}
\cleardoublepage
\input{include/mixer}
\cleardoublepage
\input{include/amplifiers}
\cleardoublepage
\input{include/vargain}
\settocdepth{subsection}
\cleardoublepage
\input{include/systemsummary}
\settocdepth{chapter}
% References
\newpage
\clearpage
\addcontentsline{toc}{chapter}{\numberline{}Bibliography}
% Not cited references
% Ref 1...
\printbibliography
%\nocite{collin}
% \newpage
% Start of appended chapters
\appendix
% Don't think we need to have \cleardoublepage for appendices
% \cleardoublepage
\input{include/glossary}
% \cleardoublepage
\input{include/specifications}
% \cleardoublepage
\input{include/process}
% \cleardoublepage
\input{include/mixercomp}
%\input{include/schematics}
% \cleardoublepage
\input{include/emsim}
% \cleardoublepage
\input{include/yield}
\end{document}