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"
22 class InsetMathSpace : public InsetMath {
25 explicit InsetMathSpace(int sp);
27 explicit InsetMathSpace(docstring const & name);
29 InsetMathSpace const * asSpaceInset() const { return this; }
31 InsetMathSpace * asSpaceInset() { return this; }
35 void metrics(MetricsInfo & mi, Dimension & dim) const;
37 void draw(PainterInfo & pi, int x, int y) const;
40 void normalize(NormalStream &) const;
42 void validate(LaTeXFeatures & features) const;
44 void maple(MapleStream &) const;
46 void mathematica(MathematicaStream &) const;
48 void octave(OctaveStream &) const;
50 void write(WriteStream & os) const;
52 virtual Inset * clone() const;