8 Dec
2010
8 Dec
'10
9:18 a.m.
Dear typescript experts, in an earlier Email I reported, that the font switches did not work in math mode. E.g., $\bf a=\alpha$ $\bi a=\alpha$ did not display bold math. It turned out that this happens when I invoke \definefontalternative. Normaly \bf is defined like this: *\show\bf
\bf=\protected macro: ->\ifmmode \mathbf \else \normalbf \fi . <*> \show\bf
After using \definefontalternative it looks different: *\show\bf
\bf=\protected macro: ->\setcurrentfontalternative {bf}. <*> \show\bf
Minimal example: % \definefontalternative [sb] % <-- uncomment me to break bold math \starttext $\bf 3x^2+7x$ \stoptext How to avoid this? Thanks for advice, Florian