KOMA-Script Wiki (English)
KOMA-Script is a bundle of versatile LaTeX classes and packages
Brought to you by:
kohm
\subsection and \subsubsection as a so called run-in headline that introduces the paragraph instead of a free-standing headlineBy default, the headings of \subsection and \subsubsection in the KOMA-Script classes are output as free-standing headings above the following paragraph, as in the standard classes. Only the headings of \paragraph and \subparagraph are formatted as so-called run-in headline. This means that these headings do not appear as separate lines above the following section, but as an introduction at the beginning of the section. If you already want to format the headings of \subsection and \subsubsection as run-in headline, this is very easy with the help of \RedeclareSectionCommand:
\documentclass{scrartcl}
\usepackage{mwe}
\RedeclareSectionCommands[runin=true]{subsection,subsubsection}
\begin{document}
\blinddocument
\end{document}