...
Info |
---|
The examples highlight various aspects of how to set up math in Word in order to obtain the optimal XML. The examples are taken from the sample document: Sample_7_Math-setup.docx |
Math Exported as MathML
This simple equation, set up in Word using MathType:
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<disp-formula id="e1"> <mml:math display="block" id="m1"> <mml:mrow> <mml:msqrt> <mml:mrow> <mml:msup> <mml:mi> a </mml:mi> <mml:mn> 2 </mml:mn> </mml:msup> <mml:mo> + </mml:mo> <mml:msup> <mml:mi> b </mml:mi> <mml:mn> 2 </mml:mn> </mml:msup> </mml:mrow> </mml:msqrt> </mml:mrow> </mml:math> <label> (1) </label> </disp-formula> |
Math exported as images
If instead the same equation is exported using the export filter "eXtyles-JATS Journal Publishing XML 1.0 (math as graphics)", this XML is generated:
...
Under JATS 1.0 or later, it is also possible to use the <alternatives>
element to include both MathML and a pointer to an image in the XML for each equation. This can be useful in situations where the required output depends on the rendering environment. Contact extyles-support@inera.com if you have questions about the handling of math in your exported XML.
Microsoft Equation Builder math
As well as MathType objects (and Microsoft Equation 3.0), eXtyles can also support math created using the Microsoft Equation Builder, introduced as the new default math-editing function in Word as of Word 2007. Equation Builder objects look like this:
...