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.

Is it possible to group together several figures in the List of Figures. For example a time step sequence where there are 4 or 5 different figures would only have one entry.

share|improve this question
    
Do you have (or need) separate captions for each of the "time steps"? If not, then you can group them all in a single figure environment with only a single caption. –  Werner Feb 8 '12 at 20:16

1 Answer 1

up vote 4 down vote accepted

You can add lines to the listoffigures file (\jobaname.lof) using the command

\addcontentsline{lof}{section}{Time step sequence}

If you use the caption package, then you can typeset your captions using

\caption[]{first}%

which will put an empty entry in the lof. This produces

screenshot

\documentclass{article}
\usepackage{caption}

\begin{document}

\listoffigures

\addcontentsline{lof}{section}{Time step sequence}

\begin{figure}[!ht]
\centering
\rule{20pt}{30pt}
\caption[]{first}%
\label{fig:first}
\end{figure}

\begin{figure}[!ht]
\centering
\rule{20pt}{30pt}
\caption{second}%
\label{fig:second}
\end{figure}

\end{document}

Or perhaps you want something like '1-2: Time step sequences'? In which case, you can use

\addcontentsline{lof}{figure}{\ref{fig:first}|\ref{fig:second} Time step sequences }

which produces

enter image description here

share|improve this answer
    
Excellent, thank you! –  Leda Feb 16 '12 at 18:42

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.