Where can I find some of the functionality, namely the symbols, from the LaTeX package AMSSymb in ConTeXt? For example, how do I place a \blacksquare
? Is there an equivalent in ConTeXt? I didn't find what I am looking for at contextgarden.
1 Answer
\blacksquare
works in ConTeXt out of the box. To see a list of all supported symbols, you can use (in MkIV)
\usemodule[mat-11]
\usemodule[cambria]
\starttext
\showmathfontcharacters
\stoptext
which gives a listing of all Unicode characters in a font, and the corresponding ConTeXt name for the character (look for mathname).
$\glyphname$
should work. For some of the glyphs, the names are changed. For MkII you can get a list of all the glyphs using\showmathcharacters
. In particular,\blacksquare
is supported. For MkIV, see the list of alll the supported glyphs using\ShowCompleteFont
froms-fnt-10
module. Sees-fnt-10.tex
for details. For\blacksquare
you need a open type math font (like xits), but there is a bug in the mappings (at the ConTeXt end) and\blacksquare
is mapped to the wrong symbol.\blacksquare
correspond to: 2FA0, 25AA, 25FC, 25FE, 2B1B, 2B1D?\blacksquare
corresponds to unicode 2FA0. the relative sizes of the various squares (and other geometric symbols) can be found on p.20 of unicode technical report 25 on mathematics. some of these don't yet have "established" tex command names. i prepared a table for the stix project with tex names (either already recognized or proposed) for all unicode math symbols, but it still needs some adjustments as a result of decisions made during the final stix font cleanup.