TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Using scrbook, I would like sections to open on a new odd page, like chapters do. How can I achieve that?

share|improve this question
up vote 6 down vote accepted

Just add \cleardoublepage to the action of \section.

No packages:




Note: the \section command has (in the standard classes and also in the KoMa-script classes) a definition without arguments. The arguments are absorbed by other macros called by it.

If you want to respect the openany or openright option, then \cleardoublepage is not the correct command. Thus


should be used.

The "no package" version of this one might be

\long\edef\section{\the\toks0 \the\toks2 }
share|improve this answer
“Note: the \section command has … in the KoMa-script [sic!] … a definition without arguments.” That’s not fully true anymore since KOMA-Script version 3.10: With some options for the class key headings in the optional argument of all heading commands the keys head and tocentry are possible. Or did I misunderstand? – Speravir Sep 18 '12 at 21:58
@Speravir The "user level" syntax for \section shows an optional argument; but the real implementation is always of the form \newcommand\section{\@startsection{...}...}: the optional argument (or the *-version) is absorbed by \@startsection or better, to go into more depth, by \@sect. – egreg Sep 18 '12 at 22:07
OK, thanks for clarification. – Speravir Sep 18 '12 at 22:18
@egreg Suppose I've defined \section{Appendix}, taking into account that "the \section command has ... a definition without arguments" how can I make the following command work: \preto{\section{Appendix}}{\setcounter{secnumdepth{0}}?. (I'm using the article class). – petobens May 30 '13 at 16:03
There is a typo en my previous comment, it should read: \preto{\section{Appendix}}{\setcounter{secnumdepth}{0}}. – petobens May 30 '13 at 16:12

You can redefine \section to add \cleardoublepage or \clearpage (depending on whether openright or openany is active) so as to behave as \chapter:


  {-3.5ex \@plus -1ex \@minus -.2ex}%
  {2.3ex \@plus.2ex}%
  {\setlength{\parfillskip}{\z@ \@plus 1fil}%

\section{Test Section One}
\section{Test Section Two}

share|improve this answer
This one is quite interesting, as it mimicks the behavior set for chapter. I like that. – ℝaphink Sep 18 '12 at 14:29
@ℝaphink egreg has added the same in his edited answer. – Gonzalo Medina Sep 18 '12 at 14:32
Yes. I chose his answer because it's got several options. – ℝaphink Sep 18 '12 at 15:12
share|improve this answer
Quite straightforward… – ℝaphink Sep 18 '12 at 14:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.