Skip to content

Commit

Permalink
删除过时的 chinese-jfm 判断 [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
tanukihee committed Jun 18, 2021
1 parent 2410c0e commit a0cb591
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions whu-thesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -373,8 +373,10 @@
% 图表标题设置
\RequirePackage [ labelsep = quad ] { caption } % 序号之后空一格写标题
% 设置表格标题字体为黑体, 设置图标题字体为宋体
\DeclareCaptionFont { whutablecap } { \heiti \addCJKfontfeatures { BoldFont = * } \bfseries \zihao { -4 } }
\DeclareCaptionFont { whufigurecap } { \songti \zihao { -4 } }
\DeclareCaptionFont { whutablecap }
{ \heiti \addCJKfontfeatures { BoldFont = * } \bfseries \zihao { -4 } }
\DeclareCaptionFont { whufigurecap }
{ \songti \zihao { -4 } }
\captionsetup [ table ]
{
name = 表,
Expand Down Expand Up @@ -532,17 +534,13 @@
\newCJKfontfamily { \fangsong } {#1} [#2]
\cs_new:Npn \__whu_set_spine_font:
{
\file_if_exist:nTF { jfm-zh_CN.lua }
{
\exp_not:N \setmainjfont {#1}
[
#2 , TateFeatures =
{
JFM = zh_CN / { \exp_not:o \g__whu_option_punct_tl , vert }
}
]
}
{ \exp_not:N \setmainjfont {#1} [#2] }
\exp_not:N \setmainjfont {#1}
[
#2 , TateFeatures =
{
JFM = zh_CN / { \exp_not:o \g__whu_option_punct_tl , vert }
}
]
}
}
\cs_new_protected:Npn \__whu_set_cjk_font_kai:nn #1#2
Expand Down

0 comments on commit a0cb591

Please sign in to comment.