]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_parser.h
More fonts in mathed.
[features.git] / src / mathed / math_parser.h
index 469a97f29017a1ac70fc9ef15f133703784aabe1..27f647ead48b34a6cc6f92701ce044324368388d 100644 (file)
@@ -81,6 +81,16 @@ enum MathTokenEnum
        ///
        LM_TK_NOGLYPHB,
        ///
+       LM_TK_CMSY,
+       ///
+       LM_TK_CMM,
+       ///
+       LM_TK_CMEX,
+       ///
+       LM_TK_MSA,
+       ///
+       LM_TK_MSB,
+       ///
        LM_TK_LABEL,
        ///
        LM_TK_NONUM,
@@ -114,19 +124,26 @@ enum MathTokenEnum
 ///
 struct latexkeys {
        ///
-       char const * name;
+       string name;
        ///
        short token;
        ///
        unsigned int id;
        ///
-       int numargs;
+       unsigned char latex_font_id;
+       ///
+       MathSymbolTypes type;
+       ///
+       string const & Name() const { return name;}
 };
 
 
 ///
 latexkeys const * in_word_set(string const & str);
 
+///
+void ReadSymbols(string const & file);
+
 MathMatrixInset * mathed_parse_normal(string const &);
 MathMatrixInset * mathed_parse_normal(std::istream &);
 MathMatrixInset * mathed_parse_normal(LyXLex &);