add license
[phd-thesis.git] / thesis.tex
index 1c60e5e..223de1e 100644 (file)
-\documentclass[b5paper]{book}
+\documentclass[twoside,10pt]{book}
+
+%\def\mytitle{Task-Oriented Programming for the Internet of Things}
+\def\mytitle{Task-Oriented Internet of Things Programming}
+\def\mysubtitle{a purely functional rhapsody}
+\def\myauthor{Mart Lubbers}
+\def\mydate{\formatdate{1}{6}{2023}}
 
 \input{preamble}
 
+% To show hboxes even when in non-draft mode
+\overfullrule=1mm
+
+% Just for the todonotes, can go when it's finished
+\usepackage{todonotes}
+\setuptodonotes{
+       backgroundcolor=white,
+       linecolor=black,
+       size=scriptsize,
+}
+
 % Document info
-\title{Some title}
-\author{Some author\\
-       {\small\href{mailto:mail@example.com}{mail@example.com}}}
+\title{\mytitle{} --- \mysubtitle{}}
+\author{Mart Lubbers}
 
-% If you want to fix the date: \formatdate{10}{7}{2017}}
-\date{\today}
+\date{\mydate}
 
 \begin{document}
-\frontmatter{}
+\selectlanguage{british}
+
+\frontmatter%
+%\addtitlethumb{Frontmatter}{}{white}{gray}{pagesLTS.0}
 
 %Titlepage
-\input{titlepage}
-
-%Abstract
-\chapter*{\centering Abstract}%
-\label{chp:abstract}
-\addcontentsline{toc}{chapter}{Abstract}
-\begin{quotation}
-       \centering\noindent
-       \input{abstract}
-\end{quotation}
-
-%Acknowledgements
-\chapter*{\centering Acknowledgements}%
-\label{chp:acknowledgements}
-\addcontentsline{toc}{chapter}{Acknowledgements}
-\begin{quotation}
-       \centering\it\noindent
-       \input{acknowledgements}
-\end{quotation}
+\subfile{frontmatter/titlepage}
+\newpage%
+
+% Epigraph/motto
+\subfile{frontmatter/motto}
 
 % Table of contents
 \tableofcontents
+\newpage%
+
+% Dedication
+\subfile{frontmatter/dedication}
+
+\listoftodos%
 
 % Reset glossary and thus the acronyms
 \glsresetall{}
 
 % The actual document
-\mainmatter{}
+\mainmatter%
+\renewcommand\partname{Movement}                   % Rename parts to movements (rhapsody uhu)
+\addthumb{Chapters}{\arabic{chapter}}{white}{gray} % Arabic chapter thumbs 
+\setcounter{chapter}{-1}
+
+% Introduction
+\subfile{introduction/introduction}
+% DSL
+
+\part{Domain-Specific Languages}%
+\label{prt:dsl}
+
+% DSL Techniques
+\subfile{domain_specific_languages/dsl_techniques}
+
+% Deep embedding with class
+\subfile{domain_specific_languages/class_deep_embedding}
+
+% First-class data types
+\subfile{domain_specific_languages/first-class_datatypes}
+
+\part{Task-Oriented Programming}%
+\label{prt:top}
+
+% mTask by example
+\subfile{task_oriented_programming/mtask_by_example}
+
+% Interpreting
+\subfile{task_oriented_programming/interpreting}
+
+% Integration
+\subfile{task_oriented_programming/integration}
+
+\part{Tiered vs.\ tierless programming}%
+\label{prt:tvt}
+
+\subfile{tiered_vs._tierless_programming/smart_campus}
 
-\chapter{Example}%
-\label{chp:example}
-\input{example}
+\chapter{Modelling naval scenaries using \acrshort{TOP} and \acrshort{IOT}}
+Arjan's werk {NLARMS}?
 
 % Start appendix
 \appendix%
 \label{chp:appendix}
+\addthumb{Appendices}{\Alph{chapter}}{white}{gray} % Alpha appendix thumbs
+
+\subfile{appendix/clean_for_haskell_programmers.tex}
+
+\backmatter%
+\addtitlethumb{Backmatter}{}{white}{gray}{pagesLTS.0} % Empty backmatter thumbs
 
 % Bibliography
 \phantomsection{}%
 \label{chp:bibliography}
 \addcontentsline{toc}{chapter}{Bibliography}
-\bibliographystyle{plain}
 \bibliography{thesis}
 
+% Summary
+\subfile{backmatter/summary}
+
+% Samenvatting
+\subfile{backmatter/samenvatting}
+
+% Acknowledgements
+\subfile{backmatter/acknowledgements}
+
+% Research data management
+\subfile{backmatter/research_data_management}
+
+% Curriculum vitæ
+\subfile{backmatter/curriculum_vitae}
+
 % Glossary
 \addcontentsline{toc}{chapter}{Glossary}%
 \label{chp:glossaries}
 \printglossaries%
 
-% Index
-\addcontentsline{toc}{chapter}{Index}%
-\label{chp:index}
-\printindex
-
 % Lists of
 \cleardoublepage{}
 \phantomsection{}%
 \lstlistoflistings%
 \endgroup
 
+% Index
+\addcontentsline{toc}{chapter}{Index}%
+\label{chp:index}
+\printindex
+
 \end{document}