答案1
计数器secnumdepth
控制着编号部分级别的数目:
\documentclass[12pt]{report}
% -1: part
% 0: chapter
% 1: section
% 2: subsection
% 3: subsubsection
% 4: paragraph
% 5: subparagraph
\setcounter{secnumdepth}{3}
\begin{document}
\chapter{the name of chapter}
\section{section test}
\subsection{subsection test}
\subsubsection{subsubsection test}
\end{document}
\end{document}