Suppress empty page before chapter [duplicate]

Possible Duplicate:
Chapter on the right side - How to turn it off?

How do I remove empty pages before chapters? The following document renders as three pages; I just want two.

\documentclass[]{scrbook}

\usepackage[english]{babel}
\begin{document}
\chapter{Foo}
\chapter{Bar}
\end{document}


I want to keep the scrbook template if possible.

-

marked as duplicate by Alan Munn, Werner, lockstep, Thorsten, Torbjørn T.Feb 29 '12 at 6:34

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Have you tried the openany documentclass option? –  Mico Feb 29 '12 at 3:37

1 Answer

By default the new chapters are opening on the right hand page. Use the [openany] class option if that is not desired.

\documentclass[openany]{scrbook}

\usepackage[english]{babel}
\begin{document}
\chapter{Foo}
\chapter{Bar}
\end{document}

-
Thanks! I guess I'm too young to even consider that paper oddities such as two-side documents could play a role here. –  phihag Feb 29 '12 at 11:56
@phihag: Its not just a paper oddity. Yes that is where it originated, but online viewers that can show two pages side by side might still make use of this. –  Peter Grill Feb 29 '12 at 18:11