feat(GT): 适应2025年三月末新研究生模板 #605
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
To be squashed and merged.
升级指南
upgrade-files-53b8fce.zip
bithesis.cls
替换旧的bithesis.cls
。misc/icon_{academic,professional}.jpg
复制到旧的misc/
。main.tex
重新填写\BITSetup{ info = {…} }
:studentId
(用于封皮)、研究生类型degreeType
(学术型academic
、专业型professional
)。industrialMentor{,En}
。工程硕博士专项 = true
。开发说明
已知的未改内容
关于封皮,Word模板原来是两页竖A4,现在是一页横A3;LaTeX 没改,还是两页竖 A4。
这个好像是给打印店做制作黄色封皮用的,一般同学用不到,就先没改。
接口变化
\BITSetup
增加info/degreeType
,设置学术型(academic)或专业型(professional)\MakeCover
增加学号、学院,并更新样式\MakePaperBack
增加学术型/专业型图标\BITSetup
增加info/industrialMentor{,En}
,设置专业型的行业合作导师\BITSetup
增加info/工程硕博士专项
选项Resolves #603
内部的特别修改
新定义
\c_@@_auto_tl
,在\BITSetup
在\keys_set:
之后增加\@@_resolve_auto_values:
。这样最终作者直接设置的值,可以与\BITSetup
的结果不同,从而实现灵活默认值 auto。增加了
info/工程硕博士专项
这个非 ASCII 选项。因为这个词的英文翻译容易与“工学硕博士”混淆。