void InsetMathArray::write(WriteStream & os) const
{
- bool brace = ensureMath(os);
+ MathEnsurer ensurer(os);
if (os.fragile())
os << "\\protect";
os << "\\end{" << name_ << '}';
// adding a \n here is bad if the array is the last item
// in an \eqnarray...
-
- os.pendingBrace(brace);
}