3 * \file InsetMathXArrow.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
12 #ifndef MATH_XARROWINSET_H
13 #define MATH_XARROWINSET_H
15 #include "InsetMathFracBase.h"
21 /// Wide arrows like \xrightarrow
22 class InsetMathXArrow : public InsetMathFracBase {
25 explicit InsetMathXArrow(docstring const & name);
27 void draw(PainterInfo & pi, int x, int y) const;
29 void write(WriteStream & os) const;
31 void metrics(MetricsInfo & mi, Dimension & dim) const;
33 void normalize(NormalStream & os) const;
35 void validate(LaTeXFeatures & features) const;
38 virtual std::auto_ptr<InsetBase> doClone() const;
42 docstring const name_;