4 #include "math_ertinset.h"
5 #include "math_mathmlstream.h"
6 #include "support/LOstream.h"
9 MathInset * MathErtInset::clone() const
11 return new MathErtInset(*this);
15 void MathErtInset::metrics(MathMetricsInfo & mi) const
17 MathFontSetChanger dummy(mi.base, "lyxert");
18 MathTextInset::metrics(mi);
19 cache_.colinfo_[0].align_ = 'l';
24 void MathErtInset::draw(MathPainterInfo & pi, int x, int y) const
26 MathFontSetChanger dummy(pi.base, "lyxert");
27 MathTextInset::draw(pi, x + 1, y);
28 drawMarkers2(pi, x, y);
32 void MathErtInset::write(WriteStream & os) const
37 os << "\\lyxert{" << cell(0) << '}';
41 void MathErtInset::infoize(std::ostream & os) const