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

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] . ( 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] ) will switch to using a one-sided layout.

answered Jan 29, 2009 at 15:44 22.4k 8 8 gold badges 65 65 silver badges 73 73 bronze badges

Your definition would remove ALL page breaks. \let\cleardoublepage\clearpage would probably be more on target.

Commented Jan 29, 2009 at 15:53 What documentclass are you using? Commented Jan 31, 2009 at 16:32 I tried with book and scrbook , but it works only if you put the command in the preamble. Commented May 9, 2012 at 7:35

I put \let\cleardoublepage\clearpage after \appendix and it works perfectly with book as documentclass. Thanks!

Commented Jan 31, 2017 at 15:02

I need the twoside layout for my setup, but I dont want all the blank pages. The openany approach worked like a charm. Thank you :)

Commented Mar 14, 2017 at 13:40

it is very easy:

add \documentclass[oneside] and youre fine ;)

answered Dec 3, 2011 at 22:17 frederic snyers frederic snyers 1,019 1 1 gold badge 7 7 silver badges 2 2 bronze badges @frederic: Truly Brilliant Solution. Thanks a lot ! Commented Aug 25, 2012 at 14:56

Note that this method make the margins of all the pages the same. In twoside, the margins are different for the odd and the even pages.

Commented Jan 20, 2013 at 12:29

As phaedrus mentioned, if you're printing a thesis, you usually need different left/right margins, for which you need to use the twosided option.

Commented Mar 3, 2013 at 2:43 thanks, in my case replacing \documentclass[report,12pt] with \documentclass[oneside,12pt] helped Commented Dec 5, 2015 at 17:33

In addition to issue mentioned by phaedrus, oneside option also causes fancyhdr to ignore setup for even pages resulting in errors like this: Package Fancyhdr Warning: \fancyfoot's `E' option without twoside option is useless on input line 6791 . So openany option is much better in this case as it only affects location of each new chapter, instead of affecting margins and alternating headers/footers.

Commented Jan 11, 2016 at 8:54

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]

frederic snyers's advice \documentclass[oneside] 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.

151 2 2 silver badges 11 11 bronze badges answered Mar 3, 2014 at 19:49 987 9 9 silver badges 16 16 bronze badges where should I insert \let\cleardoublepage\clearpage? for example befor the \include in main.tex? Commented Dec 20, 2014 at 14:25

just put into the space where you want to delete the blank page, for instance, the blank page in certain chapter, you could try to put after \begin

Commented Feb 4, 2015 at 22:31 It worked perfectly for me inside \begin and just before \tableofcontents. Thanks. Commented Apr 16, 2019 at 0:37

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

answered Jan 29, 2009 at 17:41 High Performance Mark High Performance Mark 78.1k 7 7 gold badges 108 108 silver badges 166 166 bronze badges

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

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

answered Jul 17, 2017 at 15:42 5,752 5 5 gold badges 53 53 silver badges 67 67 bronze badges This was quite helpful Commented Jan 6, 2022 at 16:56

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.

61.3k 52 52 gold badges 243 243 silver badges 389 389 bronze badges answered Nov 24, 2015 at 9:40 31 1 1 bronze badge

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.

answered Aug 29, 2016 at 1:05 High Performance Coder High Performance Coder 49 1 1 bronze badge

Thanks a lot for your answer. None of the previous methods worked for me. I replaced \include with \input , and it worked for me!

Commented Mar 27, 2017 at 18:30

This worked for me also - using a slightly modified Koma Script report class. Any idea why \include does this? How to debug the precise issue?

Commented Jun 28, 2017 at 4:42

-1 I'd think it might make the most sense to just use \input if that's what you need, rather than redefining \include to be it. I think tex.stackexchange.com/questions/246/… explains why this happens. It's because \include is intended to do more than just copy-paste text into the document.

Commented Nov 10, 2017 at 12:57

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

\documentclass \begin \openany \appendix \openright \appendixpage This is the appendix. \end
answered Sep 22, 2019 at 4:51 Evandro Coan Evandro Coan 9,180 13 13 gold badges 94 94 silver badges 156 156 bronze badges I don't have these commands :-( Commented Aug 2, 2022 at 8:40

To remove blank pages between two chapters in the Appendix when using LaTeX, you can consider the following approaches:

  1. Remove Page Breaks Manually:

Open your LaTeX document. Navigate to the location where a blank page appears between two chapters in the Appendix. Add the command \let\cleardoublepage\clearpage just before the problematic section or chapter. This command essentially changes the behavior of \cleardoublepage to act like \clearpage, preventing LaTeX from inserting an empty page. latex

\documentclass \begin % Your document content here \appendix \let\cleardoublepage\clearpage % Add this line to prevent blank pages in the Appendix % Appendix content here \end
  1. Modify Document Class Options: Check if your document class has options related to page breaks and chapter headings. Some document classes, like report or book, may have options to control the behavior of page breaks. For example, you might use \documentclass[openany] to allow chapters to start on any page, not just on odd-numbered (right-hand) pages. latex \documentclass[openany] \begin % Your document content here \appendix % Appendix content here \end

Remember to replace your_document_class with the actual document class you are using. Experiment with these suggestions to find the approach that works best for your specific document setup.