TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to make the PDF width and height larger?

share|improve this question
You mean increase the paper size? This can be done using the geometry package. – Martin Scharrer Jun 2 '11 at 3:44
up vote 9 down vote accepted

You can adjust the settings given below. I think they are self-explanatory.

left=2cm,% left margin
right=2cm,% right margin
top=3cm, % top margin
bottom=3cm,% bottom margin
a3paper% other options: a0paper, a1paper, a2paper, a3paper, a4paper, a5paper, a6paper, and many more.

\usepackage{lipsum}% to get dummy contents, you might not need this of course!
\lipsum% to render dummy contents.

Other settings such as gutter, marginpar width, marginparsep etc are also available.

If you need custom paper size, then use paperwidth and paperheight instead of a*paper.

share|improve this answer

If you want to resize paper you can use:

\setlength{\paperwidth}{25cm} % set dimension of \paperwidth to 25 cm
\addtolength{\paperheight}{1in} % enlarge \paperheight by 1 inch

for pdfLaTeX you shall use lengths \pdfpaperwidth and \pdfpaperheight. My teacer uses this construction:

\ifx\pdfoutput\undefined % LaTeX is used, pdf sizes are undefined
\else% pdfLaTeX is used, pds sizes are defined

If you just want to put more text in standard paper (i.e. A4, A5) there are lenghts like \textwidth, \textheight and many others. see Page dimensions on Wikipedia

PS: First part is optional, second part is mandatory because LaTeX's paper sizes are defined by \documentclass[/size/paper] option so that you have to define new layout by yourself.

PSS: all the sizes like \textwidth can be used to define the others. For example \includegraphics[width=.5\textwidth]{image/address} typesets image with width of one half of paragaph, or \setlength{\paperheight}{2\paperwidth}...

share|improve this answer
Changing the \paperwidth and \paperheight wouldn't change the other correlated length like \textwidth and \textheight, would it? I recommend to do this only using the geometry package which will adjust all other length accordantly. – Martin Scharrer Jun 2 '11 at 12:54
The \ifx\pdfoutput\undefined test gives wrong results. The correct way is to use the ifpdf package. – egreg Jun 2 '11 at 13:05

Here is method without using a package:

\pdfpagewidth 9in
\pdfpageheight 12in
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.