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.

a next beta will have

\definesymbol [bullet]        [\textormathchar{"2022}] % • \bullet
\definesymbol [dash]          [\textormathchar{"2013}] % –
\definesymbol [star]          [\textormathchar{"22C6}] % ✴ \star
\definesymbol [triangle]      [\textormathchar{"22B3}] % ⊳ \triangleright
\definesymbol [circle]        [\textormathchar{"2218}] % ∘ \circ
\definesymbol [square]        [\textormathchar{"25A1}] % □ \square
\definesymbol [diamond]       [\textormathchar{"22C4}] % ⋄ \diamond
\definesymbol [checkmark]     [\textormathchar{"2713}] % ✓ \checkmark

\definesymbol [blacktriangle] [\textormathchar{"25B6}] % ▶
\definesymbol [blacksquare]   [\textormathchar{"25A0}] % ■
\definesymbol [blackdiamond]  [\textormathchar{"25C6}] % ◆

but it's experimental (and fonts like cambria don't have all of them)

-----------------------------------------------------------------
                                          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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to