# removing an unwanted page between two chapters

What could be the reason? Somehow a blank page with some random number gets inserted between two chapters.

``````\flushbottom
\include{chapter1}
\flushbottom
%%-------------------------------------------------------------------------
%
%-------------------------------------------------------------------------
\flushbottom
\include{chapter2}
\flushbottom
%%-------------------------------------------------------------------------

%%-------------------------------------------------------------------------
\flushbottom
\include{chapter3}
\flushbottom
%-------------------------------------------------------------------------

%-------------------------------------------------------------------------
\flushbottom
\include{chapter4}
\flushbottom
``````
• Welcome to TeX.sx! Can you add information about the class you're using? – egreg Apr 30 '13 at 15:45
• `\flushbottom` is a declaration that affects all following pages, you only need issue it once. – David Carlisle Apr 30 '13 at 16:07
• With `twoside` layout (default for class `book`) chapters start at odd numbered pages and sometimes LaTeX needs to insert a page to ensure this. – Heiko Oberdiek Apr 30 '13 at 16:22
• Note what Heiko and David commented above. Besides, at the end of the chapter a `\cleardoublepage` is issued. An ugly method would be to use `\let\cleardoublepage\clearpage` in the beginning. – user11232 May 1 '13 at 0:05
• I tried `\let\cleardoublepage\clearpage` but it didn't work. Each chapter of my thesis produces a blank page before it starts. I'm using `book' class with `openany' and `oneside' options. – Joarder Kamal Oct 21 '15 at 17:54

## Class options `oneside`/`twoside`

With `twoside` layout (default for class `book`) chapters start at odd numbered pages and sometimes LaTeX needs to insert a page to ensure this.

If you do not want to have a `twoside` layout, it can be overwritten by option `oneside`:

``````\documentclass[oneside]{book}
``````

## Class option `openany`

If the `twoside` layout should be kept, but a chapter can start on any page, then many classes support option `openany`, e.g.:

``````\documentclass[openany]{book}
``````

## Redefining `\cleardoublepage`

The "ugly method" of Harish Kumar's comment would be to redefine `\cleardoublepage`:

``````\let\cleardoublepage\clearpage
``````
• Is there an easy possibility to change this behavior only for some chapters? I want a `\cleardoublepage` for all normal chapters but not in the appendix. – McLawrence Aug 16 '18 at 4:24
• @McLawrence Since there should not be normal chapters after the appendix, just move the redefinition `\let\cleardoublepage\clearpage` to the appendix. – Heiko Oberdiek Aug 16 '18 at 16:33