>>>>> "Bruckmann, Tobias" <[email protected]> writes:
> Are you aware of any approach to do these LaTeX text replacements in PDF
> graphics already today?

How about exporting figures _without_ texts and _adding_ annotation with
TikZ, as done in the attached example? In this way, no "text
replacements" are necessary.

Or is it too painful to adjust the position of the texts at LaTeX level,
not at the time of creation of figure?

Regards,
Ikumi Keita

\documentclass{article}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}
  \node (figure) at (0,0) {\includegraphics[width=10cm]{tiger.pdf}};
  \node at (figure.east) {foo};
  \node at (figure.north west) {\(x^{2}+y^{2}=z^{2}\)};
  \path (figure) ++(-2,-1) node[fill=white] {\Large\(E=mc^{2}\)};
\end{tikzpicture}
\end{document}

%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:

Attachment: graphic-annot.pdf
Description: produced pdf

_______________________________________________
bug-auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to