Skip to content
Back to skills

Academic Formula Converter

ASecurity

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

  • 21 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 7, 2026
toolspythonbash

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 2 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill academic-formula-converter --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Academic Formula Converter?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Academic Formula Converter
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-academic-formula-converter/badge)](https://www.skillsdirectory.com/skills/modbender-academic-formula-converter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: academic-formula-converter
description: 学术论文数学公式转换工具 - 将Markdown中的LaTeX公式转换为docx和html格式
---

# academic-formula-converter

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

## 功能

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

## 触发关键词

- "公式转换"
- "数学公式"
- "LaTeX转docx"
- "论文公式"
- "formula converter"
- "academic formula"

## 使用方法

### 命令行

```bash
# 基本转换
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转换示例

| LaTeX | Unicode |
|-------|---------|
| \times | × |
| \frac{a}{b} | (a)/(b) |
| \alpha | α |
| \sigma | σ |
| \leq | ≤ |
| \geq | ≥ |
| \sum | Σ |
| \sqrt{} | √() |
| \infty | ∞ |

## 依赖

```bash
pip install python-docx markdown
```

Files in this skill

  • SKILL.md1.3 KB
  • formula_converter.py6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.