2 #ifndef MATH_XARROWINSET_H
3 #define MATH_XARROWINSET_H
5 #include "math_fracbase.h"
12 /** Wide arrows like \xrightarrow
13 * \author André Pönitz
15 * Full author contact details are available in file CREDITS
18 class MathXArrowInset : public MathFracbaseInset {
21 explicit MathXArrowInset(string const & name);
23 MathInset * clone() const;
25 void draw(MathPainterInfo & pi, int x, int y) const;
27 void write(WriteStream & os) const;
29 void metrics(MathMetricsInfo & mi) const;
31 void normalize(NormalStream & os) const;