From fe7196a545ca82dec11e046525dc30ca93de6175 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Sun, 6 Jun 2010 18:11:15 +0000 Subject: [PATCH] The delimiters '<' and '>' can also be used as big delimiters. They are 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 | 2 +- src/mathed/MathSupport.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mathed/InsetMathBig.cpp b/src/mathed/InsetMathBig.cpp index 9ec279a20a..9745b76e2b 100644 --- a/src/mathed/InsetMathBig.cpp +++ b/src/mathed/InsetMathBig.cpp @@ -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", diff --git a/src/mathed/MathSupport.cpp b/src/mathed/MathSupport.cpp index d399cd9613..6dde57a6c8 100644 --- a/src/mathed/MathSupport.cpp +++ b/src/mathed/MathSupport.cpp @@ -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 }, -- 2.39.2