Skip to content

Commit e43a008

Browse files
refactor: 统一使用\@@_if_thesis_int_type:nTF
1 parent 3f5f938 commit e43a008

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bithesis.dtx

+3-3
Original file line numberDiff line numberDiff line change
@@ -1341,7 +1341,7 @@
13411341
% 定义标题字体。
13421342
% \begin{macrocode}
13431343
\cs_new:Npn \l_@@_title_font_cs:n #1 {
1344-
\int_compare:nNnTF {\g_@@_thesis_type_int} = {3}
1344+
\@@_if_thesis_int_type:nTF {3}
13451345
{
13461346
\arialfamily #1
13471347
} {
@@ -2763,7 +2763,7 @@
27632763
}
27642764

27652765
\@@_if_bachelor_thesis:T {
2766-
\int_compare:nNnTF {\g_@@_thesis_type_int} = {3}
2766+
\@@_if_thesis_int_type:nTF {3}
27672767
{
27682768
\ctexset{
27692769
chapter/titleformat = {\heiti}
@@ -2833,7 +2833,7 @@
28332833
}
28342834

28352835
\@@_if_bachelor_thesis:TF {
2836-
\int_compare:nNnTF {\g_@@_thesis_type_int} = {3}
2836+
\@@_if_thesis_int_type:nTF {3}
28372837
{
28382838
\ctexset{
28392839
chapter = {

0 commit comments

Comments
 (0)