I get a wrong numbering of subfigures in the List of Figures with the following MWE.
If I remove the FIGTOPCAP
option or if I put the \caption
on the top, the problem is solved, but I'd like keep them. Any idea?
\documentclass{book}
\usepackage[tight,FIGTOPCAP]{subfigure}
\setcounter{lofdepth}{2}
\begin{document}
\listoffigures
\begin{figure}
\frame{
\begin{minipage}[t]{0.4\textwidth}
PIC 1
\end{minipage}
}
\caption[Short Caption]{Long Caption}
\end{figure}
\begin{figure}
\subfigure[Sub-caption A]{\label{LabelA}%
\frame{
\begin{minipage}[t]{0.4\textwidth}
PIC 2A
\end{minipage}
}%
}
\hfill
\subfigure[Sub-caption B]{\label{labelB}%
\frame{
\begin{minipage}[t]{0.4\textwidth}
PIC 2B
\end{minipage}
}%
}%
\caption[General Short Caption]{General Long Caption\label{GenLabel}}
\end{figure}
\end{document}
Best Answer
The
subfigure
package has long be declared obsolete. You get correct output with the successor packagesubfig
(notice that you must use\subfloat
instead of\subfigure
and\subtable
); the\captionsetup
is drawn from the documentation to emulate the old options.Here is the "List of figures"
and here's the part with the subfloats