]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_defs.h
oh well
[lyx.git] / src / mathed / math_defs.h
index a787878d851359c93a168626cf5ca6208ea62460..03c03dd4ca7772379e8180ed3c8b981887d5cb35 100644 (file)
@@ -1,8 +1,8 @@
 // -*- C++ -*-
 /*
  *  File:        math_defs.h
- *  Purpose:     Math editor definitions 
- *  Author:      Alejandro Aguilar Sierra <asierra@servidor.unam.mx> 
+ *  Purpose:     Math editor definitions
+ *  Author:      Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
  *  Created:     January 1996
  *  Description: Math paragraph and objects for a WYSIWYG math editor.
  *
@@ -14,7 +14,7 @@
  *
  *   You are free to use and modify this code under the terms of
  *   the GNU General Public Licence version 2 or later.
- * 
+ *
  */
 
 #ifndef MATH_DEFS
 #endif
 
 
-/** 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,
-       /// Math Inset
-       LM_TC_INSET,
-
        ///
-       LM_FONT_BEGIN,
-       /// Internal code for variables
+       LM_TC_MIN = 0,
+       /// internal code for variables
        LM_TC_VAR,
+       /// internal code for stuff in wrapped in mbox etc
+       LM_TC_BOX,
        ///
        LM_TC_CONST,
        ///
@@ -44,6 +40,8 @@ enum MathTextCodes  {
        ///
        LM_TC_CAL,
        ///
+       LM_TC_EUFRAK,
+       ///
        LM_TC_BF,
        //
        LM_TC_BB,
@@ -55,13 +53,13 @@ enum MathTextCodes  {
        LM_TC_IT,
        ///
        LM_TC_TEXTRM,
-       /// Math mode TeX characters ",;:{}"  
+       /// math mode TeX characters ",;:{}"
        LM_TC_TEX,
-       /// Internal code when typing greek
+       /// internal code when typing greek
        LM_TC_GREEK,
-       /// Internal code when typing a single greek character
+       /// internal code when typing a single greek character
        LM_TC_GREEK1,
-       /// Internal code for symbols
+       /// internal code for symbols
        LM_TC_SYMB,
        /// internal code for symbols that get bigger in displayed math
        LM_TC_BOLDSYMB,
@@ -78,20 +76,17 @@ enum MathTextCodes  {
        ///
        LM_TC_MSB,
        ///
-       LM_FONT_END,
-       
-       /// This must be < 32 
-       LM_TC_MAX
+       LM_FONT_END
 };
 
 
-/// Types of lyx-math insets 
+/// Types of lyx-math insets
 enum MathInsetTypes  {
        ///
        LM_OT_SIMPLE = 0,
        ///
        LM_OT_EQUATION,
-       /// 
+       ///
        LM_OT_EQNARRAY,
        ///
        LM_OT_ALIGN,