Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I've a problem with using subfigures. I want to list their caption in the list of figures. In my opinion this should not be a problem. I have read the subfigure package description http://www.tex.ac.uk/ctan/obsolete/macros/latex/contrib/subfigure/subfigure.pdf allready but I can't get it.

Here is my minimal example:

\documentclass[
            fontsize = 12pt,
            paper = a4
            ]
            {article}

\usepackage{subfigure} % Um mehrere Bilder nebeneinander

\begin{document}

%-------------------------------------------------------------

\begin{figure}%
\centering
\subfigure[First.]{...}\qquad
\subfigure[Second figure.]{...}\\
\subfigure[Third.]{\label{3figs-c}...}%
\caption{Three subfigures.}
\label{3figs}
\end{figure}


%-------------------------------------------------------------


\listoffigures
\end{document}

Another thing what is important maybe ist the *.lof File, although it looks quite complete to me:

\contentsline {figure}{\numberline {1}{\ignorespaces Three subfigures.}}{1}
\contentsline {subfigure}{\numberline {(a)}{\ignorespaces {First.}}}{1}
\contentsline {subfigure}{\numberline {(b)}{\ignorespaces {Second figure.}}}{1}
\contentsline {subfigure}{\numberline {(c)}{\ignorespaces {Third.}}}{1}

I allready deleted all NOT- *.tex Files and recompiled the *.tex File.

I am using Windows, MiKTeX 2.9 and TeXmaker.

Please ask if you need more information!

I hope you can give me some input!

share|improve this question
    
subfigure is obsolete; prefer subfig and its command \subfloat instead of \subfigure. –  egreg Oct 17 '12 at 14:48

1 Answer 1

up vote 3 down vote accepted

If you switch to the successor of subfigure, which is called subfig you can do that quite easily:

\documentclass[
            fontsize = 12pt,
            paper = a4
            ]
            {article}

\usepackage{subfig} % Um mehrere Bilder nebeneinander

\setcounter{lofdepth}{2} % we want subfigures in the list of figures

\begin{document}

%-------------------------------------------------------------

\begin{figure}%
\centering
\subfloat[First.]{...}\qquad
\subfloat[Second figure.]{...}\\
\subfloat[Third.]{\label{3figs-c}...}%
\caption{Three subfigures.}
\label{3figs}
\end{figure}


%-------------------------------------------------------------


\listoffigures
\end{document}
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.