转换为
f\left(x\right)
=a_{0}+\sum_{n=1}^{\infty}\left(a_{n}\cos(\frac{n\pi x}{L})
+b_{n}\sin(\frac{n\pi x}{L})\right)
from dwml import omml
for omath in omml.load('tests/composite.xml'):
print(omath.latex)
A sample that converting word math formula to latex
from tests.docx import to_latex
to_latex(filename='tests/simple.docx')