2 #ifndef MATH_DELIMINSET_H
3 #define MATH_DELIMINSET_H
5 #include "math_nestinset.h"
10 * \author Alejandro Aguilar Sierra
12 * Full author contact details are available in file CREDITS
15 class MathDelimInset : public MathNestInset {
18 MathDelimInset(string const & left, string const & right);
20 MathDelimInset(string const & left, string const & right, MathArray const &);
22 MathInset * clone() const;
24 MathDelimInset * asDelimInset() { return this; }
26 MathDelimInset const * asDelimInset() const { return this; }
28 bool isParanthesis() const;
30 bool isBrackets() const;
34 void metrics(MathMetricsInfo & st) const;
36 void draw(MathPainterInfo &, int x, int y) const;
39 void write(WriteStream & os) const;
40 /// write normalized content
41 void normalize(NormalStream &) const;
43 void maplize(MapleStream &) const;
45 void maximize(MaximaStream &) const;
47 void mathematicize(MathematicaStream &) const;
49 void mathmlize(MathMLStream &) const;
51 void octavize(OctaveStream &) const;