2 #include "math_liminset.h"
3 #include "math_support.h"
4 #include "math_mathmlstream.h"
5 #include "math_symbolinset.h"
9 MathLimInset::MathLimInset
10 (MathArray const & f, MathArray const & x, MathArray const & x0)
19 MathInset * MathLimInset::clone() const
21 return new MathLimInset(*this);
25 void MathLimInset::normalize(NormalStream & os) const
27 os << "[lim " << cell(0) << ' ' << cell(1) << ' ' << cell(2) << ']';
31 void MathLimInset::metrics(MathMetricsInfo &) const
33 lyxerr << "should not happen\n";
37 void MathLimInset::draw(MathPainterInfo &, int, int) const
39 lyxerr << "should not happen\n";
43 void MathLimInset::maple(MapleStream & os) const
45 os << "limit(" << cell(0) << ',' << cell(1) << '=' << cell(2) << ')';
49 void MathLimInset::mathematica(MathematicaStream & os) const
51 os << "Lim[" << cell(0) << ',' << cell(1) << ',' << cell(2) << ']';
55 void MathLimInset::mathmlize(MathMLStream & os) const
57 os << "lim(" << cell(0) << ',' << cell(1) << ',' << cell(2) << ')';
61 void MathLimInset::write(WriteStream &) const
63 lyxerr << "should not happen\n";