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.

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

How do you set page margins using \geometry for a two-sided document? So far I've used the twoside option in my documentclass, which automatically widens the left/right margin on opposite sides of odd and even pages.

Edit: My inquiry is not strictly practical, as I wish to know how to achieve the same results 'without' the twoside option.

share|improve this question
LaTeX must know that you want a twoside document. How could it do otherwise? The fact is that oneside is the default option for article, like twoside is for book. – egreg Jan 23 '12 at 21:35
up vote 21 down vote accepted

Normally, one would simply use the left and right keys, because they are actually synonyms for inner and outer in twoside mode. (Alternatively, one could specify the textwidth and hmarginratio keys.) In case you want to disable the swapping of margins on alternate pages, add the asymmetric option.







EDIT: So far you've used the twoside option in your document class, but you want to do without this option? Well, use the twoside option of geometry instead.

share|improve this answer
In a practical sense, that would be perfect. But what if I were to use geometry without the twoside option? – Ayman Elmasry Jan 23 '12 at 20:58
@AymanElmasry Please edit your question and specify what exactly you want to achieve. – lockstep Jan 23 '12 at 21:01
It would be really useful if you explained why you want to avoid the twoside option, because its purpose is to typeset two-sided document and does its job correctly. – yo' Jan 23 '12 at 23:03

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.