2 #ifndef MATH_DELIMINSET_H
3 #define MATH_DELIMINSET_H
5 #include "math_nestinset.h"
13 * \author Alejandro Aguilar Sierra
15 * Full author contact details are available in file CREDITS
18 class MathDelimInset : public MathNestInset {
21 MathDelimInset(string const & left, string const & right);
23 MathDelimInset(string const & left, string const & right, MathArray const &);
25 MathInset * clone() const;
27 MathDelimInset * asDelimInset() { return this; }
29 MathDelimInset const * asDelimInset() const { return this; }
31 bool isParanthesis() const;
33 bool isBrackets() const;
37 void metrics(MathMetricsInfo & st) const;
39 void draw(MathPainterInfo &, int x, int y) const;
42 void write(WriteStream & os) const;
43 /// write normalized content
44 void normalize(NormalStream &) const;
46 void maplize(MapleStream &) const;
48 void maximize(MaximaStream &) const;
50 void mathematicize(MathematicaStream &) const;
52 void mathmlize(MathMLStream &) const;
54 void octavize(OctaveStream &) const;