[XeTeX] Arbitrary paper sizes

Anders Källström andersk at math.uu.se
Sat Dec 20 12:12:35 CET 2008


Benct Philip Jonsson wrote:
> I've been hunting hich and low after some way
> to set (Xe)LaTeX and the output PDF to an
> arbitrary paper size.  Books aren't usually
> printed on ISO sizes around here, and in
> addition and particularly I from time to time
> need to produce 210x280mm PDF (See
>
> <http://en.wikipedia.org/wiki/Paper_sizes#PA_series>
>
> ).
>
> /BP 8^)>
>   
This works for me
 
   \geometry{verbose,paperwidth=16.5cm,paperheight=24.0cm,hmargin=2.0cm,
    vmargin={1.5cm,2.0cm},
    %bindingoffset=5mm,
    twoside}
    \setlength{\pdfpageheight}{\paperheight}
    \setlength{\pdfpagewidth}{\paperwidth}
%    \usepackage[cam,a4,center]{crop}   
    \usepackage[frame,a4,center]{crop}   


-- 
/Anders K
=======================================================================
Anders Källström                           Email:    andersk at math.uu.se
Uppsala University                         Tel home: +46-(0)18-36 40 29
Department of Mathematics                  Tel work: +46-(0)18-471-3217
Box 480, S-751 06 UPPSALA                  Fax:      +46-(0)18-471-3201
SWEDEN                        





More information about the XeTeX mailing list