2 #ifndef MATH_DELIMINSET_H
3 #define MATH_DELIMINSET_H
5 #include "math_nestinset.h"
13 \author Alejandro Aguilar Sierra
16 class MathDelimInset : public MathNestInset {
19 MathDelimInset(string const & left, string const & right);
21 MathDelimInset(string const & left, string const & right, MathArray const &);
23 MathInset * clone() const;
25 MathDelimInset * asDelimInset() { return this; }
27 MathDelimInset const * asDelimInset() const { return this; }
29 bool isParanthesis() const;
31 bool isBrackets() const;
35 void metrics(MathMetricsInfo & st) const;
37 void draw(MathPainterInfo &, int x, int y) const;
40 void write(WriteStream & os) const;
41 /// write normalized content
42 void normalize(NormalStream &) const;
44 void maplize(MapleStream &) const;
46 void mathematicize(MathematicaStream &) const;
48 void mathmlize(MathMLStream &) const;
50 void octavize(OctaveStream &) const;