Hi,
using a caption by caption[short]{long}, I would like to use a short and long version in a figure caption. However, the short version is only used for list of figures and doesn't get displayed in figure caption. How can I get it displayed or what else instead? I use kile
thanks
carol
Graphics, Figures & Tables ⇒ short, long figure caption
NEW: TikZ book now 40% off at Amazon.com for a short time.

Re: short, long figure caption
I'm not sure if I've understood you correctly, but all text inside the second (required) argument is used for the figure caption, so include everything you want there.
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
short, long figure caption
Hi Carol,
the caption package provides many additional features for customizing captions, perhaps it's useful for you, have a look at its documentation.
Stefan
the caption package provides many additional features for customizing captions, perhaps it's useful for you, have a look at its documentation.
Stefan
LaTeX.org admin
short, long figure caption
Thanks Phi for your reply but the problem is that I don't want display every thing in the list of figures by putting in the second argument and I don't want to repeat what i put in the first argument in the second argument. Here is the scenario
caption[short_version]{long_version}
I want that only short version be displayed in the list of figure but both, short and long versions be displayed in the figure caption
caption[short_version]{long_version}
I want that only short version be displayed in the list of figure but both, short and long versions be displayed in the figure caption
phi wrote:I'm not sure if I've understood you correctly, but all text inside the second (required) argument is used for the figure caption, so include everything you want there.
Re: short, long figure caption
Ignore my message. the solution is that to repeat what is the short version in the long version as well.
cheers
cheers
short, long figure caption
If you don't want to repeat the short version, you can easily create your personal version of \caption:
Code: Select all
\newcommand*\mycaption[2]{\caption[#1]{#1#2}}