]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFeatures.cpp
- UI support for the LaTeX-package undertilde, fileformat change, fixed the remaining...
[lyx.git] / src / LaTeXFeatures.cpp
index 2cfc1ce6e2275940c4cb69f7f97f0eb3b11634f9..41f39bd26fee8631ca4a7d8d7b150020b7a29b25 100644 (file)
@@ -614,8 +614,7 @@ char const * simplefeatures[] = {
        "amscd",
        "slashed",
        "multirow",
-       "tfrupee",
-       "undertilde",
+       "tfrupee"
 };
 
 int const nb_simplefeatures = sizeof(simplefeatures) / sizeof(char const *);
@@ -745,6 +744,10 @@ string const LaTeXFeatures::getPackages() const
        if (mustProvide("yhmath"))
                packages << "\\usepackage{yhmath}\n";
 
+       if (mustProvide("undertilde") &&
+               params_.use_undertilde != BufferParams::package_off)
+               packages << "\\usepackage{undertilde}\n";
+
        // [x]color and pdfcolmk are handled in getColorOptions() above
        
        // makeidx.sty