[NTG-context] defined symbols - question/feature suggestion

Hans Hagen pragma at wxs.nl
Fri Feb 18 17:21:17 CET 2011

On 18-2-2011 10:39, Florian Wobbe wrote:
> Hi Hans,
> in symb-mis.mkiv you define most symbols with \mathematics. I don't know why you take these symbols from the math font. Just in case the symbol does not exist in the regular font, I would guess.
> Problem is only, that you will loose most symbols when switching the math font to something else than computer-modern (I tested with euler and cambria). BTW: I wonder how many contexters use modern for math...
> Anyway it appears most fonts have geometric shapes and common symbols and dingbats. So I end up redefining the symbols:
> \definesymbol [bullet]    [\textbullet]
> \definesymbol [dash]      [--]
> \definesymbol [star]      [\char"2734]
> \definesymbol [triangle]  [\char"25B6]
> \definesymbol [square]    [\char"25A0]
> \definesymbol [diamond]   [\char"25C6]
> \definesymbol [checkmark] [\char"2713]
> Also it looks nicer when you use item symbols matching the text font.
> Maybe you would consider this and prefer symbols from the text font rather than those from the math font and keep \mathematics only as fall back should the glyph be unavailable.

It is on the agenda to look into this. These definitions relate to the 
fact that not all fonts had/have such characters. Also, textbullet is 
normally way too small for my taste. References like \char"25B6 are 
likely to fail on most fonts


                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl

More information about the ntg-context mailing list