]> git.lyx.org Git - features.git/blobdiff - src/mathed/MathFactory.cpp
Add support for \bm from bm.sty
[features.git] / src / mathed / MathFactory.cpp
index dbeb6d61f0d016e370eba4cecdb945e5cbd86de2..b1e73b2a3a3ed38bb1232f2159c909310a7d8aed 100644 (file)
@@ -14,6 +14,7 @@
 
 #include "InsetMathAMSArray.h"
 #include "InsetMathArray.h"
+#include "InsetMathBM.h"
 #include "InsetMathBoldSymbol.h"
 #include "InsetMathBox.h"
 #include "InsetMathCases.h"
@@ -377,6 +378,8 @@ MathAtom createInsetMath(docstring const & s)
                return MathAtom(new InsetMathLefteqn);
        if (s == "boldsymbol")
                return MathAtom(new InsetMathBoldSymbol);
+       if (s == "bm")
+               return MathAtom(new InsetMathBM);
        if (s == "color" || s == "normalcolor")
                return MathAtom(new InsetMathColor(true));
        if (s == "textcolor")