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