#51 removed appendices from toc
This commit is contained in:
parent
ed08a5f211
commit
73e3f35939
13
config.tex
13
config.tex
|
@ -22,20 +22,25 @@
|
||||||
]{geometry}
|
]{geometry}
|
||||||
|
|
||||||
% Anhang inklusive Anhangsverzeichnis
|
% Anhang inklusive Anhangsverzeichnis
|
||||||
|
\usepackage{tocvsec2}
|
||||||
\usepackage{titletoc}
|
\usepackage{titletoc}
|
||||||
\newenvironment{custom_appendix}{%
|
\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}}}%
|
\renewcommand{\thechapter}{\MakeUppercase{\Alph{chapter}}}%
|
||||||
\setcounter{chapter}{1}
|
\setcounter{chapter}{1}
|
||||||
\addchap{Anhang}
|
\addchap{Anhang}
|
||||||
\startcontents[sections]
|
\startcontents
|
||||||
\section*{Anhangsverzeichnis}
|
\section*{Anhangsverzeichnis}
|
||||||
\printcontents[sections]{l}{1}{\setcounter{tocdepth}{2}}
|
\printcontents{l}{1}{\setcounter{tocdepth}{2}}
|
||||||
|
\addtocontents{ptc}{\string\setcounter{tocdepth}{2}}
|
||||||
\newpage
|
\newpage
|
||||||
}{
|
}{
|
||||||
\stopcontents[sections]
|
|
||||||
|
%\stopcontents
|
||||||
\renewcommand{\thechapter}{\arabic{chapter}}%
|
\renewcommand{\thechapter}{\arabic{chapter}}%
|
||||||
\setcounter{chapter}{1}
|
\setcounter{chapter}{1}
|
||||||
}
|
}
|
||||||
|
|
||||||
% Reduzierung der Abstände zwischen Überschriften und Text
|
% Reduzierung der Abstände zwischen Überschriften und Text
|
||||||
\RedeclareSectionCommand[afterskip=.0001\baselineskip]{section}
|
\RedeclareSectionCommand[afterskip=.0001\baselineskip]{section}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user