I am using LaTeX to make a manual. I would like to annotate an image with arrows pointing to parts of the image and a textual annotation outside of the image. Is there a simple way I can do this with TikZ or something similar?

an example of the kind of thing i want to do

The question is not answered already... the linked "duplicate" (which I had seen) doesn't describe drawing arrows with text annotations, which is what i asked about!

  • Welcome to TeX.SE. If the linked question doesn't answer you question please update the question and explain why. Jun 24, 2014 at 15:38
  • please see my update... "Drawing on an image with Tikz" doesn't talk about arrows or text annotation
    – olilarkin
    Jun 24, 2014 at 22:43
  • Related/duplicate: Drawing on an image with TikZ
    – Werner
    Jun 24, 2014 at 23:15

2 Answers 2


You can use Drawing on an image with TikZ to place and node and add any additional drawings to it. You can add text via a \node and then use \draw to draw the arrows to the appropriate place on the image:

enter image description here



\node [anchor=west] (note) at (-1,3) {\Large Note};
\node [anchor=west] (water) at (-1,1) {\Large Water};
    \node[anchor=south west,inner sep=0] (image) at (0,0) {\includegraphics[width=0.7\textwidth]{../images/EiffelWide.jpg}};
    \begin{scope}[x={(image.south east)},y={(image.north west)}]
        \draw[red,ultra thick,rounded corners] (0.48,0.80) rectangle (0.55,0.95);
        \draw [-latex, ultra thick, red] (note) to[out=0, in=-120] (0.48,0.80);
        \draw [-stealth, line width=5pt, cyan] (water) -- ++(0.4,0.0);

As already suggested, you can annotate the different parts of the figure using TikZ. However, sometimes it might even better to use numbers to reference the different parts and explain them in the figure caption.

To easily get the precise relative positions (which is often quite tedious) and to generate LaTeX code automatically for such example as shown below, you could use the new web-based LaTeX Overlay Generator, which I built for such cases. This is just a small interactive tool, which helps you to find the right locations without using a manual grid-based approach.


LaTeX Code

In the following the source code of a minimal working example generated by the LaTeX Overlay Generator.


% remove "[demo]" if you want include actual image!!!


% LaTeX Overlay Generator - Annotated Figures v0.0.1
% Created with http://ff.cx/latex-overlay-generator/
\newcommand*\annotatedFigureBoxCustom[8]{\draw[#5,thick,rounded corners] (#1) rectangle (#2);\node at (#4) [fill=#6,thick,shape=circle,draw=#7,inner sep=2pt,font=\sffamily,text=#8] {\textbf{#3}};}
\newcommand*\annotatedFigureText[4]{\node[draw=none, anchor=south west, text=#2, inner sep=0, text width=#3\linewidth,font=\sffamily] at (#1){#4};}
\newenvironment {annotatedFigure}[1]{\centering\begin{tikzpicture}
    \node[anchor=south west,inner sep=0] (image) at (0,0) { #1};\begin{scope}[x={(image.south east)},y={(image.north west)}]}{\end{scope}\end{tikzpicture}}




        \caption{\textbf{Lorum Ipsum Overview} -- Lorem ipsum dolor amet (A), consetetur (B) elitr, sed diam (C) nonumy eirmod invidunt ut labore (D).}


  • 1
    Welcome to TeX.SX! As far as possible you should try and make your answers self-contained, without deferring the real information to external links.
    – user30471
    Apr 14, 2015 at 12:51
  • Right! I've added the full source code for a minimal working example to generate the include figure.
    – f2cx
    Apr 15, 2015 at 14:12
  • Wow, thanks for this tool. This is extremely useful. It even works oob in Beamer slides. Feb 13, 2020 at 10:49

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