Skip to content

Commit 832c1fb

Browse files
refactor(UTE)!: 本科英文模板标题中的中文改为黑体,取消摘要标题加粗,与中文模板一致
1 parent 39a7093 commit 832c1fb

File tree

1 file changed

+7
-24
lines changed

1 file changed

+7
-24
lines changed

bithesis.dtx

+7-24
Original file line numberDiff line numberDiff line change
@@ -1343,8 +1343,10 @@
13431343
\cs_new:Npn \l_@@_title_font_cs:n #1 {
13441344
\@@_if_thesis_int_type:nTF {3}
13451345
{
1346-
\arialfamily #1
1346+
% 尽管是英文模板,但仍可能出现中文,因此需设置中文字体。
1347+
\heiti\arialfamily #1
13471348
} {
1349+
% 西文保持原本的 Times New Roman。黑体一般不搭配衬线体,但学校要求如此。
13481350
\heiti #1
13491351
}
13501352
}
@@ -2763,16 +2765,8 @@
27632765
}
27642766

27652767
\@@_if_bachelor_thesis:T {
2766-
\@@_if_thesis_int_type:nTF {3}
2767-
{
2768-
\ctexset{
2769-
chapter/titleformat = {\heiti}
2770-
}
2771-
}
2772-
{
2773-
\ctexset{
2774-
chapter/titleformat = {\textmd}
2775-
}
2768+
\ctexset{
2769+
chapter/titleformat = {\textmd}
27762770
}
27772771
}
27782772

@@ -2830,19 +2824,8 @@
28302824
}
28312825

28322826
\@@_if_bachelor_thesis:TF {
2833-
\@@_if_thesis_int_type:nTF {3}
2834-
{
2835-
\ctexset{
2836-
chapter = {
2837-
titleformat = {\heiti\zihao{3}\centering\textbf},
2838-
}
2839-
}
2840-
} {
2841-
\ctexset{
2842-
chapter = {
2843-
titleformat = {\heiti\zihao{-3}\centering\textmd},
2844-
}
2845-
}
2827+
\ctexset{
2828+
chapter/titleformat = {\zihao{-3}\textmd}
28462829
}
28472830
} {
28482831
\ctexset {

0 commit comments

Comments
 (0)