]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSize.cpp
Remove ; from end of function definitions
[lyx.git] / src / mathed / InsetMathSize.cpp
index fa0bc45604b3d26b26935f97e599617d6a86accf..a638f43851d368fbdfde456c37edda9185b57c0c 100644 (file)
@@ -108,11 +108,11 @@ 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);
 }
 
 } // namespace lyx