Forum How do I...?

hieght of MathML elements

melusina
Is it possible to restrict the line-height/vertical-align of MathML elements?

We have inline MathML that changes the line-height of corresponding lines, as shown in the example. This of cause does not look nice.

  1. Screenshot 2021-11-03 144229.png102.6 kB
markbrown
Hi,

Are you able to put each MathML element in another element with "display: inline-block" and put heights on those elements instead?

Regards,
Mark
melusina
yes, I am able to.

I had not thought about wrapping it up in a container element.

Thx.
Niels