AddMathEquation
function AddMathEquation(sText: string = null, sFormat: unicode | latex = "unicode"): void
Description
Add a math equation
Parameters
- sText
string
null An equation written as a linear text string
- sFormat
unicode | latex
"unicode" The format of the specified linear representation
Returns
void
Try It
var oDocument = Api.GetDocument();
oDocument.AddMathEquation("e^x = 1 + x + \\frac{x^2}{2} + \\frac{x^3}{6} + \\cdots = \\sum_{n\\geq 0} \\frac{x^n}{n!}", "latex");