]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_defs.h
fix pullArg when pressing <Delete> at the end of an cell
[lyx.git] / src / mathed / math_defs.h
index cec78c5efce5f809769bc881323b52800f66616b..356ec41193233bd0a5fd3e165aab6c49c94d7376 100644 (file)
@@ -37,29 +37,25 @@ enum MathStyles {
        LM_ST_SCRIPTSCRIPT
 };
 
+// decrease math size for super- and subscripts
+MathStyles smallerStyleScript(MathStyles);
+
+// decrease math size for fractions
+MathStyles smallerStyleFrac(MathStyles st);
+
+
 
 /** The restrictions of a standard LaTeX math paragraph
   allows to get a small number of text codes (<30) */
 enum MathTextCodes  {
        /// This must be >= 0
        LM_TC_MIN = 0,
-       /// Open and Close group
-       LM_TC_OPEN,
-       ///
-       LM_TC_CLOSE,
        /// Math Inset
        LM_TC_INSET,
-       /// Super and sub scripts
-       LM_TC_UP,
-       ///
-       LM_TC_DOWN,
-       /// Editable Math Inset
-       LM_TC_ACTIVE_INSET,
-       /// Editable Text Inset
-       LM_TC_TEXT_INSET,
+
        ///
        LM_FONT_BEGIN,
-       /// Internal code for constants  11
+       /// Internal code for constants  4
        LM_TC_CONST,
        /// Internal code for variables
        LM_TC_VAR,
@@ -118,8 +114,6 @@ enum MathInsetTypes  {
        /// An array
        LM_OT_MATRIX,
 
-       /// A big operator
-       LM_OT_BIGOP,
        /// A LaTeX macro
        LM_OT_UNDEF,
        ///
@@ -127,26 +121,6 @@ enum MathInsetTypes  {
        ///
        LM_OT_FUNCLIM,
        ///
-       LM_OT_SCRIPT,
-       ///
-       LM_OT_SPACE,
-       ///
-       LM_OT_DOTS,
-       /// A fraction
-       LM_OT_FRAC,
-       ///
-       LM_OT_ATOP,
-       ///
-       LM_OT_STACKREL,
-       /// A radical
-       LM_OT_SQRT,
-       /// A delimiter
-       LM_OT_DELIM,
-       /// A decoration
-       LM_OT_DECO,
-       /// An accent
-       LM_OT_ACCENT,
-       ///
        LM_OT_MACRO,
        ///
        LM_OT_MAX