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: [email protected]
An: [email protected]
Betreff: lyx-users Digest, Vol 83, Issue 6
Send lyx-users mailing list submissions to
[email protected]

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
[email protected]

You can reach the person managing the list at
[email protected]

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 <[email protected]>
To: [email protected]
Subject: Introductory text to index
Message-ID:
<trinity-8dc7bb83-379c-45f7-8054-cac07d17200b-1619978365685@3c-app-gmx-bap77>

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 <[email protected]>
To: LyX Users <[email protected]>
Subject: Re: Introductory text to index
Message-ID:
<CAEtvNKfwMhoHzy=85eqtXaemZaFn6JD-e+aFsULL8Bh=9e2...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

El dom, 2 may 2021 a las 19:59, Andreas Plihal (<[email protected]>) 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 <return> 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:* [email protected]
> *An:* [email protected]
> *Betreff:* lyx-users Digest, Vol 83, Issue 5
> Send lyx-users mailing list submissions to
> [email protected]
>
> 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
> [email protected]
>
> You can reach the person managing the list at
> [email protected]
>
> 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 <[email protected]>
> To: [email protected]
> Subject: Solved: capacity exeeded
> Message-ID:
> <trinity-53d59f55-b04e-4bc7-be57-f431c742d5b4-1619973929610@3c-app-gmx-bs31
> >
>
> 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 <[email protected]>
> To: [email protected]
> Subject: Introductory text to subject index
> Message-ID:
> <trinity-44364c41-e492-4958-a1e9-ec81c5a47fe8-1619973992600@3c-app-gmx-bs31
> >
>
> 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 <[email protected]>
> To: LyX Users <[email protected]>
> Subject: Re: Introductory text to subject index
> Message-ID:
> <caetvnkfhv6x0myud-ynpmdpdj7er4byoiavs_sncch3zunx...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> El dom, 2 may 2021 a las 18:46, Andreas Plihal (<[email protected]>)
> 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
> > [email protected]
> > 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
> [email protected]
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
>
> ------------------------------
>
> End of lyx-users Digest, Vol 83, Issue 5
> ****************************************
> --
> lyx-users mailing list
> [email protected]
> 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/f77825bf/attachment.html>

------------------------------

Subject: Digest Footer

lyx-users mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-users


------------------------------

End of lyx-users Digest, Vol 83, Issue 6
****************************************
-- 
lyx-users mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to