I am attempting to finish my LaTeX project, and I can't seem to get the PDF to compile to the right size no matter what I do. In my .cls file I have this set:
\paperheight 11in
\paperwidth 8.5in
But no matter what I change it to, it compiles to about 8.25×11.7".
I can post my .cls files or anything else for that matter if someone knows hat I am doing
Here is my .cls file: usfmanus.cls – I am using BakomaTex Word for my editor. When I compile my PDF, I am still getting strange dimensions. I really appreciate this, thank you.
Best Answer
The correct parameters to set are
\pdfpageheight
and\pdfpagewidth
:However, this won't work in the "latex+dvips+ps2pdf" cycle. A code for both cases is
The geometry way is better:
or, if one wants a different paper size, (I'll use Letter paper sizes as example)
With the
pass
option, geometry won't change the class parameters for pagination, as it would do without it.Note for BakomaTeX
As far as I know, BakomaTeX doesn't use
pdflatex
, so theshould be the one to follow.