2 #ifndef MATH_BRACEINSET_H
3 #define MATH_BRACEINSET_H
5 #include "math_nestinset.h"
11 * Full author contact details are available in file CREDITS
14 class MathBraceInset : public MathNestInset {
19 MathBraceInset(MathArray const & ar);
21 virtual std::auto_ptr<InsetBase> clone() const;
22 /// we write extra braces in any case...
23 bool extraBraces() const { return true; }
25 void metrics(MetricsInfo & mi, Dimension & dim) const;
27 void draw(PainterInfo &, int x, int y) const;
29 void write(WriteStream & os) const;
30 /// write normalized content
31 void normalize(NormalStream & ns) const;
33 void maple(MapleStream &) const;
35 void mathematica(MathematicaStream &) const;
37 void octave(OctaveStream &) const;
39 void mathmlize(MathMLStream &) const;
41 void infoize(std::ostream & os) const;
44 /// width of brace character