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 write(MathWriteInfo & os) const;
23 void writeNormal(std::ostream &) const;
25 void metrics(MathMetricsInfo const & st) const;
27 void draw(Painter &, int x, int y) const;
29 void maplize(MapleStream &) const;
31 void mathmlize(MathMLStream &) const;