From 7b6afb23ec4540dd9bd9e8f238c52e00b812fd4e Mon Sep 17 00:00:00 2001 From: Thibaut Cuvelier Date: Fri, 1 Apr 2022 00:01:42 +0200 Subject: [PATCH] MathML: fix underbraces to be stretchable. Ticket: https://www.lyx.org/trac/ticket/12502 Contributed by lynx --- src/mathed/InsetMathDecoration.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mathed/InsetMathDecoration.cpp b/src/mathed/InsetMathDecoration.cpp index a5d616eed3..2bd52f454a 100644 --- a/src/mathed/InsetMathDecoration.cpp +++ b/src/mathed/InsetMathDecoration.cpp @@ -210,14 +210,14 @@ namespace { t["grave"] = Attributes(true, "`", "`"); t["hat"] = Attributes(true, "ˆ", "ˆ"); t["mathring"] = Attributes(true, "˚", "˚"); - t["overbrace"] = Attributes(true, "⏞", "︷"); + t["overbrace"] = Attributes(true, "⏞", "⏞"); t["overleftarrow"] = Attributes(true, "⟵", "⟵"); t["overleftrightarrow"] = Attributes(true, "⟷", "⟷"); t["overline"] = Attributes(true, "¯", "¯"); t["overrightarrow"] = Attributes(true, "⟶", "⟶"); t["tilde"] = Attributes(true, "˜", "˜"); t["underbar"] = Attributes(false, "_", "̲"); - t["underbrace"] = Attributes(false, "⏟", "︸"); + t["underbrace"] = Attributes(false, "⏟", "⏟"); t["underleftarrow"] = Attributes(false, "⟵", "⟵"); t["underleftrightarrow"] = Attributes(false, "⟷", "⟷"); // this is the macron, again, but it works -- 2.39.2