I created a TikZ figure for my thesis. In a talk I have to use
powerpoint (unfortunatelly no beamer etc. allowed) and want to import
the TikZ drawing. How can I achieve this, without using the Acrobat
Reader snapshot function or loosing too much resolution?
Many thanks in advance!
Christine
> I created a TikZ figure for my thesis. In a talk I have to use
> powerpoint (unfortunatelly no beamer etc. allowed) and want to import
> the TikZ drawing. How can I achieve this, without using the Acrobat
> Reader snapshot function or loosing too much resolution?
Use the \begingraphicnamed ... \endgraphicnamed to create a
cropped pdf file with the drawing. Then use Inkscape to export it
as an emf file which you can insert in PowerPoint.
Hi Martin,
thank you for your answer, unfortunately I cannot find a command like
\begingraphicnamed ... \endgraphicnamed what usepackage do I have to
use? Or could you please correct my minimal example:
% ----------------------------- %
\documentclass[a4paper]{scrartcl}
\usepackage{tikz}
\pagestyle{empty}
\begin{document}
%\begingraphicnamed
\begin{tikzpicture}
\draw (-1,-1) rectangle (1,1);
\draw node at (0,0) {Center};
\end{tikzpicture}
%\endgraphicnamed
\end{document}
% ----------------------------- %
> thank you for your answer, unfortunately I cannot find a command like
> \begingraphicnamed ... \endgraphicnamed what usepackage do I have to
> use? Or could you please correct my minimal example:
Sorry. missed ...pgf... the commands. Here is your modified
minimal example:
\documentclass[a4paper]{scrartcl}
\usepackage{tikz}
\pgfrealjobname{dummy}
\begin{document}
\beginpgfgraphicnamed{\jobname}%
\begin{tikzpicture}
\draw (-1,-1) rectangle (1,1);
\draw node at (0,0) {Center};
\end{tikzpicture}%
\endpgfgraphicnamed
\end{document}
wow, this works great!
Thanks a lot!
Christine