morewrites, backrefs, structure
[phd-thesis.git] / thesis.tex
1 \documentclass[twoside,10pt]{book}
2
3 \def\mytitle{Big Things for Tiny Computers}
4 \def\mysubtitle{Task Oriented Programming for the Internet of Things}
5 \def\myauthor{Mart Lubbers}
6
7 \input{preamble}
8
9 % Just for the blind text, can go when it's finished
10 \usepackage{lipsum}
11
12 % Just for the todonotes, can go when it's finished
13 \usepackage{todonotes}
14 \setuptodonotes{
15 backgroundcolor=white,
16 linecolor=black,
17 size=scriptsize,
18 inline,
19 }
20
21 % Document info
22 \title{\mytitle{} --- \mysubtitle{}}
23 \author{Mart Lubbers}
24
25 \date{\formatdate{1}{6}{2023}}
26
27 \begin{document}
28 \frontmatter%
29 %\addtitlethumb{Frontmatter}{}{white}{gray}{pagesLTS.0}
30
31 %Titlepage
32 \input{titlepage}
33 \newpage%
34
35 % Epigraph/motto
36 \input{motto}
37
38 % Table of contents
39 \tableofcontents
40 \newpage%
41
42 % Dedication
43 \input{dedication}
44
45 \listoftodos%
46
47 % Reset glossary and thus the acronyms
48 \glsresetall{}
49
50 % The actual document
51 \mainmatter%
52 \addthumb{Chapters}{\arabic{chapter}}{white}{gray}
53
54 \chapter{Introduction}%
55 \label{chp:introduction}
56 \input{introduction}
57
58 \part{\glst{DSL}}%
59 \label{prt:dsl}
60 \input{domain_specific_languages}
61
62 \part{\glst{TOP}}%
63 \label{prt:top}
64 \input{task_oriented_programming}
65
66 \part{\glst{IOT}}%
67 \label{prt:iot}
68 \input{internet_of_things}
69
70 % Start appendix
71 \appendix%
72 \label{chp:appendix}
73 \addthumb{Appendices}{\Alph{chapter}}{white}{gray}
74
75 \chapter{An Appendix}%
76 \label{chp:an_appendix}
77 \input{an_appendix}
78
79 \backmatter%
80 \addtitlethumb{Backmatter}{}{white}{gray}{pagesLTS.0}
81
82 % Bibliography
83 \phantomsection{}%
84 \label{chp:bibliography}
85 \addcontentsline{toc}{chapter}{Bibliography}
86 \bibliographystyle{plain}
87 \bibliography{thesis}
88
89 % Abstract
90 \chapter{Summary}%
91 \label{chp:summary}
92 \begin{center}
93 \noindent\input{summary}
94 \end{center}
95
96 % Samenvatting
97 \chapter{Samenvatting}%
98 \label{chp:samenvatting}
99 \begin{center}
100 \noindent\input{samenvatting}
101 \end{center}
102
103 % Acknowledgements
104 \chapter{Acknowledgements}%
105 \label{chp:acknowledgements}
106 \begin{center}
107 \noindent\input{acknowledgements}
108 \end{center}
109
110 \chapter{Research Data Management}%
111 \label{chp:research_data_management}
112 \input{research_data_management}
113
114 % Curriculum Vitae
115 \chapter{Curriculum Vit\ae}%
116 \label{chp:curriculum_vitae}
117 \input{curriculum_vitae}
118
119 % Glossary
120 \addcontentsline{toc}{chapter}{Glossary}%
121 \label{chp:glossaries}
122 \printglossaries%
123
124 % Lists of
125 \cleardoublepage{}
126 \phantomsection{}%
127 \label{chp:listsof...}
128 \addcontentsline{toc}{chapter}{Lists of \ldots}
129 \begingroup
130 \let\clearpage\relax
131 \let\cleardoublepage\relax
132 \listoffigures%
133 \listoftables%
134 \listofalgorithms%
135 \lstlistoflistings%
136 \endgroup
137
138 % Index
139 \addcontentsline{toc}{chapter}{Index}%
140 \label{chp:index}
141 \printindex
142
143 \end{document}