#51 removed appendices from toc
This commit is contained in:
parent
ed08a5f211
commit
73e3f35939
11
config.tex
11
config.tex
|
@ -22,17 +22,22 @@
|
|||
]{geometry}
|
||||
|
||||
% Anhang inklusive Anhangsverzeichnis
|
||||
\usepackage{tocvsec2}
|
||||
\usepackage{titletoc}
|
||||
\newenvironment{custom_appendix}{%
|
||||
% ab hier keine Einträge mehr im Inhaltsverzeichnis - dafür haben wir das Anhangverzeichnis
|
||||
\addtocontents{toc}{\string\setcounter{tocdepth}{0}}
|
||||
\renewcommand{\thechapter}{\MakeUppercase{\Alph{chapter}}}%
|
||||
\setcounter{chapter}{1}
|
||||
\addchap{Anhang}
|
||||
\startcontents[sections]
|
||||
\startcontents
|
||||
\section*{Anhangsverzeichnis}
|
||||
\printcontents[sections]{l}{1}{\setcounter{tocdepth}{2}}
|
||||
\printcontents{l}{1}{\setcounter{tocdepth}{2}}
|
||||
\addtocontents{ptc}{\string\setcounter{tocdepth}{2}}
|
||||
\newpage
|
||||
}{
|
||||
\stopcontents[sections]
|
||||
|
||||
%\stopcontents
|
||||
\renewcommand{\thechapter}{\arabic{chapter}}%
|
||||
\setcounter{chapter}{1}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user