Page Layoutblank pages after \chapter line

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
sil
Posts: 12
Joined: Mon Sep 14, 2009 4:22 pm

blank pages after \chapter line

Post by sil »

Hi,

I have some problems inserting blank pages after the chapter command:

Code: Select all

\chapter{hello}
\newpage{\pagestyle{empty}\cleardoublepage}
The \newpage command does correctly work when I try to add a blank page between the text, but it does not work when it is inserted just after the \chapter line. Does somebody know what I should use?

Recommended reading 2024:

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

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

User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

blank pages after \chapter line

Post by gmedina »

The best you can do is to post a minimal working example allowing us to reproduce the problem mentioned. The following simple code works OK in my system:

Code: Select all

\documentclass{book}

\begin{document}

\chapter{Test chapter}
\newpage{\pagestyle{empty}\cleardoublepage}

some text

\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
sil
Posts: 12
Joined: Mon Sep 14, 2009 4:22 pm

blank pages after \chapter line

Post by sil »

Hi,

Thanks for your answer. Here you have a working example. I do not have all chapters in the same file, instead I have a general file where I include everything:

Main file looks like this one:

Code: Select all

\documentclass[a4paper,oneside,11pt]{book}
\usepackage[english]{babel}
\usepackage{graphicx}

\begin{document}

\include{jacs_sc3n}
\include{jacs_y3n}

\end{document} 
Then, inside the file jacs_sc3n.tex I include the following:

Code: Select all

\chapter{Chemical reactivity}

\newpage{\pagestyle{empty}\cleardoublepage}
Thanks for your quick answer, I do not have a lot of experience on using latex so I don't really see why it does not work.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10323
Joined: Mon Mar 10, 2008 9:44 pm

blank pages after \chapter line

Post by Stefan Kottwitz »

Hi sil,

you could insert \mbox{} like

Code: Select all

\newpage\mbox{}\pagestyle{empty}\cleardoublepage
Stefan
LaTeX.org admin
sil
Posts: 12
Joined: Mon Sep 14, 2009 4:22 pm

Re: blank pages after \chapter line

Post by sil »

Thank you so much Stefan! It works perfectly!!

Silvia
Post Reply