LaTeX's appendix environment formats sections differently and uses a different enumeration in the table of contents:
\begin{appendix}
\section{superuser}
\dots{}
....
Shows up as
A superuser 11
in the \tableofcontents
.
Unfortunately, I have to use a different style: the appendix is not to show up in the table of contents, but in a separate listing right before the appendix.
I see the following options to solve this:
- suppress output in tableofcontents and somehow recreate the part on a different page
- generate a custom listing of specified / the following section
- manually create a list with the same formatting as the table of contents
I use scrartcl
as document class.
Best Answer
A somewhat hackish way to get a list of appendices in
scrartcl
is to add the following at the start of the appendix:For
scrreprt
andscrbook
, you need to add an analogous redefinition for\chapter
. As the redefinition of the sectioning commands are rather simplistic, they break the starred versions and the optional argument. Thus before any starred sections (like the bibliography), you should revert the redefinitions with\let\section\oldsection
.