Forum


Replies: 13   Views: 3974
Add mathequation with bold-itlatic not working
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by 243127387@qq.com  · 13-10-2015 - 11:01

Thank you very much for your reply!  admin.

     In MS 2013 is normal, but MS 2007 not working. You can test on MS 2003 or 2007? Thank you very much!

$mathML = '
<math xmlns="http://www.w3.org/1998/Math/MathML">
    <mrow>
        <mn mathvariant="bold-italic">x</mn>
        <mn>y</mn>
    </mrow>
</math>';

$docx->addMathEquation($mathML, 'mathml');

  In the above code to run results, x display is abnormal, y display is normal in ms word 2007.