Difference between revisions of "Command/usesymbols"

From Wiki
Jump to navigation Jump to search
(Add description, example)
m (remove manual syntax)
 
(6 intermediate revisions by 3 users not shown)
Line 4: Line 4:
 
}}
 
}}
  
== [[Help:Reference|Syntax]] ==
+
== [[Help:Reference|Syntax]] (autogenerated) ==
<table cellspacing="4" cellpadding="2" class="cmd">
+
<syntax>usesymbols</syntax>
  <tr>
 
    <td colspan="2" class="cmd">\usesymbols<span class="first" >[...]</span></td>
 
  </tr>
 
  <tr valign="top" class="first">
 
    <td class="cmd">[...]</td>
 
    <td>name </td>
 
  </tr>
 
</table>
 
  
 
== Description ==  
 
== Description ==  
  
The following four symbol files invocations are predefined
+
The following four symbol fonts are available with ConTeXt:
* {{cmd|usesymbols|[jmn]}} % [[source:symb-jmn.tex]]
+
* [[Symbols/jmn|Navigational symbols by Janusz M. Nowack]] — {{cmd|usesymbols|[jmn]}}
* {{cmd|usesymbols|[mvs]}} % [[source:symb-mvs.tex]]
+
* [[Symbols/mvs|Martin Vogel symbols]] {{cmd|usesymbols|[mvs]}}
* {{cmd|usesymbols|[nav]}} % [[source:symb-nav.tex]]
+
* [[Symbols/nav|ConTeXt navigation symbols]] {{cmd|usesymbols|[nav]}}
* {{cmd|usesymbols|[was]}} % [[source:symb-was.tex]]
+
* [[Symbols/was|Roland Waldi's symbols]] — {{cmd|usesymbols|[was]}}
 
+
* Creative Commons — {{cmd|usesymbols|[cc]}}, e.g. {{cmd|symbol|[cc][cc-by-sa-nc]}}
See {{cmd|showsymbolset}} for a list of available symbolsets in these files.
 
  
 
== Example ==
 
== Example ==
  
 
<context source="yes">
 
<context source="yes">
\setuppapersize[A5]
+
\usesymbols[nav,cc]
\usesymbols[nav]
+
\setupalign[flushleft]
 +
 
 +
\startcolumns
 +
\section{cc}
 +
\showsymbolset[cc]
 +
\column
 +
\section{navigation 2}
 +
\showsymbolset[navigation 2]
 +
\stopcolumns
 +
 
 +
The default \type{nextpage} symbol: \symbol[nextpage]
 +
 
 +
The \type{nextpage} symbol in \type{navigation 2}: \symbol[navigation 2][nextpage]
  
\section{navigation 1}
+
(Setting \type{navigation 2} as the default set \setupsymbolset[navigation 2])
\showsymbolset[navigation 1]
 
  
This is the \quote{next page} symbol: \symbol[nextpage]
+
The new default \type{nextpage} symbol: \symbol[navigation 2][nextpage]
 
</context>
 
</context>
  

Latest revision as of 11:52, 1 September 2021

\usesymbols

Syntax (autogenerated)

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


Description

The following four symbol fonts are available with ConTeXt:

Example

\usesymbols[nav,cc]
\setupalign[flushleft]

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

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: