]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_support.C
fix build, thesaurus
[lyx.git] / src / mathed / math_support.C
index 14c37c95c552540227253498569cef8c431c3af8..c76a6dc7d0f99896e73ab4ed6d17ae92f810911c 100644 (file)
@@ -12,6 +12,7 @@
 #include "math_parser.h"
 #include "Painter.h"
 #include "debug.h"
+#include "commandtags.h"
 
 using std::map;
 using std::endl;
@@ -455,6 +456,7 @@ named_deco_struct deco_table[] = {
        // Decorations
        {"widehat",        angle,      3 },
        {"widetilde",      tilde,      0 },
+       {"underbar",       hline,      0 },
        {"underline",      hline,      0 },
        {"overline",       hline,      0 },
        {"underbrace",     brace,      1 },
@@ -777,9 +779,12 @@ char const * latex_mathspace[] = {
 
 
 char const * latex_mathstyle[] = {
-       "textstyle", "displaystyle", "scriptstyle", "scriptscriptstyle", 
-       "mathbf", "mathcal","mathrm","mathtt", "mathsf", "mathit",
-       "mathbb","mathfrak", "textrm", "mathnormal"
+       "textstyle", "displaystyle", "scriptstyle", "scriptscriptstyle" 
+};
+
+kb_action latex_mathfontcmds[] = {
+       LFUN_BOLD, LFUN_EMPH, LFUN_ROMAN, LFUN_CODE, LFUN_SANS,
+       LFUN_ITAL, LFUN_NOUN, LFUN_FRAK, LFUN_FREE, LFUN_DEFAULT
 };