File tree 2 files changed +13
-3
lines changed
2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 12
12
13
13
* 添加 ` none ` 的字体设置。[ #72 ]
14
14
15
+ ## v0.6e
16
+
17
+ ### Fixed
18
+
19
+ - 修复` \mathcal ` 和 ` \mathscr ` 的问题 ([ #125 ] ( https://github.com/whutug/whu-thesis/issues/125 ) )
20
+
15
21
## v0.6d
16
22
17
23
### 删除
Original file line number Diff line number Diff line change 11
11
\ProvidesExplClass {whu-thesis}{2021/05/20}{0.6d}
12
12
{Wuhan University Thesis Template}
13
13
14
+ % TODO 引擎处理修改为英文
14
15
\msg _new:nnn { whu-thesis } { 引擎不支持 }
15
16
{
16
17
whu-thesis ~ 不支持 ~ #1 ~ 引擎。\\\\
95
96
}
96
97
\ProcessKeysOptions { whu / option }
97
98
99
+ % TODO 直接改为 keys_set
98
100
\tl _if_eq:NnT \g __whu_option_type_tl { master }
99
101
{
100
102
\keys _define:nn { whu / option }
119
121
\clist _gput_right:Nn \g __whu_option_to_class_clist
120
122
{ punct = \g __whu_option_punct_tl }
121
123
}
122
- % 判断是否有 chinese-jfm,若有则使用 chinese-jfm
124
+
123
125
124
126
\sys _if_engine_xetex:T { \RequirePackage { etoolbox } }
125
127
% 在载入文档类之前引入 etoolbox
634
636
% 数学字体
635
637
\cs _new_protected:Npn \_ _whu_set_math_font_xits:
636
638
{
637
- \setmathfont { XITSMath-Regular.otf }
638
- [ BoldFont = XITSMath-Bold.otf ]
639
+ % \setmathfont { XITSMath-Regular.otf }
640
+ % [ BoldFont = XITSMath-Bold.otf ]
641
+ \setmathfont {STIXTwoMath-Regular.otf}
642
+ \setmathfont {STIXTwoMath-Regular.otf}[range={scr,bfscr},StylisticSet=01]
639
643
}
640
644
641
645
\cs _new_protected:Npn \_ _whu_set_math_font_termes:
You can’t perform that action at this time.
0 commit comments