Install
openclaw skills install academic-formula-converterConvert LaTeX math formulas in Markdown to styled docx or HTML documents with Unicode symbol support for academic use.
openclaw skills install academic-formula-converter学术论文数学公式转换工具 - 将Markdown中的LaTeX公式转换为docx和html格式
# 基本转换
python3 /path/to/formula_converter.py input.md output.docx
# 转换为HTML
python3 /path/to/formula_converter.py input.md output.html
# 指定图片目录
python3 /path/to/formula_converter.py input.md output.docx --images /path/to/images/
$formula$$$formula$$| LaTeX | Unicode |
|---|---|
| \times | × |
| \frac{a}{b} | (a)/(b) |
| \alpha | α |
| \sigma | σ |
| \leq | ≤ |
| \geq | ≥ |
| \sum | Σ |
| \sqrt{} | √() |
| \infty | ∞ |
pip install python-docx markdown