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

This is a simple question. Say you were to place two (or more) related figures in an enumerate environment. Outside of an enumerate environment, which itself is a floating environment, you would probably work in a figure environment, using the caption and subcaption packages, and centering each figure with respect to the global text body. Now, in an enumerate environment, you include the figures directly, avoiding the additional use of a figure environment, and center the figures/subfigures together with their captions/subcaptions with respect to the local text body in the enumerate environment. In the case of a single figure, you could do this in a rather straightforward way (e.g., by using \includegraphics{...} and \captionof{figure}{...} nested within a centered environment). In the case of multiple figures (subfigures to be precise) I have found this fairly tricky I must say. How would I go about doing this? Many thanks.

share|improve this question
Welcome to TeX.sx! A tip: You can use backticks ` to mark your inline code as I did in my edit. – Torbjørn T. Nov 19 '11 at 13:52

I recommend using the subcaption package and the caption package. Within the enumerate environment, you could use minipages for arranging subfigures, or even a table with any alignment you like. An easy example with a simple table and \subcaptionbox:

\item First item
\item Some figures:
    \subcaptionbox{The first}{\includegraphics{fig1}}
    & \subcaptionbox{The second}{\includegraphics{fig2}} \\[1cm]
    \subcaptionbox{The third}{\includegraphics[width=2cm,height=1cm]{fig3}}
    & \subcaptionbox{The last}{\includegraphics[width=2cm,height=2cm]{fig4}} \\
\item Third item

enter image description here

share|improve this answer

This works for me:

\item abc
\centering\large A
\subcaption{A subfigure}\label{fig:1a}
\centering\large B
\subcaption{Another subfigure}\label{fig:1b}
\item def
\caption{What's this?}

Instead of \large A and \large B put your \includegraphics commands.

share|improve this answer

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.