Hello all,
I'm working on a document that is a book class where I include multiple chapters. However, there is an (almost) blank page being put between every chapter. The only thing on these pages is the page number. How do I get rid of this page? Sample files are in a zip file attached below. MAIN.tex is the main file. The output I get is also attached. The blank pages are 1 and 4 (5 and 8 in the pdf document). Please help if you can. I feel like there is something obvious that I'm missing.
Page Layout ⇒ Blank page between book chapters
Blank page between book chapters
- Attachments
-
- Zach.zip
- (24.11 KiB) Downloaded 249 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
Blank page between book chapters
I think this is caused by stuff you have at the start of chapter1.tex and chapter2.tex apparently to format the chapter heading. E.g. you have:
Just use \chapter{Chapter 1 Title Here} and get rid of the rest.
None of that is effective, or is responsible for formatting the chapter title. In fact, what's happening is this: the \include command in MAIN.tex clears to the next page. Then, the \vspace is putting blank space on that page, and then the \chapter command is telling it to create a page break *after* this space, and so the space ends up on a blank page.
Rather than trying to format the chapter title using commands like this, you need to do it a different way. For simpler solutions, look at the documentation for the fancychap and titlesec packages, or consider using the memoir class, which has its own chapter heading styles to choose from.
Code: Select all
\begin{center}
\vspace*{3.0in}
\Huge
\chapter{Chapter 1 Title Here}
\end{center}
\newpage
None of that is effective, or is responsible for formatting the chapter title. In fact, what's happening is this: the \include command in MAIN.tex clears to the next page. Then, the \vspace is putting blank space on that page, and then the \chapter command is telling it to create a page break *after* this space, and so the space ends up on a blank page.
Rather than trying to format the chapter title using commands like this, you need to do it a different way. For simpler solutions, look at the documentation for the fancychap and titlesec packages, or consider using the memoir class, which has its own chapter heading styles to choose from.
Re: Blank page between book chapters
frabjous,
Getting rid of \vspace and the rest worked perfectly. I don't need to use those other packages you mentioned for this project, although I appreciate the suggestions. Simply putting
\chapter{Chapter Title}
\newpage
as the beginning of each chapter file formats it just fine. Thank you very much for the help.
Getting rid of \vspace and the rest worked perfectly. I don't need to use those other packages you mentioned for this project, although I appreciate the suggestions. Simply putting
\chapter{Chapter Title}
\newpage
as the beginning of each chapter file formats it just fine. Thank you very much for the help.