On Wed, Jan 14, 2009 at 1:57 PM, Mikael Persson wrote:
Hi Mojca,
thank you for your answer. Now it actually works with these braces. I tried to do the same to get \hat working. Adding
\definemathsymbol [hat] [accent] [mr] ["2]
(inside \startmahtcollection[default] \stopmathcollection) from math-fou.tex, however $\hat{f}$ now gives f without a hat. Do I missunderstand something?
However, it would be nice to get these math-fou.tex working.
I agree with that, but fonts have always been something that I hated most in TeX :) :) :) Does anyone else have an idea about that? I'm almost sure that the same problem happened to lucida or some other math font, but I don't remember which one.
I read from the LaTeX file fourier.sty the line \DeclareMathAccent{\hat}{\mathalpha}{operators}{2} but I'm not sure howto translate that into ConTeXt code, the naive
\definemathsymbol [hat] [alpha] [op] ["2]
did not work...
Try: \definemathsymbol [hat] [accent] [tf] ["2] (I thought there was a \definemathaccent, but apparently I was wrong.)
Once this is fixed I can collect the needed files and send them to you(?) to get them included in the minimals if that is what people want (or make a package of it if that is better)
It's easiest to fetch the files directly from CTAN, the only question is how to best organize that: it would be nice to split some fonts, so that those who don't need extra fonts don't need to fetch them all. Mojca