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

For a submission requirement I need that my document exactly fills a box of m x n inches.

Does anybody know how I can specify this in LaTeX?

share|improve this question
Are there any package restrictions you must adhere to? For example, geometry is the go-to layout package. – Werner May 8 '12 at 20:39
\usepackage[text={m in,n in},centering]{geometry} worked well, thank you – alex May 8 '12 at 20:50
up vote 4 down vote accepted

In your document preamble, use


where you specify <m> and <n> (or use text={<m>in,<n>in}). Add the showframe option to see the boundaries.

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.