2 #ifndef MATH_MACROTABLE_H
3 #define MATH_MACROTABLE_H
16 struct MathMacroTable {
19 static void create(string const &, int);
21 static void create(string const &, int, MathArray const &, MathArray const &);
23 static MathAtom & provide(string const &);
25 static bool has(string const &);
27 static void builtinMacros();
31 /// create internal macros (like \longrightarrow...)
32 static void create(string const &, int, string const &);
35 typedef std::map<string, MathAtom> table_type;
37 static table_type macro_table;