diff --git a/src/mathed/math_arrayinset.C b/src/mathed/math_arrayinset.C index e0cb5bed15..28739cdedc 100644 --- a/src/mathed/math_arrayinset.C +++ b/src/mathed/math_arrayinset.C @@ -89,7 +89,9 @@ void MathArrayInset::write(WriteStream & os) const if (os.fragile()) os << "\\protect"; - os << "\\end{" << name_ << "}\n"; + os << "\\end{" << name_ << "}"; + // adding a \n here is bad if the array is the last item + // in an \eqnarray... }