Mathematical Markup Language (MathML)
 
 
 
 

presented by:
 
 
 
 

MohammadTaghi Hajiaghayi,
Department of Computer Science,
University of Waterloo,
http://www.cs.uwaterloo.ca/~mhajiaghayi/mathml/mathmlp.html











page 1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Outline
 


page 2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Introduction

Definition


Why MathML?
 

page 3
 
 
 
 
 
 
 
 
 
 
 
 

Introduction(continued)

Features

What do you need to use MathML?
page 4

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
MathML Overview
Presentation and Content Encoding
page 5

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

MathML Overview(continued)

Two Examples :

      <mo>+</mo>
       <mi>b</mi>
   </mfenced>

  <mo>^</mo>

   <mn>2</mn>
</msup>
 
 
<apply>
    <power/>
    <apply>
        <plus/>
        <ci>a</ci>
        <ci>b</ci>
    </apply>
    <cn>2</cn>
</apply>
page 6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

MathML Overview(continued)

Expression Trees

page 7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

MathML Elements and Attributes

page 8

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Boxes


page 9
 
 
 
 
 
 
 
 
 
 
 
 

 Containers, Functions, Characters

Containers
 

  • Markup:
  • <reln> <eq/>
       <apply><times/>
           <vector> <cn>1 </cn> <cn>2 </cn>
             </vector>
            <matrix>
            <matrixrow> <cn>0 </cn> <cn>1 </cn> </matrixrow>
            <matrixrow> <cn>1 </cn> <cn>0 </cn> </matrixrow>
            </matrix>
       </apply>
       <apply> <transpose/>
            <vector> <cn>2 </cn> <cn>1 </cn>
            </vector>
       </apply>
    </reln>
     

    page 10
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     

    Containers, Functions, Characters(continued)
     

    Operators and Functions

  • Expression:
  • Markup:
  • <apply>
       <fn>
            <mfenced>
                <apply><plus/>
                      <sin/>
                      <cos/>
                </apply>
            </mfenced>
       </fn>
       <ci>x</ci>
    </apply>
     

     
    page 11

     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     

    Containers, Functions, Characters(continued)

    Characters
     

    page 12
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     

    The MathML Interface Issues

    page 13

     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     

    Conclusion

    page 14
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     

    References:

    [1]: Mathematical Markup Language (MathML[tm]) 1.01 Specification W3C Recommendation, revision of 7 July 1999.

    [2]: Mathematical Markup Language (MathML) Version 2.0 W3C Proposed Recommendation 8 January 2001.

    [3]: Gentle Introduction to MathML.

    [4]: MathML International Conference 2000.

    [5]: The Interchange of Mathematics in XML: MathML, OpenMath and their Application.

    [6]: MathML - What's in it for us?.

    [7]: The Disappointment and Embarrassment of MathML - update: Including Reactions and Answers

    [8]: MathML Resources.

    [9]: Putting Mathematical Notation on the Web.

    page 15