Difference between revisions of "Command/definesymbol"

From Wiki
Jump to navigation Jump to search
(Create reference page)
 
 
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<!-- please remove this and the following line if you have checked this page -->
 
{{Reference_Cleanup}}
 
 
{{Reference
 
{{Reference
 
|name=definesymbol
 
|name=definesymbol
 
|attributes=
 
|attributes=
 
}}
 
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>definesymbol</syntax>
 +
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
Line 23: Line 25:
  
 
== Description ==  
 
== Description ==  
 
 
  
 
== Example ==
 
== Example ==
  
<pre class="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 37:
 
\def\Check{{\tfa\symbol[box]}}
 
\def\Check{{\tfa\symbol[box]}}
 
\def\Checked{{\tfa\symbol[boxChecked]}}
 
\def\Checked{{\tfa\symbol[boxChecked]}}
</pre>
+
</texcode>
  
  
 
== See also ==
 
== See also ==
<!-- something like [[cmd:goto|\goto]] -->
+
<!-- something like {{cmd|goto}} -->
 +
 
 +
== Help from ConTeXt-Mailinglist/Forum ==
 +
All issues with:
 +
{{Forum|{{SUBPAGENAME}}}}
  
[[Category:Reference/en|definesymbol]]
+
[[Category:Command/Symbols|definesymbol]]

Latest revision as of 19:44, 13 January 2020

\definesymbol

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


See also

Help from ConTeXt-Mailinglist/Forum

All issues with: