summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/xfrac/xfrac.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/xfrac/xfrac.sty')
-rw-r--r--Master/texmf-dist/tex/latex/xfrac/xfrac.sty10
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 } }
}