<?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>

<span class="Small">MathML generated by <a href="http://www.mathtoweb.com">MathToWeb</a></span><br/>
<span class="Small">A MathML example displaying the Latex command \underbrace{...}.</span><br/>
<br/>

<span class="latex"><code>$\underbrace{A_p = g_{pq}A^p}_{ \text{ For rectangular coordinates $g_{pq}=1$ if $p=q$, and $0$ if $p \ne q$ } }$</code></span><br/>
<br/>

<!-- (your Latex) $\underbrace{A_p = g_{pq}A^p}_{ \text{ For rectangular coordinates $g_{pq}=1$ if $p=q$, and $0$ if $p \ne q$ } }$ -->
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
	<mstyle displaystyle="true">
		<munder>
			<mrow>
				<munder accentunder="true">
					<mrow>
						<msub>
							<mi>A</mi>
							<mi>p</mi>
						</msub>
						<mo>=</mo>
						<msub>
							<mi>g</mi>
							<mi>pq</mi>
						</msub>
						<msup>
							<mi>A</mi>
							<mi>p</mi>
						</msup>
					</mrow>
					<mo stretchy="true">&UnderBrace;</mo>
				</munder>
			</mrow>
			<mrow>
				<mtext>&nbsp;For&nbsp;rectangular&nbsp;coordinates&nbsp;
					<msub>
						<mi>g</mi>
						<mi>pq</mi>
					</msub>
				=1&nbsp;if&nbsp;p=q,&nbsp;and&nbsp;0&nbsp;if&nbsp;p&nbsp;&ne;&nbsp;q&nbsp;</mtext>
			</mrow>
		</munder>
	</mstyle>
</mrow>
</math>

<br/>

<code>
<pre>

&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
	&lt;mstyle displaystyle="true"&gt;
		&lt;munder&gt;
			&lt;mrow&gt;
				&lt;munder accentunder="true"&gt;
					&lt;mrow&gt;
						&lt;msub&gt;
							&lt;mi&gt;A&lt;/mi&gt;
							&lt;mi&gt;p&lt;/mi&gt;
						&lt;/msub&gt;
						&lt;mo&gt;=&lt;/mo&gt;
						&lt;msub&gt;
							&lt;mi&gt;g&lt;/mi&gt;
							&lt;mi&gt;pq&lt;/mi&gt;
						&lt;/msub&gt;
						&lt;msup&gt;
							&lt;mi&gt;A&lt;/mi&gt;
							&lt;mi&gt;p&lt;/mi&gt;
						&lt;/msup&gt;
					&lt;/mrow&gt;
					&lt;mo stretchy="true"&gt;&amp;UnderBrace;&lt;/mo&gt;
				&lt;/munder&gt;
			&lt;/mrow&gt;
			&lt;mrow&gt;
				&lt;mtext&gt;&amp;nbsp;For&amp;nbsp;rectangular&amp;nbsp;coordinates&amp;nbsp;
					&lt;msub&gt;
						&lt;mi&gt;g&lt;/mi&gt;
						&lt;mi&gt;pq&lt;/mi&gt;
					&lt;/msub&gt;
				=1&amp;nbsp;if&amp;nbsp;p=q,&amp;nbsp;and&amp;nbsp;0&amp;nbsp;if&amp;nbsp;p&amp;nbsp;&amp;ne;&amp;nbsp;q&amp;nbsp;&lt;/mtext&gt;
			&lt;/mrow&gt;
		&lt;/munder&gt;
	&lt;/mstyle&gt;
&lt;/mrow&gt;
&lt;/math&gt;

</pre>
</code>


</body>
</html>

