MathML’s msqrt not tall enough for fraction

I am new to MathML so please bear with me. I created the following equation:

<math>
  <msqrt>
    <mfrac>
      <mi> A </mi>
      <mi> B </mi>
    </mfrac>
  </msqrt>
</math>

But the results show the sqrt only over “A”. I want it to be taller so it is over A and B.

I tried playing around with changing the css file, like margins and padding, but nothing seemed to work.

  • Your code works fine for me when I use it inside the MathML MDN playground so there is something else wrong with your setup so we need more information about your setup. e.g. font, OS/browser, how you have MathML loaded.

    – 

Leave a Comment