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 &, string const &);
21 MathInset * clone() const;
23 MathDelimInset * asDelimInset() { return this; }
25 MathDelimInset const * asDelimInset() const { return this; }
27 bool isParanthesis() const;
29 bool isBrackets() const;
33 void metrics(MathMetricsInfo const & st) const;
35 void draw(Painter &, int x, int y) const;
38 void write(WriteStream & os) const;
39 /// write normalized content
40 void normalize(NormalStream &) const;
42 void maplize(MapleStream &) const;
44 void mathmlize(MathMLStream &) const;
46 void octavize(OctaveStream &) const;
55 static string latexName(string const & name);