On Fri, Oct 01, 2010 at 02:04:09PM +0200, Patrick Gundlach wrote: > > >> how do I get typewriter text in formula? > >> > >> I've tried: > >> > >> \startformula > >> r = \mono{foo} > >> \stopformula > >> > >> but that gives mono from a different font. I'd like to have consolas, but > >> it looks like courier new. > > > > You should get the math mono from the math font you are using (Cambria, > > I guess) not from the text font. > > sorry to ask again, _how_ do I get the mono from the math font? (Yes, > Cambria).
\mono{}? which you are already using. I tried the file below, and all the three r's are Cambria's, and the last two are mono. \setupbodyfont[cambria] \starttext \startformula r=\mono{r}{\tt r} \stopformula \stoptext -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________