diff options
Diffstat (limited to 'tex/context/base/mkxl/math-dif.mkxl')
-rw-r--r-- | tex/context/base/mkxl/math-dif.mkxl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tex/context/base/mkxl/math-dif.mkxl b/tex/context/base/mkxl/math-dif.mkxl index 5cd65a80f..ad53ee25a 100644 --- a/tex/context/base/mkxl/math-dif.mkxl +++ b/tex/context/base/mkxl/math-dif.mkxl @@ -20,10 +20,12 @@ % For new times sake: \let\normal_math_dd\dd + \let\normal_math_DD\DD \def\c!differentiald{differentiald} % for now \def\upright_math_dd{\mathatom \s!unpack \mathdifferentialcode{\mathupright d}} + \def\upright_math_DD{\mathatom \s!unpack \mathdifferentialcode{\mathupright D}} \permanent\protected\def\dd {\ifcstok{\mathematicsparameter\c!differentiald}\s!upright @@ -32,6 +34,13 @@ \normal_math_dd \fi} + \permanent\protected\def\DD + {\ifcstok{\mathematicsparameter\c!differentiald}\s!upright + \upright_math_DD + \else + \normal_math_DD + \fi} + % \setupmathematics[differentiald=upright] \popoverloadmode |