15 May
2016
15 May
'16
4:36 p.m.
On 15 May 2016, at 16:44, Wolfgang Schuster
wrote: \appendtoks \rm \to \everymathematics
Here is another variation: using the sans-serif math styles, combining with the suggestion in the “Nolimits” thread. It would save the effort having to change all variables into italics by hand, but otherwise, just a hack. (It seems that \diff is defined, though I haven’t found a reference for it.) \setupbodyfont[xits,10pt] \appendtoks \catcode`𝖽=\activecatcode \letcharcode `𝖽 \diff \to \everymathematics \startformula \startalign I &= ∫_S d(x)\, 𝖽 x \NR I &= ∫_S d(x)\, \diff x \NR I &= ∫_S d(x)\, {\mathupright d} x \NR \stopalign \stopformula