1 #include "math_funcliminset.h"
2 #include "mathed/math_parser.h"
3 #include "support/LOstream.h"
8 MathFuncLimInset::MathFuncLimInset(const latexkeys * l)
13 MathInset * MathFuncLimInset::clone() const
15 return new MathFuncLimInset(*this);
19 void MathFuncLimInset::write(ostream & os, bool /* fragile */) const
21 os << '\\' << sym_->name << ' ';
25 void MathFuncLimInset::writeNormal(ostream & os) const
27 os << "[" << sym_->name << "] ";
31 void MathFuncLimInset::metrics(MathStyles st) const
34 mathed_string_dim(LM_TC_TEXTRM, size(), sym_->name, ascent_, descent_, width_);
38 void MathFuncLimInset::draw(Painter & pain, int x, int y) const
42 drawStr(pain, LM_TC_TEXTRM, size_, x, y, sym_->name);