[texhax] compile to a small PDF

Steve Schwartz s.schwartz at imperial.ac.uk
Mon Sep 8 18:11:27 CEST 2008


On Mon, 2008-09-08 at 16:58 +0200, Martin Schröder wrote:
> \usepackage{preview} and have a look at previewlatex.

This looks to be the obvious pure latex solution, though others have
suggested the generic idea of changing the pagesize by measuring the
typeset box.

Personally, I use pdfcrop to post-process the pdf file. It does an
excellent job of cropping pdf files with options to add/subtract margins
and do other things.

You might find pdfcrop amongst your tex goodies somewhere, else find it
at ctan. The README says that it probably doesn't work in windows.

Steve

-- 
+-------------------------------------------------------------------+
Professor Steven J Schwartz      Phone: +44-(0)20-7594-7660
Space and Atmospheric Physics    Fax:   +44-(0)20-7594-7772
The Blackett Laboratory          E-mail: s.schwartz at imperial.ac.uk
Imperial College London          Office: Huxley 6M70 
London SW7 2AZ, U.K.             Web: http://www.sp.ph.ic.ac.uk/~sjs
+-------------------------------------------------------------------+



More information about the texhax mailing list