[OS X TeX] Paper size in pdflatex
Herbert Schulz
herbs at wideopenwest.com
Tue May 31 14:49:23 CEST 2005
On May 31, 2005, at 7:28 AM, Joe Miro wrote:
> I am writing a book and I want to generate a PDF document with a
> paper size of 170 mm x 240 mm. If I put the commands
> \setlength{\pdfpageheight}{240 mm}
> \setlength{\pdfpagewidth}{170 mm}
> in the document it gets ignored by GW's pdflatex (the paper size
> comes out US letter). Using Google I have found a web page with
> instructions on how to modify two files ($TEXBASE/texmf/pdftex/
> config/pdftex.cfg and $TEXBASE/texmf/tex/latex/misc/Vmargin.sty) to
> achieve the paper size change. I haven't tried it, and I would
> rather prefer not to, given that I only want to change the paper
> size of this document. Is there an option or some easy way to set
> the paper size for only one document?
>
> Thanks.
>
> Joe
>
Howdy,
I believe that tells pdftex what to do but you still have to do is
tell LaTeX what to do with
\setlength\paperheight{240mm}
\setlength\paperwidth{170mm}
which might do the job; I'm not sure. Actually, I'd look into the
geometry package which allows for logical page setup and takes care
of telling pdftex special things.
Good Luck,
Herb Schulz
(herbs at wideopenwest.com)
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
More information about the macostex-archives
mailing list