XmlApi - pdx:addMathEquation

pdx:addMathEquation

Inserts a math equation in OMML or MathML format.

Description

Element definition

Adds a math equation to the DOCX.

Attributes and sub-elements

equation

The OMML equation code.

type

The equation type: docx, omml or mathml.

align

left, center, right.

Code samples

Example #1

config.xml

content.xml

settings.xml

PHP code

The resulting Word document looks like: