8 #include "math_ertinset.h"
9 #include "math_mathmlstream.h"
10 #include "support/LOstream.h"
13 MathInset * MathErtInset::clone() const
15 return new MathErtInset(*this);
19 void MathErtInset::metrics(MathMetricsInfo & mi) const
21 MathFontSetChanger dummy(mi.base, "lyxert");
22 MathTextInset::metrics(mi);
23 cache_.colinfo_[0].align_ = 'l';
28 void MathErtInset::draw(MathPainterInfo & pi, int x, int y) const
30 MathFontSetChanger dummy(pi.base, "lyxert");
31 MathTextInset::draw(pi, x + 1, y);
32 drawMarkers2(pi, x, y);
36 void MathErtInset::write(WriteStream & os) const
41 os << "\\lyxert{" << cell(0) << '}';
45 void MathErtInset::infoize(std::ostream & os) const