Command/fontchar

From Wiki
Jump to navigation Jump to search

\fontchar

Syntax (autogenerated)

\fontchar{...}
{...}name


Syntax

\fontchar{...}
{...} character name


Description

A low-level command that produces the character from a font.

Example 1

  • \setupbodyfont[20pt]
    Character \fontchar{ampersand} and character \fontchar{numbersign}.
    

Example 2 with Font Awesome

  • \setupcolors[textcolor=darkred]
    \definedfont
      [name:fontawesome*default at 44pt]
    
    \fontchar{envelope}
    \fontchar{compass}
    \fontchar{cog}
    \fontchar{trash}
    

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: