Difference between revisions of "Command/definesymbol"

From Wiki
Jump to navigation Jump to search
m (moved Reference/en/definesymbol to Command/definesymbol: Text replace - "Reference/en/" to "Command/")
m (Text replace - "[[Category:Commands|" to "== ConTeXt-Forum == {{Forum|{{SUBPAGENAME}}}} [[Category:Commands|")
Line 40: Line 40:
 
== See also ==
 
== See also ==
 
<!-- something like [[cmd:goto|\goto]] -->
 
<!-- something like [[cmd:goto|\goto]] -->
 +
 +
== ConTeXt-Forum ==
 +
{{Forum|{{SUBPAGENAME}}}}
  
 
[[Category:Commands|definesymbol]]
 
[[Category:Commands|definesymbol]]

Revision as of 23:49, 14 March 2012

\definesymbol

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]}}


See also

ConTeXt-Forum