diff options
author | Karl Berry <karl@freefriends.org> | 2024-06-04 19:55:34 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-06-04 19:55:34 +0000 |
commit | 4cd05ba224093f51dbda194d99314fc87bd11c60 (patch) | |
tree | 773a9405681b58c72641c0f6b51389b6dd929aaa /Master/texmf-dist/tex/latex/xfrac/xfrac.sty | |
parent | 09ae75f4f135effa8685666830d4619e578aa9fc (diff) |
xfrac (4jun24)
git-svn-id: svn://tug.org/texlive/trunk@71430 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/xfrac/xfrac.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/xfrac/xfrac.sty | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/xfrac/xfrac.sty b/Master/texmf-dist/tex/latex/xfrac/xfrac.sty index 1ead74f8be6..503fe8a089f 100644 --- a/Master/texmf-dist/tex/latex/xfrac/xfrac.sty +++ b/Master/texmf-dist/tex/latex/xfrac/xfrac.sty @@ -34,7 +34,7 @@ }% \endinput }% -\ProvidesExplPackage{xfrac}{2024-02-13}{} +\ProvidesExplPackage{xfrac}{2024-06-04}{} {Split-level fractions} \providecommand \IfFormatAtLeastTF { \@ifl@t@r \fmtversion } \IfFormatAtLeastTF { 2020-02-02 } @@ -64,6 +64,8 @@ \IfFormatAtLeastTF { 2024-06-01 } { } { \RequirePackage { xtemplate } } +\cs_if_exist:NF \IfInstanceExistsTF + { \cs_new_eq:NN \IfInstanceExistsTF \IfInstanceExistTF } \box_new:N \l__xfrac_slash_box \box_new:N \l__xfrac_tmp_box \cs_new:Npn \__xfrac_tmp:w { } @@ -413,16 +415,16 @@ { \mode_if_math:TF { - \IfInstanceExistTF { xfrac } { mathfam \number \fam } + \IfInstanceExistsTF { xfrac } { mathfam \number \fam } { \UseInstance { xfrac } { mathfam \number \fam } } { \UseInstance { xfrac } { mathdefault } } {#2} {#3} {#4} } { - \IfInstanceExistTF { xfrac } {#1} + \IfInstanceExistsTF { xfrac } {#1} { \UseInstance { xfrac } {#1} } { - \IfInstanceExistTF { xfrac } { \f@family } + \IfInstanceExistsTF { xfrac } { \f@family } { \UseInstance { xfrac } { \f@family } } { \UseInstance { xfrac } { default } } } |