]> git.lyx.org Git - lyx.git/commitdiff
Include omitted case, and fix underline.
authorRichard Heck <rgheck@comcast.net>
Sun, 3 Jan 2010 17:46:02 +0000 (17:46 +0000)
committerRichard Heck <rgheck@comcast.net>
Sun, 3 Jan 2010 17:46:02 +0000 (17:46 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32759 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/InsetMathDecoration.cpp

index 629a440abf32cafbab88c5fb5bc9d8b4aa74d4f3..7f8c55f665c738895929c71b26676ceb0f5293d3 100644 (file)
@@ -184,13 +184,15 @@ namespace {
                t["overbrace"] = Attributes(true, "&OverBrace;");
                t["overleftarrow"] = Attributes(true, "&xlarr;");
                t["overleftrightarrow"] = Attributes(true, "&xharr;");
+               t["overline"] = Attributes(false, "&macr;");
                t["overrightarrow"] = Attributes(true, "&xrarr;");
                t["tilde"] = Attributes(true, "&tilde;");
                t["underbar"] = Attributes(false, "&UnderBar;");
                t["underbrace"] = Attributes(false, "&UnderBrace;");
                t["underleftarrow"] = Attributes(false, "&xlarr;");
                t["underleftrightarrow"] = Attributes(false, "&xharr;");
-               t["underline"] = Attributes(false, "&;");
+               // this is the macron, again, but it works
+               t["underline"] = Attributes(false, "&macr;");
                t["underrightarrow"] = Attributes(false, "&xrarr;");
                t["vec"] = Attributes(true, "&rarr;");
                t["widehat"] = Attributes(true, "&Hat;");