academic-formula-inserter

Convert LaTeX formulas to Word OMML with numbering and cross-references.

55|1|Updated May 28, 2026
One-click install
npx skills add https://github.com/fuwenhao12/academic-ref-inserter --skill academic-formula-inserter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: academic-formula-inserter
Source: https://github.com/fuwenhao12/academic-ref-inserter/tree/main/.trae/skills/academic-formula-inserter
Command: npx skills add https://github.com/fuwenhao12/academic-ref-inserter --skill academic-formula-inserter

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-docx, lxml, latex2mathml, and includes scripts (resource) components.

What problem does it solve?

Writers and researchers waste time manually inserting, formatting, and numbering formulas across Word and LaTeX documents. This Skill automates the process, ensuring consistent presentation and journal-compliant styles.

Core Features & Use Cases

  • Auto-convert LaTeX formulas to Word OMML and insert with correct numbering and cross-references.
  • Support for Word (.docx) and LaTeX outputs with journal-style numbering (GB/T 7714, IEEE, APA) and cross-format compatibility.
  • Batch or on-demand insertion with formatting consistent with journals and easy editing in Word/MathType when installed.

Quick Start

Open a Word document and run the formula inserter with a LaTeX expression to insert a formatted equation.

Frequently Asked Questions about academic-formula-inserter

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I insert LaTeX equations into a Word document with automatic numbering?

To insert LaTeX equations into a Word document with automatic numbering, this Skill converts LaTeX to OMML and manages document structures to add formatted, journal-compliant equations with cross-references.

Can I automatically format math formulas in Word to match IEEE or APA journal standards?

Yes, you can automatically format math formulas in Word to match journal standards. It supports IEEE, APA, and GB/T 7714 numbering styles, ensuring consistent presentation and cross-referencing across your documents.

What is the best way to batch insert math formulas across multiple Word documents?

The best way to batch insert math formulas across Word documents is using this automation Skill, which handles on-demand or batch insertion of LaTeX expressions converted to OMML, maintaining consistent formatting and equation numbering.

Does python-docx support converting LaTeX to OMML for equation editing in Word?

Yes, python-docx supports converting LaTeX to OMML when combined with lxml and latex2mathml. This Skill leverages these dependencies to insert equations that remain easy to edit in Word or MathType.

Why does my LaTeX formula formatting break when pasting into a .docx file?

LaTeX formula formatting breaks when pasting into a .docx file because Word requires OMML format rather than raw LaTeX. This Skill automates the LaTeX to OMML conversion via latex2mathml to ensure proper rendering.