[OS X TeX] Paper size in pdflatex
Claus Gerhardt
gerhardt at math.uni-heidelberg.de
Tue May 31 15:14:53 CEST 2005
The page dimensions have to be defined in the class file, in the
preamble of the document they are ignored. Hence, I recommend to
choose a suitable class file - I don't like the standard book.cls -
and put a modified copy of it in your personal texmf folder, so that
latex finds.
If you are writing a math or physiscs book, then I would recommend
the amsbook.cls, otherwise ask your publisher or google a bit.
Claus
On May 31, 2005, at 14:49, Herbert Schulz wrote:
>
> 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>
>
>
>
--------------------- 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