嗨,我似乎不知道如何增加章节标题的字体大小。我的代码如下
\titleformat{\chapter}[display]
{\normalfont\filleft}
{{\chapnamefont\chaptertitlename}%
\makebox[0pt][l]{\hspace{0.4em}%
\resizebox{!}{\beforechapskip}{\chapnumfont\thechapter}%
\hspace{.8em}%
\rule{\midchapskip}{\beforechapskip}%
}%
}%
{15pt}
{\chaptitlefont}
\titlespacing*{\chapter}
{0pt}{40pt}{40pt}