![](https://secure.gravatar.com/avatar/46562c7d27388490d62e8d7a5bc960dd.jpg?s=120&d=mm&r=g)
On 4/20/2022 7:07 PM, Christoph Hintermüller via ntg-context wrote:
Hi Michael
[Inline Response to message by Mikael Sundqvist via ntg-context, Mi, 2022-04-20 17:12 +0200: Answers and comments below corresponding cited paragraphs.]
The strange thing with fractions seems to be due to the parameter FractionNumeratorDisplayStyleShiftUp in lm.lfg. If you always set it to 600, it seems to work also for luatex. (This will be fixed.)
Another thing: Instead of using \over, I suggest that you use \frac (less surprises). Something like:
\starttext \startformula a=b + 1 \stopformula
\startformula a = \frac{ b + \mu }{ c } \stopformula
\startformula a = \frac{\frac{ b + \mu }{ c } + e}{ d + i } \stopformula \stoptext
Thank you very much for the hints. \frac didn't help either even after moving broken installation aside and doing a fresh install with
sh ./first-setup.sh --modules=all --context=latest
Results still similar see attached. We had to adapt the lfg file for lm (other fonts are ok) so i'll make an update.
If you're in a hurry, in lm.lfg: parameters = { FractionNumeratorDisplayStyleShiftUp = 600, -- used to be a function NoLimitSupFactor = 0, NoLimitSubFactor = 900, -- AccentBaseHeight = 0, AccentBaseDepth = 50, }, can be adapted. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------