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.

   

<< back next >>

 

 

 


 

Copyright © CHARLES RIVER MEDIA, INC., Massachusetts (USA) 2003
Printing of the online version is permitted exclusively for private use. Otherwise this chapter from the book "The MathML Handbook" is subject to the same provisions as those applicable for the hardcover edition: The work including all its components is protected by copyright. All rights reserved, including reproduction, translation, microfilming as well as storage and processing in electronic systems.


CHARLES RIVER MEDIA, INC., 20 Downer Avenue, Suite 3, Hingham, Massachusetts 02043, United States of America