From 9130bdb5ecaa7cc9a7c50f0bd3ee75332a5ba145 Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Wed, 26 Feb 2014 21:18:31 +0100 Subject: [PATCH] Add missing math delim decorations This avoids a message "Deco was not found. Programming error?" on stderr. The added decorations are defined by amsmath, and equivalent to \vert (single vertical bar) and \Vert (double vertical bar), respectively. They are used to distinguish the single and paired versions (for use with \left and \right). These symbols should cause amsmath to be loaded, but this would be too dangerous to implement now. --- src/mathed/MathSupport.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mathed/MathSupport.cpp b/src/mathed/MathSupport.cpp index 6db7fcb16f..810ff7a1e0 100644 --- a/src/mathed/MathSupport.cpp +++ b/src/mathed/MathSupport.cpp @@ -315,7 +315,11 @@ named_deco_struct deco_table[] = { {"/", slash, 0 }, {"slash", slash, 0 }, {"vert", vert, 0 }, + {"lvert", vert, 0 }, + {"rvert", vert, 0 }, {"Vert", Vert, 0 }, + {"lVert", Vert, 0 }, + {"rVert", Vert, 0 }, {"'", slash, 1 }, {"<", angle, 0 }, {">", angle, 2 }, -- 2.39.5