[texhax] arbitrary page size question

Lars Madsen daleif at imf.au.dk
Fri Feb 10 18:15:14 CET 2006


> Using xfig, I produce an eps figure which I then run through latex/psfrag for 
> labelling.
>
> I'd like to have the latex paper size be as close to the bounding box of the 
> figure so that i have a standalone graphic, which I can then use in various 
> ways.
>
> I've tried using the geometry package to change the papersize and margins, 
> but I think there are other constraints which prevent this package for 
> letting me do what I want to do.
>
> Kind Regards,
> m
>

why?

\documentclass{article}
\usepackage{graphicx}
\pagestyle{empty}
\begin{document}
% your psfrag stuff and figure here
\end{document}

then do

latex fil.tex

dvips -E -o file.eps file.dvi

then the original pagesize doesn't matter


/daleif

``You cannot help men permanently by doing for them 
what they could and should do for themselves. ''
  -- Abraham Lincoln



More information about the texhax mailing list