How can I add text to figures in LaTeX using the beamer class?

  • Context: LaTeX 
  • Thread starter Thread starter aihaike
  • Start date Start date
  • Tags Tags
    Latex Text
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
5 replies · 24K views
aihaike
Messages
52
Reaction score
0
Hey,

I want to add annotations on figure but can't figure out.
I use the beamer class, my figure in in a block.
Can anyone tell me how to do this?
I tried textblock but did not work.
I hear about overpic or psfrag but they don't seem to be what I need.
Thanks,

Eric.
 
Physics news on Phys.org
Thank for your reply, it seems to be what I need.
You're right, it's better to edit the figure but when I do so there is no transparent background anymore (Postscript file). Moreover, I have many this I may put in presentation and if I edit and make the annotation myself it can't be always right at the same place on each figure which looks not good (to me) when I present the result one by one. Do you see what I mean?
Anyway, thank you again for the info, I'll let you know if if it works.
 
Hey,

It does not work with beamer class unfortunately.
I tried ipic, overpic, pinlabel ...
I'll have to edit the files but don't which program is able to generate a ps file with transparent background.
 
Beamer works fine with pgf and TikZ. For overlays, I use

Code:
\begin{tikzpicture}[overlay,remember picture]
...
\end{tikzpicture}

Besides images, I annotate arbitrary text and math elements, such as drawing arrows between matrix elements. An example: Highlighting elements in matrices. This and many more TikZ examples can be found on TeXample.net in the TikZ example gallery.

Stefan
 
Hey Stefan,

I've been trying to use unsuccessfully pgf and TikZ but now I'm sure it must work I'll definitely go that way.
Thank you,

Éric.