[NTG-context] Asterisk
Wolfgang Schuster
schuster.wolfgang at gmail.com
Tue Jun 9 12:50:17 CEST 2015
> Am 09.06.2015 um 12:25 schrieb Procházka Lukáš Ing. - Pontex s. r. o. <LPr at pontex.cz>:
>
> Hello,
>
> thank you, that's great.
>
> One more question - how to use another symbol, "bigstar" (see "symbols-a4.pdf" or the attached image)?
The document you mention is only relevant for LaTeX.
> I tried the following code, but with no success:
>
> ----
> \starttext
> Ttt \symbol[bigstar]
>
> Aaa \bigstar
>
> Bbb \symbol[mathabx][bigstar]
>
> \stoptext
You have to use math mode to show the symbol but not every font contains it.
\setupbodyfont[xits]
\starttext
$ \bigstar \quad ★ $
\stoptext
The better solution is to use a symbol font like Font Awesome [1] which contains the symbol you want to use.
[1] http://fontawesome.io/icon/star
Wolfgang
More information about the ntg-context
mailing list