]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathAMSArray.h
Natbib authoryear uses (Ref1; Ref2) by default.
[lyx.git] / src / mathed / InsetMathAMSArray.h
index 44c4b91c75d60ca5e6c5d112935f9a9e19ca5ce5..ceb3069c28190b83d8fb0bad38e461e9a75e3192 100644 (file)
@@ -21,9 +21,9 @@ namespace lyx {
 class InsetMathAMSArray : public InsetMathGrid {
 public:
        ///
-       InsetMathAMSArray(docstring const & name, int m, int n);
+       InsetMathAMSArray(Buffer * buf, docstring const &, int m, int n);
        ///
-       InsetMathAMSArray(docstring const & name);
+       InsetMathAMSArray(Buffer * buf, docstring const &);
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
@@ -42,15 +42,20 @@ public:
        void infoize(odocstream & os) const;
        ///
        void normalize(NormalStream &) const;
+       // Don't need mathmlize or htmlize, as this is handled by 
+       // InsetMathMatrix after being extracted in MathExtern.
+       // void mathmlize(MathStream &) const;
+       // void htmlize(HTMLStream &) const;
        ///
        void validate(LaTeXFeatures & features) const;
-private:
-       virtual Inset * clone() const;
+       ///
+       InsetCode lyxCode() const { return MATH_AMSARRAY_CODE; }
        ///
        char const * name_left() const;
        ///
        char const * name_right() const;
-
+private:
+       virtual Inset * clone() const;
        ///
        docstring name_;
 };