[NTG-context] Opentype features and space after comma in math mode

Wolfgang Schuster schuster.wolfgang at gmail.com
Mon Aug 29 23:02:42 CEST 2016


> Jose Luis Arellano <mailto:jose.4rellano at gmail.com>
> 29. August 2016 um 22:45
> After some research, i founded (in Wiki) that space after a comma can
> be avoided using: \setupmathematics[autopunctuation=all]. Sorry for
> that.
>
> So, only left second question. This is about opentype features,
> specifically tabular numbers in math mode. This issue (i think) is
> related to the commercial font that am using, because it have some OT
> features enabled by default (eg: onum=yes, tnum=no and lnum=no).
Do you use Minion Math?
> Curious is that i can only set lnum and onum but not tnum in math.
Does this work (untested)?

\definefontfamily[inlinemath][mode=base,lnum=yes] % tnum=yes etc.

\definefontfamily[…][mm][…][tf=features:inlinemath]

BTW: You can list all features of a font with "mtxrun --script fonts 
--list --info <fontname>".

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


More information about the ntg-context mailing list