# Inline subsubsection heading with KOMA

I want inline subsubsection headings, as displayed in the example below. It is easy to realize them with the titlesec package, but according to this thread, there are incompatibilities between KOMA and titlesec.

Is there a solution which does not use titlesec and is fully compatible with the KOMA classes?

MWE:

\documentclass{scrbook}

\usepackage{blindtext}
\usepackage{titlesec}
\titleformat{\subsubsection}[runin]{\bfseries}{}{}{}[.]

\begin{document}
\blindtext
\blindtext
\blindtext
\end{document}


and a screenshot:

• Welcome to TeX.SX! Yes, there are incompatibilities between KOMA and titlesec, as written in the manual, but it's basically ignored ;-) – user31729 Feb 17 '15 at 10:51

\RedeclareSectionCommand[afterskip=-.5em]{subsubsection}


MWE:

\documentclass{scrbook}

\usepackage{blindtext}

\RedeclareSectionCommand[afterskip=-.5em]{subsubsection}

\begin{document}

\blindtext

• What does the style option do? I couldn't find a more specific description in scrguide and not using it doesn't change anything. – Juri Robl Feb 17 '15 at 12:20
• @JuriRobl style=section is the default, so you can omit it. I've edited the answer to reflect it. – karlkoeller Feb 17 '15 at 12:21