Skip to content

Commit

Permalink
fix error by bicaption change
Browse files Browse the repository at this point in the history
  • Loading branch information
HuangruiMo committed Jan 9, 2020
1 parent 38ab022 commit b661eef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@

## 重要通知

* `2019-10-21` 模板样式进行了修改,请查看下面的修改描述,以决定是否需要更新。
* `2020-01-09` 模板样式进行了修改,请查看下面的修改描述,以决定是否需要更新。

## 更新记录

* `2020-01-09` 根据 [NineSH, issue #223](https://github.com/mohuangrui/ucasthesis/issues/223) 修复`bicaption`错误。

* `2019-10-12` 根据 [huiwenzhang, issue #198](https://github.com/mohuangrui/ucasthesis/issues/198) 修复`mainmatter``\chapter*`的页眉错误。

* `2019-10-12` 根据 [Fancy0609, muzimuzhi, issue #195](https://github.com/mohuangrui/ucasthesis/issues/195) 调整由`AutoFakeBold`控制的伪粗体加粗程度。
Expand Down
6 changes: 3 additions & 3 deletions Style/artratex.sty
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@
\setCJKsansfont{SimHei}[AutoFakeBold=2.5]%
\setCJKmonofont{FangSong}%
\else\ifartx@mac%
\setCJKmainfont{Songti SC}[
\setCJKmainfont{Songti SC}[%
UprightFont = * Light,
BoldFont = * Bold,
ItalicFont = Kaiti SC,
Expand Down Expand Up @@ -472,13 +472,13 @@
\RequirePackage[format=plain,hangindent=2.0em,font={small,bf},skip=8pt,labelsep=space]{caption}% options: [margin=10pt,labelfont=bf]
\RequirePackage{subcaption}% package for subfigures
\RequirePackage[list=off]{bicaption}% package for binary captions
\captionsetup[bi-first]{bi-first}%
\captionsetup[bi-second]{bi-second}%
\DeclareCaptionOption{bi-first}[]{}% 1st language
\DeclareCaptionOption{bi-second}[]{% 2nd language
\def\tablename{Table}%
\def\figurename{Figure}%
}
\captionsetup[bi-first]{bi-first}%
\captionsetup[bi-second]{bi-second}%
\RequirePackage[section]{placeins}% prevent floats from being moved over section
%-
%-> Page layout and spacing
Expand Down

0 comments on commit b661eef

Please sign in to comment.