<math xmlns="http://www.w3.org/1998/Math/MathML"><mfrac><mn>1</mn><mn>2</mn></mfrac></math>But when I try to use sympy's mathml printer:
from sympy import S
from sympy.printing.mathml import mathml
my_eqn = S(1) / 2
print(mathml(my_eqn))The output is:
<apply><divide/><cn>1</cn><cn>2</cn></apply>And I cannot copy and paste it into word to make it a Word equation.
Could anyone please help?
Thank you,
Shawn
WORD supports LATEX, so does SYMPY.
Here are more details: