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?
Thanks, - Brooks
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?
i'll have a look, for teh moment say:
\bigmath
at the top of your document (this triggers a more extensive synchronization)
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 -----------------------------------------------------------------
At 12:33 AM 8/15/2005, Hans Hagen wrote:
Brooks Moses wrote:
[...]
\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?
i'll have a look, for teh moment say: \bigmath
at the top of your document (this triggers a more extensive synchronization)
Thanks! That's exactly the simple and quick workaround that I was hoping for, for this project that's due tomorrow. :)
I look forward to the "proper" fix for the future, as well.
- Brooks
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 -----------------------------------------------------------------
Hans Hagen wrote:
\def\synchronizesymb % stylish math stuff in mmode {\ifsynchronizemathfonts\the\symbstrategies\fam\minusone\fi}
does this sound ok?
These assignments are unneeded, this will do:
{\ifsynchronizemathfonts\the\textstrategies\fi}
But I don't recall why there was a \fam assignment in the first place. Something with an earlier attempt at \boldmath perhaps?
Taco