]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBig.cpp
* zh_TW.po: Update from Mingyi Wu
[lyx.git] / src / mathed / InsetMathBig.cpp
index 9ec279a20a75db4eaf66b76cbd53fc13d854864f..969dd472c72fd5e512df6675cd30cda043952037 100644 (file)
@@ -218,7 +218,7 @@ bool InsetMathBig::isBigInsetDelim(docstring const & delim)
        static char const * const delimiters[] = {
                "(", ")", "\\{", "\\}", "\\lbrace", "\\rbrace", "[", "]",
                "|", "/", "\\slash", "\\|", "\\vert", "\\Vert", "'",
-               "\\\\", "\\backslash",
+               "<", ">", "\\\\", "\\backslash",
                "\\langle", "\\lceil", "\\lfloor",
                "\\rangle", "\\rceil", "\\rfloor",
                "\\downarrow", "\\Downarrow",
@@ -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%;}");
 }