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
This commit is contained in:
André Pönitz 2002-08-28 16:40:03 +00:00
parent fe61081acf
commit c3427999a2

View File

@ -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_);