<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title> XHTML with Embedded MathML</title>
    <meta name="keywords" content="XHTML, examples, Ian Graham"  />
    <style>
    math  {
	   margin-left: 2em;
	   border: 1px solid black;
	   padding: 0.3em;
           font-size: 150%;
           font-family: garamond; } 
    </style>
    <link rel="stylesheet" href="./style.css" />
  </head>
  <body>
  <h1>XHTML with Embedded MathML</h1>
  <p> This document is written in XHTML, but also has some MathML 
    embedded within it.   Here, for example, is some MathML that 
    produces a definition of a function:
  </p>
  <math xmlns="http://www.w3.org/1998/Math/MathML" >
    <mi>f</mi>
    <mo>(</mo><mi>x</mi><mo>)</mo>
    <mo>=</mo>
    <msubsup>
         <mo>&#x2211;</mo>  <!-- summation character -->
         <mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow> <!-- a 'row' -->
         <mn>&#x221E;</mn>  <!-- reference to infinity symbol -->
    </msubsup>
    <mfrac>
      <mrow> <mi>G</mi><mo>(</mo><mi>a</mi><mo>,</mo><mi>n</mi><mo>)</mo> </mrow>
      <mrow><mi>n</mi><mo>!</mo></mrow>
    </mfrac>
      <mo>(</mo><mi>x</mi><mo>-</mo><mi>a</mi>
      <msup><mo>)</mo> <mi>n</mi></msup>
  </math>
  <p>And here's another paragraph, just to show the spacing between two
    adjacent paragraphs.  Well, what did you expect for free, art?
  </p>
  <hr size="1" noshade="noshade" />
  <div class="footer">
  Example by <a href="http://www.utoronto.ca/ian/books/">Ian Graham</a>, 
  prepared in January, 2002, as part of an article for 
  <a href="http://www.computerpoweruser.com">Computer Power User Magazine</a>. 
 <br />Go back to <a href="index.html">Index</a>.

  </div>
  </body>
</html>

