bug-auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#44578: Future of EPS (was Re: bug#45894: Bug report for preview-late


From: Ikumi Keita
Subject: bug#44578: Future of EPS (was Re: bug#45894: Bug report for preview-latex)
Date: Fri, 03 Sep 2021 17:19:48 +0900

>>>>> "Bruckmann, Tobias" <tobias.bruckmann@uni-due.de> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]