How do I tell TikZ to output to a standalone image file? Like JPG, PNG, etc?
Yes, there is a way to output it to PDF, then do a snapshot. But this is for mathematical-visual comparisons, and I need precision trimming so that I can put the images side-by-side in a Word document.
Here's a sample using the standalone class. It only takes care of the length, but the width stays the same as the textwidth
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw [step=0.5] (-1.4,-1.4) grid (1.4,1.4);
\end{tikzpicture}
\end{document}
I want the whole PDF to be trimmed to the edges of the tikzpicture. Or, even better, trim the PDF so that that I can leave (custom) margins around the graphic.
standalone. Anyway, knowing better now from that other question, I'll edit my question. – Kit Mar 14 '11 at 07:23