# How can I insert a small image in a side note?

I want to insert small images in sidenotes. Is it possible (everything seems to)? How could I do it?

-
A so called “minimum working example” would be nice. Show us, what you could achieve so far. –  PattaFeuFeu Nov 5 '12 at 17:34
Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem. It is considered a lot better to put in some code that will compile, as it makes it a lot easier for us to copy it into our text editor and work with it, and see exactly what it is you are trying to do. –  Stephen Nov 5 '12 at 19:19

I am not sure if I understand the question correctly. You can use \includegraphics inside \marginpar:

\documentclass{article}
\usepackage{graphicx}
\usepackage[nopar]{lipsum}% just to generate text for the example

\begin{document}

\lipsum[1]\marginpar{\includegraphics[width=\marginparwidth]{ctanlion}}\lipsum[1]

\end{document}


CTAN lion drawing by Duane Bibby.

Another option would be to use \marginnote from the marginnote package:

\documentclass{article}
\usepackage{graphicx}
\usepackage{marginnote}
\usepackage[nopar]{lipsum}

\begin{document}

\lipsum[1]\marginnote{\includegraphics[width=\marginparwidth]{ctanlion}}\lipsum[1]

\end{document}

-
Thanks a lot. It works –  Anibal Vivaceta Nov 6 '12 at 3:25
@AnibalVivaceta You're welcome! Don't forget (after a sensible wait) to accept the answer (up-voting and accepting are different actions); in case of doubt, please see How do you accept an answer?. –  Gonzalo Medina Nov 6 '12 at 3:27