add_equation
Insert a LaTeX equation into a Word document as OMML after a specified paragraph. Provide the paragraph ID and LaTeX source string.
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 |
|---|---|---|---|
| para_id | Yes | ||
| latex | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |