3 #include "math_liminset.h"
4 #include "math_support.h"
5 #include "math_mathmlstream.h"
6 #include "math_symbolinset.h"
13 MathLimInset::MathLimInset
14 (MathArray const & f, MathArray const & x, MathArray const & x0)
23 auto_ptr<InsetBase> MathLimInset::clone() const
25 return auto_ptr<InsetBase>(new MathLimInset(*this));
29 void MathLimInset::normalize(NormalStream & os) const
31 os << "[lim " << cell(0) << ' ' << cell(1) << ' ' << cell(2) << ']';
35 void MathLimInset::metrics(MetricsInfo &, Dimension &) const
37 lyxerr << "should not happen" << endl;
41 void MathLimInset::draw(PainterInfo &, int, int) const
43 lyxerr << "should not happen" << endl;
47 void MathLimInset::maple(MapleStream & os) const
49 os << "limit(" << cell(0) << ',' << cell(1) << '=' << cell(2) << ')';
53 void MathLimInset::mathematica(MathematicaStream & os) const
55 os << "Lim[" << cell(0) << ',' << cell(1) << ',' << cell(2) << ']';
59 void MathLimInset::mathmlize(MathMLStream & os) const
61 os << "lim(" << cell(0) << ',' << cell(1) << ',' << cell(2) << ')';
65 void MathLimInset::write(WriteStream &) const
67 lyxerr << "should not happen" << endl;