diff options
author | Karl Berry <karl@freefriends.org> | 2014-11-05 23:10:56 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-11-05 23:10:56 +0000 |
commit | 614e92fcfb7bbf20b314eafeac08856e5b337f05 (patch) | |
tree | 1161d4db72a4fbe6780125390fd3d23eb6866bb6 /Master/texmf-dist/tex/xelatex/xecjk/xunicode-addon.sty | |
parent | b3a15e5c9eaee42f3ea8d48970d289643293e145 (diff) |
xecjk (5nov14)
git-svn-id: svn://tug.org/texlive/trunk@35520 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/xecjk/xunicode-addon.sty')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/xecjk/xunicode-addon.sty | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xecjk/xunicode-addon.sty b/Master/texmf-dist/tex/xelatex/xecjk/xunicode-addon.sty index ab7c49c18d0..98a8c6e43ab 100644 --- a/Master/texmf-dist/tex/xelatex/xecjk/xunicode-addon.sty +++ b/Master/texmf-dist/tex/xelatex/xecjk/xunicode-addon.sty @@ -6,7 +6,7 @@ %% %% xeCJK.dtx (with options: `xunicode') %% -%% $Id: xeCJK.dtx 692 2014-06-20 12:25:35Z sobenlee $ +%% $Id: xeCJK.dtx 729 2014-11-05 13:46:36Z sobenlee@gmail.com $ %% $URL: https://ctex-kit.googlecode.com/svn/trunk/xeCJK/xeCJK.dtx $ %% ----------------------------------------------------------------- %% Author: @@ -33,11 +33,11 @@ %% \NeedsTeXFormat{LaTeX2e} \RequirePackage{expl3} -\GetIdInfo$Id: xeCJK.dtx 692 2014-06-20 12:25:35Z sobenlee $ +\GetIdInfo$Id: xeCJK.dtx 729 2014-11-05 13:46:36Z sobenlee@gmail.com $ {addon file for xunicode} \ProvidesExplPackage {xunicode-addon} - {\ExplFileDate}{3.2.13}{\ExplFileDescription} + {\ExplFileDate}{3.2.14}{\ExplFileDescription} \pdftex_if_engine:T { \msg_new:nnnn { xunicode-addon } { cannot-use-pdftex } @@ -436,23 +436,24 @@ { \hcoffin_set:Nn \l__xunadd_tmp_coffin {#1} \hcoffin_set:Nn \l__xunadd_circle_coffin {#2} - \dim_set:Nn \l__xunadd_circle_width_dim - { \fp_use:N \l__xunadd_circle_ratio_fp \coffin_wd:N \l__xunadd_circle_coffin } - \coffin_resize:Nnn \l__xunadd_tmp_coffin - { \l__xunadd_circle_width_dim } + \fp_set:Nn \l__xunadd_circle_scale_fp { - ( \coffin_ht:N \l__xunadd_tmp_coffin + \coffin_dp:N \l__xunadd_tmp_coffin ) - * \tex_number:D \l__xunadd_circle_width_dim - / \tex_number:D \coffin_wd:N \l__xunadd_tmp_coffin + \dim_to_decimal_in_unit:nn + { + \fp_use:N \l__xunadd_circle_ratio_fp + \coffin_wd:N \l__xunadd_circle_coffin + } + { \coffin_wd:N \l__xunadd_tmp_coffin } } + \coffin_scale:Nnn \l__xunadd_tmp_coffin + { \l__xunadd_circle_scale_fp } { \l__xunadd_circle_scale_fp } \coffin_attach:NnnNnnnn \l__xunadd_circle_coffin { hc } { vc } - \l__xunadd_tmp_coffin { hc } { vc } - { \c_zero_dim } { \c_zero_dim } + \l__xunadd_tmp_coffin { hc } { vc } { \c_zero_dim } { \c_zero_dim } \coffin_typeset:Nnnnn \l__xunadd_circle_coffin { H } { l } { \c_zero_dim } { \c_zero_dim } } -\dim_new:N \l__xunadd_circle_width_dim +\fp_new:N \l__xunadd_circle_scale_fp \coffin_new:N \l__xunadd_tmp_coffin \coffin_new:N \l__xunadd_circle_coffin \NewDocumentCommand \settextcircledratio { m } |