]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathFontOld.h
* up/down jumps between macro parameters
[lyx.git] / src / mathed / InsetMathFontOld.h
index 7e44e08c9f930d4e81b805ebb66952e2f19bf236..f0d9d79f57a617e68fa54be848d8e5ec51788b56 100644 (file)
@@ -30,7 +30,7 @@ public:
        /// we write extra braces in any case...
        bool extraBraces() const { return true; }
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -43,9 +43,11 @@ public:
        void normalize(NormalStream &) const;
        ///
        void infoize(odocstream & os) const;
+       ///
+       int kerning() const { return cell(0).kerning(); }
 
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
        /// the font to be used on screen
        latexkeys const * key_;
 };