How do I remove blank pages coming between two chapters in Appendix?

Latex

Latex Problem Overview


Is there a way to remove blank pages appearing between two chapters, in Appendix?

Latex Solutions


Solution 1 - Latex

Your problem is that all chapters, whether they're in the appendix or not, default to starting on an odd-numbered page when you're in two-sided layout mode. A few possible solutions:

The simplest solution is to use the openany option to your document class, which makes chapters start on the next page, irrespective of whether it's an odd or even numbered page. This is supported in the standard book documentclass, eg \documentclass[openany]{book}. (memoir also supports using this as a declaration \openany which can be used in the middle of a document to change the behavior for subsequent pages.)

Another option is to try the \let\cleardoublepage\clearpage command before your appendices to avoid the behavior.

Or, if you don't care using a two-sided layout, using the option oneside to your documentclass (eg \documentclass[oneside]{book}) will switch to using a one-sided layout.

Solution 2 - Latex

it is very easy:

add \documentclass[oneside]{book} and youre fine ;)

Solution 3 - Latex

I tried Noah's suggestion which leads to the best solution up to now.

Just insert \let\cleardoublepage\clearpage before all the parts with the blank pages Especially when you use \documentclass[12pt,a4paper]{book}

frederic snyers's advice \documentclass[oneside]{book} is also very good and solves the problem, but if we just want to use the book.cls or article.cls, the one would make a big difference presenting your particles.

Hence, Big support to \let\cleardoublepage\clearpage for the people who will ask the same question in the future.

Solution 4 - Latex

If you specify the option 'openany' in the \documentclass declaration each chapter in the book (I'm guessing you're using the book class as chapters open on the next page in reports and articles don't have chapters) will open on a new page, not necessarily the next odd-numbered page.

Of course, that's not quite what you want. I think you want to set openany for chapters in the appendix. 'fraid I don't know how to do that, I suspect that you need to roll up your sleeves and wrestle with TeX itself

Solution 5 - Latex

I put the \let\cleardoublepage\clearpage before \makeindex. Else, your content page will display page number based on the page number before you clear the blank page.

Solution 6 - Latex

One thing I discovered is that using the \include command will often insert and extra blank page. Riffing on the previous trick with the \let command, I inserted \let\include\input near the beginning of the document, and that got rid of most of the excessive blank pages.

Solution 7 - Latex

In my case, I still wanted the open on odd pages option but this would produce a blank page with the chapter name in the header. I didn't want the header. And so to avoid this I used this at the end of the chapter:

\clearpage

\thispagestyle{plain}

This let's you keep the blank page on the last even page of the chapter but without the header.

Solution 8 - Latex

You can also use \openany, \openright and \openleft commands:

\documentclass{memoir}
\begin{document}

\openany
\appendix

\openright
\appendixpage
This is the appendix.

\end{document}

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestiontksyView Question on Stackoverflow
Solution 1 - LatexNoahView Answer on Stackoverflow
Solution 2 - Latexfrederic snyersView Answer on Stackoverflow
Solution 3 - LatexMike22LFCView Answer on Stackoverflow
Solution 4 - LatexHigh Performance MarkView Answer on Stackoverflow
Solution 5 - LatexFaizView Answer on Stackoverflow
Solution 6 - LatexHigh Performance CoderView Answer on Stackoverflow
Solution 7 - LatexXpleriaView Answer on Stackoverflow
Solution 8 - LatexuserView Answer on Stackoverflow