]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_support.C
enable direct input of #1...#9; some whitespace changes
[lyx.git] / src / mathed / math_support.C
index a7ffa7949cbcc649028d8aa39ba5819ae861410b..59daa5128653c05876345cd637219600d2309dc3 100644 (file)
@@ -186,6 +186,7 @@ LyXFont const & whichFontBaseIntern(MathTextCodes type)
        return MathFonts[1];
 }
 
+
 LyXFont const & whichFontBase(MathTextCodes type)
 {
        if (!MathFonts)
@@ -454,6 +455,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 },
@@ -775,6 +777,16 @@ char const * latex_mathspace[] = {
 };
 
 
+char const * latex_mathstyle[] = {
+       "textstyle", "displaystyle", "scriptstyle", "scriptscriptstyle" 
+};
+
+char const * latex_mathfontcmds[] = {
+       "font-bold", "font-emph", "font-roman", "font-code", "font-sans",
+       "font-ital", "font-noun", "font-frak", "font-free", "font-default"
+};
+
+
 char const * math_font_name(MathTextCodes code)
 {
        static char const * theFontNames[] = {