1 #include "math_liminset.h"
2 #include "math_support.h"
3 #include "math_mathmlstream.h"
4 #include "math_symbolinset.h"
10 MathLimInset::MathLimInset
11 (MathArray const & f, MathArray const & x, MathArray const & x0)
20 auto_ptr<InsetBase> MathLimInset::clone() const
22 return auto_ptr<InsetBase>(new MathLimInset(*this));
26 void MathLimInset::normalize(NormalStream & os) const
28 os << "[lim " << cell(0) << ' ' << cell(1) << ' ' << cell(2) << ']';
32 void MathLimInset::metrics(MetricsInfo &, Dimension &) const
34 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";