Open source Python library converting math formula to docx
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file math2docx-3.0.0-py3-none-any.whl.
File metadata
- Download URL: math2docx-3.0.0-py3-none-any.whl
- Upload date:
- Size: 2.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbd50ed60c3aa4fd210f7e170d14fa2fa2363eca3cf11dccdeab868c1f0b93af
|
|
| MD5 |
c40d5221703b551b9a02e44dd2155e63
|
|
| BLAKE2b-256 |
085c25ec50c60e27369ce6f8243df3e807e24f2e9bd968b00eee7d0d05c603af
|