roniemartinez / latex2mathml

Pure Python library for LaTeX to MathML conversion
MIT License
183 stars 25 forks source link

\dot{A} renders the dot before, not above the A #112

Closed polarwinkel closed 3 years ago

polarwinkel commented 3 years ago

\dot{A} is often used for a time derivation, putting a dot above the symbol.

Expected behaviour: \dot{A} and \dot A to <mrow><mover><mi>A</mi><mi>̇</mi></mover></mrow>

Actual behaviour: Both \dot{A} and \dot A is translated to <mrow><mi>̇</mi><mi>A</mi></mrow>, the dot is placed before the symbol, not above.

This might be related or similar to the solved #103.

polarwinkel commented 3 years ago

Actually expected is <mrow><mover><mi>A</mi><mo> [dot-sign] </mo></mover></mrow>: it should be <mo>, since the [dot-sign] is an operator, and the real dot-sign ̇ is hardly visible here in github, not to be dropped!