Academic formula converter

From modbender/skill-library-mcp · View interactive version

Academic formula converter is an AI agent skill from the GitHub repository modbender/skill-library-mcp. 学术论文数学公式转换工具 - 将Markdown中的LaTeX公式转换为docx和html格式

How to use this skill

Skill file

academic-formula-converter

学术论文数学公式转换工具 - 将Markdown中的LaTeX公式转换为docx和html格式

功能

  1. LaTeX公式转Unicode - 将LaTeX格式转换为可读性更好的Unicode符号
  2. 生成Word文档 - 支持图片和公式的docx文件
  3. 生成HTML文档 - 带样式的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/

支持的公式

LaTeX到Unicode转换示例

| LaTeX | Unicode |

|-------|---------|

| \times | × |

| \frac{a}{b} | (a)/(b) |

| \alpha | α |

| \sigma | σ |

| \leq | ≤ |

| \geq | ≥ |

| \sum | Σ |

| \sqrt{} | √() |

| \infty | ∞ |

依赖

pip install python-docx markdown
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.