Latex scrreprt 重新定义小节
Latex scrreprt redefine subsubsection
如何解决这个问题:我用scrreprt
建一个阐述。在这里我使用 subsubsection
。我想在论文中对其进行编号,但在目录中看不到它。目前它不在目录中(那很好),但在论文中它没有编号(如 3.1.1.1)。这个怎么做?
要启用小节编号,请在序言中添加 \setcounter{secnumdepth}{3}
。
\documentclass{scrreprt}
\setcounter{secnumdepth}{3}
\begin{document}
\tableofcontents
\chapter{Chapter}
\section{Section}
\subsection{Sub Section}
\subsubsection{Sub Sub Section}
\end{document}
您可以使用以下方法向 TOC 添加小节:\setcounter{tocdepth}{3}
如何解决这个问题:我用scrreprt
建一个阐述。在这里我使用 subsubsection
。我想在论文中对其进行编号,但在目录中看不到它。目前它不在目录中(那很好),但在论文中它没有编号(如 3.1.1.1)。这个怎么做?
要启用小节编号,请在序言中添加 \setcounter{secnumdepth}{3}
。
\documentclass{scrreprt}
\setcounter{secnumdepth}{3}
\begin{document}
\tableofcontents
\chapter{Chapter}
\section{Section}
\subsection{Sub Section}
\subsubsection{Sub Sub Section}
\end{document}
您可以使用以下方法向 TOC 添加小节:\setcounter{tocdepth}{3}