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.

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
3  
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

1 Answer 1

up vote 17 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.

\documentclass[twoside]{article}

\usepackage[top=2cm,bottom=4cm,left=1.5cm,right=3cm,asymmetric]{geometry}

\usepackage{lipsum}

\begin{document}

\lipsum[1-15]

\end{document}

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
3  
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. –  tohecz Jan 23 '12 at 23:03

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.