TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

To make it short, I have exactly the same problem as described here Figure with caption within an itemize list not indenting correctly except, the fact that I am using the subfig package and the corresponding subfloat environment within the figure. Is there a way to get a correct indent?

share|improve this question
up vote 1 down vote accepted

Here's one possibility, using a minipage of width \linewidth and a figure environment for which the H placement specifier (from the float package) has been used to suppress flotation, allowing the figure to be inside the minipage:

\usepackage[demo]{graphicx}% demo option just for the example


\item First item.
\item Second item with some additional text to span more than just one line.                      
  \item And here we start a new list so the indentation increases before we include the images.\par
    \subfloat[A test subfigure inside some lists]{\includegraphics[width=4cm]{image1}}\hfill
    \subfloat[Another test subfigure inside some lists]{\includegraphics[width=4cm]{image2}}
  \item Some additional information.
\item Third item.


enter image description here

share|improve this answer
thx! exactly what i was searching for! great explanation for beginners like me :) – MrMuh Dec 11 '12 at 22:35

Your Answer


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.