How to remove a blank page that gets added automatically after \part{} or \chapter{} in a book document class?
I need to add some short text describing the \part. Adding some text after the part command results in at least 3 pages with an empty page between the part heading and the text:
How to get rid of that empty page?
P.S. Latex: How to remove blank pages coming between two chapters IN Appendix? is similar but it changes the behavior for the rest of the text while I need to remove the empty page for this one \part command only.
As it turns out, those blank pages have a purpose. The default setting for many books (and many thesis templates) is two-sided, with each chapter opening on a right-hand-side page. To get rid of these empty pages, just add the oneside option (or alternatively, the openany option) to your document class declaration.
Most likely, one package redefines a command that another package then (mis)uses. A bit of experimenting should discover the two culprits. You can often avoid such problems by simply reversing their order of inclusion. Moving \begin{flushleft} from before to after \maketitle fixed the problem for me.
The \cleardoublepage command ends the current page and causes all figures and tables that have so far appeared in the input to be printed. In a two-sided printing style, it also makes the next page a right-hand (odd-numbered) page, producing a blank page if necessary.
I think you can simply add the oneside option the book class?
i.e.
\documentclass[oneside]{book}
Although I didn't test it :)
It leaves blank pages so that a new part or chapter start on the right-hand side. You can fix this with the "openany" option for the document class. ;)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With