]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_sizeinset.h
Fix.
[lyx.git] / src / mathed / math_sizeinset.h
index a1bc12b49b7b0a3884de7a5d089f40fc3902d550..5f812dbdba643cc796a95da4e1eddb28a0ec60c1 100644 (file)
@@ -3,13 +3,13 @@
 #define MATHSIZEINSET_H
 
 #include "math_nestinset.h"
+#include "math_metricsinfo.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 /** An inset for \scriptsize etc
-    \author André Pönitz
+ *  \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS
 */
 
 class latexkeys;
@@ -20,6 +20,8 @@ public:
        explicit MathSizeInset(latexkeys const * l);
        ///
        MathInset * clone() const;
+       /// we write extra braces in any case...
+       bool extraBraces() const { return true; }
        ///
        void metrics(MathMetricsInfo & st) const;
        ///
@@ -29,10 +31,14 @@ public:
        void write(WriteStream & os) const;
        ///
        void normalize(NormalStream &) const;
+       ///
+       void infoize(std::ostream & os) const;
 
 private:
        ///
        latexkeys const * key_;
+       ///
+       MathStyles const style_;
 };
 
 #endif