Brooks Moses wrote:
Consider the following simple document, with is a minimalist version of the slides that I'm currently working on:
\starttext The variables are $u$ and $p$. \stoptext
This works fine; the text is in roman and the math in italics, just as I desire. However, I need a larger font for my slides, and thus I'm also using a font size command, like so:
\starttext \tfc The variables are $u$ and $p$. \stoptext
This causes the math to be in roman instead of italic. (It's not in "text font" per se; an \it after the \tfc will italicise the text but not the math, creating a quite odd effect.)
Is there a reason for this? What's the cleanest way to fix it for all the various size commands?
question for taco: i had \fam\mrfam but it seems that the math family at the start of math is set to -1, so maybe we need: \def\synchronizetext % stylish text in mmode {\ifsynchronizemathfonts\the\textstrategies\fam\minusone\fi} \def\synchronizemath % math stuff in mmode {\ifsynchronizemathfonts\the\mathstrategies\fam\minusone\fi} \def\synchronizesymb % stylish math stuff in mmode {\ifsynchronizemathfonts\the\symbstrategies\fam\minusone\fi} does this sound ok? Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------