Am 15.08.2009 um 12:59 schrieb Wolfgang Werners-Lucchini:

Hallo,

I can not produce astronomy symbols.

% Unicode Fonts: http://users.teilar.gr/~g1951d/
%
% the font for the symbols is hardcoded but as we have in mkiv fonts
% with more symbols a command to change the font would make sense

\definefontsynonym [UnicodeSymbols] [name:unicodesymbols]

\def\UnicodeSymbol#1{\getglyph{UnicodeSymbols}{\utfchar{#1}}}

\startsymbolset [miscellaneoussymbols]

    \definesymbol[blacktelephone][\UnicodeSymbol{"260E}]
    \definesymbol[whitetelephone][\UnicodeSymbol{"260F}]

    \definesymbol[mercury]       [\UnicodeSymbol{"263F}]
    \definesymbol[earth]         [\UnicodeSymbol{"2641}]
    \definesymbol[jupiter]       [\UnicodeSymbol{"2643}]
    \definesymbol[saturn]        [\UnicodeSymbol{"2644}]
    \definesymbol[uranus]        [\UnicodeSymbol{"2645}]
    \definesymbol[neptune]       [\UnicodeSymbol{"2646}]
    \definesymbol[pluto]         [\UnicodeSymbol{"2647}]

\stopsymbolset

Wolfgang

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to