]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBig.cpp
New methods in LaTeXFeatures specifically for collection of CSS
[lyx.git] / src / mathed / InsetMathBig.cpp
index 9745b76e2b602fdd334e0f58877172d2af790a89..969dd472c72fd5e512df6675cd30cda043952037 100644 (file)
@@ -232,11 +232,10 @@ bool InsetMathBig::isBigInsetDelim(docstring const & delim)
 void InsetMathBig::validate(LaTeXFeatures & features) const
 {
        if (features.runparams().math_flavor == OutputParams::MathAsHTML)
-               features.addPreambleSnippet("<style type=\"text/css\">\n"
+               features.addCSSSnippet(
                        "span.bigsymbol{font-size: 150%;}\n"
                        "span.biggsymbol{font-size: 200%;}\n"
-                       "span.bigggsymbol{font-size: 225%;}\n"
-                       "</style>");
+                       "span.bigggsymbol{font-size: 225%;}");
 }