Skip to content

Commit

Permalink
fix: turn on AutoFakeBold and AutoFakeSlant in xeCJK.
Browse files Browse the repository at this point in the history
  • Loading branch information
fky2015 committed Mar 9, 2023
1 parent e66a264 commit 31ea67d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion bithesis.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -2294,8 +2294,9 @@
% \end{macrocode}
%
% 抑制 fontspec 宏包关于字体的警告信息。
% 手动开启伪粗体、伪斜体。
% \begin{macrocode}
\PassOptionsToPackage{quiet}{xeCJK}
\PassOptionsToPackage{quiet,AutoFakeBold,AutoFakeSlant}{xeCJK}
% \end{macrocode}
% 加载 ctexbook 模板类。
% \begin{macrocode}
Expand Down
2 changes: 1 addition & 1 deletion templates/graduate-thesis/bithesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@
\DeclareOption*{
\PassOptionsToClass{\l__bithesis_options_to_ctex_tl}{ctexbook}
}
\PassOptionsToPackage{quiet}{xeCJK}
\PassOptionsToPackage{quiet,AutoFakeBold,AutoFakeSlant}{xeCJK}
\ProcessOptions\relax
\LoadClass[zihao=-4,]{ctexbook}
\RequirePackage{geometry}
Expand Down
2 changes: 1 addition & 1 deletion templates/paper-translation/bithesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@
\DeclareOption*{
\PassOptionsToClass{\l__bithesis_options_to_ctex_tl}{ctexbook}
}
\PassOptionsToPackage{quiet}{xeCJK}
\PassOptionsToPackage{quiet,AutoFakeBold,AutoFakeSlant}{xeCJK}
\ProcessOptions\relax
\LoadClass[zihao=-4,]{ctexbook}
\RequirePackage{geometry}
Expand Down
2 changes: 1 addition & 1 deletion templates/undergraduate-thesis-en/bithesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@
\DeclareOption*{
\PassOptionsToClass{\l__bithesis_options_to_ctex_tl}{ctexbook}
}
\PassOptionsToPackage{quiet}{xeCJK}
\PassOptionsToPackage{quiet,AutoFakeBold,AutoFakeSlant}{xeCJK}
\ProcessOptions\relax
\LoadClass[zihao=-4,]{ctexbook}
\RequirePackage{geometry}
Expand Down
2 changes: 1 addition & 1 deletion templates/undergraduate-thesis/bithesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@
\DeclareOption*{
\PassOptionsToClass{\l__bithesis_options_to_ctex_tl}{ctexbook}
}
\PassOptionsToPackage{quiet}{xeCJK}
\PassOptionsToPackage{quiet,AutoFakeBold,AutoFakeSlant}{xeCJK}
\ProcessOptions\relax
\LoadClass[zihao=-4,]{ctexbook}
\RequirePackage{geometry}
Expand Down

0 comments on commit 31ea67d

Please sign in to comment.