3 * \file InsetMathSpace.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
12 #ifndef MATH_SPACEINSET_H
13 #define MATH_SPACEINSET_H
15 #include "InsetMath.h"
19 class InsetMathSpace : public InsetMath {
22 explicit InsetMathSpace(int sp);
24 explicit InsetMathSpace(std::string const & name);
26 InsetMathSpace const * asSpaceInset() const { return this; }
28 InsetMathSpace * asSpaceInset() { return this; }
38 void metrics(MetricsInfo & mi, Dimension & dim) const;
40 void draw(PainterInfo & pi, int x, int y) const;
43 void normalize(NormalStream &) const;
45 void validate(LaTeXFeatures & features) const;
47 void maple(MapleStream &) const;
49 void mathematica(MathematicaStream &) const;
51 void octave(OctaveStream &) const;
53 void write(WriteStream & os) const;
55 virtual std::auto_ptr<InsetBase> doClone() const;