format the lists of and glossaries
[msc-thesis1617.git] / thesis.tex
index 10a6f81..d6f9973 100644 (file)
@@ -38,6 +38,8 @@
        righttext={prof.~dr.~dr.h.c.~ir.~M.J.~Plasmeijer\\dr.~P.W.M.~Koopman}]
 \listoftodos[Todo]
 
+\glsaddall{}
+
 %Abstract
 \chapter*{\centering Abstract}
 \begin{quotation}
 %Table of contents
 \tableofcontents
 
-%Glossaries
-\glsaddall{}
-\printglossaries%
-
 \mainmatter{}
+\glsresetall
 \chapter{Introduction}\label{chp:introduction}
 \input{introduction.tex}
 
 \chapter{Device client interface}\label{app:device-interface}
 \input{appendix-device-interface.tex}
 
+\cleardoublepage
+\phantomsection
+\addcontentsline{toc}{chapter}{List of \ldots}
+\begingroup
+\let\clearpage\relax
+\listoffigures
+\listoftables
 \lstlistoflistings{}
-\listoffigures{}
-\listoftables{}
+\endgroup
+
+\cleardoublepage
+\addcontentsline{toc}{chapter}{Glossaries \& Acronyms}
+
+\begingroup
+\let\clearpage\relax
+\let\cleardoublepage\relax
+\printglossaries%
+\endgroup
 
 \bibliographystyle{ieeetr}
 \bibliography{thesis}