X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FMathFactory.cpp;h=bf468e8616b792dd665ccff1829874ab972825a9;hb=d243e53f54e861c90ce7135f3d1a8d68d6202555;hp=d2bd2e8cb312c8344af7477880e6b657a8a52baf;hpb=5261ae6a29aef4d517e83580f52e532c91f85a06;p=lyx.git diff --git a/src/mathed/MathFactory.cpp b/src/mathed/MathFactory.cpp index d2bd2e8cb3..bf468e8616 100644 --- a/src/mathed/MathFactory.cpp +++ b/src/mathed/MathFactory.cpp @@ -537,7 +537,14 @@ MathAtom createInsetMath(docstring const & s, Buffer * buf) if (s == "ensuremath") return MathAtom(new InsetMathEnsureMath(buf)); if (s == "sideset") - return MathAtom(new InsetMathSideset(buf)); + return MathAtom(new InsetMathSideset(buf, true, true)); + // The following 3 string values are only for math toolbar use, no LaTeX names + if (s == "sidesetr") + return MathAtom(new InsetMathSideset(buf, false, true)); + if (s == "sidesetl") + return MathAtom(new InsetMathSideset(buf, true, false)); + if (s == "sidesetn") + return MathAtom(new InsetMathSideset(buf, false, false)); if (isSpecialChar(s)) return MathAtom(new InsetMathSpecialChar(s)); if (s == " ")