void InsetMathXYArrow::write(WriteStream & os) const
{
- bool brace = ensureMath(os);
+ MathEnsurer ensurer(os);
os << "\\ar";
if (cell(0).size())
os << '[' << cell(0) << ']';
if (cell(1).size())
os << (up_ ? '^' : '_') << '{' << cell(1) << '}';
os << " ";
- os.pendingBrace(brace);
}