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.

This question already has an answer here:

I am including an image with the graphicx package in an enumerated list.

\begin{enumerate}
\item
\includegraphics[width=100px]{my_image.png}
\end{enumerate}

The list item number appears on the bottom left of the image. I tried to place the list item number above left of the image with a new line to no avail.

\begin{enumerate}
\item
\newline
\includegraphics[width=100px]{my_image.png}
\end{enumerate}

How do I place the list item number above left of the image?

share|improve this question
1  
have you seen Aligning enumerate labels to top of image? ? Let us know if this resolves it :) –  cmhughes Feb 12 '13 at 2:56
add comment

marked as duplicate by Werner, lockstep, mafp, diabonas, egreg Feb 12 '13 at 10:41

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer

up vote 1 down vote accepted

As cmhughes suggested this should resolve your problem. You will have to install the following packages:adjustbox and collectbox.

A simple code that works is

\documentclass{article}
\usepackage{graphicx}
\usepackage{adjustbox}

\begin{document}

\begin{itemize}
    \item Achieving lowest possible noise$\rightarrow$Iron-$55$ Spectrum
    \item \includegraphics[scale=0.1]{scope}
    \item \adjustbox{valign=t}{\includegraphics[scale=0.1]{scope}}%This will work just the way you like it
    \item $Fe$ and $Ar:$$Ar$ signal is not clear...
    \item Just to check: move source from center
    \item Expected behaviour
\end{itemize}

\end{document}

and the output is

Image is drawn with tikZ. Example taken from TeXample.net

share|improve this answer
add comment

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