2 #ifndef MATH_SPACEINSET_H
3 #define MATH_SPACEINSET_H
5 #include "math_inset.h"
9 class MathSpaceInset : public MathInset {
12 explicit MathSpaceInset(int sp);
14 explicit MathSpaceInset(string const & name);
16 virtual std::auto_ptr<InsetBase> clone() const;
18 MathSpaceInset const * asSpaceInset() const { return this; }
20 MathSpaceInset * asSpaceInset() { return this; }
24 void metrics(MetricsInfo & mi, Dimension & dim) const;
26 void draw(PainterInfo & pi, int x, int y) const;
29 void normalize(NormalStream &) const;
31 void validate(LaTeXFeatures & features) const;
33 void maple(MapleStream &) const;
35 void mathematica(MathematicaStream &) const;
37 void octave(OctaveStream &) const;
39 void write(WriteStream & os) const;