Skip to content

Commit

Permalink
support \emph for CJK characters [ci skip]
Browse files Browse the repository at this point in the history
Fix #93.
  • Loading branch information
stone-zeng committed Sep 15, 2021
1 parent e0411a4 commit bb68f1b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- 正确调用引用样式 - [#183](https://github.com/stone-zeng/fduthesis/issues/183)
- 直接调用 `\thechapter` 使得附录中的图表编号正确显示 - [#166](https://github.com/stone-zeng/fduthesis/issues/166)
- 判断 Libertinus Sans Bold Oblique 字体是否存在 - [#156](https://github.com/stone-zeng/fduthesis/issues/156)
- 允许 `\emph` 对中文生效 - [#93](https://github.com/stone-zeng/fduthesis/issues/93)
- 统一使用 LaTeX 2020/10/01 新的钩子机制 - [#77](https://github.com/stone-zeng/fduthesis/issues/77)
- 对过时的文档类也进行检查
- 变更
Expand Down
13 changes: 11 additions & 2 deletions source/fduthesis.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -3676,7 +3676,7 @@ Copyright (C) 2017&ndash;2021 by Xiangdong Zeng <xdzeng96@gmail.com>.
% \end{macrocode}
% \end{macro}
%
% \subsubsection{句号}
% \subsubsection{其他设置}
%
% \begin{macro}{style/fullwidth-stop}
% \changes{v0.6}{2017/10/14}{支持类别码和 TECKit 映射两种机制。}
Expand Down Expand Up @@ -3716,7 +3716,6 @@ Copyright (C) 2017&ndash;2021 by Xiangdong Zeng <xdzeng96@gmail.com>.
}
% \end{macrocode}
% \end{macro}
%
% 提示信息。
% \begin{macrocode}
\@@_msg_new:nn { mapping-not-available }
Expand All @@ -3738,6 +3737,16 @@ Copyright (C) 2017&ndash;2021 by Xiangdong Zeng <xdzeng96@gmail.com>.
% \end{macrocode}
% \end{macro}
%
% \changes{v0.7f}{2021/09/15}{允许 \tn{emph} 对中文生效。}
% 声明 \tn{emph} 样式序列,使得中文强调以楷体显示。
% \begin{macrocode}
\DeclareEmphSequence
{
\itshape \fdu@kai,
\upshape \CJKfamily { \CJKfamilydefault },
}
% \end{macrocode}
%
% \changes{v0.6}{2017/10/28}{优化 \LuaTeX{} 下希腊字母、西里尔字母和带圈数字的
% 显示(\pkg{ctex} v2.4.11 已默认进行处理)。}
%
Expand Down

0 comments on commit bb68f1b

Please sign in to comment.