2 #ifndef MATH_XARROWINSET_H
3 #define MATH_XARROWINSET_H
5 #include "math_fracbase.h"
9 /** Wide arrows like \xrightarrow
10 * \author André Pönitz
12 * Full author contact details are available in file CREDITS
15 class MathXArrowInset : public MathFracbaseInset {
18 explicit MathXArrowInset(string const & name);
20 InsetBase * clone() const;
22 void draw(PainterInfo & pi, int x, int y) const;
24 void write(WriteStream & os) const;
26 void metrics(MetricsInfo & mi, Dimension & dim) const;
28 void normalize(NormalStream & os) const;