<?xml version="1.0" encoding="utf-8"?>

<!-- It seems the below code is required to display greek chars like &mu; , &nbsp; etc. -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN"
"http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd" [
      <!ENTITY mathml "http://www.w3.org/1998/Math/MathML">
   ]>

<html xmlns="http://www.w3.org/1999/xhtml">

<head>
	<title>MathToWeb (MathML example)</title>
	<link rel="stylesheet" href="./../../css/mathtoweb_web.css" type="text/css" />
	<link rel="shortcut icon" href="./images/mathtoweb16x16.ico" />
</head>

<body>

<p class="Small">
MathML generated by <a href="http://www.mathtoweb.com">MathToWeb</a><br/>
A MathML example displaying the <a href="http://www.ams.org/tex/amslatex.html">AMS-Latex</a> extensible
right arrow, <span class="code">\xrightarrow{...}</span>.<br/>
This example shows the correct method of adding text above the arrow, using a call to
<span class="code">\text{..}</span>.
</p>

<p>
<!-- (your Latex) $\xrightarrow{ \text{this converts to} }$ -->
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
	<mstyle displaystyle="true">
		<mover>
			<mo stretchy="true">&xrarr;</mo>
			<mrow>
				<mo>&nbsp;</mo>
				<mtext>this&nbsp;converts&nbsp;to</mtext>
				<mo>&nbsp;</mo>
			</mrow>
		</mover>
	</mstyle>
</mrow>
</math>

<span style="padding-left: 3em;"></span>
<span class="latex"><code>$\xrightarrow{ \text{this converts to} }$</code></span>
</p>


<p>
<code>
<pre>

&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
	&lt;mstyle displaystyle="true"&gt;
		&lt;mover&gt;
			&lt;mo stretchy="true"&gt;&amp;xrarr;&lt;/mo&gt;
			&lt;mrow&gt;
				&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;
				&lt;mtext&gt;this&amp;nbsp;converts&amp;nbsp;to&lt;/mtext&gt;
				&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;
			&lt;/mrow&gt;
		&lt;/mover&gt;
	&lt;/mstyle&gt;
&lt;/mrow&gt;
&lt;/math&gt;

</pre>
</code>
</p>

</body>
</html>

