Document ClassesPage inserted before a new chapter page in twosided document

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
ernesto07
Posts: 2
Joined: Fri May 11, 2012 8:41 pm

Page inserted before a new chapter page in twosided document

Post by ernesto07 »

Using the twoside book class, latex includes a blank page just before a new chapter so it starts on a right hand page. Can this blank page be modified so I can put a water mark text saying: "This page was intentionally left blank" (is a requierement for my manual). Thanks.

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

Page inserted before a new chapter page in twosided document

Post by Stefan Kottwitz »

Hi Ernesto,

welcome to the board!

You could redefine \cleardoublepage, like in this example from the fancyhdr manual:

Code: Select all

\makeatletter
\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
\hbox{}
\vspace*{\fill}
\begin{center}
This page was intentionally left blank.
\end{center}
\vspace{\fill}
\thispagestyle{empty}
\newpage
\if@twocolumn\hbox{}\newpage\fi\fi\fi}
\makeatother
Stefan
LaTeX.org admin
ernesto07
Posts: 2
Joined: Fri May 11, 2012 8:41 pm

Re: Page inserted before a new chapter page in twosided docu

Post by ernesto07 »

Thanks! Works perfectly.
Post Reply