3 * \file InsetMathRoot.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.
16 #include "InsetMathNest.h"
19 /// The general n-th root inset.
20 class InsetMathRoot : public InsetMathNest {
25 bool idxUpDown(LCursor & cur, bool up) const;
27 void metrics(MetricsInfo & mi, Dimension & dim) const;
29 void draw(PainterInfo & pi, int x, int y) const;
32 void write(WriteStream & os) const;
34 void normalize(NormalStream &) const;
36 void mathmlize(MathMLStream &) const;
38 void maple(MapleStream &) const;
40 void octave(OctaveStream &) const;
42 virtual std::auto_ptr<InsetBase> doClone() const;