# [Tex/LaTex] Book style does wrong page shift

double-sidedmargins

I'm writing my thesis in LaTeX and i'm using

\documentclass[12pt,a4paper,twoside,openright,titlepage]{book}


but I have a problem. I want, as in books, that the odd pages are shift to the right and even pages to the left. In my code-created pdf happen the opposite. How can I fix this problem? Thanks.

The title is misleading: the book class doesn't do wrong shifting. The most common practice in typography is to have wider outer margins than inner ones.

However, your problem is easily solvable with the help of the geometry package: just tell it what your margins should look like:

\usepackage{geometry}
\geometry{outer=1cm,inner=3cm}


Not that I recommend this. If you want equal margins after reserving a binding correction, which I don't recommend either, you can do

\usepackage{geometry}
\geometry{bindingoffset=0.7cm,hratio=1:1}


You'll probably have to set also the top and bottom margins to your liking.