]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_parser.C
support for AMS flalign environment
[features.git] / src / mathed / math_parser.C
index 6cfa4f05721e635e9647a046ac69c774498f2297..ff4447c2d895115bcadf5190f1bd62bcad829269 100644 (file)
@@ -1016,6 +1016,11 @@ void Parser::parse1(MathGridInset & grid, unsigned flags,
                                parse2(cell->back(), FLAG_END, MathInset::MATH_MODE, !stared(name));
                        }
 
+                       else if (name == "flalign" || name == "flalign*") {
+                               cell->push_back(MathAtom(new MathHullInset("flalign")));
+                               parse2(cell->back(), FLAG_END, MathInset::MATH_MODE, !stared(name));
+                       }
+
                        else if (name == "alignat" || name == "alignat*") {
                                // ignore this for a while
                                getArg('{', '}');