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 Dimension MathLimInset::metrics(MetricsInfo &) const
33 lyxerr << "should not happen\n";
38 void MathLimInset::draw(PainterInfo &, int, int) const
40 lyxerr << "should not happen\n";
44 void MathLimInset::maple(MapleStream & os) const
46 os << "limit(" << cell(0) << ',' << cell(1) << '=' << cell(2) << ')';
50 void MathLimInset::mathematica(MathematicaStream & os) const
52 os << "Lim[" << cell(0) << ',' << cell(1) << ',' << cell(2) << ']';
56 void MathLimInset::mathmlize(MathMLStream & os) const
58 os << "lim(" << cell(0) << ',' << cell(1) << ',' << cell(2) << ')';
62 void MathLimInset::write(WriteStream &) const
64 lyxerr << "should not happen\n";