From 3d0fae7aaf79674a41d2bdaf5b3c2a3a4d8113db Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Thu, 30 Apr 2020 12:13:51 +0200 Subject: 2020-04-30 11:13:00 --- tex/context/base/mkiv/math-frc.mkiv | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) (limited to 'tex/context/base/mkiv/math-frc.mkiv') diff --git a/tex/context/base/mkiv/math-frc.mkiv b/tex/context/base/mkiv/math-frc.mkiv index 97107a6bf..8b068bc6c 100644 --- a/tex/context/base/mkiv/math-frc.mkiv +++ b/tex/context/base/mkiv/math-frc.mkiv @@ -361,10 +361,12 @@ \unexpanded\def\xfrac#1#2{\normalxfrac{\let\xfrac\xxfrac#1}{\let\xfrac\xxfrac#2}} -%D Spacing: +%D Spacing (sensitive for definition of \triggermathstyle: -\unexpanded\def\nomathfractiongaps {\normalexpanded{\math_no_fraction_gaps \triggermathstyle\mathstyle}} % maybe collect settings -\unexpanded\def\overlaymathfractiongaps{\normalexpanded{\math_overlay_fraction_gaps\triggermathstyle\mathstyle}} % maybe collect settings +% \ifcase\contextlmtxmode + +\unexpanded\def\nomathfractiongaps {\normalexpanded{\math_no_fraction_gaps \mathstyletrigger\mathstyle}} % maybe collect settings +\unexpanded\def\overlaymathfractiongaps{\normalexpanded{\math_overlay_fraction_gaps\mathstyletrigger\mathstyle}} % maybe collect settings \unexpanded\def\math_no_fraction_gaps#1% {\Umathfractionnumup #1\zeropoint @@ -377,6 +379,21 @@ \Umathfractiondenomvgap#1\zeropoint \Umathfractiondenomdown#1\zeropoint} +% \else + +% \unexpanded\def\math_no_fraction_gaps +% {\Umathfractionnumup \mathstyle\zeropoint +% \Umathfractiondenomdown\mathstyle\zeropoint} +% +% \unexpanded\def\math_overlay_fraction_gaps +% {\Umathfractionnumup \mathstyle\zeropoint +% \Umathfractionnumvgap \mathstyle\zeropoint +% %Umathfractionrule \mathstyle\zeropoint +% \Umathfractiondenomvgap\mathstyle\zeropoint +% \Umathfractiondenomdown\mathstyle\zeropoint} + +% \fi + \installcorenamespace{mathfractiondistance} \letvalue{\??mathfractiondistance\v!none }\nomathfractiongaps -- cgit v1.2.3