X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;ds=sidebyside;f=thesis.tex;h=63d3f92b022f9ac0d4deeed21d27d15eb8272ef9;hb=20ea9da4247313e4ce6e3a385e2975424c62ebfe;hp=718f92b396bd13b633e3072d7a3dffaf4558355e;hpb=c27e489394cfa9f929b5ebcdbef2aa59446edbb4;p=msc-thesis1617.git diff --git a/thesis.tex b/thesis.tex index 718f92b..63d3f92 100644 --- a/thesis.tex +++ b/thesis.tex @@ -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} @@ -12,18 +15,17 @@ %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} @@ -33,7 +35,10 @@ \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} @@ -67,14 +73,17 @@ \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}