From c3427999a255c102a16095641bf27efffd7aa7c2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Wed, 28 Aug 2002 16:40:03 +0000 Subject: [PATCH] I _really_ hate LaTeX's syntax quirks. Why is \begin{eqnarray}\end{eqnarray} not valid? git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5141 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/math_gridinset.C | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mathed/math_gridinset.C b/src/mathed/math_gridinset.C index f578582589..5880c2f7c6 100644 --- a/src/mathed/math_gridinset.C +++ b/src/mathed/math_gridinset.C @@ -908,6 +908,10 @@ void MathGridInset::write(WriteStream & os) const lastcol = col + 1; for (col_type col = 0; col < lastcol; ++col) os << cell(index(row, col)) << eocString(col, lastcol); + // I _really_ hate LaTeX's syntax quirks. Why is + // \begin{eqnarray}\end{eqnarray} not valid? + if (lastcol == 0 && os.latex()) + os << "\\ "; os << eolString(row, os.fragile()); } string const s = verboseHLine(rowinfo_[nrows()].lines_); -- 2.39.2