XML-Technologien / MathML / Presentation markup / Tables and matrices / Labeled rows and numbered equations

(Excerpt from "The MathML Handbook" by Pavi Sandhu)

The mlabeledtr element can be used to implement cross-referencing and automatic numbering of equations in conjunction with XSLT processing (even though these features are not directly supported in MathML). Here is an example:

Labeled rows and numbered equations: equation 1

<mtable>
  <mlabeledtr id="parabola">
    <mtd>
      <mtext>(1.7)</mtext>
    </mtd>
    <mtd>
      <mrow>
        <mi>y</mi>
        <mo>=</mo>
        <mrow>
          <msup>
            <mi>x</mi>
            <mn>2</mn>
          </msup>
          <mo>+</mo>
          <mn>1</mn>
        </mrow>
      </mrow>
    </mtd>
  </mlabeledtr>
</mtable>

More information on using the id attribute to implement cross-referencing is provided under Parallel markup.

   

 

 

 

 

nach oben