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, "^");