]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathRoot.h
Reduce horizontal spacing for simple inline equations
[lyx.git] / src / mathed / InsetMathRoot.h
index 419a26cd19fb1c23a21f77888a2d5f309cecfc64..18bacbbf18888bc825da8c080217ea50c9d50733 100644 (file)
@@ -5,7 +5,7 @@
  * Licence details can be found in the file COPYING.
  *
  * \author Alejandro Aguilar Sierra
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
 #include "InsetMathNest.h"
 
 
+namespace lyx {
+
+
 /// The general n-th root inset.
 class InsetMathRoot : public InsetMathNest {
 public:
        ///
-       InsetMathRoot();
+       InsetMathRoot(Buffer * buf);
        ///
-       bool idxUpDown(LCursor & cur, bool up) const;
+       bool idxUpDown(Cursor & cur, bool up) const;
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
@@ -33,13 +36,25 @@ public:
        ///
        void normalize(NormalStream &) const;
        ///
-       void mathmlize(MathMLStream &) const;
+       void mathmlize(MathStream &) const;
+       ///
+       void htmlize(HtmlStream &) const;
        ///
        void maple(MapleStream &) const;
        ///
+       void mathematica(MathematicaStream &) const;
+       ///
        void octave(OctaveStream &) const;
+       ///
+       InsetCode lyxCode() const { return MATH_ROOT_CODE; }
+       ///
+       void validate(LaTeXFeatures &) const;
+
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
 };
 
+
+
+} // namespace lyx
 #endif