[OS X TeX] question about the list of figures
Bob Kerstetter
bkerstetter at mac.com
Mon Jun 27 21:19:56 CEST 2005
On Jun 27, 2005, at 10:53 AM, Stephan Hochhaus wrote:
>> line. She would like these to still appear, but provide a text
>> such as "Figure n". Of course one can *add* one such line with
>> \addcontentsline but I can't figure out how to avoid the blank
>> line in the first place. Any suggestions?
>>
> \caption[Name for listoffigure]{Actual caption below the figure}
>
Try this, extending Stephan suggestion:
\begin{figure}[h]
\includegraphics[scale=.8]{whatever}
\caption[Figure \ref{fig:whatever}]{\ }
\label{fig:whatever}
\end{figure}
Works fine here.
Basically, for the figure:
"whatever" is the name of the image.
the caption uses a reference to the label "fig:whatever"
using a ref to itsself in the \caption[]{} square bracket works fine
and shows up in the list of figures. cool.
Bob Kerstetter
http://homepage.mac.com/bkerstetter/
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
More information about the macostex-archives
mailing list