#include "InsetMathSqrt.h"
-#include "LaTeXFeatures.h"
#include "MathData.h"
#include "MathStream.h"
+
+#include "LaTeXFeatures.h"
+#include "MetricsInfo.h"
#include "TextPainter.h"
+
#include "frontends/Painter.h"
void InsetMathSqrt::validate(LaTeXFeatures & features) const
{
if (features.runparams().math_flavor == OutputParams::MathAsHTML)
- features.addPreambleSnippet("<style type=\"text/css\">\n"
- "span.sqrtof{border-top: thin solid black;}\n"
- "</style>");
+ features.addCSSSnippet("span.sqrtof{border-top: thin solid black;}");
InsetMathNest::validate(features);
}