add_equation
Insert a LaTeX equation as OMML into a Word document after a specified paragraph. Provide the LaTeX source and the target paragraph ID.
Instructions
Insert a LaTeX equation as OMML. Requires: pip install latex2mathml.
Args: para_id: paraId of the paragraph after which the equation is inserted. latex: LaTeX source string (e.g. r"\frac{1}{2}").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| latex | Yes | ||
| para_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |