Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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
1  
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
add comment

1 Answer

up vote 4 down vote accepted

In your document preamble, use

\usepackage[includeheadfoot,width=<m>in,height=<n>in]{geometry}

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
add comment

Your Answer

 
discard

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.