<?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 : maction</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 : maction</h1>

<ul>

<li>toggle (clicking on combination must change the selected notation) :

<math xmlns="http://www.w3.org/1998/Math/MathML">
<maction actiontype="toggle" selection="1">
  <mfenced>
    <mfrac linethickness="0">
      <mi>n</mi>
      <mi>k</mi>
    </mfrac>
  </mfenced>
  <msubsup>
    <mi>C</mi>
    <mi>n</mi>
    <mi>k</mi>
  </msubsup>
  <msubsup>
    <mi>C</mi>
    <mi>k</mi>
    <mi>n</mi>
  </msubsup>
  <mmultiscripts>
    <mi>C</mi>
    <none/>
    <mi>k</mi>
    <mprescripts/>
    <mi>n</mi>
    <none/>
  </mmultiscripts>
</maction>
  <mo>=</mo>
  <mfrac>
    <mrow>
      <munderover>
        <mo>&#x220f;</mo>
        <mrow>
          <mi>i</mi>
          <mo>=</mo>
          <mn>0</mn>
        </mrow>
        <mrow>
          <mi>k</mi>
          <mo>&#x2212;</mo>
          <mn>1</mn>
        </mrow>
      </munderover>
      <mrow>
        <mo>(</mo>
        <mrow>
          <mi>n</mi>
          <mo>&#x2212;</mo>
          <mi>i</mi>
        </mrow>
        <mo>)</mo>
      </mrow>
    </mrow>
    <mrow>
      <mi>k</mi>
      <mo>!</mo>
    </mrow>
  </mfrac>
</math>
</li>
<li>statusline (clicking or moving the mouse on combination must display a message in the statusline) :
<math xmlns="http://www.w3.org/1998/Math/MathML">
<maction actiontype="statusline">
  <msubsup>
    <mi>C</mi>
    <mi>n</mi>
    <mi>k</mi>
  </msubsup>
  <mtext>french notation for combination</mtext>
</maction>
</math>
</li>

<li>statusline (when mouse pauses over the expression for a long enough delay time a "tooltip" box must appear) :

<math xmlns="http://www.w3.org/1998/Math/MathML">
<maction actiontype="tooltip">
  <msubsup>
    <mi>C</mi>
    <mi>n</mi>
    <mi>k</mi>
  </msubsup>
  <mtext>french notation for combination</mtext>
</maction>
</math>

</li>

<li>statusline (moving the mouse on the expression may highlight it) :

<math xmlns="http://www.w3.org/1998/Math/MathML">
<maction actiontype="highlight">
  <msubsup>
    <mi>C</mi>
    <mi>n</mi>
    <mi>k</mi>
  </msubsup>
</maction>
</math>

</li>

</ul>


</body>
</html>

