commit 67c0ca678becce04c38f378430d960b12554b206
Author: Jean-Marc Lasgouttes <[email protected]>
Date:   Fri Jul 17 18:48:39 2020 +0200

    Improve metrics for \limits in display mode
    
    (cherry picked from commit 8d54457dbf6ab41083b5c769be22b8333f764037)
---
 src/mathed/InsetMathScript.cpp |    4 ++--
 status.23x                     |    1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/mathed/InsetMathScript.cpp b/src/mathed/InsetMathScript.cpp
index 315637c..c461c9c 100644
--- a/src/mathed/InsetMathScript.cpp
+++ b/src/mathed/InsetMathScript.cpp
@@ -298,9 +298,9 @@ void InsetMathScript::metrics(MetricsInfo & mi, Dimension & 
dim) const
        cell(0).metrics(mi, dim0);
        Changer dummy = mi.base.changeScript();
        if (nargs() > 1)
-               cell(1).metrics(mi, dim1);
+               cell(1).metrics(mi, dim1, !hasLimits());
        if (nargs() > 2)
-               cell(2).metrics(mi, dim2);
+               cell(2).metrics(mi, dim2, !hasLimits());
 
        dim.wid = 0;
        BufferView & bv = *mi.base.bv;
diff --git a/status.23x b/status.23x
index 944a039..1307003 100644
--- a/status.23x
+++ b/status.23x
@@ -76,6 +76,7 @@ What's new
 
 - Fix display bug when typing in a paragraph where row heights change (bug 
11601).
 
+- Fix spacing of limits of sum-like operators in display style.
 
 * INTERNALS
 
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to