Script: formulas-elementThe formulas-element must be contained in a definitions-element Note: The old formulas-element is replaced by ODTFormulas This element loads formulas from an XML-file. The formulas may be in one of three forms:
All this formulas is available by the PI Formula and they will apear in formulalists, see PI Formula List . image and latex formulas will be presented as img. latex (TeX) formulas are translated to img by means of Google Charts [13] . The present version of WXT displays mathml formulas as MathML. See Formulas for a full description. <formulas location=""/>
Examples: <formulas location="myformulas.xml"/> Example file: <?xml version="1.0" encoding="UTF-8"?> <formulas> <formula id="f1" type="latex"> <value>\sqrt[3]{x^3 + y^3 \over 2}</value> </formula> <formula id="f21" type="image"> <subtext>Vector length</subtext> <value>vektor1.gif</value> </formula> <formula id="f31" type="mathml"> <subtext>Simple sum</subtext> <value><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"> <semantics> <mrow> <mrow> <mo stretchy="false">∑</mo> <mi>f</mi> </mrow> <mrow> <mo stretchy="false">(</mo> <mi>x</mi> <mo stretchy="false">)</mo> </mrow> </mrow> </semantics> </math>]]> </value> </formula> </formulas> |