add_equation
Convert LaTeX equations to OMML and insert them into Word documents after a given paragraph.
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 |