-
Notifications
You must be signed in to change notification settings - Fork 336
ppt equation add
zmworm edited this page Apr 29, 2026
·
51 revisions
Add mathematical equations and formulas to a slide.
Path: /slide[N] (parent)
| Property | Default | Description |
|---|---|---|
formula |
(required) | OMML formula text |
name |
Equation {N} |
Element name |
x, y
|
defaults | Position (EMU or units) |
width, height
|
defaults | Size (EMU or units) |
# Add Einstein's formula
officecli add slides.pptx /slide[1] --type equation --prop "formula=E = mc^2" --prop x=5cm --prop y=10cm
# Add quadratic formula
officecli add slides.pptx /slide[1] --type equation --prop "formula=x = (-b +/- sqrt(b^2 - 4ac)) / 2a" --prop name="Quadratic" --prop x=3cm --prop y=5cm --prop width=8cm --prop height=2cmBased on OfficeCLI v1.0.64