]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSplit.cpp
Years forgotten files.
[lyx.git] / src / mathed / InsetMathSplit.cpp
index a6941ea838a28f6b4d11b6bba158a504f0411eaf..240126d122e2d774f4531ff340baa1ccd64cc499 100644 (file)
@@ -147,6 +147,8 @@ void InsetMathSplit::validate(LaTeXFeatures & features) const
        if (name_ == "split" || name_ == "gathered" || name_ == "aligned" ||
            name_ == "alignedat")
                features.require("amsmath");
+       else if (name_ == "lgathered" || name_ == "rgathered")
+               features.require("mathtools");
        InsetMathGrid::validate(features);
 }