Skip to content

Commit 7ad372a

Browse files
committed
fix(GT): use pifont to provide \BigStar.
1 parent 250e259 commit 7ad372a

File tree

6 files changed

+25
-9
lines changed

6 files changed

+25
-9
lines changed

Diff for: bithesis.dtx

+8
Original file line numberDiff line numberDiff line change
@@ -3061,6 +3061,14 @@
30613061
% \end{macrocode}
30623062
% \end{macro}
30633063
%
3064+
% \begin{macro}{\BigStar}
3065+
% 提供密级选项中需要的五角星,在普通环境中使用。
3066+
% \begin{macrocode}
3067+
\DeclareDocumentCommand \BigStar { }
3068+
{ \ding{72} }
3069+
% \end{macrocode}
3070+
% \end{macro}
3071+
%
30643072
% \begin{environment}{blindPeerReview}
30653073
% 用于包裹涉及个人信息的内容。
30663074
%

Diff for: templates/graduate-thesis/bithesis.cls

+4-2
Original file line numberDiff line numberDiff line change
@@ -416,12 +416,12 @@
416416
\RequirePackage{multirow}
417417
\RequirePackage{tikz}
418418
\RequirePackage{etoolbox}
419-
\RequirePackage[hidelinks=true]{hyperref}
419+
\RequirePackage[hidelinks]{hyperref}
420420
\RequirePackage{xcolor}
421421
\RequirePackage{caption}
422422
\RequirePackage{array}
423423
\RequirePackage{amsmath}
424-
\RequirePackage{amssymb}
424+
\RequirePackage{pifont}
425425
\RequirePackage{amsthm}
426426
\RequirePackage{unicode-math}
427427
\RequirePackage{pdfpages}
@@ -1036,6 +1036,8 @@
10361036
}
10371037
\DeclareDocumentCommand \BITSetup { m }
10381038
{ \keys_set:nn { bithesis } { #1 }}
1039+
\DeclareDocumentCommand \BigStar { }
1040+
{ \ding{72} }
10391041
\NewDocumentEnvironment {blindPeerReview} {O{\c_true_bool} +b}
10401042
{
10411043
\bool_if:nTF {\g__bithesis_blind_mode_bool && #1} {} {

Diff for: templates/graduate-thesis/main.tex

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
keywords = {形状记忆;聚氨酯;织物;合成;应用\textcolor{blue}{(硕士一般选3~6个单词或专业术语,博士一般选3~8个单词或专业术语,且中英文关键词必须对应。)}},
5858
keywordsEn = shape memory properties; polyurethane; textile; synthesis; application,
5959
% 必要时置于封面右上角,并按照国家规定进行标记。
60-
% classifiedLevel = 密级 $\bigstar$ 保密期限,
60+
% classifiedLevel = 密级\BigStar 保密期限,
6161
},
6262
% 在目录页中不显示摘要和主要符号对照表的标题。
6363
TOC = {

Diff for: templates/paper-translation/bithesis.cls

+4-2
Original file line numberDiff line numberDiff line change
@@ -416,12 +416,12 @@
416416
\RequirePackage{multirow}
417417
\RequirePackage{tikz}
418418
\RequirePackage{etoolbox}
419-
\RequirePackage[hidelinks=true]{hyperref}
419+
\RequirePackage[hidelinks]{hyperref}
420420
\RequirePackage{xcolor}
421421
\RequirePackage{caption}
422422
\RequirePackage{array}
423423
\RequirePackage{amsmath}
424-
\RequirePackage{amssymb}
424+
\RequirePackage{pifont}
425425
\RequirePackage{amsthm}
426426
\RequirePackage{unicode-math}
427427
\RequirePackage{pdfpages}
@@ -1036,6 +1036,8 @@
10361036
}
10371037
\DeclareDocumentCommand \BITSetup { m }
10381038
{ \keys_set:nn { bithesis } { #1 }}
1039+
\DeclareDocumentCommand \BigStar { }
1040+
{ \ding{72} }
10391041
\NewDocumentEnvironment {blindPeerReview} {O{\c_true_bool} +b}
10401042
{
10411043
\bool_if:nTF {\g__bithesis_blind_mode_bool && #1} {} {

Diff for: templates/undergraduate-thesis-en/bithesis.cls

+4-2
Original file line numberDiff line numberDiff line change
@@ -416,12 +416,12 @@
416416
\RequirePackage{multirow}
417417
\RequirePackage{tikz}
418418
\RequirePackage{etoolbox}
419-
\RequirePackage[hidelinks=true]{hyperref}
419+
\RequirePackage[hidelinks]{hyperref}
420420
\RequirePackage{xcolor}
421421
\RequirePackage{caption}
422422
\RequirePackage{array}
423423
\RequirePackage{amsmath}
424-
\RequirePackage{amssymb}
424+
\RequirePackage{pifont}
425425
\RequirePackage{amsthm}
426426
\RequirePackage{unicode-math}
427427
\RequirePackage{pdfpages}
@@ -1036,6 +1036,8 @@
10361036
}
10371037
\DeclareDocumentCommand \BITSetup { m }
10381038
{ \keys_set:nn { bithesis } { #1 }}
1039+
\DeclareDocumentCommand \BigStar { }
1040+
{ \ding{72} }
10391041
\NewDocumentEnvironment {blindPeerReview} {O{\c_true_bool} +b}
10401042
{
10411043
\bool_if:nTF {\g__bithesis_blind_mode_bool && #1} {} {

Diff for: templates/undergraduate-thesis/bithesis.cls

+4-2
Original file line numberDiff line numberDiff line change
@@ -416,12 +416,12 @@
416416
\RequirePackage{multirow}
417417
\RequirePackage{tikz}
418418
\RequirePackage{etoolbox}
419-
\RequirePackage[hidelinks=true]{hyperref}
419+
\RequirePackage[hidelinks]{hyperref}
420420
\RequirePackage{xcolor}
421421
\RequirePackage{caption}
422422
\RequirePackage{array}
423423
\RequirePackage{amsmath}
424-
\RequirePackage{amssymb}
424+
\RequirePackage{pifont}
425425
\RequirePackage{amsthm}
426426
\RequirePackage{unicode-math}
427427
\RequirePackage{pdfpages}
@@ -1036,6 +1036,8 @@
10361036
}
10371037
\DeclareDocumentCommand \BITSetup { m }
10381038
{ \keys_set:nn { bithesis } { #1 }}
1039+
\DeclareDocumentCommand \BigStar { }
1040+
{ \ding{72} }
10391041
\NewDocumentEnvironment {blindPeerReview} {O{\c_true_bool} +b}
10401042
{
10411043
\bool_if:nTF {\g__bithesis_blind_mode_bool && #1} {} {

0 commit comments

Comments
 (0)