Skip to content

Commit

Permalink
删除 \sisetup, fix #65
Browse files Browse the repository at this point in the history
删除对 chinese-jfm 的判断
  • Loading branch information
tanukihee committed May 20, 2021
1 parent e8bb700 commit d082ada
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 19 deletions.
14 changes: 11 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@

## 未发布

## v0.6d

### 删除

* 删除 `\sisetup` 的设置。[#65]

* 删除对 chinese-jfm 的判断。

### 修复

* 修复本科与开题报告下 fancyhdr 的警告。[#58]
Expand Down Expand Up @@ -32,16 +40,16 @@

### 新增

* 增加 `termes``newtx` 的字体设置
* 增加 `termes``newtx` 的字体设置

### 变更

* 将 natbib 下的作者—年份引用的标点改为西文标点,与 biblatex 统一[#46]
* 将 natbib 下的作者—年份引用的标点改为西文标点,与 biblatex 统一[#46]

### 修复

* 修复目录中的圆点消失问题。

## v0.6

第一个发布版本,开始撰写修改记录
第一个发布版本,开始撰写修改记录
Binary file modified whu-thesis-demo-spine.pdf
Binary file not shown.
Binary file modified whu-thesis-demo.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion whu-thesis-demo.tex
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
major = {专业名称},
advisor = {教师姓名 , 职称},
direction = {研究方向},
% date = {2021/4},
% date = {2021/5},
keywords = {关键词 1 , 关键词 2 , 关键词 3 , 关键词 4 , 一个非常非常,非常非常长——的关键词 5},
keywords* = {key word 1 , key word 2 , key word 3 , key word 4 , {and a very very, very very long key word---the key word 5}},
},
Expand Down
18 changes: 3 additions & 15 deletions whu-thesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3 , xparse , l3keys2e}
\ProvidesExplClass{whu-thesis}{2021/04/15}{0.6c}
\ProvidesExplClass{whu-thesis}{2021/05/20}{0.6d}
{Wuhan University Thesis Template}

\msg_new:nnn { whu-thesis } { 引擎不支持 }
Expand Down Expand Up @@ -112,15 +112,8 @@

\sys_if_engine_luatex:TF
{
\file_if_exist:nTF { jfm-zh_CN.lua }
{
\clist_gput_right:Nn \g__whu_option_to_class_clist
{ punct = zh_CN / \g__whu_option_punct_tl }
}
{
\clist_gput_right:Nn \g__whu_option_to_class_clist
{ punct = \g__whu_option_punct_tl }
}
\clist_gput_right:Nn \g__whu_option_to_class_clist
{ punct = zh_CN / \g__whu_option_punct_tl }
}
{
\clist_gput_right:Nn \g__whu_option_to_class_clist
Expand Down Expand Up @@ -198,11 +191,6 @@

\RequirePackage { physics }
\RequirePackage { siunitx }
\sisetup
{
detect-all,
group-digits = false
}

\RequirePackage { algorithm2e } % 算法代码
\tl_set:Nn \algorithmcfname { 算法 }
Expand Down

0 comments on commit d082ada

Please sign in to comment.