Is the attached ok ?

Vincent
Index: X:/lyx-devel/src/mathed/InsetMathGrid.cpp
===================================================================
--- X:/lyx-devel/src/mathed/InsetMathGrid.cpp   (revision 30609)
+++ X:/lyx-devel/src/mathed/InsetMathGrid.cpp   (working copy)
@@ -654,6 +654,9 @@
        if (eol.empty() && row + 1 == nrows() && (nrows() == 1 || !emptyline))
                return docstring();
 
+       if (emptyline && row + 1 == nrows() && ncols() > 1)
+               return " & " + eol;
+
        return (fragile ? "\\protect\\\\" : "\\\\") + eol;
 }
 

Reply via email to