[Blindmath] Format for matrices

Neil Soiffer NeilS at dessci.com
Wed Nov 9 20:12:30 UTC 2011


Minor change for the MathJax version -- I was a bit abrupt with cut/paste.
 What I posted works, but will work better for accessibility if the 'src'
line is
  src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=Accessible"

instead of
  src="
http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML
"

so the full example is:


<!DOCTYPE html>
<html>
<head>
<title>MathJax + MathML Test Page</title>
<script type="text/javascript"
  src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=Accessible"
</script>
</head>
<body>
<H1>HTML5 + MathML with no explicit namespace</H1>

<math display='block' >
 <mrow>
  <mrow><mo>(</mo>
   <mrow>
    <mtable>
     <mtr>
      <mtd>
       <mn>1</mn>
      </mtd>
      <mtd>
       <mn>0</mn>
      </mtd>
      <mtd>
       <mn>0</mn>
      </mtd>
      <mtd>
       <mn>0</mn>
      </mtd>
     </mtr>
     <mtr>
      <mtd>
       <mn>0</mn>
      </mtd>
      <mtd>
       <mn>1</mn>
      </mtd>
      <mtd>
       <mn>0</mn>
      </mtd>
      <mtd>
       <mn>0</mn>
      </mtd>
     </mtr>
     <mtr>
      <mtd>
       <mn>0</mn>
      </mtd>
      <mtd>
       <mn>0</mn>
      </mtd>
      <mtd>
       <mn>1</mn>
      </mtd>
      <mtd>
       <mn>0</mn>
      </mtd>
     </mtr>
     <mtr>
      <mtd>
       <mn>0</mn>
      </mtd>
      <mtd>
       <mn>0</mn>
      </mtd>
      <mtd>
       <mn>0</mn>
      </mtd>
      <mtd>
       <mn>1</mn>
      </mtd>
     </mtr>

    </mtable>
   </mrow>
  <mo>)</mo></mrow>
 </mrow>
</math>
</body></html>



More information about the BlindMath mailing list