summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/math-frc.mkxl
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2023-02-06 19:14:14 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2023-02-06 19:14:14 +0100
commit0d0874ba797ee44f9fa53ed0fe95d7a863bf2f1b (patch)
treeea9c82877dd7a14db92e964277551370ecc156cb /tex/context/base/mkxl/math-frc.mkxl
parent83667a906d7cac842635bc5243db70f55b346562 (diff)
downloadcontext-0d0874ba797ee44f9fa53ed0fe95d7a863bf2f1b.tar.gz
2023-02-06 17:57:00
Diffstat (limited to 'tex/context/base/mkxl/math-frc.mkxl')
-rw-r--r--tex/context/base/mkxl/math-frc.mkxl9
1 files changed, 7 insertions, 2 deletions
diff --git a/tex/context/base/mkxl/math-frc.mkxl b/tex/context/base/mkxl/math-frc.mkxl
index f1a4de236..d11acac9b 100644
--- a/tex/context/base/mkxl/math-frc.mkxl
+++ b/tex/context/base/mkxl/math-frc.mkxl
@@ -294,6 +294,11 @@
\s!noaxis \space
\s!hfactor \numexpr\mathfractionparameter\c!hfactor\relax}
+\setupmathfractions % we now inherit !
+ [\c!topcolor=\mathfractionparameter\c!color,
+ \c!bottomcolor=\mathfractionparameter\c!color,
+ \c!rulecolor=\mathfractionparameter\c!color]
+
\def\math_frac_command_u
{\edef\p_method {\mathfractionparameter\c!method}%
\edef\p_rule {\mathfractionparameter\c!rule}%
@@ -317,7 +322,7 @@
\fi
\fi
\endcsname \lastnamedcs \else \csname\??fractionmethods\v!vertical\v!auto\endcsname \fi
- \usedcolorparameterattributes{\mathfractionparameter\c!color}%
+ \usedcolorparameterattributes{\mathfractionparameter\c!rulecolor}% was \c!color so we break compatibility !
thickness \ifx\p_thickness\v!font
\zeropoint
\s!font \space
@@ -480,7 +485,7 @@
\Umathfractiondelsize\alldisplaystyles\p_threshold\dimexpr\textface\relax}
\setupmathfractions
- [\c!inlinethreshold=.25, % no unit but fraction
+ [\c!inlinethreshold=1.2, % no unit but fraction
\c!displaythreshold=\v!auto, % no unit but fraction
\c!threshold=.25\exheight]