]> git.lyx.org Git - features.git/blobdiff - src/LaTeXFeatures.cpp
Fix bug #8464: stackrel with subscript.
[features.git] / src / LaTeXFeatures.cpp
index 9a73c8e21ed36f0a6b6cbb4ab8f205899cf4b43c..6b23fc537b4f69d497235965e6d6df51d5d403a4 100644 (file)
@@ -851,6 +851,10 @@ string const LaTeXFeatures::getPackages() const
            params_.use_package("stmaryrd") != BufferParams::package_off)
                packages << "\\usepackage{stmaryrd}\n";
 
+       if (mustProvide("stackrel") &&
+           params_.use_package("stackrel") != BufferParams::package_off)
+               packages << "\\usepackage{stackrel}\n";
+
        if (mustProvide("undertilde") &&
                params_.use_package("undertilde") != BufferParams::package_off)
                packages << "\\usepackage{undertilde}\n";