Page Layoutbook openright specified but not working

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
hfish
Posts: 3
Joined: Thu Apr 26, 2012 8:24 pm

book openright specified but not working

Post by hfish »

hi everyone

i'm writing my master thesis with latex, and i found a very strange problem

here's the first lines of my thesis

Code: Select all

\documentclass[a4paper,10pt,twoside,openright]{book}
\usepackage[printonlyused,footnote]{acronym}
\usepackage[utf8x]{inputenc}
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{color}
\usepackage{calc}
\usepackage{fancyhdr}
\usepackage{indentfirst}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{acronym}
\usepackage{verbatim}
\usepackage[onehalfspacing]{setspace}
\usepackage{listings}
\usepackage[standard]{frontespizio}
as you can see it is a book document with the openright option... unfortunately, this does not work, and page margins are places in the inverse manner

https://docs.google.com/open?id=0B-nifo ... DhzeTdDNlk here you can find a 4 page preview containin the toc al lof

why this strange behavior? how can i solve?

thanks
luca
Last edited by Stefan Kottwitz on Thu Apr 26, 2012 8:39 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Re: book openright specified but not working

Post by Stefan Kottwitz »

Hi Luca,

welcome to the board!

Please don't post links to externally hosted documents. You can attach the PDF (or other files) to a forum post. Would you be so kind to attach it? So we can see and download it without having to rely on external sources.

Regarding the problem: that's the expected behavior. Just open a book, usually the inner margin is smaller than the outer margin. To the reason - just imagine an open book and look at the white space: left margin, two (!) inner margins, right margin. To have equal white space, the inner margin must be half of the outer margin.

Could it be that you would like to add some extra inner margin for a binding correction, if you expect to loose space by a binding? Tacking together, stapling, stitching, glueing, ... some can cost different space, some do not, it's just not predefined.

Stefan
LaTeX.org admin
hfish
Posts: 3
Joined: Thu Apr 26, 2012 8:24 pm

book openright specified but not working

Post by hfish »

Stefan_K wrote:Hi Luca,

welcome to the board!

Please don't post links to externally hosted documents. You can attach the PDF (or other files) to a forum post. Would you be so kind to attach it? So we can see and download it without having to rely on external sources.
my bad, file attached
Regarding the problem: that's the expected behavior. Just open a book, usually the inner margin is smaller than the outer margin. To the reason - just imagine an open book and look at the white space: left margin, two (!) inner margins, right margin. To have equal white space, the inner margin must be half of the outer margin.
not sure i'm following you... i need my thesis work to semi-professionaly rebinded. normally i would expect left and right margins to be of the same size, ish... that means that the border that is going to be binded needs to be a little more than the other one. more specifically, on a right page, that is binded on the left side, i expect left margin to be a little more than the right one. on my example it happens the exact opposite, and this will result in having the text very close to the binding ad with a lot of space on the right side...
Could it be that you would like to add some extra inner margin for a binding correction, if you expect to loose space by a binding? Tacking together, stapling, stitching, glueing, ... some can cost different space, some do not, it's just not predefined.

Stefan
ok, i just assumed that the openright option would have adjusted margins too, other than placing initial chapter pages on a right page.

new question, then

how can i add margins so that the binding process won't cause troubles?

thanks

luca
Attachments
foo.pdf
(61.18 KiB) Downloaded 235 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

book openright specified but not working

Post by Stefan Kottwitz »

I prefer the typearea package for designing the page layout which cares for binding correction too. However, if you would like to specify the margins yourself, I recommend using the geometry package, which takes a binding correction value as a parameter, such as

Code: Select all

\usepackage[bindingoffset=5mm]{geometry}
or specifying all margins you like, and more, such as

Code: Select all

\usepackage[bindingoffset=1cm, left=1.5cm, right=3cm,
  top=2cm, bottom=3cm]{geometry}
Stefan
LaTeX.org admin
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

book openright specified but not working

Post by localghost »

hfish wrote: normally i would expect left and right margins to be of the same size, ish... that means that the border that is going to be binded needs to be a little more than the other one. more specifically, on a right page, that is binded on the left side, i expect left margin to be a little more than the right one. on my example it happens the exact opposite, and this will result in having the text very close to the binding ad with a lot of space on the right side.[…]
In a two-sided document we talk of inner and outer margins, not of left and right. Perhaps a Wikipedia article will help you on in matters of page construction [1].

If you need to specify a binding correction or the page dimensions in general, take a look at the geometry package to construct an appropriate type area.

By the way, in the book document class the options openright and twoside are the default setting, thus don't need to be given explicitly.

[1] Canons of page construction – Wikipedia, the free encyclopedia


Best regards and welcome to the board
Thorsten
hfish
Posts: 3
Joined: Thu Apr 26, 2012 8:24 pm

Re: book openright specified but not working

Post by hfish »

thanks to the both of you, using the geometry package solved my problem like a charm!

luca
Post Reply