3 * \file math_sqrtinset.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Alejandro Aguilar Sierra
10 * Full author contact details are available in file CREDITS.
13 #ifndef MATH_SQRTINSET_H
14 #define MATH_SQRTINSET_H
16 #include "math_nestinset.h"
19 /// \c MathSqrtInset The square root inset.
20 class MathSqrtInset : public MathNestInset {
25 void draw(PainterInfo &, int x, int y) const;
27 void metrics(MetricsInfo & mi, Dimension & dim) const;
29 void drawT(TextPainter &, int x, int y) const;
31 void metricsT(TextMetricsInfo const & mi, Dimension & dim) const;
34 void write(WriteStream & os) const;
36 void normalize(NormalStream &) const;
38 void maple(MapleStream &) const;
40 void mathematica(MathematicaStream &) const;
42 void octave(OctaveStream &) const;
44 void mathmlize(MathMLStream &) const;
46 virtual std::auto_ptr<InsetBase> doClone() const;