<?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 Latex command \overbrace{...}.
</p>

<p>
<span class="latex"><code>$\overbrace{a + ar + ar^2 + \dotsb = \frac{a}{1-r}}^{  \text{converges if and only if $|r| &lt; 1$}  }$</code></span><br/>
<br/>

<!-- (your Latex) $\overbrace{a + ar + ar^2 + \dotsb = \frac{a}{1-r}}^{  \text{converges if and only if $|r| < 1$}  }$ -->
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
	<mstyle displaystyle="true">
		<mover>
			<mrow>
				<mover accent="true">
					<mrow>
						<mi>a</mi>
						<mo>+</mo>
						<mi>a</mi>
						<mi>r</mi>
						<mo>+</mo>
						<mi>a</mi>
						<msup>
							<mi>r</mi>
							<mn>2</mn>
						</msup>
						<mo>+</mo>
						<mo>&ctdot;</mo>
						<mo>=</mo>
						<mfrac linethickness="1">
							<mi>a</mi>
							<mrow>
								<mn>1</mn>
								<mo>-</mo>
								<mi>r</mi>
							</mrow>
						</mfrac>
					</mrow>
					<mo stretchy="true">&OverBrace;</mo>
				</mover>
			</mrow>
			<mrow>
				<mtext>converges&nbsp;if&nbsp;and&nbsp;only&nbsp;if&nbsp;|r|&nbsp;&lt;&nbsp;1</mtext>
			</mrow>
		</mover>
	</mstyle>
</mrow>
</math>
</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;mrow&gt;
				&lt;mover accent="true"&gt;
					&lt;mrow&gt;
						&lt;mi&gt;a&lt;/mi&gt;
						&lt;mo&gt;+&lt;/mo&gt;
						&lt;mi&gt;a&lt;/mi&gt;
						&lt;mi&gt;r&lt;/mi&gt;
						&lt;mo&gt;+&lt;/mo&gt;
						&lt;mi&gt;a&lt;/mi&gt;
						&lt;msup&gt;
							&lt;mi&gt;r&lt;/mi&gt;
							&lt;mn&gt;2&lt;/mn&gt;
						&lt;/msup&gt;
						&lt;mo&gt;+&lt;/mo&gt;
						&lt;mo&gt;&amp;ctdot;&lt;/mo&gt;
						&lt;mo&gt;=&lt;/mo&gt;
						&lt;mfrac linethickness="1"&gt;
							&lt;mi&gt;a&lt;/mi&gt;
							&lt;mrow&gt;
								&lt;mn&gt;1&lt;/mn&gt;
								&lt;mo&gt;-&lt;/mo&gt;
								&lt;mi&gt;r&lt;/mi&gt;
							&lt;/mrow&gt;
						&lt;/mfrac&gt;
					&lt;/mrow&gt;
					&lt;mo stretchy="true"&gt;&amp;OverBrace;&lt;/mo&gt;
				&lt;/mover&gt;
			&lt;/mrow&gt;
			&lt;mrow&gt;
				&lt;mtext&gt;converges&amp;nbsp;if&amp;nbsp;and&amp;nbsp;only&amp;nbsp;if&amp;nbsp;|r|&amp;nbsp;&amp;lt;&amp;nbsp;1&lt;/mtext&gt;
			&lt;/mrow&gt;
		&lt;/mover&gt;
	&lt;/mstyle&gt;
&lt;/mrow&gt;
&lt;/math&gt;


</pre>
</code>
</p>

</body>
</html>

