X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathSplit.cpp;h=240126d122e2d774f4531ff340baa1ccd64cc499;hb=f6d505c1ee494ab0d30eebba86082c86a915e1df;hp=a6941ea838a28f6b4d11b6bba158a504f0411eaf;hpb=b79d8e5e2d20e8f294d47fe924c20de17dbd5c0b;p=lyx.git diff --git a/src/mathed/InsetMathSplit.cpp b/src/mathed/InsetMathSplit.cpp index a6941ea838..240126d122 100644 --- a/src/mathed/InsetMathSplit.cpp +++ b/src/mathed/InsetMathSplit.cpp @@ -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); }