My problem is that I need to start new chapters on the same page if there is still space available. I use the scrbook class.
As far as I see I have two solutions.
1. Change the class, i.e. to scrarticle and lose out on having chapters
2. adding selectively:

\chapter{My Chapter}

or I can do the same for the whole document with:


But if I do this Latex is all fact up and kind of ignores its nice visual pleasing features, see the picture. I need to mention that I use for each chapter and their sections a new latex file, while adding them with \input into a main document.

What am I doing wrong. If I need to resort to manually adding spaces at the end of the last chapter, how much vertical space should I add?

I problem

  • 1
    Related: tex.stackexchange.com/a/457713 There are two suggestions: style=section for the \chapter command and alternatively the declaration of a new sectioning command.
    – esdd
    Aug 12 '19 at 16:06

Technically no problem:





\chapter{First chapter}


\chapter{Second chapter}



But why? A chapter is more or less by definition a section of a text that starts on a new page.

If you only need to add more levels under section, subsection, subsub... you may add as much levels as you need, see \DeclareNewSectionCommandin the KOMA-script manual.

  • 1
    I have been looking for a solution for hours. Only thing that worked for me...
    – Erdem Tuna
    Mar 21 at 20:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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