\newcommand{\setupHeader}{ \renewcommand{\baselinestretch}{1.25} \setlength{\parindent}{2em} \titleformat{\section}{\bfseries\heiti}{\thesection}{1em}{} \titlespacing*{\section}{0pt}{12pt}{6pt} \pagestyle{fancy} \setlength{\headheight}{14.5pt} % 建议值=基础值+2pt缓冲 \setlength{\headsep}{15pt} % 页眉与正文间距 \fancyhf{} \fancyhead[C]{\songti\zihao{5}中央民族大学大学生创新训练计划结题论文} \renewcommand{\headrulewidth}{1pt} % 页眉线粗细 \fancyfoot[C]{\thepage} }