Introductory text to index
I know the three codes: toc, lot and lof. But don't I need a code for the subject index? Because if I just change toc to lof ... \addtocontents {lof} {My short paragraph\ par} ... I got another error. I can play it down, but then the text stands for the list of figures immediately after its heading. Instead of this I want to place it immediately after the heading of the index! Greetings Andreas Gesendet: Sonntag, 02. Mai 2021 um 21:00 Uhr Von: lyx-users-requ...@lists.lyx.org An: lyx-users@lists.lyx.org Betreff: lyx-users Digest, Vol 83, Issue 6 Send lyx-users mailing list submissions to lyx-users@lists.lyx.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.lyx.org/mailman/listinfo/lyx-users or, via email, send a message with subject or body 'help' to lyx-users-requ...@lists.lyx.org You can reach the person managing the list at lyx-users-ow...@lists.lyx.org When replying, please edit your Subject line so it is more specific than "Re: Contents of lyx-users digest..." Today's Topics: 1. Introductory text to index (Andreas Plihal) 2. Re: Introductory text to index (Ricardo Berlasso) -- Message: 1 Date: Sun, 2 May 2021 19:59:25 +0200 From: Andreas Plihal To: lyx-users@lists.lyx.org Subject: Introductory text to index Message-ID: Content-Type: text/plain; charset="us-ascii" An HTML attachment was scrubbed... URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20210502/2cd018a7/attachment-0001.html> -- Message: 2 Date: Sun, 2 May 2021 21:00:22 +0200 From: Ricardo Berlasso To: LyX Users Subject: Re: Introductory text to index Message-ID: Content-Type: text/plain; charset="utf-8" El dom, 2 may 2021 a las 19:59, Andreas Plihal () escribi?: > > I inserted the following between the list of figures and the following > index: > > \ addtocontents {toc} {My short paragraph\ Par} > > > This is how I get this error: > > ! LaTeX Error: Something's wrong - perhaps a missing \ item. > See the LaTeX manual or LaTeX Companion for explanation. > Type H for immediate help. ... l.43 ... numberline subject > register} {327} {chapter * .20} > > toc means the table of contents. But that has nothing to do with my > business. > Sorry, my fault. You're right, toc is for the table of contents. For the list of figures you need to use lof and for the list of tables lot \addtocontents{lof}{The content you want to add\par} % for a list of figures \addtocontents{lot}{The content you want to add\par} % for a list of tables Regards, Ricardo > > Greetings > Andreas > > *Gesendet:* Sonntag, 02. Mai 2021 um 19:09 Uhr > *Von:* lyx-users-requ...@lists.lyx.org > *An:* lyx-users@lists.lyx.org > *Betreff:* lyx-users Digest, Vol 83, Issue 5 > Send lyx-users mailing list submissions to > lyx-users@lists.lyx.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.lyx.org/mailman/listinfo/lyx-users > or, via email, send a message with subject or body 'help' to > lyx-users-requ...@lists.lyx.org > > You can reach the person managing the list at > lyx-users-ow...@lists.lyx.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of lyx-users digest..." > > > Today's Topics: > > 1. Solved: capacity exeeded (Andreas Plihal) > 2. Introductory text to subject index (Andreas Plihal) > 3. Re: Introductory text to subject index (Ricardo Berlasso) > > > -- > > Message: 1 > Date: Sun, 2 May 2021 18:45:29 +0200 > From: Andreas Plihal > To: lyx-users@lists.lyx.org > Subject: Solved: capacity exeeded > Message-ID: > > > > > Content-Type: text/plain; charset="us-ascii" > > An HTML attachment was scrubbed... > URL: < > http://lists.lyx.org/pipermail/lyx-users/attachments/20210502/eb97622b/attachment-0001.html > > > > -- > > Message: 2 > Date: Sun, 2 May 2021 18:46:32 +0200 > From: Andreas Plihal > To: lyx-users@lists.lyx.org > Subject: Introductory text to subject index > Message-ID: > > > > > Content-Type: text/plain; charset="us-ascii" > > An HTML attachment was scrubbed... > URL: < > http://lists.lyx.org/pipermail/lyx-users/attachments/20210502/62d84350/attachment-0001.html > > > > -- > > Message: 3 > Date: Sun, 2 May 2021 19:09:17 +0200 > From: Ricardo Berlasso > To: LyX Users > Subject: Re: Introductory text to subject index > Message-ID: > > Content-Type: text/plain; charset="utf-8" > > El dom, 2 may 2021 a las 18:46, And
Re: Introductory text to index
El dom, 2 may 2021 a las 19:59, Andreas Plihal () escribió: > > I inserted the following between the list of figures and the following > index: > > \ addtocontents {toc} {My short paragraph\ Par} > > > This is how I get this error: > > ! LaTeX Error: Something's wrong - perhaps a missing \ item. > See the LaTeX manual or LaTeX Companion for explanation. > Type H for immediate help. ... l.43 ... numberline subject > register} {327} {chapter * .20} > > toc means the table of contents. But that has nothing to do with my > business. > Sorry, my fault. You're right, toc is for the table of contents. For the list of figures you need to use lof and for the list of tables lot \addtocontents{lof}{The content you want to add\par} % for a list of figures \addtocontents{lot}{The content you want to add\par} % for a list of tables Regards, Ricardo > > Greetings > Andreas > > *Gesendet:* Sonntag, 02. Mai 2021 um 19:09 Uhr > *Von:* lyx-users-requ...@lists.lyx.org > *An:* lyx-users@lists.lyx.org > *Betreff:* lyx-users Digest, Vol 83, Issue 5 > Send lyx-users mailing list submissions to > lyx-users@lists.lyx.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.lyx.org/mailman/listinfo/lyx-users > or, via email, send a message with subject or body 'help' to > lyx-users-requ...@lists.lyx.org > > You can reach the person managing the list at > lyx-users-ow...@lists.lyx.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of lyx-users digest..." > > > Today's Topics: > > 1. Solved: capacity exeeded (Andreas Plihal) > 2. Introductory text to subject index (Andreas Plihal) > 3. Re: Introductory text to subject index (Ricardo Berlasso) > > > -- > > Message: 1 > Date: Sun, 2 May 2021 18:45:29 +0200 > From: Andreas Plihal > To: lyx-users@lists.lyx.org > Subject: Solved: capacity exeeded > Message-ID: > > > > Content-Type: text/plain; charset="us-ascii" > > An HTML attachment was scrubbed... > URL: < > http://lists.lyx.org/pipermail/lyx-users/attachments/20210502/eb97622b/attachment-0001.html > > > > -- > > Message: 2 > Date: Sun, 2 May 2021 18:46:32 +0200 > From: Andreas Plihal > To: lyx-users@lists.lyx.org > Subject: Introductory text to subject index > Message-ID: > > > > Content-Type: text/plain; charset="us-ascii" > > An HTML attachment was scrubbed... > URL: < > http://lists.lyx.org/pipermail/lyx-users/attachments/20210502/62d84350/attachment-0001.html > > > > -- > > Message: 3 > Date: Sun, 2 May 2021 19:09:17 +0200 > From: Ricardo Berlasso > To: LyX Users > Subject: Re: Introductory text to subject index > Message-ID: > > Content-Type: text/plain; charset="utf-8" > > El dom, 2 may 2021 a las 18:46, Andreas Plihal () > escribi?: > > > Hi, > > > > for a KOMA book I have created both a list of figures and a subject > index. However, > > I would like to add an introductory text to the subject index, > immediately > > after the heading. > > Where and how should I place this introductory text in the LYX file? > > > > If it's just a short paragraph, just bellow the point where you inserted > the index, introduce a TeX box (Ctrl-L) and type inside it something like > > \addtocontents{toc}{The content you want to add\par} > > The text will be added between the subject and the index content. > > Regards, > Ricardo > > > > > > Best regards > > Andreas > > -- > > lyx-users mailing list > > lyx-users@lists.lyx.org > > http://lists.lyx.org/mailman/listinfo/lyx-users > > > -- next part -- > An HTML attachment was scrubbed... > URL: < > http://lists.lyx.org/pipermail/lyx-users/attachments/20210502/d54d2198/attachment.html > > > > -- > > Subject: Digest Footer > > lyx-users mailing list > lyx-users@lists.lyx.org > http://lists.lyx.org/mailman/listinfo/lyx-users > > > -- > > End of lyx-users Digest, Vol 83, Issue 5 > > -- > lyx-users mailing list > lyx-users@lists.lyx.org > http://lists.lyx.org/mailman/listinfo/lyx-users > -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Introductory text to index
I inserted the following between the list of figures and the following index: \ addtocontents {toc} {My short paragraph\ Par} This is how I get this error: ! LaTeX Error: Something's wrong - perhaps a missing \ item. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.43 ... numberline subject register} {327} {chapter * .20} toc means the table of contents. But that has nothing to do with my business. Greetings Andreas Gesendet: Sonntag, 02. Mai 2021 um 19:09 Uhr Von: lyx-users-requ...@lists.lyx.org An: lyx-users@lists.lyx.org Betreff: lyx-users Digest, Vol 83, Issue 5 Send lyx-users mailing list submissions to lyx-users@lists.lyx.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.lyx.org/mailman/listinfo/lyx-users or, via email, send a message with subject or body 'help' to lyx-users-requ...@lists.lyx.org You can reach the person managing the list at lyx-users-ow...@lists.lyx.org When replying, please edit your Subject line so it is more specific than "Re: Contents of lyx-users digest..." Today's Topics: 1. Solved: capacity exeeded (Andreas Plihal) 2. Introductory text to subject index (Andreas Plihal) 3. Re: Introductory text to subject index (Ricardo Berlasso) -- Message: 1 Date: Sun, 2 May 2021 18:45:29 +0200 From: Andreas Plihal To: lyx-users@lists.lyx.org Subject: Solved: capacity exeeded Message-ID: Content-Type: text/plain; charset="us-ascii" An HTML attachment was scrubbed... URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20210502/eb97622b/attachment-0001.html> -- Message: 2 Date: Sun, 2 May 2021 18:46:32 +0200 From: Andreas Plihal To: lyx-users@lists.lyx.org Subject: Introductory text to subject index Message-ID: Content-Type: text/plain; charset="us-ascii" An HTML attachment was scrubbed... URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20210502/62d84350/attachment-0001.html> -- Message: 3 Date: Sun, 2 May 2021 19:09:17 +0200 From: Ricardo Berlasso To: LyX Users Subject: Re: Introductory text to subject index Message-ID: Content-Type: text/plain; charset="utf-8" El dom, 2 may 2021 a las 18:46, Andreas Plihal () escribi?: > Hi, > > for a KOMA book I have created both a list of figures and a subject index. However, > I would like to add an introductory text to the subject index, immediately > after the heading. > Where and how should I place this introductory text in the LYX file? > If it's just a short paragraph, just bellow the point where you inserted the index, introduce a TeX box (Ctrl-L) and type inside it something like \addtocontents{toc}{The content you want to add\par} The text will be added between the subject and the index content. Regards, Ricardo > > Best regards > Andreas > -- > lyx-users mailing list > lyx-users@lists.lyx.org > http://lists.lyx.org/mailman/listinfo/lyx-users > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20210502/d54d2198/attachment.html> -- Subject: Digest Footer lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users -- End of lyx-users Digest, Vol 83, Issue 5 -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users