[NTG-context] Latin setupmathematics

Hans Γ…berg haberg-1 at telia.com
Fri Jun 17 01:02:48 CEST 2016


> On 16 Jun 2016, at 23:48, Hans Hagen <pragma at wxs.nl> wrote:
> 
> On 6/16/2016 9:15 PM, Hans Γ…berg wrote:

>> There were no responses from the consortium here, so it means that if one should stick to the Unicode model, where the upright styles are unified with the Basic Latin and Greek groups, \setupmathematics should have options added like:
>>  lcletters=[normal|italic], ucletters=[normal|italic]

> (i see no reason for different treatment for lc and uc)

No, there is no reason - I just got it from math-inl.mkiv.

> what is wrong with
> 
> \starttext
> 
> \setupmathematics[default=normal]
> 
> $a = b$
> 
> \setupmathematics[default=italic]
> 
> $a = \tf b$
> 
> \stoptext

That is fine - it is not mentioned on the page
  http://wiki.contextgarden.net/Command/setupmathematics

The idea is avoiding clashes between variables and constants, like this:

\starttext

\setupmathematics[default=normal]

$𝑒 = βˆ‘_{𝑖=1}^∞ e^{i-𝑖}$

\setupmathematics[default=italic]

$𝑒 = βˆ‘_{𝑖=1}^∞ e^{i-𝑖}$

\stoptext



More information about the ntg-context mailing list