Difference between revisions of "Command/definesymbol"

From Wiki
Jump to navigation Jump to search
m (Text replace - "Category:Command/Symbols(cmd)" to "Category:Command/Symbols ")
m (Text replace - "[[Category:Command/Symbols |" to "[[Category:Command/Symbols|")
Line 45: Line 45:
 
{{Forum|{{SUBPAGENAME}}}}
 
{{Forum|{{SUBPAGENAME}}}}
  
[[Category:Command/Symbols
+
[[Category:Command/Symbols|definesymbol]]
|definesymbol]]
 
 
tr valign="top" class="first">
 
tr valign="top" class="first">

Revision as of 22:14, 20 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

Help from ConTeXt-Mailinglist/Forum

All issues with:

tr valign="top" class="first">