Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
powerpoint, pptx, python-pptx, latex, omml, equations, 수식, 파워포인트
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
한국어 문서는 README.ko.md
Put real PowerPoint equations into .pptx files from LaTeX — not pictures of equations.
add_native_equation(box.text_frame,
r"\Pr(y=1) = \sigma(\alpha + \beta_j \cdot z_j + \gamma \cdot \mathbf{x})")
The result is a native OMML equation: double-click it in PowerPoint and the equation editor opens. It is vector (never pixelates), it follows the theme color, and it is editable by whoever opens the deck.
No pandoc, no LaTeX distribution, no MathType. Standard library + python-pptx only.
python-pptx has no equation API. Every workaround is worse than it looks:
| Approach | Editable | Quality | Verdict |
|---|---|---|---|
| Native OMML (this repo) | Yes — equation editor | Vector, LaTeX-grade | ✅ |
| Rendered PNG (matplotlib) | No — it's an image | Rasterizes when zoomed | Fallback only |
Unicode text (σ(α + βⱼ zⱼ)) | Yes, but it's just text | Fractions, roots and ∑ collapse | ❌ |
The Unicode route is the one that gets used by default, and it silently destroys anything
non-trivial. \sigma(z) = \frac{1}{1+e^{-z}} becomes σ(z) = 11 + e⁻ᶻ.
pptx skillThis is a companion, not a replacement. The pptx skill (and any python-pptx
workflow) handles decks: layouts, text, tables, images, charts. It has no way to emit a
native equation. pptx-math fills exactly that one gap and nothing else.
Typical division of labour:
pptx skill / python-pptx → build the deck, place the text boxes
pptx-math → every place where math appears
Use it whenever math reaches a slide — including a single italic variable in a sentence. Specifically:
x, r_A, β_j), Greek letters, sub/superscripts,
fractions, ∑, ∫, matrices.p, r_A, r_B, y) count.Pr(y = 1) = σ(α + βj zj), rA, τ).Do not convert acronyms, labels, or plain numbers — AUC, Elo, Δwin-rate,
−31%p read worse in math italic.
Two commands, nothing else to install:
/plugin marketplace add maenjh/pptx-math
/plugin install pptx-math
Update later with /plugin marketplace update pptx-math, remove with
/plugin uninstall pptx-math.
No plugin system, no Node — copies the skill into ~/.claude/skills/pptx-math:
curl -fsSL https://raw.githubusercontent.com/maenjh/pptx-math/main/install.sh | bash
It backs up any existing install and tells you if python-pptx is missing.
git clone --depth 1 https://github.com/maenjh/pptx-math.git /tmp/pptx-math
cp -R /tmp/pptx-math/skills/pptx-math ~/.claude/skills/
The converter does not need Claude at all.
git clone https://github.com/maenjh/pptx-math.git
pip install python-pptx # matplotlib only for the image fallback
import sys; sys.path.insert(0, "pptx-math/skills/pptx-math/scripts")
from pptx_math import add_native_equation
Python 3.9+ and python-pptx. Everything else is standard library. matplotlib is
optional and only used by add_equation_image().
Once installed, the skill triggers on requests like "put an equation in this PPT", "build slides from this PDF", or "turn these variables into proper math notation".
from pptx import Presentation
from pptx.util import Inches, Pt
from pptx_math import add_native_equation, set_paragraph_segments, shape_census
prs = Presentation()
slide = prs.slides.add_slide(prs.slide_layouts[6])
box = slide.shapes.add_textbox(Inches(1), Inches(2), Inches(11), Inches(1.2))
# Standalone equation
add_native_equation(box.text_frame,
r"\Pr(y=1) = \sigma(\alpha + \beta_j \cdot z_j + \gamma \cdot \mathbf{x})",
size=Pt(32), align="center", color="1F3864")
# Several equations, one per line
for eq in [r"\sigma(z) = \frac{1}{1+e^{-z}}",
r"\hat{y} = \mathbf{w}^\top \mathbf{x} + b"]:
add_native_equation(box.text_frame, eq, size=Pt(24), align="center")
prs.save("out.pptx")
The most common real-world case: a body bullet that mentions p, rA, rB, y and should
read 𝑝, 𝑟_𝐴, 𝑟_𝐵, 𝑦. set_paragraph_segments() reuses the existing run's font, size,
colour and indentation, so the layout does not shift at all.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub maenjh/pptx-math --plugin pptx-mathPlugins from other owners that cover similar ground