Difference between revisions of "Command/usesymbols"

From Wiki
Jump to navigation Jump to search
m (add cc symbols to example)
Line 30: Line 30:
  
 
<context source="yes">
 
<context source="yes">
\setuppapersize[A5]
+
\usesymbols[nav,cc]
\usesymbols[nav]
 
  
 +
\startcolumns
 +
\section{cc}
 +
\showsymbolset[cc]
 +
\column
 
\section{navigation 2}
 
\section{navigation 2}
 
\showsymbolset[navigation 2]
 
\showsymbolset[navigation 2]
 +
\stopcolumns
  
 +
\startalignment[flushleft]
 
The default \type{nextpage} symbol: \symbol[nextpage]
 
The default \type{nextpage} symbol: \symbol[nextpage]
  
Line 43: Line 48:
  
 
The new default \type{nextpage} symbol: \symbol[navigation 2][nextpage]
 
The new default \type{nextpage} symbol: \symbol[navigation 2][nextpage]
 
+
\stopalignment
 
</context>
 
</context>
  

Revision as of 11:51, 1 September 2021

\usesymbols

Syntax (autogenerated)

\usesymbols[...]
[...]file


Syntax

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

Description

The following four symbol fonts are available with ConTeXt:

Example

\usesymbols[nav,cc]

\startcolumns
\section{cc}
\showsymbolset[cc]
\column
\section{navigation 2}
\showsymbolset[navigation 2]
\stopcolumns

\startalignment[flushleft]
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]
\stopalignment

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: