Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 718 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 718 Bytes

dwml - ms-office omml to latex converter

Build status

dwml demo

转换为

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)

Usage

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')