Difference between revisions of "Symbols"

From Wiki
Jump to navigation Jump to search
m (added Category "Fonts")
m (pre -> texcode)
Line 2: Line 2:
  
 
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:
 
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]
+
<texcode>
 +
\usesymbols[bla]
 +
</texcode>
 
Given a symbol <tt>Snowman</tt> defined in a symbolset <tt>Weather Symbols</tt>, you could typeset the symbol with:
 
Given a symbol <tt>Snowman</tt> defined in a symbolset <tt>Weather Symbols</tt>, you could typeset the symbol with:
\setupsymbolset [Weather Symbols]
+
<texcode>
\symbol [Snowman]
+
\setupsymbolset [Weather Symbols]
 +
\symbol [Snowman]
 +
</texcode>
 
Or, alternatively, you don't need to load the entire symbolset:
 
Or, alternatively, you don't need to load the entire symbolset:
\symbol[Weather Symbols][Snowman]
+
<texcode>
 +
\symbol[Weather Symbols][Snowman]
 +
</texcode>
  
  

Revision as of 23:19, 11 August 2005

< 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 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