[NTG-context] Latin setupmathematics

Wolfgang Schuster schuster.wolfgang at gmail.com
Sun May 15 16:44:40 CEST 2016

> Hans Åberg <mailto:haberg-1 at telia.com>
> 15. Mai 2016 um 16:28
> Traditionally constants are set in upright and variables in italic. So 
> constants like “log” etc., are set in upright. It is not used 
> rigorously because of past typographical limitations, but one might in 
> principle do that, cf. the example below, where the integral 
> differential “d” is set in upright to disambiguate relative the 
> function named “d”.
> When Unicode added math styles, it added italics, expecting the ASCII 
> range to be upright, which would be normal if using a text editor that 
> does not translate math into italics. But the TeX legacy is the opposite.
> ----
> \setupbodyfont[xits,10pt]
> \startformula
> \startalign
> I &= ∫_S d(x)\, dx \NR
> I &= ∫_S 𝑑(x)\, dx \NR
> I &= ∫_S d(x)\, \mathupright{d} x \NR
> I &= ∫_S 𝑑(x)\, \mathupright{d} x \NR
> \stopalign
> \stopformula
> ----
\appendtoks \rm \to \everymathematics



     \NC I \EQ ∫_S d(x)\, dx \NR
     \NC I \EQ ∫_S 𝑑(x)\, dx \NR
     \NC I \EQ ∫_S d(x)\, dx \NR
     \NC I \EQ ∫_S 𝑑(x)\, dx \NR


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160515/79371688/attachment.html>

More information about the ntg-context mailing list