2 #ifndef MATH_FRACINSET_H
3 #define MATH_FRACINSET_H
5 #include "math_fracbase.h"
11 /** Fraction like objects (frac, binom)
12 \author Alejandro Aguilar Sierra
14 class MathFracInset : public MathFracbaseInset {
17 explicit MathFracInset(bool atop = false);
19 MathInset * clone() const;
21 void metrics(MathMetricsInfo const & st) const;
23 void draw(Painter &, int x, int y) const;
25 MathFracInset * asFracInset();
28 void write(WriteStream & os) const;
30 void normalize(NormalStream &) const;
32 void maplize(MapleStream &) const;
34 void mathmlize(MathMLStream &) const;