]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSize.cpp
Use master buffer's setting for math output type.
[lyx.git] / src / mathed / InsetMathSize.cpp
index 0403ffbc3f1ba5b953ce17a2758ffd82ccb429b1..a638f43851d368fbdfde456c37edda9185b57c0c 100644 (file)
@@ -108,11 +108,10 @@ void InsetMathSize::infoize(odocstream & os) const
 void InsetMathSize::validate(LaTeXFeatures & features) const
 {
        if (features.runparams().math_flavor == OutputParams::MathAsHTML)
-               features.addPreambleSnippet("<style type=\"text/css\">\n"
+               features.addCSSSnippet(
                        "span.displaystyle, span.textstyle{font-size: normal;}\n"
                        "span.scriptstyle {font-size: small;}\n"
-                       "span.scriptscriptstyle {font-size: x-small;}\n"
-                       "</style>");
+                       "span.scriptscriptstyle {font-size: x-small;}");
        InsetMathNest::validate(features);
 }