<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml-stylesheet type="text/xsl" href="../../../../style/mathml.xsl"?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  <!--
Copyright &#251; 1994-2003 World Wide Web Consortium, (Massachusetts Institute
of Technology, European Consortium for Informatics and
Mathematics, Keio University). All Rights Reserved. See
http://www.w3.org/Consortium/Legal/.
  -->
  <head>
    <title> W3C MathML TestSuite, Version 2: moAform11</title>
</head>
  <body style="background: #ffffff">
    <table width="100%" cellpadding="8">
      <tr>
        <td>
          <a href="../../../Presentation/TokenElements/mo/moAaccent9.xml">
    prev </a>
        </td>
        <td style="text-align: right">
          <a href="../../../Presentation/TokenElements/mo/moAlargeop12.xml">
    next</a>
        </td>
      </tr>
    </table>
      <table style="background:#cccccc" cellpadding="4">
        <tr>
          <td style="text-align: right" valign="top">File:</td>
          <td>Presentation/TokenElements/mo/moAform11.xml (<a href="moAform11.mml">mml file</a>)
        </td>
        </tr>
        <tr>
          <td style="text-align: right" valign="top">Author:</td>
          <td>Robert Miner and Jeff Schaefer, Geometry Technologies</td>
        </tr>
        <tr>
          <td style="text-align: right" valign="top">Description:</td>
          <td>This tests the 'form' attribute for &lt;mo>.  Note that
the form should be determined by the position in the &lt;mrow> when
the attribute is not set.  In particular, this can be tested by
comparing the prefix and infix minus signs without explicit attributes
below.</td>
        </tr>
        <tr>
          <td style="text-align: right" valign="top">Sample Rendering:</td>
          <td>
            <table>
              <tr>
                <td>
                  <img src="moAform11.png" alt="Created by: webeq"/>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    <p>
      <b>Your browser's rendering</b>:</p>
    <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML"> 
      <mrow> 
        <mo>-</mo> 
        <mi>x</mi> 
      </mrow> 
      <mrow> 
        <mo form="infix">-</mo> 
        <mi>x</mi> 
      </mrow> 
      <mrow> 
        <mo form="prefix">-</mo> 
        <mi>x</mi> 
      </mrow> 
      <mrow> 
        <mo form="postfix">-</mo> 
        <mi>x</mi> 
      </mrow> 
      <mo>-</mo> 
      <mi>x</mi> 
      <mo form="prefix">-</mo> 
      <mi>x</mi> 
    </math>
  </p>
    <hr/>
    <p>
      <b>Source Code</b>:</p>
    <pre>
    &lt;math> 
      &lt;mrow> 
        &lt;mo>-&lt;/mo> 
        &lt;mi>x&lt;/mi> 
      &lt;/mrow> 
      &lt;mrow> 
        &lt;mo form='infix'>-&lt;/mo> 
        &lt;mi>x&lt;/mi> 
      &lt;/mrow> 
      &lt;mrow> 
        &lt;mo form='prefix'>-&lt;/mo> 
        &lt;mi>x&lt;/mi> 
      &lt;/mrow> 
      &lt;mrow> 
        &lt;mo form='postfix'>-&lt;/mo> 
        &lt;mi>x&lt;/mi> 
      &lt;/mrow> 
      &lt;mo>-&lt;/mo> 
      &lt;mi>x&lt;/mi> 
      &lt;mo form='prefix'>-&lt;/mo> 
      &lt;mi>x&lt;/mi> 
    &lt;/math>
  </pre>
    <p style="text-align: right">
      <a href="../../../../overview.html" target="_top">
	Test Suite Home
	</a>
    </p>
    <hr/>
  </body>
</html>
