updates
[phd-thesis.git] / thesis.tex
1 \documentclass[twoside,10pt]{book}
2
3 \def\mytitle{Task-Oriented Programming for the Internet of Things}
4 \def\mysubtitle{a purely functional rhapsody}
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 todonotes, can go when it's finished
14 \usepackage{todonotes}
15 \setuptodonotes{
16 backgroundcolor=white,
17 linecolor=black,
18 size=scriptsize,
19 }
20
21 % Document info
22 \title{\mytitle{} --- \mysubtitle{}}
23 \author{Mart Lubbers}
24
25 \date{\mydate}
26
27 \begin{document}
28 \selectlanguage{british}
29
30 \frontmatter%
31 %\addtitlethumb{Frontmatter}{}{white}{gray}{pagesLTS.0}
32
33 %Titlepage
34 \subfile{frontmatter/titlepage}
35 \newpage%
36
37 % Epigraph/motto
38 \subfile{frontmatter/motto}
39
40 % Table of contents
41 \tableofcontents
42 \newpage%
43
44 % Dedication
45 \subfile{frontmatter/dedication}
46
47 \listoftodos%
48
49 % Reset glossary and thus the acronyms
50 \glsresetall{}
51
52 % The actual document
53 \mainmatter%
54 \renewcommand\partname{Movement} % Rename parts to movements (rhapsody uhu)
55 \addthumb{Chapters}{\arabic{chapter}}{white}{gray} % Arabic chapter thumbs
56 \setcounter{chapter}{-1}
57
58 % Introduction
59 \subfile{introduction/introduction}
60 % DSL
61
62 \part{Domain-Specific Languages}%
63 \label{prt:dsl}
64
65 % DSL Techniques
66 \subfile{domain_specific_languages/dsl_techniques}
67
68 % Deep embedding with class
69 \subfile{domain_specific_languages/class_deep_embedding}
70
71 % First-class data types
72 \subfile{domain_specific_languages/first-class_datatypes}
73
74 \part{Task-Oriented Programming}%
75 \label{prt:top}
76
77 % mTask by example
78 \subfile{task_oriented_programming/mtask_by_example}
79
80 % Interpreting
81 \subfile{task_oriented_programming/interpreting}
82
83 % Integration
84 \subfile{task_oriented_programming/integration}
85
86 \part{Tiered vs.\ tierless programming}%
87 \label{prt:tvt}
88
89 \subfile{tiered_vs._tierless_programming/smart_campus}
90
91 \chapter{Modelling naval scenaries using \acrshort{TOP} and \acrshort{IOT}}
92 Arjan's werk {NLARMS}?
93
94 % Start appendix
95 \appendix%
96 \label{chp:appendix}
97 \addthumb{Appendices}{\Alph{chapter}}{white}{gray} % Alpha appendix thumbs
98
99 \subfile{appendix/clean_for_haskell_programmers.tex}
100
101 \backmatter%
102 \addtitlethumb{Backmatter}{}{white}{gray}{pagesLTS.0} % Empty backmatter thumbs
103
104 % Bibliography
105 \phantomsection{}%
106 \label{chp:bibliography}
107 \addcontentsline{toc}{chapter}{Bibliography}
108 \bibliography{thesis}
109
110 % Summary
111 \subfile{backmatter/summary}
112
113 % Samenvatting
114 \subfile{backmatter/samenvatting}
115
116 % Acknowledgements
117 \subfile{backmatter/acknowledgements}
118
119 % Research data management
120 \subfile{backmatter/research_data_management}
121
122 % Curriculum vitæ
123 \subfile{backmatter/curriculum_vitae}
124
125 % Glossary
126 \addcontentsline{toc}{chapter}{Glossary}%
127 \label{chp:glossaries}
128 \printglossaries%
129
130 % Lists of
131 \cleardoublepage{}
132 \phantomsection{}%
133 \label{chp:listsof...}
134 \addcontentsline{toc}{chapter}{Lists of \ldots}
135 \begingroup
136 \let\clearpage\relax
137 \let\cleardoublepage\relax
138 \listoffigures%
139 \listoftables%
140 \listofalgorithms%
141 \lstlistoflistings%
142 \endgroup
143
144 % Index
145 \addcontentsline{toc}{chapter}{Index}%
146 \label{chp:index}
147 \printindex
148
149 \end{document}