Skip to content

Commit

Permalink
refactor(UTE)!: 本科英文模板标题中的中文改为黑体,取消摘要标题加粗,与中文模板一致
Browse files Browse the repository at this point in the history
  • Loading branch information
YDX-2147483647 committed Jul 9, 2024
1 parent 0a298a3 commit 8f758cf
Showing 1 changed file with 7 additions and 24 deletions.
31 changes: 7 additions & 24 deletions bithesis.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -1343,8 +1343,10 @@
\cs_new:Npn \l_@@_title_font_cs:n #1 {
\@@_if_thesis_int_type:nTF {3}
{
\arialfamily #1
% 尽管是英文模板,但仍可能出现中文,因此需设置中文字体。
\heiti\arialfamily #1
} {
% 西文保持原本的 Times New Roman。黑体一般不搭配衬线体,但学校要求如此。
\heiti #1
}
}
Expand Down Expand Up @@ -2763,16 +2765,8 @@
}

\@@_if_bachelor_thesis:T {
\@@_if_thesis_int_type:nTF {3}
{
\ctexset{
chapter/titleformat = {\heiti}
}
}
{
\ctexset{
chapter/titleformat = {\textmd}
}
\ctexset{
chapter/titleformat = {\textmd}
}
}

Expand Down Expand Up @@ -2830,19 +2824,8 @@
}

\@@_if_bachelor_thesis:TF {
\@@_if_thesis_int_type:nTF {3}
{
\ctexset{
chapter = {
titleformat = {\heiti\zihao{3}\centering\textbf},
}
}
} {
\ctexset{
chapter = {
titleformat = {\heiti\zihao{-3}\centering\textmd},
}
}
\ctexset{
chapter/titleformat = {\zihao{-3}\textmd}
}
} {
\ctexset {
Expand Down

0 comments on commit 8f758cf

Please sign in to comment.