Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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.

share|improve this question
1  
edited to correct package name; amssym is for ams-tex, not latex. the latex package is named amssymb. but can't help with context; sorry. –  barbara beeton Aug 31 '11 at 17:21
    
Are you using MkII (pdftex) or MkIV (luatex)? The amssymb glyphs are supported and in most cases $\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 from s-fnt-10 module. See s-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. –  Aditya Aug 31 '11 at 21:22
    
@barbara: which unicode slot should \blacksquare correspond to: 2FA0, 25AA, 25FC, 25FE, 2B1B, 2B1D? –  Aditya Aug 31 '11 at 21:26
1  
@aditya -- my interpretation has been that \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. –  barbara beeton Sep 1 '11 at 13:35
    
Thanks. I'll fix the mapping in ConTeXt (and, at some stage, coordinate with @Will Robertson to use the same mappings for ConTeXt and unicode-math). –  Aditya Sep 1 '11 at 18:21
show 4 more comments

1 Answer

up vote 4 down vote accepted

\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).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.