# How do I have the list item appear on the top left of the image? [duplicate]

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?

-

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

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

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}

\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

-
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 1, "mathjax_display_tex": 0, "mathjax_asciimath": 1, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.49514108896255493, "perplexity": 2952.7148518155846}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 5, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2016-26/segments/1466783396224.52/warc/CC-MAIN-20160624154956-00087-ip-10-164-35-72.ec2.internal.warc.gz"}