Difference between revisions of "Symbols"
Jump to navigation
Jump to search
m (→Predefined Symbol Sets: no content change; I only had to try out Patrick's new add-on ;) Thanks a lot!) |
(removed \starttext \stoptext from example, so that it compiles correctly) |
||
Line 30: | Line 30: | ||
</texcode> | </texcode> | ||
<context> | <context> | ||
− | |||
\usesymbols[mvs] | \usesymbols[mvs] | ||
\definesymbol[1][{\symbol[martinvogel 2][PointingHand]}] | \definesymbol[1][{\symbol[martinvogel 2][PointingHand]}] | ||
Line 41: | Line 40: | ||
\item item | \item item | ||
\stopitemize | \stopitemize | ||
− | |||
</context> | </context> | ||
Revision as of 01:33, 8 February 2006
Symbols are named graphical or typographic elements. They can be divided into symbol sets, which gives some namespace independence, as well. You can load the symbol definitions from a symb-bla file with:
\usesymbols[bla]
Given a symbol Snowman defined in a symbolset Weather Symbols, you could typeset the symbol with:
\setupsymbolset [Weather Symbols] \symbol [Snowman]
Or, alternatively, you don't need to load the entire symbolset:
\symbol[Weather Symbols][Snowman]
You can override the existing symbols used at different levels in itemized lists by redefining the existing symbol numbers, with code like the following:
\usesymbols[mvs] \definesymbol[1][{\symbol[martinvogel 2][PointingHand]}] \definesymbol[2][{\symbol[martinvogel 2][CheckedBox]}] \startitemize[packed] \item item \item item \startitemize[packed] \item item \item item \stopitemize \item item \stopitemize
Which (free) font contains some symbol?
- comprehensive list of symbols in TeX fonts
- Zapf Dingbats, Unicode and Apple symbols and how to use them with ConTeXt (Adam's page)
- Unicode slots of symbols
Predefined Symbol Sets
(Try \showsymbolset[some set]!)
- eur : Adobe Euro (Serif|Sans|Mono), defines \texteuro (no sets)
- glm : guillem(e|o)ts, defines \leftguillemot, cmd:rightguillemot\rightguillemot, \guilsingleleft, \guilsingleright (no sets)
- jmn : Janusz M. Nowacki's navigational symbols (sets navigation 1-4)
- mis : common bullets (no sets, but default definition for enumerations)
- mvs : Martin Vogel's symbols (sets astronomic, zodiac, europe, martinvogel 1-3; replaces LaTeX's marvosym)
- nav : Hans Hagen's navigational symbols (sets navigation 1-3)
- uni : Unicode symbols (including Zapf Dingbats, lots of sets...)