2

This document throws an error Package scrbase Error: unknown option 'runin=false'.

scrbase.sty indicates this is KOMA-Script version 2026/02/02 v3.49.2 KOMA-Script.

\documentclass{scrreport}

\RedeclareSectionCommand[
    beforeskip=1sp,%
    afterskip=-1sp,%
    runin=false%
]{chapter}

\begin{document}
\chapter{A Chapter}
Chapter text.
\section{A section}
Section text.
\end{document}

My understanding is, this option should be allowed as used in this M(N)WE.


Using up-to-date TeX-live on MacOS (Mx) if it matters...

2
  • Looking at the manual, tables 20.1 to 20.3 (pages 462 to 464), it seems the runin option is only available for section, not chapter. What is the expected output? Commented 10 hours ago
  • 1
    @jlab Many thanks. You made my day! I tried to reduce the spacing between chapter / section titles and text. I now separated my changes into two commands, where runin applies only to section and "below"... and surprisingly it works :) Commented 8 hours ago

1 Answer 1

2

The runin option is documented in the table 20.2. of the KOMA-Script manual: Additional keys and values for attributes when declaring a sectioning command with the section style: it is only available for \section, not for \chapter.

Simply remove runin=false, the runin option is useless for chapter (by default, there is always a new paragraph after \chapter).

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.