Hello,
I write my thesis and have to mention the name of the source in the caption of the pictures and tables. The problem is this one, that it shoes the source of course in the index of tables as well - and that's what I don't want. Is there any possibility to exclude this or to add a 2nd caption just for the source, which doesn't appear in the index?
Thank you for your help in advance.
Kind regards,
Domser
Graphics, Figures & Tables ⇒ Exclude the Source in the Table Caption
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Exclude the Source in the Table Caption
Every basic documentation about LaTeX suggests to use the optional short form for the \caption command.
Thorsten
Code: Select all
\caption[List Entry]{Full Caption with Citation\cite{key}}
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Exclude the Source in the Table Caption
Thank you!
I didn't know... I just started with Lyx.
The code you gave me works! But now I have a further problem. In the describtion part the command for a break doesn't work: "\\". Also not this one: "\newline".
\caption[Preisabweichung (negative Minutenreserve)]{Preisabweichung (negative Minutenreserve)\\Quelle: xxxxx}
Did I haven't consider something?
Thanks for help!
Domser
I didn't know... I just started with Lyx.
The code you gave me works! But now I have a further problem. In the describtion part the command for a break doesn't work: "\\". Also not this one: "\newline".
\caption[Preisabweichung (negative Minutenreserve)]{Preisabweichung (negative Minutenreserve)\\Quelle: xxxxx}
Did I haven't consider something?
Thanks for help!
Domser
Re: Exclude the Source in the Table Caption
Ok, I got it.
I just added \usepackage{caption}.
I just added \usepackage{caption}.