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
Metadata
Release files for math2docx 3.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| math2docx-3.1.0.tar.gz | 16.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| math2docx-3.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.2 kB
Release files / math2docx-3.1.0.tar.gz
| Download URL | math2docx-3.1.0.tar.gz |
|---|---|
| Size | 16.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eff26404ec69c647d6db4d3364bb51231b90f6b940c897aaf9952e3e826ed271
|
|
BLAKE2b-256 checksum How to use checksums |
f81ec965e1cc17a4226e05c4e0ea31d7e9df0d98897ddaeb8152850b775618db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.22
|
Release files / math2docx-3.1.0-py3-none-any.whl
| Download URL | math2docx-3.1.0-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fd6743a4d7d56c113c149e162c7ed49ed16635bcf18ed12342de5050a9daee90
|
|
BLAKE2b-256 checksum How to use checksums |
3f3f14ba6efc34d172427568dad0c830c4deab58789b94738c66854d3a9101ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.22
|