Merge branch 'master' of git.martlubbers.net:msc-thesis1617
[msc-thesis1617.git] / thesis.tex
index 718f92b..63d3f92 100644 (file)
@@ -1,9 +1,12 @@
 %&thesis
 \usepackage[nonumberlist]{glossaries}  % Glossaries and acronyms
 \usepackage[algochapter]{algorithm2e}             % Pseudocode
+
+% Fix the algorithm font
 \renewcommand\AlCapFnt{\normalfont}
-\makeglossaries%
 
+% Initialize the glossaries
+\makeglossaries%
 \input{glossaries}
 
 \begin{document}
 %Titlepage
 \input{titlepage}
 
-\glsaddall{}
-
 %Abstract
-\addcontentsline{toc}{chapter}{Abstract}
 \chapter*{\centering Abstract}
+\addcontentsline{toc}{chapter}{Abstract}
 \begin{quotation}
        \centering\noindent
        \input{abstract}
 \end{quotation}
 
-\addcontentsline{toc}{chapter}{Acknowledgements}
+%Acknowledgements
 \chapter*{\centering Acknowledgements}
+\addcontentsline{toc}{chapter}{Acknowledgements}
 \begin{quotation}
        \centering\it\noindent
        \input{acknowledgements}
 \tableofcontents
 
 \mainmatter{}
+
+%Reset glossary and thus the acronyms
 \glsresetall{}
+
 \chapter{Introduction}\label{chp:introduction}
 \input{intro}
 
@@ -59,7 +64,8 @@
 \chapter{Discussion \& Conclusion}\label{chp:conclusion}
 \input{conclusion}
 
-\appendix\label{chp:appendix}
+\appendix%
+\label{chp:appendix}
 
 \chapter{Communication Protocol}\label{app:communication-protocol}
 \input{appendix-protocol}
 \chapter{Device Client Interface}\label{app:device-interface}
 \input{appendix-device-interface}
 
+% Bibliography
 \phantomsection{}
 \addcontentsline{toc}{chapter}{Bibliography}
 \bibliographystyle{ieeetr}
 \bibliography{thesis}
 
+% Glossary
 \addcontentsline{toc}{chapter}{Glossary}
 \printglossaries%
 
+% Lists of
 \cleardoublepage{}
 \phantomsection{}
 \addcontentsline{toc}{chapter}{Lists of \ldots}
@@ -83,8 +92,8 @@
 \let\cleardoublepage\relax
 \listoffigures%
 \listoftables%
-\lstlistoflistings%
 \listofalgorithms%
+\lstlistoflistings%
 \endgroup
 
 \end{document}