Command/definesymbol

Unofficial ConTeXt Wiki mirror

Last modified: 2026-05-24

Syntax (autogenerated)

\definesymbol[...][...][...]
[...] name
[...] name
[...] command

Syntax

\definesymbol[...][...]
[...] name
[...] text

Description

Example

% the following example shows how to define symbols which scale with the
% font used: 

\definefontsynonym[Dingbats][uzdr]
\definesymbol[box][\getglyph{Dingbats}{\char113}]
\definesymbol[boxChecked][\getglyph{Dingbats}{\char113\kern-.66em\raise.25ex\hbox{\char51}}]
\def\Check{{\tfa\symbol[box]}}
\def\Checked{{\tfa\symbol[boxChecked]}}

Example

This example only works if your ConTeXt distribution has the file uzdr.afm, which is the Zapf Dingbats in an old font file format. TeXlive has that file, but the ConTeXt standalone distribution does not provide it by default. Compile this example with TeXlive to see the check mark, the box, and the checked boxes in different sizes.

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: