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