\pdfpagewidth and \pdfpageheight
\pdfpagewidth[=]
dimension
This command sets the page width of the PDF output document.\pdfpageheight[=]
dimension
This command sets the page height of the PDF output document.
Notes
- “
[=]
” means that the equals sign is optional. - dimension is a size usually expressed in units such as pt, bp, mm etc.
Usage example
To set the page size of the PDF output to, for example, 100mm wide and 250mm high, you would write:
\pdfpagewidth=100mm \pdfpageheight=250mm