Hi,

I need some extra-spacing for the Appendix entries in the TOC. At the
moment the words overlap. Example:
        Appendix A {appendixtitle}
The string 'appendixtitle' overlaps with 'Appendix A'. The alignment is
as if the 'Appendix A' label was a section number.

I found Herberts solution for this problem. LaTeX-Preamble:
> \newcommand*\l@chapter[2]{%
>   \ifnum \c@tocdepth >\m@ne
>    \addpenalty{-\@highpenalty}%
>    \vskip 1.0em \@plus\p@
>    \setlength\@tempdima{6em}%     <-- the important line
>    \begingroup
>      \parindent \z@ \rightskip \@pnumwidth
>      \parfillskip -\@pnumwidth
>      \leavevmode \sectfont
>      \advance\leftskip\@tempdima
>      \hskip -\leftskip
>      #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
>      \penalty\@highpenalty
>    \endgroup
>   \fi}


However, I get the LaTeX error "command l@chapter is already defined".
It compiles with \renewcommand..., but it doesn't change the wrong TOC
spacings.

Thanks for any hints!

Cheers
Andreas

Reply via email to