<equation-inline> element to represent an equation that
is presented inline within a paragraph or similar context. Inline equations are not intended to
<equation-inline> element has multiple direct child
elements, each child represents an alternative form of the equation. Processors are free to
choose the form or forms that they use in deliverables. For example, if there is both an
image and MathML markup, an HTML-generating processor could output both the image reference
and the MathML with appropriate HTML
@id values to
enable dynamic showing or hiding of one form or the other based on browser capability.
See appendix for information about this element in OASIS document type shells.
+ topic/ph equation-d/equation-inline
The following example contains a paragraph that contains an
<equation-inline> element with MathML markup:
<p>MathML inline: <equation-inline> <mathml> <m:math display='inline'> <m:semantics> <m:mrow> <m:msqrt> <m:mrow> <m:msup> <m:mi>a</m:mi> <m:mn>2</m:mn> </m:msup> <m:mo>+</m:mo><m:msup> <m:mi>b</m:mi> <m:mn>2</m:mn> </m:msup> </m:mrow> </m:msqrt> </m:mrow> </m:semantics> </m:math> </mathml> </equation-inline></p>
The following example contains an
<equation-inline> element that
uses an image as its content:
<p>An inline equation that contains an image: <equation-inline> <image keyref="equation-image-01"> <alt>a squared plus b squared.</alt> </image> </equation-inline></p>
Return to main page.
|Copyright © OASIS Open 2015. All Rights Reserved.||03 September 2015|