diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/l3packages/xfrac')
-rw-r--r-- | Master/texmf-dist/tex/latex/l3packages/xfrac/xfrac.sty | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/l3packages/xfrac/xfrac.sty b/Master/texmf-dist/tex/latex/l3packages/xfrac/xfrac.sty index 326a5b9c161..70b1ec306ec 100644 --- a/Master/texmf-dist/tex/latex/l3packages/xfrac/xfrac.sty +++ b/Master/texmf-dist/tex/latex/l3packages/xfrac/xfrac.sty @@ -19,7 +19,7 @@ %% and all files in that bundle must be distributed together. %% %% File: xfrac.dtx Copyright (C) 2004, 2008-2010 Morten Hoegholm -%% (C) 2011,2012,2014-2017 The LaTeX3 Project +%% (C) 2011,2012,2014-2018 The LaTeX3 Project \RequirePackage{expl3}[2018/02/21] \@ifpackagelater{expl3}{2018/02/21} {} @@ -34,7 +34,7 @@ \endinput } \RequirePackage{amstext,graphicx,l3keys2e,textcomp,xparse,xtemplate} -\ProvidesExplPackage{xfrac}{2018/02/21}{} +\ProvidesExplPackage{xfrac}{2018-04-30}{} {L3 Experimental split-level fractions} \keys_define:nn { xfrac } { @@ -127,12 +127,12 @@ false = \cs_set:Npn \__xfrac_relscale: { - \__dim_eval:n + \dim_eval:n { \box_ht:N \l__xfrac_tmp_box + \box_dp:N \l__xfrac_tmp_box } }, true = \cs_set:Npn \__xfrac_relscale: - { \box_ht:N \l__xfrac_slash_box } + { \dim_eval:n { \box_ht:N \l__xfrac_slash_box } } }, scaling = { @@ -141,7 +141,7 @@ \cs_set:Npn \__xfrac_fontscale: { \fontsize - { \fp_use:N \l__xfrac_scale_factor_fp \__xfrac_relscale: } + { \fp_to_dim:n { \l__xfrac_scale_factor_fp * \__xfrac_relscale: } } { \c_zero_dim } \selectfont } @@ -209,7 +209,7 @@ { \raisebox { - \__dim_eval:n + \dim_eval:n { \box_ht:N \l__xfrac_slash_box - \box_dp:N \l__xfrac_slash_box @@ -238,7 +238,7 @@ { \raisebox { - \__dim_eval:n + \dim_eval:n { \box_ht:N \l__xfrac_slash_box - \dim_use:N \l__xfrac_numerator_top_sep_dim |