]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathScript.h
Fix #10863 compiler warnings.
[lyx.git] / src / mathed / InsetMathScript.h
index e84886b7d3bf922a8d42cae1e0beff345cc5de53..0b96d03ce2e03bdc9307229d93136b35c5c0c934 100644 (file)
@@ -33,6 +33,8 @@ public:
        ///
        mode_type currentMode() const { return MATH_MODE; }
        ///
+       MathClass mathClass() const;
+       ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
@@ -133,7 +135,10 @@ private:
        int nasc(BufferView const &) const;
        /// returns descent of nucleus if any
        int ndes(BufferView const &) const;
-       /// returns superscript kerning of nucleus if any
+       /// Italic correction: amount of displacement between subscript and
+       /// superscript in math mode as per Appendix G, rule 18f.  A positive value
+       /// shifts the superscript to the right, and a negative value shifts the
+       /// subscript to the left.
        int nker(BufferView const * bv) const;
        /// where do we have to draw the scripts?
        bool hasLimits() const;