File tree 5 files changed +31
-5
lines changed
5 files changed +31
-5
lines changed Original file line number Diff line number Diff line change 520
520
% \end{latex}
521
521
% \end{function}
522
522
%
523
+ % \begin{function}[added=2023-03-10]{autoFakeBold}
524
+ % \begin{bitsyntax}[emph={[1]autoFakeBold}]
525
+ % autoFakeBold = (*<(3)|false|{数字}>*)
526
+ % \end{bitsyntax}
527
+ %
528
+ % 该选项用于调整 \cls{xeCJK} 中 |AutoFakeBold| 选项以定义伪粗体的粗细程度。
529
+ %
530
+ % 默认为 3,一般按照经验来说,2.5——3 比较符合 Words 中的粗体样式。
531
+ %
532
+ % \end{function}
533
+ %
523
534
% \subsection{参数设置}
524
535
%
525
536
% \begin{function}{\BITSetup}
2091
2102
blindPeerReview .bool_gset:N = \g _@@_blind_mode_bool,
2092
2103
ctex .tl_set:N = \l _@@_options_to_ctex_tl,
2093
2104
quirks .bool_gset:N = \g _@@_quirks_mode_bool,
2105
+ % xeCJK
2106
+ autoFakeBold .tl_set:N = \g _@@_auto_fake_bold_tl,
2107
+ autoFakeBold .initial:n = {3},
2094
2108
}
2095
2109
% \end{macrocode}
2096
2110
%
2296
2310
% 抑制 fontspec 宏包关于字体的警告信息。
2297
2311
% 手动开启伪粗体、伪斜体。
2298
2312
% \begin{macrocode}
2299
- \PassOptionsToPackage {quiet,AutoFakeBold,AutoFakeSlant}{xeCJK}
2313
+ \PassOptionsToPackage {quiet,AutoFakeBold= \g _@@_auto_fake_bold_tl ,AutoFakeSlant}{xeCJK}
2300
2314
% \end{macrocode}
2301
2315
% 加载 ctexbook 模板类。
2302
2316
% \begin{macrocode}
Original file line number Diff line number Diff line change 262
262
blindPeerReview .bool_gset:N = \g __bithesis_blind_mode_bool,
263
263
ctex .tl_set:N = \l __bithesis_options_to_ctex_tl,
264
264
quirks .bool_gset:N = \g __bithesis_quirks_mode_bool,
265
+ % xeCJK
266
+ autoFakeBold .tl_set:N = \g __bithesis_auto_fake_bold_tl,
267
+ autoFakeBold .initial:n = {3},
265
268
}
266
269
\keys _define:nn { bithesis / cover }
267
270
{
414
417
\DeclareOption *{
415
418
\PassOptionsToClass {\l __bithesis_options_to_ctex_tl}{ctexbook}
416
419
}
417
- \PassOptionsToPackage {quiet,AutoFakeBold,AutoFakeSlant}{xeCJK}
420
+ \PassOptionsToPackage {quiet,AutoFakeBold= \g __bithesis_auto_fake_bold_tl ,AutoFakeSlant}{xeCJK}
418
421
\ProcessOptions\relax
419
422
\LoadClass [zihao=-4,]{ctexbook}
420
423
\RequirePackage {geometry}
Original file line number Diff line number Diff line change 262
262
blindPeerReview .bool_gset:N = \g __bithesis_blind_mode_bool,
263
263
ctex .tl_set:N = \l __bithesis_options_to_ctex_tl,
264
264
quirks .bool_gset:N = \g __bithesis_quirks_mode_bool,
265
+ % xeCJK
266
+ autoFakeBold .tl_set:N = \g __bithesis_auto_fake_bold_tl,
267
+ autoFakeBold .initial:n = {3},
265
268
}
266
269
\keys _define:nn { bithesis / cover }
267
270
{
414
417
\DeclareOption *{
415
418
\PassOptionsToClass {\l __bithesis_options_to_ctex_tl}{ctexbook}
416
419
}
417
- \PassOptionsToPackage {quiet,AutoFakeBold,AutoFakeSlant}{xeCJK}
420
+ \PassOptionsToPackage {quiet,AutoFakeBold= \g __bithesis_auto_fake_bold_tl ,AutoFakeSlant}{xeCJK}
418
421
\ProcessOptions\relax
419
422
\LoadClass [zihao=-4,]{ctexbook}
420
423
\RequirePackage {geometry}
Original file line number Diff line number Diff line change 262
262
blindPeerReview .bool_gset:N = \g __bithesis_blind_mode_bool,
263
263
ctex .tl_set:N = \l __bithesis_options_to_ctex_tl,
264
264
quirks .bool_gset:N = \g __bithesis_quirks_mode_bool,
265
+ % xeCJK
266
+ autoFakeBold .tl_set:N = \g __bithesis_auto_fake_bold_tl,
267
+ autoFakeBold .initial:n = {3},
265
268
}
266
269
\keys _define:nn { bithesis / cover }
267
270
{
414
417
\DeclareOption *{
415
418
\PassOptionsToClass {\l __bithesis_options_to_ctex_tl}{ctexbook}
416
419
}
417
- \PassOptionsToPackage {quiet,AutoFakeBold,AutoFakeSlant}{xeCJK}
420
+ \PassOptionsToPackage {quiet,AutoFakeBold= \g __bithesis_auto_fake_bold_tl ,AutoFakeSlant}{xeCJK}
418
421
\ProcessOptions\relax
419
422
\LoadClass [zihao=-4,]{ctexbook}
420
423
\RequirePackage {geometry}
Original file line number Diff line number Diff line change 262
262
blindPeerReview .bool_gset:N = \g __bithesis_blind_mode_bool,
263
263
ctex .tl_set:N = \l __bithesis_options_to_ctex_tl,
264
264
quirks .bool_gset:N = \g __bithesis_quirks_mode_bool,
265
+ % xeCJK
266
+ autoFakeBold .tl_set:N = \g __bithesis_auto_fake_bold_tl,
267
+ autoFakeBold .initial:n = {3},
265
268
}
266
269
\keys _define:nn { bithesis / cover }
267
270
{
414
417
\DeclareOption *{
415
418
\PassOptionsToClass {\l __bithesis_options_to_ctex_tl}{ctexbook}
416
419
}
417
- \PassOptionsToPackage {quiet,AutoFakeBold,AutoFakeSlant}{xeCJK}
420
+ \PassOptionsToPackage {quiet,AutoFakeBold= \g __bithesis_auto_fake_bold_tl ,AutoFakeSlant}{xeCJK}
418
421
\ProcessOptions\relax
419
422
\LoadClass [zihao=-4,]{ctexbook}
420
423
\RequirePackage {geometry}
You can’t perform that action at this time.
0 commit comments