答案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}