请问硕士论文一级标题英文字体怎么修改 #197
Answered
by
note286
stellalaland
asked this question in
Q&A
-
硕士模版目录以及正文里的一级标题英文字体是黑体,怎么改成new roman呢🙏🏻 |
Beta Was this translation helpful? Give feedback.
Answered by
note286
Dec 31, 2024
Replies: 1 comment
-
首先要说明,无衬线中文字体和衬线英文字体混用是不合适的,目前xdtus的默认设置没有问题。 因此,并不建议进行你所述的设置,不过,仍然满足你,下面给出代码。 如果仅仅设置正文一级标题样式而目录不修改: \documentclass{xdupgthesis}
\AtBeginDocument{\ctexset{chapter/format+=\CJKfamily{sf}\CJKfamily-{rm}}}
\begin{document}
\chapter{测试test}
\end{document} 如果正文一级标题和目录均修改: \documentclass{xdupgthesis}
\AtBeginDocument{\ctexset{chapter/format+=\CJKfamily{sf}\CJKfamily-{rm}}}
\AtBeginDocument{\let\oldcftchapfont\cftchapfont\renewcommand{\cftchapfont}{\oldcftchapfont\CJKfamily{sf}\CJKfamily-{rm}}}
\begin{document}
\chapter{测试test}
\end{document} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
note286
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
首先要说明,无衬线中文字体和衬线英文字体混用是不合适的,目前xdtus的默认设置没有问题。
因此,并不建议进行你所述的设置,不过,仍然满足你,下面给出代码。
如果仅仅设置正文一级标题样式而目录不修改:
如果正文一级标题和目录均修改: