]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathUnderset.cpp
Add \makeat switches to babel settings if necessary.
[lyx.git] / src / mathed / InsetMathUnderset.cpp
index e3a5f515ad9b76ddddf0b0b788627a09bc01cc5c..7632b0c6af2e6e9c1d01906163314a3e8f0560af 100644 (file)
@@ -117,11 +117,10 @@ void InsetMathUnderset::validate(LaTeXFeatures & features) const
        if (features.runparams().isLaTeX())
                features.require("amsmath");
        else if (features.runparams().math_flavor == OutputParams::MathAsHTML)
-               features.addPreambleSnippet("<style type=\"text/css\">\n"
+               features.addCSSSnippet(
                        "span.underset{display: inline-block; vertical-align: top; text-align:center;}\n"
                        "span.underset span {display: block;}\n"
-                       "span.bottom{font-size: 66%;}\n"
-                       "</style>");
+                       "span.bottom{font-size: 66%;}");
 
        InsetMathNest::validate(features);
 }