16

Possible Duplicates:
Drawing on an image with TikZ
How to superimpose LaTeX on a picture?

I was wondering if it's possible to have an existing image (possibly in a figure environment) and then add text at arbitrary locations within that image/figure. Does maybe Tikz allow something like that?

For clarity: This wiki link has this synapse image with hyperlinks at the beginning of arrows that point to specific parts of the synapse. When clicking on the image I only see the png file and the hyperlinks disappeared and only arrows without description pointing to stuff so I would like to reintroduce these texts.

Philipp
  • 5,078
  • 10
  • 30
  • 32

1 Answers1

43

No doubt you can use TikZ but if you just want to overlay text you don't need any extra packages at all

\begin{picture}(100,100)
\put(0,0){\includegraphics{....}}
\put(10,10){hello}
\end{picture}

will write "hello" over your image.

David Carlisle
  • 757,742