summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/math-dif.mkxl
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2022-08-05 12:41:19 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2022-08-05 12:41:19 +0200
commit79db9f0bfc67ea8b4ed21d966e270f0adddfd8b8 (patch)
tree47d1b3ffd491caa9bd24117387d7eb7ba5535637 /tex/context/base/mkxl/math-dif.mkxl
parent1e83b1b27a30fc8df44607a37103b6c65efec538 (diff)
downloadcontext-79db9f0bfc67ea8b4ed21d966e270f0adddfd8b8.tar.gz
2022-08-05 11:41:00
Diffstat (limited to 'tex/context/base/mkxl/math-dif.mkxl')
-rw-r--r--tex/context/base/mkxl/math-dif.mkxl9
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