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(std::ostream &, bool fragile) const;
23 void writeNormal(std::ostream &) const;
25 void metrics(MathStyles st) const;
27 void draw(Painter &, int x, int y) const;
30 char const name() const;