Dear devs, can somebody push this tiny patch for InsetMathCases::mathmlize that adds an mrow that makes the bracket stretch correctly? See attached image.
Thanks, Lorenzo
From 8c48be4b0ef1ede8b91e5e4fb20566225cddc172 Mon Sep 17 00:00:00 2001 From: Lorenzo Bertini <lorenzobertini97@gmail.com> Date: Wed, 13 Nov 2024 12:55:59 +0100 Subject: [PATCH 1/1] Added mrow to InsetMathCases::mathmlize --- src/mathed/InsetMathCases.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mathed/InsetMathCases.cpp b/src/mathed/InsetMathCases.cpp index 5cdb41691f..b97ffd42db 100644 --- a/src/mathed/InsetMathCases.cpp +++ b/src/mathed/InsetMathCases.cpp @@ -142,10 +142,12 @@ void InsetMathCases::maple(MapleStream & os) const void InsetMathCases::mathmlize(MathMLStream & ms) const { - ms << MTagInline("mo", "form='prefix' fence='true' stretchy='true' symmetric='true'") + ms << MTag("mrow") + << MTagInline("mo", "form='prefix' fence='true' stretchy='true' symmetric='true'") << "{" << ETagInline("mo"); InsetMathGrid::mathmlize(ms); + ms << ETag("mrow"); } -- 2.47.0
-- lyx-devel mailing list lyx-devel@lists.lyx.org https://lists.lyx.org/mailman/listinfo/lyx-devel