fixed index to toc. Added frontmatter

This commit is contained in:
Jan Benda 2015-11-24 19:19:26 +01:00
parent 112829daaf
commit 3431a93772
2 changed files with 12 additions and 3 deletions

View File

@ -26,6 +26,7 @@
%%%%% index %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[makeindex]{splitidx}
\makeindex
\usepackage[totoc]{idxlayout}
\newindex[Fachbegriffe]{term}
\newindex[Englische Fachbegriffe]{enterm}
\newindex[MATLAB Code]{code}

View File

@ -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}