Page LayoutHow to remove empty page after appendix in scrbook

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Georg

How to remove empty page after appendix in scrbook

Post by Georg »

Hi everyone,
How to remove empty pages after each appendix in scrbook. Sometimes I have empty pages after appendices and sometimes no empty pages after other appendices.
Thanks

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10344
Joined: Mon Mar 10, 2008 9:44 pm

How to remove empty page after appendix in scrbook

Post by Stefan Kottwitz »

Hi Georg,

welcome to the forum!

Chapters start at right hand pages (1, or 3, or 5, ..). If necessary, an empty page is inserted, to avoid that a chapter begins at a left hand page. Appendices are chapters, so it's the same. If you don't want that, add the document class option openany.

Stefan
LaTeX.org admin
Georg

How to remove empty page after appendix in scrbook

Post by Georg »

Hello Stefan,
Thank you.
I'm actually using openany. But still sometimes I have empty pages after some appendices and sometimes no empty pages after other appendices.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10344
Joined: Mon Mar 10, 2008 9:44 pm

How to remove empty page after appendix in scrbook

Post by Stefan Kottwitz »

Hi Georg,

can you show us what sometimes happens? Here's a good explanation how to extract and post relevant code: Infominimal working example

Stefan
LaTeX.org admin
Georg

How to remove empty page after appendix in scrbook

Post by Georg »

Hello Stefan,
I mean after appendix B, C, E and F there are empty pages and no empty pages after other appendices. Empty pages are page 7, 9, 12 and 14.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10344
Joined: Mon Mar 10, 2008 9:44 pm

How to remove empty page after appendix in scrbook

Post by Stefan Kottwitz »

After my appendices with scrbook with openany, there are no empty pages. It seems your code contains something non-default. A \clearpage, \newpage, or some pretty hidden setting. It can hardly be pointed to without seeing the code.

Stefan
LaTeX.org admin
Georg

How to remove empty page after appendix in scrbook

Post by Georg »

I'm also surprised as I don’t use any \clearpage, \newpage. Is there any command to add before or after chapters to stop creating new pages?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10344
Joined: Mon Mar 10, 2008 9:44 pm

How to remove empty page after appendix in scrbook

Post by Stefan Kottwitz »

I think you don't need to add a command, but to remove something. If you would post code, I probably could see what.

Stefan
LaTeX.org admin
Georg

How to remove empty page after appendix in scrbook

Post by Georg »

\chapter{text6} \label{a}
\begin{figure}[H]
\centering
\includegraphics[width=0.9\linewidth, height=0.7\textheight]{Appendices/6}
\begin{center}
\textit{\textbf{Source:}}~\citet{author}.Text text text
\end{center}
\end{figure}
%here I have empty page
\chapter{text7}
User avatar
Stefan Kottwitz
Site Admin
Posts: 10344
Joined: Mon Mar 10, 2008 9:44 pm

How to remove empty page after appendix in scrbook

Post by Stefan Kottwitz »

The H option ist not good. It forces placement even if there is not sufficient space on the page left, pushing it to the next space, leaving undesired white space at the bottom of the page. Automatic placement is better in general. In books, figures are placed where they fit best, referenced with a number.

That's a good way, including the proper way of making a caption:

Code: Select all

\begin{figure}[htbp!]  
	\centering
	\includegraphics[width=0.9\linewidth, height=0.7\textheight]{Appendices/6}
	\caption{\textbf{Source:}~\citet{author}.Text text text}\label{app:6}
\end{figure}
Stefan
LaTeX.org admin
Post Reply