Page LayoutGet rid of blank Page after Part

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
simonsp
Posts: 1
Joined: Tue Nov 22, 2011 11:32 pm

Get rid of blank Page after Part

Post by simonsp »

I have a document in book style where I have used parts to make my document like this:

Part 1
Chapter 1
Chapter 2
...
Part 2
Chapter 1
Chapter 2
...

I have used the command \part{} to create the parts and the command:

Code: Select all

\makeatletter\@addtoreset{chapter}{part}\makeatother%
for the resetting of chapters.
The problem is, that I can't get rid of the blank page after the second part. I have used:

Code: Select all

\makeatletter
\@openrightfalse
\part{1}
\@openrighttrue
\makeatother
for the first blank page after the first part, but it won't work after the second part. What should I do?


Thanks in advance
Simon

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

Get rid of blank Page after Part

Post by Stefan Kottwitz »

Hi Simon,

welcome to the board!

Since you use \@openrighttrue, you request that chapters should start at right-hand pages, which means pages with odd page numbers. So, if necessary, a blank page is inserted. If you don't want the blank page, the chapter would start at an even page, which is not desired. Or change that.

Look:

Code: Select all

\documentclass{book}
\makeatletter\@addtoreset{chapter}{part}\makeatother%
\begin{document}
\makeatletter
\@openrightfalse
\part{1}
\@openrighttrue
\makeatother
\chapter{One}
\end{document}
Here, the part page is page 1. The chapter should start on the right side, so it has to start on page 3. The consequence is that page 2 is empty.

Stefan
LaTeX.org admin
Post Reply