X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FMathFactory.cpp;h=08f0b01e392157de8546663066a5f9366c4aaa60;hb=d9082639080b9de993742bd352f92e5183058cf5;hp=18e4c06f0ad6aa5b612c90b6a0ae64618e2df31a;hpb=649755f48180b0466cdf212178dc9bdcc5d18210;p=lyx.git diff --git a/src/mathed/MathFactory.cpp b/src/mathed/MathFactory.cpp index 18e4c06f0a..08f0b01e39 100644 --- a/src/mathed/MathFactory.cpp +++ b/src/mathed/MathFactory.cpp @@ -624,6 +624,8 @@ MathAtom createInsetMath(docstring const & s, Buffer * buf) return MathAtom(new InsetMathFrac(buf, InsetMathFrac::CFRACLEFT)); if (s == "cfracright") return MathAtom(new InsetMathFrac(buf, InsetMathFrac::CFRACRIGHT)); + if (s == "case") // TODO: only if class is aastex(6|62) + return MathAtom(new InsetMathFrac(buf, InsetMathFrac::AASTEX_CASE)); //if (s == "infer") // return MathAtom(new MathInferInset); if (s == "atop")