skip to Main Content

I’m using MathML embedded in HTML to put mathematical expressions in an HTML document. I’m having difficulty with properly formatting mathematical expressions containing "Δx". The MathML expressions <math><mrow><mi mathvariant="normal">&Delta;</mi><mi>x</mi></mrow></math> and <math><mrow><mo>&Delta;</mo><mi>x</mi></mrow></math> each yield "Δ x" (i.e. with space between "Δ" and "x"), while <math><mi>&Delta;x</mi></math> yields "Δx" (i.e. "x" isn’t italicized).

Is there a generally accepted way to properly format "Δx" using MathML?

2

Answers


  1. Chosen as BEST ANSWER

    The the MathML <math><mrow><mo lspace="0" rspace="0">&Delta;</mo><mi>x</mi></mrow></math> yields "Δx".


  2. Another solution, MathML <math><mi>&Delta;&#x1D465;</mi></math> yields "Δ𝑥".

    Note that &#x1D465; (𝑥) is an HTML entity for the mathematical italic small x character.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search