Difference between revisions of "Command/definesymbol"
< Command
Jump to navigation
Jump to search
(Create reference page) |
m (cleanup) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
{{Reference | {{Reference | ||
|name=definesymbol | |name=definesymbol | ||
Line 28: | Line 26: | ||
== Example == | == Example == | ||
− | < | + | <texcode> |
% the following example shows how to define symbols which scale with the | % the following example shows how to define symbols which scale with the | ||
% font used: | % font used: | ||
Line 37: | Line 35: | ||
\def\Check{{\tfa\symbol[box]}} | \def\Check{{\tfa\symbol[box]}} | ||
\def\Checked{{\tfa\symbol[boxChecked]}} | \def\Checked{{\tfa\symbol[boxChecked]}} | ||
− | </ | + | </texcode> |
Revision as of 15:30, 11 April 2010
\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]}}