%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% 标题、目录等设定 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ctexset{ % 修改 section文字样式, section={ name={,.},%编号和文字中间用.。 number={\arabic{section}},%编号形式:\arabic设置为阿拉伯数字,\chinese设置为中文,\roman设置为小写罗马字母,\Roman设置为大写罗马字母,\alph设置为小写英文,\Alph设置为大写英文。 format=\hm\bfseries\raggedright\zihao{4},%鸿蒙字体,小四号字,右对齐。 aftername=\hspace{5pt},%编号和标题的距离 % beforeskip=1ex,%标题与前文的距离 % afterskip=1ex,%标题与后文的距离 }, %修改subsection文字样式 subsection={ format=\hm\bfseries\raggedright\zihao{-4}, aftername=\hspace{5pt},%编号和标题的距离 }, %修改subsubsection文字样式 subsubsection={ format=\hm\bfseries\raggedright\zihao{5}, aftername=\hspace{5pt},%编号和标题的距离 } } %设置目录的显示样式 \renewcommand{\contentsname}{\begin{center} \normalsize \hm\zihao{4}\textbf{目录} \end{center}} \renewcommand{\listfigurename}{\begin{center} \normalsize \hm\zihao{4}\textbf{插图目录} \end{center}} \renewcommand{\listtablename}{{\begin{center} \normalsize \hm\zihao{4}\textbf{表格目录} \end{center}}} %给目录加上点 \renewcommand{\cftpartleader}{\cftdotfill{\cftdotsep}} % 给 parts 加点 %\renewcommand{\cftchapleader}{\cftdotfill{\cftdotsep}} % 给 chapters 加点 \renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}} % 给 sections加点