-- 
http:[EMAIL PROTECTED]


Andreas Rau wrote:
> 
> > > 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.
> >
> > which textclass?
> >
> koma-script(book)

i don't really understand why do you have such things like "Appendix A"
and not only "A". but anyway, try the following in latex preamble:

\newlength{\myLabelWidth}
\setlength{\myLabelWidth}{1.5em}
\renewcommand*\l@chapter[2]{%
  \ifnum \c@tocdepth >\m@ne
    \addpenalty{-\@highpenalty}%
    \vskip 1.0em \@plus\p@
    \setlength\@tempdima{\myLabelWidth}%
    \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}


and in lyx-text just behind the command \appendix or \begin{appendix}
in tex (red)

\addtocontents{toc}{\addtolength{\myLabelWidth}{6em}}

play a little bit around with the length. 6em are
only an example.

Herbert

-- 
http:[EMAIL PROTECTED]




Reply via email to