Marco Mueller wrote:
> 
> Hi,
> 
> I am in the process of writing my thesis with LyX (1.1.4fix2 on FreeBSD
> 3.4) which I think is a great program. I use the Koma-Script-package
> scrbook which seems to be well suited for the purpose. 
> 
> However, I can't seem to figure out how to create an appendix.
> Naturally, I read the docs and found, that in the Users Guide under
> 3.3.4.5, Creating an appendix, there is mentioned the possibility of
> adding LateX-code (\appendix) to the document in question.
it's better to use the environment
\begin{appendix}
... bla bla bla ...
\end{appendix}

than you can put other lists behind the appendix, like the index.
> 
> While this seems to reset LateX-counters such that numbering of then
> created headings begins anew, it does not seem to do what I would like
> to have.
> 
> I would very much like to have an appendix that looks like (in german):
> 
> Anhang A: title1
> Anhang B: title2
\renewcommand*\appendix{\par\global\@altsecnumformattrue
� \setcounter{chapter}{0}%
� \setcounter{section}{0}%
� \renewcommand*\@chapapp{\appendixname}%
� \renewcommand*\thechapter{\appendixname\� \@Alph\c@chapter}}
> 
> and all these appendix titles (1,2,...) should show up in the table of
> content under the general heading 'Anhang'.
before the line \begin{appendix} write in your text as tex (red)

\addcontentsline{toc}{part}{Anhang}

for a right table of contents you need some additional horizontal space 
in fact
of Anhang A ..., so put in 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}

there might be an easier solution, but i do not know a lot of pure tex-code.
> 
hope, this helps

> Herbert
> 
--
[EMAIL PROTECTED]
http://perce.de/voss

Reply via email to