Difference between revisions of "Symbols"

From Wiki
Jump to navigation Jump to search
(removed \starttext \stoptext from example, so that it compiles correctly)
(added symbol set was (wasysym))
Line 53: Line 53:
  
 
* [[source:symb-eur.tex|eur]] : Adobe Euro (Serif|Sans|Mono), defines [[cmd:texteuro|\texteuro]] (no sets)
 
* [[source:symb-eur.tex|eur]] : Adobe Euro (Serif|Sans|Mono), defines [[cmd:texteuro|\texteuro]] (no sets)
* [[source:symb-glm.tex|glm]] : guillem(e|o)ts, defines [[cmd:leftguillemot|\leftguillemot]], [[cmd:rightguillemot\rightguillemot]], [[cmd:guilsingleleft|\guilsingleleft]], [[cmd:guilsingleright|\guilsingleright]] (no sets)
+
* [[source:symb-glm.tex|glm]] : guillem(e|o)ts, defines [[cmd:leftguillemot|\leftguillemot]], [[cmd:rightguillemot|\rightguillemot]], [[cmd:guilsingleleft|\guilsingleleft]], [[cmd:guilsingleright|\guilsingleright]] (no sets)
 
* [[source:symb-jmn.tex|jmn]] : Janusz M. Nowacki's navigational symbols (sets <tt>navigation 1-4</tt>)
 
* [[source:symb-jmn.tex|jmn]] : Janusz M. Nowacki's navigational symbols (sets <tt>navigation 1-4</tt>)
 
* [[source:symb-mis.tex|mis]] : common bullets (no sets, but default definition for enumerations)
 
* [[source:symb-mis.tex|mis]] : common bullets (no sets, but default definition for enumerations)
Line 59: Line 59:
 
* [[source:symb-nav.tex|nav]] : Hans Hagen's navigational symbols (sets <tt>navigation 1-3</tt>)
 
* [[source:symb-nav.tex|nav]] : Hans Hagen's navigational symbols (sets <tt>navigation 1-3</tt>)
 
* [[source:symb-uni.tex|uni]] : Unicode symbols (including Zapf Dingbats, lots of sets...)
 
* [[source:symb-uni.tex|uni]] : Unicode symbols (including Zapf Dingbats, lots of sets...)
 +
* [[source:symb-was.tex|was]]: Roland Waldi's symbols (sets <tt>wasy general, music, astronomy, astrology, geometry, physics, apl</tt>; replaces LaTeX's wasysym)
  
 
[[Category:Fonts]]
 
[[Category:Fonts]]

Revision as of 19:54, 3 January 2007

< Visuals | Fonts >

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?

Predefined Symbol Sets

(Try \showsymbolset[some set]!)

  • eur : Adobe Euro (Serif|Sans|Mono), defines \texteuro (no sets)
  • glm : guillem(e|o)ts, defines \leftguillemot, \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...)
  • was: Roland Waldi's symbols (sets wasy general, music, astronomy, astrology, geometry, physics, apl; replaces LaTeX's wasysym)