答案1
考虑使用提供 的report
(或)类,因为这就是图像中显示的内容。book
\chapter
以下最小示例提供了以下命令所需的级别:
\chapter
\section
\subsection
\subsubsection
\paragraph
\documentclass{report}
\usepackage{lipsum}
\setcounter{secnumdepth}{3}% Show sectional unit numbering up to level 3 (\subsubsection)
\makeatletter
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
{3.25ex \@plus1ex \@minus.2ex}%
{-1em}%
{\normalfont\normalsize\bfseries\textbullet\quad}}
\let\old@seccntformat\@seccntformat
\renewcommand{\@seccntformat}[1]{%
\csname the#1\endcsname
\ifnum\pdfstrcmp{#1}{subsubsection}=0 .\fi% Add period after \subsubsection number
\quad
}
\makeatother
\renewcommand{\thesubsubsection}{\alph{subsubsection}}% Update formatting of \subsubsection heading numbering
\begin{document}
\setcounter{chapter}{3}% Just for this example
\chapter{First level}
\lipsum[1][1]
\setcounter{section}{2}% Just for this example
\section{Second level}
\lipsum[1][2]
\setcounter{subsection}{5}% Just for this example
\subsection{Third level}
\lipsum[1][3]
\subsubsection{Fourth level}
\lipsum[1][4]
\paragraph{Fifth level}
\lipsum[1][5]
\end{document}