[XeTeX] Generating a PDF which is cropped to the bounding box?
Ulrike Fischer
news3 at nililand.de
Mon Jan 31 16:21:15 CET 2011
Am Sat, 29 Jan 2011 19:57:45 +0100 schrieb Adam Twardoch (List):
> Jonathan etc.,
>
> I have a simple XeTeX script that produces one line of text. The line
> (or the artwork, in general) has a certain bounding box. I'd like to
> generate a PDF that is cropped exactly to the size of that artwork. Can
> I do this directly in XeTeX? If not, is there any way to do it directly
> using ghostscript?
You could try preview:
\documentclass{article}
\usepackage[active,xetex,tightpage]{preview}
\begin{document}
\begin{preview}
blub
\end{preview}
\end{document}
--
Ulrike Fischer
More information about the XeTeX
mailing list