summaryrefslogtreecommitdiff
path: root/macros/unicodetex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-04-07 03:01:17 +0000
committerNorbert Preining <norbert@preining.info>2024-04-07 03:01:17 +0000
commit8b8ca487806f0f30fc532309d920767c745b568d (patch)
tree1604dc9a44a3f42cfee4057bb579d2c543c8e9ec /macros/unicodetex
parentf575848b7516a7012346378e3d5fbf357ed14f0b (diff)
CTAN sync 202404070301
Diffstat (limited to 'macros/unicodetex')
-rw-r--r--macros/unicodetex/latex/bithesis/bithesis.dtx80
-rw-r--r--macros/unicodetex/latex/bithesis/bithesis.pdfbin734850 -> 736315 bytes
2 files changed, 56 insertions, 24 deletions
diff --git a/macros/unicodetex/latex/bithesis/bithesis.dtx b/macros/unicodetex/latex/bithesis/bithesis.dtx
index 31ac72566f..a619d4a954 100644
--- a/macros/unicodetex/latex/bithesis/bithesis.dtx
+++ b/macros/unicodetex/latex/bithesis/bithesis.dtx
@@ -21,10 +21,10 @@
%<thesis>\ProvidesExplClass{bithesis}
%<report>\ProvidesExplClass{bitreport}
%<beamer>\ProvidesExplClass{bitbeamer}
-%<cls>{2024-03-26}{3.7.1}{BIT Thesis Templates}
+%<cls>{2024-04-06}{3.7.1}{BIT Thesis Templates}
%
%<*driver>
-\ProvidesFile{bithesis.dtx}[2024/03/26 3.7.1 BIT Thesis Templates]
+\ProvidesFile{bithesis.dtx}[2024/04/06 3.7.2 BIT Thesis Templates]
\documentclass[letterpaper]{l3doc}
\usepackage{dtx-style}
@@ -287,14 +287,36 @@
% \end{macrocode}
% \end{macro}
%
+% \begin{macro}{\boxempty:}
+% 空的选框。
+% \begin{macrocode}
+\cs_new:Npn \boxempty:
+{
+ \makebox[1em][l]
+ {
+ % 为保证与打了勾的一致,也需套盒子
+ \makebox[0pt][l]
+ {
+ % 默认比基线略高,向下降降
+ \raisebox{-1pt}{$\square$}
+ }
+ }
+}
+% \end{macrocode}
+% \end{macro}
+%
% \begin{macro}{\boxcheck:}
-% 标签文字之间的间距。
+% 打了勾的选框。
% \begin{macrocode}
\cs_new:Npn \boxcheck:
{
\makebox[1em][l]
{
- \makebox[1pt][l]{$\boxempty$}
+ \makebox[0pt][l]
+ {
+ % 默认比基线略高,向下降降
+ \raisebox{-1pt}{$\square$}
+ }
$\checkmark$
}
}
@@ -405,11 +427,11 @@
{
{originality} {研究成果声明},
{originality_clause} {本人郑重声明:所提交的学位论文是我本人在指导教师的指导下独立完成的研究成果。文中所撰写内容符合以下学术规范(请勾选):
-\par $\boxcheck:$ 论文综述遵循“适当引用”的规范,全部引用的内容不超过50\%。
-\par 论文中的研究数据及结果不存在篡改、剽窃、抄袭、伪造等学术不端行为,并愿意承担因学术不端行为所带来的一切后果和法律责任。
-\par $\boxcheck:$文中依法引用他人的成果,均已做出明确标注或得到许可。
-\par $\boxcheck:$论文内容未包含法律意义上已属于他人的任何形式的研究成果,也不包含本人已用于其他学位申请的论文或成果。
-\par $\boxcheck:$与本人一同工作的合作者对此研究工作所做的任何贡献均已在学位论文中作了明确的说明并表示了谢意。
+\par \boxcheck:\hspace{0.5em} 论文综述遵循“适当引用”的规范,全部引用的内容不超过50\%。
+\par \boxcheck:\hspace{0.5em} 论文中的研究数据及结果不存在篡改、剽窃、抄袭、伪造等学术不端行为,并愿意承担因学术不端行为所带来的一切后果和法律责任。
+\par \boxcheck:\hspace{0.5em} 文中依法引用他人的成果,均已做出明确标注或得到许可。
+\par \boxcheck:\hspace{0.5em} 论文内容未包含法律意义上已属于他人的任何形式的研究成果,也不包含本人已用于其他学位申请的论文或成果。
+\par \boxcheck:\hspace{0.5em} 与本人一同工作的合作者对此研究工作所做的任何贡献均已在学位论文中作了明确的说明并表示了谢意。
\par~特此声明。},
{authorization} {关于学位论文使用权的说明},
{authorization_clause} {本人完全了解北京理工大学有关保管、使用学位论文的规定,其中包括:
@@ -803,6 +825,8 @@
mathAboveDisplaySkip .initial:n = {3pt},
mathBelowDisplaySkip .dim_set:N = \l_@@_style_math_below_display_skip_dim,
mathBelowDisplaySkip .initial:n = {3pt},
+ betterTimesNewRoman .bool_set:N = \l_@@_style_better_new_roman_bool,
+ betterTimesNewRoman .initial:n = {false},
}
% \end{macrocode}
%
@@ -931,7 +955,6 @@
\RequirePackage{listings}
\RequirePackage{enumitem}
\RequirePackage{fmtcount}
-\RequirePackage{stmaryrd}
% \end{macrocode}
%
% 抑制 \pkg{hyperref} 中对 |\hskip| 的 warning 信息。
@@ -991,8 +1014,22 @@
% 设置 Times New Roman 字体。
% 根据学校规范要求,默认情况下也使用 Times New Roman 字体。
% \begin{macrocode}
-\setmainfont{Times~New~Roman}
-\setromanfont{Times~New~Roman}
+\ctex_at_end_preamble:n {
+ \bool_if:NTF \l_@@_style_better_new_roman_bool {
+ \defaultfontfeatures[TeX~Gyre~Termes]
+ {
+ Extension = .otf ,
+ UprightFont = texgyretermes-regular,
+ BoldFont = texgyretermes-bold,
+ ItalicFont = texgyretermes-italic,
+ BoldItalicFont = texgyretermes-bolditalic,
+ }
+ \setmainfont{TeX~Gyre~Termes}
+ }{
+ \setmainfont{Times~New~Roman}
+ \setromanfont{Times~New~Roman}
+ }
+}
% \end{macrocode}
%
% \begin{macro}{\@@_font_path:}
@@ -1858,22 +1895,17 @@
\heiti \zihao{-4}
\scalebox{1.1}\BigStar{}\hspace{4pt} \c_@@_label_special_type_tl\\
- \makebox[1em][l]
{
- \makebox[1pt][l]{\zihao{4}$\boxempty$}
- \bool_if:NT \l_@@_value_cross_research_bool {
- $\checkmark$
- }
+ \zihao{4}
+ \bool_if:NTF \l_@@_value_cross_research_bool {\boxcheck:} {\boxempty:}
}
- \hspace{3pt}\c_@@_label_cross_research_tl\\
- \makebox[1em][l]
+ \hspace{1pt}\c_@@_label_cross_research_tl\\
+
{
- \makebox[1pt][l]{\zihao{4}$\boxempty$}
- \bool_if:NT \l_@@_value_international_student_ugp_bool {
- $\checkmark$
- }
+ \zihao{4}
+ \bool_if:NTF \l_@@_value_international_student_ugp_bool {\boxcheck:} {\boxempty:}
}
- \hspace{3pt}\c_@@_label_international_student_ugp_tl
+ \hspace{1pt}\c_@@_label_international_student_ugp_tl
\end{minipage}
}
\end{flushright}
diff --git a/macros/unicodetex/latex/bithesis/bithesis.pdf b/macros/unicodetex/latex/bithesis/bithesis.pdf
index 1e83f4ec2f..ecffd7bddd 100644
--- a/macros/unicodetex/latex/bithesis/bithesis.pdf
+++ b/macros/unicodetex/latex/bithesis/bithesis.pdf
Binary files differ