>>Date: Sun, 20 Aug 2000 15:03:13 +0000
>>From: thomas schönhoff <[EMAIL PROTECTED]>
>>Subject: noindent3
>>To: LyX Users <[EMAIL PROTECTED]>
>>
>>Hello,
>>thanks to Herbert this works quite nicely...
>>
>>But one problem remains, the introductions
>>paragraph is titled TOC (in the headings) which is
>>definetly wrong and not wanted by me !!!
>>Are there any ideas to avoid this ?
>>
>>Thomas
>From a local report class:
\newcommand{\tocchap}[1]{\addcontentsline{toc}{chapter}{\protect\numberline
{}#1}\markboth{\textsc{#1}}{\textsc{#1}}\thispagestyle{plain}}
\newcommand{\chapterstar}[1]{\chapter*{#1}\tocchap{#1}}
The first command
- feeds the title of an unnumbered chapter back to the TOC
- redefines the headings to reflect the change, déclaring the first page
of the chapter as plain (the fancyplain facility is used in the
headindg organisation): thus the headings of an initial chapter page
can be modified ad libitum (mostly to avoid a duplication of the title,
which is the default for numbered chapters and default running headers,
but is lost with the enforced markboth).
The second command declares chapterstar to call an unnumbered chapter
and the new headings layout and TOC info.
Once this is in the class, the style or the preamble, it is easy to
change the layout to chapterstar as a menu item in LyX.
I hope you can extract the right stuff from this in order
to fulfill your needs.
Regards
--
Jean-Pierre