summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/l3packages/xfrac
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-04-30 22:39:09 +0000
committerKarl Berry <karl@freefriends.org>2018-04-30 22:39:09 +0000
commita28e1bfccd6fe522fcd296426e4d89c7fb4f19b6 (patch)
treeb72347e08575b56fcfed87c4d837b48dcfd1e02a /Master/texmf-dist/tex/latex/l3packages/xfrac
parentb40c37a9e22b8235ff9c0bc256d00f7af94304c3 (diff)
l3 (30apr18)
git-svn-id: svn://tug.org/texlive/trunk@47516 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/l3packages/xfrac')
-rw-r--r--Master/texmf-dist/tex/latex/l3packages/xfrac/xfrac.sty14
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