oompa
🔧Factory Tools/OMP-1031Experimental

/formula

Insert math notation using LaTeX

Insert a math notation block using LaTeX syntax. Renders mathematical expressions, equations, and formulas inline or as blocks.

calculationformulascience
For: scientists, engineers

Live Demo

See /formula in action with CSS-animated examples.

CODE: /formula
typescript
e^{i\pi} + 1 = 0

Rationale

Engineering and scientific documentation requires math notation. "Formula" = Wonka's chemical formulas.

Acceptance Criteria

  • /formula creates math block with LaTeX editor
  • Renders inline and block math ($$...$$ and $...$)
  • User can toggle between editor and preview
  • On save, block is searchable by formula content

Demo Type

codeSyntax-highlighted code block

Semantic Layers

calculation
formula
science

Requirements Traceability

Specification: OMP-1031

This command is defined in oompa-spec.yaml and part of the official requirement catalog.