I want to have a twoside document, left pages should be aligned more to the left and right pages more to the right. Also, when I begin a chapter this should always begin on the right side. All the pages before introduction should have roman numbering, and the pages after the contents should have arabic numbering.
Thus, Chapter one should start at page number 1, at the right hand side of the document, with an increased left margin. I figured the latex book style should cope with this quite easily, below is a minimal working example.
\documentclass[a4paper,twopage]{book}
\usepackage[english]{babel}
\usepackage{blindtext}
\frontmatter
\begin{document}
\begin{titlepage}
\blindtext
\end{titlepage}
\begin{titlepage}
\blindtext
\end{titlepage}
\chapter*{abstract}
\blindtext[6]
\mainmatter
\chapter{introduction}
\blindtext[6]
\end{document}
The problems are:
- The titlepage is the first page, and should start with an increased left margin, however, it starts with an increased right margin.
- The abstract is the first chapter, and thus it should start on the right side, with an increased left margin, this is also not true. Same goes for the introduction.
I tried the options openright, openleft, and openany, all three have no effect.
How to solve?
edit: Added the frontmatter and mainmatter. Still no effect.
Best Answer
As Jérôme Dequeker suggests in the comments, try
\frontmatter
and\mainmatter
for the page numbering. For the margins, use e.g. the geometry package. You can easily set the inner and outer page margins. When you are satisfied with the page setup, you can drop theshowframe
option. I have also changed theopenright
\documentclass
option totwopage
. See the code below.Edit:
The book class in default adds a so-called "margin note" box to the outer edge (you can type into the margin note box e.g. by the standard
\marginpar
command). That is, in fact, what you see when not using the geometry package (which I assume sets it to zero). Thetwopage
option sets the outer and inner margins as you would expect. See the example below. Here, I have used the showframe package to show the margins without resetting them.