[Tex/LaTex] Inline subsubsection heading with KOMA

koma-scriptsectioning

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}
\chapter{A chapter heading}
\section{A section heading}
\subsection{A subsection heading}
\blindtext
\subsubsection{Inline subsubsection heading}
\blindtext
\subsubsection{Another inline subsubsection heading}
\blindtext
\end{document}

and a screenshot:

screenshot

Best Answer

With the latest version of KOMA-script, you can declare

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

MWE:

\documentclass{scrbook}

\usepackage{blindtext}

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

\begin{document}

\chapter{A chapter heading}
\section{A section heading}
\subsection{A subsection heading}
\blindtext
\subsubsection{Inline subsubsection heading.}
\blindtext
\subsubsection{Another inline subsubsection heading.}
\blindtext
\end{document} 

Output:

enter image description here