General ⇒ Left clear page before new chapter
Left clear page before new chapter
Thanks in advance!
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
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Left clear page before new chapter
It would be much easier for you and us, if you would put information like that into a minimal working example. That limits the code to the problem at hand.ylva wrote:Be advised that I use 1 main .tex file with the preamble etc, but that I write the chapters in separate files which I combine using \include{chapter}.
To the point,
\include{<filename>}
issues a \clearpage
(cleardoublepage), meaning all floats are output and a new page is started. In a book class, this page is a right page (odd pagenumber) by default. Saying this, if the former chapter end on an odd (right, recto) page, a blank left page is inserted.But if the former chapter ends on a left (even, verso) page, there is no reason to clear a right and a left page again. Can you be more specific, on what you are trying to achieve?
Re: Left clear page before new chapter
Indeed, when the previous chapter ends on a right page, a blank left page is inserted to make sure that the new chapter starts on a right page. What I want to do is exactly what you say. If the previous chapter ends on a left page, I want to insert one blank right and one blank left page. This didn't look an exotic request to me at first, but apparently it is…

- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Left clear page before new chapter
But you can do it with a little hack:
Code: Select all
\documentclass{book}
\usepackage{blindtext}
\usepackage{showframe}
\begin{document}
\chapter{The first}
\blindtext[6]
\clearpage\null
\chapter{The Second}
\end{document}
Advantage: You can click on open in Writelatex and see the output.
Re: Left clear page before new chapter
I tried with inserting \clearpage\null before the \includechaper{} and that seems to work so thank you for that.

- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm