]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_specialcharinset.h
make \newcommand{\bb}[1]{\mathbf{#1}} work for read/write/display.
[lyx.git] / src / mathed / math_specialcharinset.h
index 8fcfbb32c96d8277ba59c61fe8ca3056b651c56a..0b5a72be42aa39a7d9285b12d281f3f4babbe1d0 100644 (file)
@@ -24,9 +24,9 @@ public:
        ///
        void draw(Painter &, int x, int y) const;
        ///
-       void write(MathWriteInfo & os) const;
+       void write(WriteStream & os) const;
        ///
-       void writeNormal(std::ostream &) const;
+       void normalize(NormalStream &) const;
        /// 
        int ascent() const;
        ///
@@ -37,5 +37,7 @@ public:
 private:
        /// the character
        char char_;
+       ///
+       mutable MathMetricsInfo mi_;
 };
 #endif