diff --git a/header.tex b/header.tex index f184f91..201f295 100644 --- a/header.tex +++ b/header.tex @@ -26,6 +26,7 @@ %%%%% index %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \usepackage[makeindex]{splitidx} \makeindex +\usepackage[totoc]{idxlayout} \newindex[Fachbegriffe]{term} \newindex[Englische Fachbegriffe]{enterm} \newindex[MATLAB Code]{code} diff --git a/scientificcomputing-script.tex b/scientificcomputing-script.tex index 4a4ce18..f75b39d 100644 --- a/scientificcomputing-script.tex +++ b/scientificcomputing-script.tex @@ -12,12 +12,17 @@ \maketitle \hypersetup{pageanchor=true} +\frontmatter + \tableofcontents \listoffigures \lstlistoflistings \listofexercisefs \listofiboxfs + +\mainmatter + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \part{Grundlagen des Programmierens} @@ -68,11 +73,14 @@ %\chapter{Cheat-Sheet} -\addcontentsline{toc}{chapter}{Fachbegriffe} +\backmatter + +%%%% indices: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \printindex[term] -\addcontentsline{toc}{chapter}{Englische Fachbegriffe} + \printindex[enterm] -\addcontentsline{toc}{chapter}{MATLAB Code} + +%\setindexprenote{Some explanations.} \printindex[code] \end{document}