]> git.lyx.org Git - features.git/commitdiff
The delimiters '<' and '>' can also be used as big delimiters. They are
authorEnrico Forestieri <forenr@lyx.org>
Sun, 6 Jun 2010 18:11:15 +0000 (18:11 +0000)
committerEnrico Forestieri <forenr@lyx.org>
Sun, 6 Jun 2010 18:11:15 +0000 (18:11 +0000)
equivalent to \langle and \rangle, which were already taken into account.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34607 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/InsetMathBig.cpp
src/mathed/MathSupport.cpp

index 9ec279a20a75db4eaf66b76cbd53fc13d854864f..9745b76e2b602fdd334e0f58877172d2af790a89 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",
index d399cd9613506f8e9f12ab251429cdd9618a0629..6dde57a6c899e8e416fa190538ac6241dcbcfc7b 100644 (file)
@@ -303,6 +303,8 @@ named_deco_struct deco_table[] = {
        {"vert",           vert,       0 },
        {"Vert",           Vert,       0 },
        {"'",              slash,      1 },
+       {"<",              angle,      0 },
+       {">",              angle,      2 },
        {"\\",             slash,      1 },
        {"backslash",      slash,      1 },
        {"langle",         angle,      0 },