
答案1
我不知道如何在 LyX 中執行此操作,但請添加
\setcounter{secnumdepth}{4}
文檔序言完成了這項工作。
\documentclass{scrbook}
\usepackage{classicthesis}
\setcounter{secnumdepth}{4}
\begin{document}
\mainmatter
\chapter{A}
\section{B}
\subsection{C}
\subsubsection{D}
Is it numbered?
\end{document}
我實際使用的程式碼(有 titlesec 2.10.1)是
\documentclass{scrbook}
\usepackage{classicthesis}
\setcounter{secnumdepth}{4}
%% This is only necessary if you have titlesec
%% version 2.10.1 (released 2016/03/15).
%% Version 2.10.2 should fix the bug, which
%% doesn't affect older versions.
\usepackage{etoolbox}
\makeatletter
\patchcmd{\ttlh@hang}{\parindent\z@}{\parindent\z@\leavevmode}{}{}
\patchcmd{\ttlh@hang}{\noindent}{}{}{}
\makeatother
%% End of workaround
\begin{document}
\mainmatter
\chapter{A}
\section{B}
\subsection{C}
\subsubsection{D}
Is it numbered?
\end{document}