osdir.com
mailing list archive

Subject: Re: chapter* in TOC? - msg#00329

List: editors.lyx.general

Date: Prev Next Index Thread: Prev Next Index
Harold Mouras wrote:

I use a chapter* environment to have the same style than all the chapters of
a document. However, this field is not taken into account for the TOC?
How can I make figurate it in the TOC?

If you use a kom-script class, you can use the "addsec" environment (nonnumbered section with toc entry).
Otherwise use the command \addcontentsline in ERT.

regards Uwe



Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Test

ItÅ a test. Carlos Knauer

Next Message by Date: click to view message preview

Re: TR: chapter* in TOC?

>>From: "Harold Mouras" <harold.mouras-JY2aMsvkacKuPSo9TmHpnw@xxxxxxxxxxxxxxxx> >>To: "Lyx-Users" <lyx-users-UqbJ+GOpo4+hPH1hqNUYSQ@xxxxxxxxxxxxxxxx> >>Subject: TR: chapter* in TOC? >>Date: Mon, 30 Aug 2004 00:49:54 +0200 >> >>Dear Lyx Users, >> >>I use a chapter* environment to have the same style than all the chapters of >>a document. However, this field is not taken into account for the TOC? >>How can I make figurate it in the TOC? In ERT \addcontentsline{toc}{section}{\protect\numberline {}<chapter title>} If you use it often, in preamble or in a local style file (this deals with running headers as well - for short unnumbered chapters withous sections like « Introduction »). \newcommand{\tocchap}[1]{\addcontentsline{toc}{chapter}{\protect\numberline {}#1}\markboth{\textsc{#1}}{\textsc{#1}}\thispagestyle{plain}} \newcommand{\chapterstar}[1]{\chapter*{#1}\tocchap{#1}} and in e.g. /usr/share/lyx/layouts/stdsections.inc or in a local layout file: Style Chapterstar Copystyle Chapter LatexName chapterstar LabelType Top_Environment LabelString "Unnumbered chapter" LabelFont Series Bold Size LARGE EndFont End Then select Chapterstar in the Style popup. -- Jean-Pierre

Previous Message by Thread: click to view message preview

chapter* in TOC?

Dear Lyx Users, I use a chapter* environment to have the same style than all the chapters of a document. However, this field is not taken into account for the TOC? How can I make figurate it in the TOC? Thanks in advance, Harold --------------------------------------------------------- Harold Mouras Doctorant/ATER Université Paris 5 Inserm U483 Boite 23 9, quai Saint Bernard 75005 Paris Téléphone : +33 1 44 27 26 24 Télécopie : +33 1 44 27 34 38 hmouras-ag7JmEmHQowD5ynB6aAmlA@xxxxxxxxxxxxxxxx harold.mouras-JY2aMsvkacKuPSo9TmHpnw@xxxxxxxxxxxxxxxx ---------------------------------------------------------- --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.745 / Virus Database: 497 - Release Date: 27/08/2004

Next Message by Thread: click to view message preview

TR: chapter* in TOC?

-----Message d'origine----- De : Harold Mouras [mailto:harold.mouras-JY2aMsvkacKuPSo9TmHpnw@xxxxxxxxxxxxxxxx] Envoyé : lundi 30 août 2004 00:09 À : Lyx-Users Objet : chapter* in TOC? Dear Lyx Users, I use a chapter* environment to have the same style than all the chapters of a document. However, this field is not taken into account for the TOC? How can I make figurate it in the TOC? Thanks in advance, Harold --------------------------------------------------------- Harold Mouras Doctorant/ATER Université Paris 5 Inserm U483 Boite 23 9, quai Saint Bernard 75005 Paris Téléphone : +33 1 44 27 26 24 Télécopie : +33 1 44 27 34 38 hmouras-ag7JmEmHQowD5ynB6aAmlA@xxxxxxxxxxxxxxxx harold.mouras-JY2aMsvkacKuPSo9TmHpnw@xxxxxxxxxxxxxxxx ---------------------------------------------------------- --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.745 / Virus Database: 497 - Release Date: 27/08/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.745 / Virus Database: 497 - Release Date: 27/08/2004
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by