Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Star History Chart

math2docx

Open source Python library converting math formula to docx

How to install?

pip install math2docx

Example

import math2docx
from docx import Document

document = Document()
p = document.add_paragraph()

#LaTex Math Formula
latex_ = r"\cos (2\theta) = \cos^2 \theta - \sin^2 \theta"

math2docx.add_math(p, latex_ )
document.save("new_file.docx")

About of LaTex Math Formula Format

Results

enter image description here

About

Open source Python library converting math formula to docx; equations to Python code

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages