我试图使标题 CHAPTER 1 居中对齐,章节标题向左对齐。
\titleformat{\chapter}[display]
{\large\bfseries}{\filcenter\chaptertitlename\ \thechapter}
{20pt}{\MakeUppercase{#1}}
\titlespacing*{\chapter}
{0pt}{0pt}{20pt} %controls vertical margins on title
Run Code Online (Sandbox Code Playgroud)
但是,那么我怎样才能改变字体大小呢?也就是说,例如,我需要比标题“介绍”更小的“第 1 章”。
latex ×1