ash
2006-02-02 06:48:20 UTC
I cannot get entries for subfloats to show up in the list of figures.
I've read all the documentation, and it seems that the following code
should do it. But it does not.
\documentclass{book}
\usepackage{subfig}
\usepackage{graphicx}
\begin{document}
\listoffigures
\begin{figure}[htb]\centering
\subfloat[caption for first subfigure]{\includegraphics{myFig}}\\
\subfloat[caption for second subfigure]{\includegraphics{myOtherFig}}
\caption{Caption for the whole figure}
\end{figure}
\end{document}
I've also tried providing both optional arguments to subfloat, which
explicitly specifies the entry for a list of figures. It still does not
work. What am I missing? I would appreciate any help. Thank you.
I've read all the documentation, and it seems that the following code
should do it. But it does not.
\documentclass{book}
\usepackage{subfig}
\usepackage{graphicx}
\begin{document}
\listoffigures
\begin{figure}[htb]\centering
\subfloat[caption for first subfigure]{\includegraphics{myFig}}\\
\subfloat[caption for second subfigure]{\includegraphics{myOtherFig}}
\caption{Caption for the whole figure}
\end{figure}
\end{document}
I've also tried providing both optional arguments to subfloat, which
explicitly specifies the entry for a list of figures. It still does not
work. What am I missing? I would appreciate any help. Thank you.