1 Oct
2010
1 Oct
'10
2:19 p.m.
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