Andre Poenitz schrieb:

>> If I write \overset{def}{=} I get the preview shown in the attached
>> picture, that is 'def' does not appear above '=', but they both overlap.
>
> Right.
>
> Patch attached.
>
> Ok to commit?

Forwarding this to the devel list.

Uwe
Index: InsetMathOverset.cpp
===================================================================
--- InsetMathOverset.cpp        (revision 19004)
+++ InsetMathOverset.cpp        (working copy)
@@ -49,7 +49,7 @@
 void InsetMathOverset::draw(PainterInfo & pi, int x, int y) const
 {
        int m  = x + width() / 2;
-       int yo = y - cell(1).ascent() + cell(0).descent() - 1;
+       int yo = y - cell(1).ascent() - cell(0).descent() - 1;
        cell(1).draw(pi, m - cell(1).width() / 2, y);
        FracChanger dummy(pi.base);
        cell(0).draw(pi, m - cell(0).width() / 2, yo);

Reply via email to