Changes

Jump to navigation Jump to search
1,247 bytes added ,  00:26, 29 November 2004
Simple symbol examples
< [[Visuals]]

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 <tt>symb-bla</tt> file with:
\usesymbols[bla]
Given a symbol <tt>Snowman</tt> defined in a symbolset <tt>Weather Symbols</tt>, 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:
<texcode>
\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
</texcode>
<context>
\starttext
\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
\stoptext
</context>

Navigation menu