아래 예에 표시된 대로 인라인 하위 섹션 제목을 원합니다. titlesec 패키지를 사용하면 쉽게 구현할 수 있지만이 스레드, KOMA와 titlesec 사이에 비호환성이 있습니다.
titlesec을 사용하지 않고 KOMA 클래스와 완벽하게 호환되는 솔루션이 있습니까?
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}
그리고 스크린샷:
답변1
최신 버전의 KOMA 스크립트를 사용하면 다음을 선언할 수 있습니다.
\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}
산출: