-\documentclass[10pt]{book}
+\documentclass[twoside,10pt]{book}
+
+\def\mytitle{Big Things for Tiny Computers}
+\def\mysubtitle{Task Oriented Programming for the Internet of Things}
+\def\myauthor{Mart Lubbers}
\input{preamble}
+% Just for the blind text, can go when it's finished
+\usepackage{lipsum}
+
+% Just for the todonotes, can go when it's finished
+\usepackage{todonotes}
+\setuptodonotes{
+ backgroundcolor=white,
+ linecolor=black,
+ size=scriptsize,
+ inline,
+}
+
% Document info
-\title{Some title}
-\author{Some author}
+\title{\mytitle{} --- \mysubtitle{}}
+\author{Mart Lubbers}
-% If you want to fix the date: \formatdate{10}{7}{2017}}
-\date{\today}
+\date{\formatdate{1}{6}{2023}}
\begin{document}
-\frontmatter{}
+\frontmatter%
+%\addtitlethumb{Frontmatter}{}{white}{gray}{pagesLTS.0}
%Titlepage
\input{titlepage}
\newpage%
+
+% Epigraph/motto
\input{motto}
% Table of contents
\tableofcontents
\newpage%
+% Dedication
\input{dedication}
+\listoftodos%
+
% Reset glossary and thus the acronyms
\glsresetall{}
% The actual document
-\mainmatter{}
+\mainmatter%
+\addthumb{Chapters}{\arabic{chapter}}{white}{gray}
+
+\chapter{Introduction}%
+\label{chp:introduction}
+\input{introduction}
+
+\part{\glst{DSL}}%
+\label{prt:dsl}
+\input{domain_specific_languages}
-\chapter{Example}%
-\label{chp:example}
-\input{example}
+\part{\glst{TOP}}%
+\label{prt:top}
+\input{task_oriented_programming}
+
+\part{\glst{IOT}}%
+\label{prt:iot}
+\input{internet_of_things}
% Start appendix
\appendix%
\label{chp:appendix}
+\addthumb{Appendices}{\Alph{chapter}}{white}{gray}
+
\chapter{An Appendix}%
\label{chp:an_appendix}
-\input{an_appendix.tex}
+\input{an_appendix}
\backmatter%
+\addtitlethumb{Backmatter}{}{white}{gray}{pagesLTS.0}
+
% Bibliography
\phantomsection{}%
\label{chp:bibliography}
\bibliographystyle{plain}
\bibliography{thesis}
-%% Lists of
-%\cleardoublepage{}
-%\phantomsection{}%
-%\label{chp:listsof...}
-%\addcontentsline{toc}{chapter}{Lists of \ldots}
-%\begingroup
-%\let\clearpage\relax
-%\let\cleardoublepage\relax
-%\listoffigures%
-%\listoftables%
-%\listofalgorithms%
-%\lstlistoflistings%
-%\endgroup
-
% Abstract
\chapter{Summary}%
\label{chp:summary}
\noindent\input{acknowledgements}
\end{center}
+\chapter{Research Data Management}%
+\label{chp:research_data_management}
+\input{research_data_management}
+
% Curriculum Vitae
\chapter{Curriculum Vit\ae}%
\label{chp:curriculum_vitae}
\label{chp:glossaries}
\printglossaries%
+% Lists of
+\cleardoublepage{}
+\phantomsection{}%
+\label{chp:listsof...}
+\addcontentsline{toc}{chapter}{Lists of \ldots}
+\begingroup
+\let\clearpage\relax
+\let\cleardoublepage\relax
+\listoffigures%
+\listoftables%
+\listofalgorithms%
+\lstlistoflistings%
+\endgroup
+
% Index
\addcontentsline{toc}{chapter}{Index}%
\label{chp:index}