Skip to content

Commit

Permalink
fix(UTE): 本科英文模板也应支持const/info/major
Browse files Browse the repository at this point in the history
原先只支持中文模板。

Relates-to: #496
  • Loading branch information
YDX-2147483647 committed Jul 8, 2024
1 parent 1272227 commit 10605ee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bithesis.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -2490,7 +2490,7 @@

\clist_set:Nn \l_@@_input_clist {
{\c_@@_label_school_en_tl} {\l_@@_value_school_tl},
{\c_@@_label_major_en_tl} {\l_@@_value_major_tl},
{\g_@@_const_info_major_tl} {\l_@@_value_major_tl},
{\c_@@_label_author_en_tl} {\l_@@_value_author_tl},
{\c_@@_label_student_id_en_tl} {\l_@@_value_student_id_tl},
{\c_@@_label_supervisor_en_tl} {\l_@@_value_supervisor_tl},
Expand Down
5 changes: 5 additions & 0 deletions templates/undergraduate-thesis-en/main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@
% 微调表格行间距
tabularRowSeparation = 1.25,
},
const = {
% 有些专业名带上“Bachelor of…”太长,学院可能建议把 degree 改成 major。
% 若要将封面的“Degree:”改为“Major:”,请解除下一行的注释。
% info/major = {Major},
},
}

% 使用 listings 宏包进行代码块使用,并使用了预定义的样式,
Expand Down

0 comments on commit 10605ee

Please sign in to comment.