遇到的问题:
如图,section标题标号与内容文字之间有1em的间隔。
原代码:
修改后:
\renewcommand\thesection{\zhnum{section}}
\titleformat{\section}{\heiti \Large \centering }{\thesection、}{0em}{}
%要先添加\usepackage{titlesec}
所用命令:
\titleformat{<command>}[<shape>]{<format>}{<label>}{<sep>}{<before-code>}[<after-code>]
其中shape默认,{<format>}、{<label>}、{<sep>}对应{\heiti \Large \centering }、{\thesection、}、{0em}