Possibly unwanted "stretchy" behavior in MathML output

Pavel Sanda sanda at lyx.org
Fri Jan 3 14:10:51 UTC 2020

On Sat, Dec 07, 2019 at 08:05:17PM +0100, Lorenzo Bertini wrote:
> my xhtml output trough the LyXHTML option had brackets that always
> matched the height of the equation for paired \left( \right) brackets,
> as one would expect, but also for plain ( ) ones, which is unexpected.
> This of course led to the final output having some ridiculously sized
> brackets. The problem is the MathML attribute "stretchy=true" added to
> the output in both cases. I can't think of any reason why this would
> be the intended behavior, especially since using \big( \big) yields
> the requested bracket size.
> I git-cloned the source (2.3.4), removed all the "stretchy=true" from
> output-xhtml.cpp and built, and in the output there weren't any
> height-matching brackets, but I don't know c++ too well and don't have
> experience with this project code to make this happen only for \left(
> \right) pairs. Can someone help me out?

Can't help myself, but I suggest you create ticket in our bug tracker and
give it component xhtml export.


More information about the lyx-devel mailing list