<?xml version="1.0" encoding="us-ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN"
      "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>MathML Test : Operator, Fence, Separator or Accent</title>
  <meta http-equiv="content-type" content="text/html; charset=us-ascii" />
  <meta name="generator" content="Amaya, see http://www.w3.org/Amaya/" />
  <meta name="author" content="Frederic WANG" />
</head>

<body>
<p><a href="index.xml#presentation_elements">Back to home</a></p>

<h1>MathML Test : Operator, Fence, Separator or Accent</h1>

<h2>Invisible operators - Special operators</h2>

<p>See the section <a href="index.xml#operators">Operator Dictionnary</a> to
test these symbols.</p>

<h2>Detailed rendering rules for mo elements</h2>

<p><math xmlns="http://www.w3.org/1998/Math/MathML">
  <mi>a</mi>
  <msub>
    <mo>+</mo>
    <mn>4</mn>
  </msub>
  <mi>b</mi>
</math></p>

<h2>Stretching of operators, fences and accents</h2>

<h3>Vertical Stretching Rules</h3>

<p>A stretchy operator should vertically stretch in the following cases :</p>
<ul>
  <li>as a direct sub-expression of an <code>mrow</code> element : <math
    xmlns="http://www.w3.org/1998/Math/MathML">
      <mrow>
        <mtable>
          <mtr>
            <mtd>
              <mn>1</mn>
            </mtd>
          </mtr>
          <mtr>
            <mtd>
              <mn>2</mn>
            </mtd>
          </mtr>
          <mtr>
            <mtd>
              <mn>3</mn>
            </mtd>
          </mtr>
        </mtable>
        <mo>&#x2197;</mo>
        <mtable>
          <mtr>
            <mtd>
              <mi>a</mi>
            </mtd>
          </mtr>
          <mtr>
            <mtd>
              <mi>b</mi>
            </mtd>
          </mtr>
          <mtr>
            <mtd>
              <mi>c</mi>
            </mtd>
          </mtr>
        </mtable>
      </mrow>
    </math></li>
  <li>as the sole direct sub-expression of an <code>mtd</code> element in
    some row of a table : <math xmlns="http://www.w3.org/1998/Math/MathML">
      <mtable>
        <mtr>
          <mtd>
            <mtable>
              <mtr>
                <mtd>
                  <mn>1</mn>
                </mtd>
              </mtr>
              <mtr>
                <mtd>
                  <mn>2</mn>
                </mtd>
              </mtr>
              <mtr>
                <mtd>
                  <mn>3</mn>
                </mtd>
              </mtr>
            </mtable>
          </mtd>
          <mtd>
            <mo>&#x2197;</mo>
          </mtd>
          <mtd>
            <mtable>
              <mtr>
                <mtd>
                  <mi>a</mi>
                </mtd>
              </mtr>
              <mtr>
                <mtd>
                  <mi>b</mi>
                </mtd>
              </mtr>
              <mtr>
                <mtd>
                  <mi>c</mi>
                </mtd>
              </mtr>
            </mtable>
          </mtd>
        </mtr>
      </mtable>
    </math></li>
</ul>

<h3>Horizontal Stretching Rules</h3>

<p>A stretchy operator should horizontally stretch in the following cases
:</p>
<ul>
  <li>as a direct sub-expression of an <code>munder</code>,
    <code>mover</code>, or <code>munderover</code> : 
    <p><math xmlns="http://www.w3.org/1998/Math/MathML">
      <munder>
        <mo>&#x2197;</mo>
        <mtable>
          <mtr>
            <mtd>
              <mn>1</mn>
            </mtd>
            <mtd>
              <mn>2</mn>
            </mtd>
            <mtd>
              <mn>3</mn>
            </mtd>
          </mtr>
        </mtable>
      </munder>
    </math> ; <math xmlns="http://www.w3.org/1998/Math/MathML">
      <munder>
        <mtable>
          <mtr>
            <mtd>
              <mn>1</mn>
            </mtd>
            <mtd>
              <mn>2</mn>
            </mtd>
            <mtd>
              <mn>3</mn>
            </mtd>
          </mtr>
        </mtable>
        <mo>&#x2197;</mo>
      </munder>
    </math> ; <math xmlns="http://www.w3.org/1998/Math/MathML">
      <mover>
        <mo>&#x2197;</mo>
        <mtable>
          <mtr>
            <mtd>
              <mn>1</mn>
            </mtd>
            <mtd>
              <mn>2</mn>
            </mtd>
            <mtd>
              <mn>3</mn>
            </mtd>
          </mtr>
        </mtable>
      </mover>
    </math> ; <math xmlns="http://www.w3.org/1998/Math/MathML">
      <mover>
        <mtable>
          <mtr>
            <mtd>
              <mn>1</mn>
            </mtd>
            <mtd>
              <mn>2</mn>
            </mtd>
            <mtd>
              <mn>3</mn>
            </mtd>
          </mtr>
        </mtable>
        <mo>&#x2197;</mo>
      </mover>
    </math> ; <math xmlns="http://www.w3.org/1998/Math/MathML">
      <munderover>
        <mo>&#x2197;</mo>
        <mtable>
          <mtr>
            <mtd>
              <mn>1</mn>
            </mtd>
            <mtd>
              <mn>2</mn>
            </mtd>
            <mtd>
              <mn>3</mn>
            </mtd>
          </mtr>
        </mtable>
        <mo>x</mo>
      </munderover>
    </math> ; <math xmlns="http://www.w3.org/1998/Math/MathML">
      <munderover>
        <mo>x</mo>
        <mo>&#x2197;</mo>
        <mtable>
          <mtr>
            <mtd>
              <mn>1</mn>
            </mtd>
            <mtd>
              <mn>2</mn>
            </mtd>
            <mtd>
              <mn>3</mn>
            </mtd>
          </mtr>
        </mtable>
      </munderover>
    </math> ; <math xmlns="http://www.w3.org/1998/Math/MathML">
      <munderover>
        <mtable>
          <mtr>
            <mtd>
              <mn>1</mn>
            </mtd>
            <mtd>
              <mn>2</mn>
            </mtd>
            <mtd>
              <mn>3</mn>
            </mtd>
          </mtr>
        </mtable>
        <mo>x</mo>
        <mo>&#x2197;</mo>
      </munderover>
    </math></p>
  </li>
  <li>the sole direct sub-expression of an <code>mtd</code> element in some
    column of a table : <math xmlns="http://www.w3.org/1998/Math/MathML">
      <mtable>
        <mtr>
          <mtd>
            <mtable>
              <mtr>
                <mtd>
                  <mn>1</mn>
                </mtd>
                <mtd>
                  <mn>2</mn>
                </mtd>
                <mtd>
                  <mn>3</mn>
                </mtd>
              </mtr>
            </mtable>
          </mtd>
        </mtr>
        <mtr>
          <mtd>
            <mo>&#x2197;</mo>
          </mtd>
        </mtr>
        <mtr>
          <mtd>
            <mtable>
              <mtr>
                <mtd>
                  <mi>a</mi>
                </mtd>
                <mtd>
                  <mi>b</mi>
                </mtd>
                <mtd>
                  <mi>c</mi>
                </mtd>
              </mtr>
            </mtable>
          </mtd>
        </mtr>
      </mtable>
    </math></li>
</ul>

<h2>Other attributes of mo</h2>
</body>
</html>
