Difference between revisions of "Command/usesymbols"

From Wiki
Jump to navigation Jump to search
(Add description, example)
(Make the example more elaborate)
Line 31: Line 31:
 
\usesymbols[nav]
 
\usesymbols[nav]
  
\section{navigation 1}
+
\section{navigation 2}
\showsymbolset[navigation 1]
+
\showsymbolset[navigation 2]
 +
 
 +
The default \type{nextpage} symbol: \symbol[nextpage]
 +
 
 +
The \type{nextpage} symbol in \type{navigation 2}: \symbol[navigation 2][nextpage]
 +
 
 +
(Setting \type{navigation 2} as the default set \setupsymbolset[navigation 2])
 +
 
 +
The new default \type{nextpage} symbol: \symbol[navigation 2][nextpage]
  
This is the \quote{next page} symbol: \symbol[nextpage]
 
 
</context>
 
</context>
  

Revision as of 19:54, 25 June 2012

\usesymbols

Syntax

\usesymbols[...]
[...] name

Description

The following four symbol files invocations are predefined

See \showsymbolset for a list of available symbolsets in these files.

Example

\setuppapersize[A5]
\usesymbols[nav]

\section{navigation 2}
\showsymbolset[navigation 2]

The default \type{nextpage} symbol: \symbol[nextpage]

The \type{nextpage} symbol in \type{navigation 2}: \symbol[navigation 2][nextpage]

(Setting \type{navigation 2} as the default set \setupsymbolset[navigation 2])

The new default \type{nextpage} symbol: \symbol[navigation 2][nextpage]

See also

  • \showsymbolset to inspect a symbol set, and for a list of all symbol sets in the abovementioned symbol files
  • \symbol to use a symbol from a symbol set.

Help from ConTeXt-Mailinglist/Forum

All issues with: