Skip to content

xiilei/dwml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Convert omml to latex for displaying in web browsers (KaTeX)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages