]> git.lyx.org Git - features.git/blobdiff - src/LaTeXFeatures.cpp
Fix bug #5029: Support \smash, \mathclap, \mathllap and \mathrlap.
[features.git] / src / LaTeXFeatures.cpp
index a0e55981c02dd013171453260ee7454bfc7d1fdf..0bfa8023556517d61232d729295820b7c347fc28 100644 (file)
@@ -799,9 +799,8 @@ string const LaTeXFeatures::getPackages() const
                packages << "\\PassOptionsToPackage{normalem}{ulem}\n"
                            "\\usepackage{ulem}\n";
 
-       if (params_.use_package("mhchem") == BufferParams::package_on ||
-           (mustProvide("mhchem") &&
-            params_.use_package("mhchem") != BufferParams::package_off))
+       if (mustProvide("mhchem") &&
+           params_.use_package("mhchem") != BufferParams::package_off)
                packages << "\\PassOptionsToPackage{version=3}{mhchem}\n"
                            "\\usepackage{mhchem}\n";