]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_sizeinset.h
use stream-like syntax for LaTeX output
[lyx.git] / src / mathed / math_sizeinset.h
index fa23904ea5f140ff3b405b889660fa1857d48f76..b4e25958c71a2397a76f5fcda0c8ae801ea01ebf 100644 (file)
 #endif
 
 /** An inset for \scriptsize etc
-    \author André Poenitz
+    \author André Pönitz
 */
 
+class latexkeys;
+
 class MathSizeInset : public MathNestInset {
 public:
        ///
-       explicit MathSizeInset(MathStyles st);
+       explicit MathSizeInset(latexkeys const * l);
        ///
        MathInset * clone() const;
        ///
-       void metrics(MathStyles st) const;
+       void metrics(MathMetricsInfo const & st) const;
        ///
        void draw(Painter &, int x, int y) const;
        ///
-       void write(std::ostream &, bool fragile) const;
+       void write(MathWriteInfo & os) const;
        ///
        void writeNormal(std::ostream &) const;
 
 private:
-       ///
-       char const * verbose() const;
        /// 
-       MathStyles style_;
+       latexkeys const * key_;
 };
 
 #endif