]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBox.cpp
Change the interface to a paragraph's layout. We still store a LayoutPtr, but now...
[lyx.git] / src / mathed / InsetMathBox.cpp
index c5272c20e00ba2cba6b3bbfb35cdb36a33ed29b6..91c1a0ab2d8ea9748275280d1e27644cbcfd87a0 100644 (file)
@@ -73,6 +73,14 @@ void InsetMathBox::infoize(odocstream & os) const
 }
 
 
+void InsetMathBox::validate(LaTeXFeatures & features) const
+{
+       if (name_ == "tag" || name_ == "tag*")
+               features.require("amsmath");
+       cell(0).validate(features);
+}
+
+
 
 /////////////////////////////////////////////////////////////////////
 //