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

  • Thread starter Thread starter aihaike
  • Start date Start date
  • Tags Tags
    Latex Text
AI Thread Summary
The discussion revolves around adding annotations to figures in a Beamer presentation. The original poster, Eric, seeks advice after struggling with various methods like textblock, overpic, and psfrag, which did not meet his needs. Suggestions include using external programs to annotate figures, but Eric expresses concerns about maintaining a consistent appearance across multiple figures. The conversation shifts to the use of TikZ and pgf, which are confirmed as effective tools for annotations in Beamer. Stefan provides insights on using TikZ for overlays and annotating text and math elements, encouraging Eric to explore this option further. Eric acknowledges the potential of TikZ and plans to pursue it for his annotations.
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.
 

Similar threads

Replies
4
Views
2K
Replies
12
Views
3K
Replies
8
Views
3K
Replies
12
Views
3K
Replies
5
Views
4K
Replies
1
Views
2K
Replies
8
Views
2K
Replies
1
Views
6K
Replies
7
Views
4K
Back
Top