compare the following formulae with your favourite working bold math setup (confirmed with CM, Iwona, Lucida here): \startformula % this works \sin{\frac{{\bfm \pi}}{2}}=\sqrt{\bfm2} \stopformula \startformula % this doesn't \sin{\frac{{\bfm \pi}}{2}}=\sqrt{2} \stopformula % \startformula % this crashes % \sin{\frac{\bfm \pi}{2}}=\sqrt{2} % \stopformula I can't claim to know about all the family magic that goes on behind the scenes with bold math, but I'm fairly confident I can configure things properly. Smells like a bug. In other news, these will make bold numbers, if you need them: \definemathcharacter [48] [nothing] [mr] ["30] \definemathcharacter [49] [nothing] [mr] ["31] \definemathcharacter [50] [nothing] [mr] ["32] \definemathcharacter [51] [nothing] [mr] ["33] \definemathcharacter [52] [nothing] [mr] ["34] \definemathcharacter [53] [nothing] [mr] ["35] \definemathcharacter [54] [nothing] [mr] ["36] \definemathcharacter [55] [nothing] [mr] ["37] \definemathcharacter [56] [nothing] [mr] ["38] \definemathcharacter [57] [nothing] [mr] ["39] Again, checked on my limited test cases and knowledge of mathematics. I'm sure there will be unanticipated side effects. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Adam Lindsay wrote:
compare the following formulae with your favourite working bold math setup
Count me out. :( I get "\textfont6 is undefined" on the formula that is supposed to work, and a nice bold dotlessi (!) on the one that is not. (the third one has missing braces) But then, I only added \setupformulas[method=bold] to the example, nothing else. This appears to work reasonably well for me: \startformula % this works \bfmath \sin{\frac{\pi}{2}}=\sqrt{2} \stopformula Cheers, Taco
Taco Hoekwater wrote:
Adam Lindsay wrote:
compare the following formulae with your favourite working bold math setup
Count me out. :(
I get "\textfont6 is undefined" on the formula that is supposed to work, and a nice bold dotlessi (!) on the one that is not. (the third one has missing braces)
But then, I only added \setupformulas[method=bold] to the example, nothing else.
okay, add this line too, which I believe is the only thing you need for enabling mixed bfmath in CM: \definetypeface [] [mm] [bfmath] [computer-modern] [computer-modern] [encoding=default]
This appears to work reasonably well for me:
\startformula % this works \bfmath \sin{\frac{\pi}{2}}=\sqrt{2} \stopformula
yup, I get it as all bold. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Adam Lindsay wrote:
okay, add this line too, which I believe is the only thing you need for enabling mixed bfmath in CM: \definetypeface [] [mm] [bfmath] [computer-modern] [computer-modern] [encoding=default]
That did it, I think. The first example is now ok, i guess, the second still has a bold dotlessi, and only the third gives an error Cheers, Taco
Taco Hoekwater wrote:
Adam Lindsay wrote:
okay, add this line too, which I believe is the only thing you need for enabling mixed bfmath in CM: \definetypeface [] [mm] [bfmath] [computer-modern] [computer-modern] [encoding=default]
That did it, I think. The first example is now ok, i guess, the second still has a bold dotlessi, and only the third gives an error
That's what I get, too. Now: why? :) -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Adam Lindsay wrote:
Taco Hoekwater wrote:
Adam Lindsay wrote:
okay, add this line too, which I believe is the only thing you need for enabling mixed bfmath in CM: \definetypeface [] [mm] [bfmath] [computer-modern] [computer-modern] [encoding=default]
That did it, I think. The first example is now ok, i guess, the second still has a bold dotlessi, and only the third gives an error
That's what I get, too. Now: why? :)
The bold font (ec-lmbx12) is in ec encoding, where "19 equals \dotlessi, not \pi (that took some searching). As to why it uses latin modern instead of cm: I have no idea. Cheers, Taco
participants (2)
-
Adam Lindsay
-
Taco Hoekwater