# Page layout for two-sided document

In the minimal example pasted below I would like to have:

• left margin on even pages = 1.5cm
• right margin on odd pages = 1.5cm

(understood as absolute values, not added to/substracted from default settings)

How do I have to set \oddsidemargin, \evensidemargin and/or \hoffset?

\documentclass[11pt, a4paper]{book}
\usepackage{lipsum}
\voffset=-1.5cm
\setlength{\textwidth}{16.5cm}
\setlength{\textheight}{45\baselineskip}
\setlength{\textwidth}{16.5cm}
% hoffset, oddsidemargins, evensidemargins = ???
\usepackage{fancyhdr}
\pagestyle{fancy}

\begin{document}
\lipsum
\end{document}


Why not use the geometry package?

\documentclass[11pt,a4paper]{book}
\usepackage[
textwidth=16.5cm,
outer=1.5cm,
textheight=45\baselineskip,
heightrounded,
]{geometry}
\usepackage{fancyhdr}
\pagestyle{fancy}

• @lpdbw: geometry is a very mature, de-facto standard package. If you use fancyhdr, load it after geometry -- see tex.stackexchange.com/questions/33874/… – lockstep Aug 1 '12 at 9:35
• @lpdbw You forgot to load fancyhdr, plus there's a (unknown to me) \truncate macro. I edited my MWE (which works for me). – lockstep Aug 1 '12 at 9:40