Register Lost your password?
Full api documentation: full api documentation FREE version full api documentation PRO version

public function addMathMML(string mathmml)

Parameters

$mathmml

  • value : code to insert an equation

Examples

Example 1 Version Pro


require_once 'classes/CreateDocx.inc';
$docx = new CreateDocx();
$docx->addMathMML('<math xmlns="http://www.w3.org/1998/Math/MathML"><mrow><mi>A</mi> <mo>=</mo><mfenced open="[" close="]"><mtable><mtr><mtd><mi>x</mi></mtd> <mtd><mn>2</mn></mtd></mtr><mtr><mtd><mn>3</mn> </mtd><mtd><mi>w</mi></mtd></mtr></mtable></mfenced></mrow></math>');
$docx->createDocx('example_math');

Comments are closed.