From a8dc0009018ba18ad956f2859dfaf28a346a02a7 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Sun, 3 Jan 2010 17:46:02 +0000 Subject: [PATCH] Include omitted case, and fix underline. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32759 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/InsetMathDecoration.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mathed/InsetMathDecoration.cpp b/src/mathed/InsetMathDecoration.cpp index 629a440abf..7f8c55f665 100644 --- a/src/mathed/InsetMathDecoration.cpp +++ b/src/mathed/InsetMathDecoration.cpp @@ -184,13 +184,15 @@ namespace { t["overbrace"] = Attributes(true, "⏞"); t["overleftarrow"] = Attributes(true, "⟵"); t["overleftrightarrow"] = Attributes(true, "⟷"); + t["overline"] = Attributes(false, "¯"); t["overrightarrow"] = Attributes(true, "⟶"); t["tilde"] = Attributes(true, "˜"); t["underbar"] = Attributes(false, "_"); t["underbrace"] = Attributes(false, "⏟"); t["underleftarrow"] = Attributes(false, "⟵"); t["underleftrightarrow"] = Attributes(false, "⟷"); - t["underline"] = Attributes(false, "&;"); + // this is the macron, again, but it works + t["underline"] = Attributes(false, "¯"); t["underrightarrow"] = Attributes(false, "⟶"); t["vec"] = Attributes(true, "→"); t["widehat"] = Attributes(true, "^");