standardsectioning
Re-implements the standard-class sectioning commands inside KOMA-Script classes — for compatibility with titlesec et al.
The package standardsectioning was originally created as a hack module of
the then KOMA-Script package scrhack, to fix an
issue that can occur when using third-party packages such as
titlesec together with KOMA-Script
classes.
A long time ago, KOMA-Script was more or less just a collection of replacement
classes for the three standard classes article, book, and report.
Replacing a standard class with a KOMA-Script class was straightforward even
when users loaded many additional packages. Over the years, many new features
and user interfaces have been added to the classes. This also led to a
completely different implementation of the sectioning commands. Some packages,
however, rely on an implementation that matches the standard classes.
standardsectioning implements those commands using the standard classes'
code and also disables parts of the KOMA-Script user interface that should
not be used together with these changes — essentially all commands for
configuring the sectioning commands. Several internal KOMA-Script macros are
also reset.
The package is part of the “Third Party Enhancements” hosted on GitHub. See the CTAN catalogue entry for more.