Thursday, October 22, 2009

LaTeX figure caption different from List of Figures caption

This is so cool I can't resist posting.
The rule for citing other people's ownership of copyright of figures is to, first ask from permission from the publisher, then, include the acknoledgement string that they want in your figure caption. The problem is that the sting will appear also in the List of Figures of your book, thesis, etc. To avoid this, see the code below.

\begin{figure}[ht] \centering\includegraphics[width=.8\textwidth]{./newFigures/Fig.1.1.eps}% \caption[Caption as it appears in the LOF.]{Caption as it appears in the LOF (reproduced with permission from ...).} \label{fig0.1}\end{figure}

Note how the (reproduced with permission from...) is absent from the caption that will appear on the LOF. I think it would work for captions in Tables also. I know it works for \sections, etc.

No comments:

Post a Comment