Author: forenr
Date: Sun Jun  6 20:11:15 2010
New Revision: 34607
URL: http://www.lyx.org/trac/changeset/34607

Log:
The delimiters '<' and '>' can also be used as big delimiters. They are
equivalent to \langle and \rangle, which were already taken into account.

Modified:
   lyx-devel/trunk/src/mathed/InsetMathBig.cpp
   lyx-devel/trunk/src/mathed/MathSupport.cpp

Modified: lyx-devel/trunk/src/mathed/InsetMathBig.cpp
==============================================================================
--- lyx-devel/trunk/src/mathed/InsetMathBig.cpp Sun Jun  6 12:31:46 2010        
(r34606)
+++ lyx-devel/trunk/src/mathed/InsetMathBig.cpp Sun Jun  6 20:11:15 2010        
(r34607)
@@ -218,7 +218,7 @@
        static char const * const delimiters[] = {
                "(", ")", "\\{", "\\}", "\\lbrace", "\\rbrace", "[", "]",
                "|", "/", "\\slash", "\\|", "\\vert", "\\Vert", "'",
-               "\\\\", "\\backslash",
+               "<", ">", "\\\\", "\\backslash",
                "\\langle", "\\lceil", "\\lfloor",
                "\\rangle", "\\rceil", "\\rfloor",
                "\\downarrow", "\\Downarrow",

Modified: lyx-devel/trunk/src/mathed/MathSupport.cpp
==============================================================================
--- lyx-devel/trunk/src/mathed/MathSupport.cpp  Sun Jun  6 12:31:46 2010        
(r34606)
+++ lyx-devel/trunk/src/mathed/MathSupport.cpp  Sun Jun  6 20:11:15 2010        
(r34607)
@@ -303,6 +303,8 @@
        {"vert",           vert,       0 },
        {"Vert",           Vert,       0 },
        {"'",              slash,      1 },
+       {"<",              angle,      0 },
+       {">",              angle,      2 },
        {"\\",             slash,      1 },
        {"backslash",      slash,      1 },
        {"langle",         angle,      0 },

Reply via email to