]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_sizeinset.h
small up/down tweaking
[lyx.git] / src / mathed / math_sizeinset.h
index cae5e679a47deb8e1e860eb6ae328190ffa32adc..fa93d50837d4ad1c1f63646dc0e1c5f7d6c03528 100644 (file)
@@ -3,13 +3,16 @@
 #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 +23,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;
        ///
@@ -35,6 +40,8 @@ public:
 private:
        ///
        latexkeys const * key_;
+       ///
+       MathStyles const style_;
 };
 
 #endif