#include "math_parser.h"
#include "Painter.h"
#include "debug.h"
+#include "commandtags.h"
using std::map;
using std::endl;
// Decorations
{"widehat", angle, 3 },
{"widetilde", tilde, 0 },
+ {"underbar", hline, 0 },
{"underline", hline, 0 },
{"overline", hline, 0 },
{"underbrace", brace, 1 },
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
};