<?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="mathml-eg-top-par">
MathML generated by <a href="http://www.mathtoweb.com">MathToWeb</a><br/>
<br/>
A MathML example displaying the <a href="http://www.ams.org/tex/amslatex.html">AMS-Latex</a>
subordinate environment <code>aligned</code> inside display environment <code>equation</code>.
</p>

<p class="mathml-eg-top-par">
<code><b>\left.</b></code> is used in place of <code><b>\left\{</b></code>, to insert a
'phantom delimiter' that does not appear, but which makes the necessary match
with the right pairing delimiter <code><b>\right\}</b></code>. Recall that the <code>\left</code> and <code>\right</code>
are the commands that cause the pairing delimiters <code>\{</code> and <code>\}</code> to be automatically sized.<br/>
(MathToWeb also supports <code>\right.</code>).<br/>
</p>

<p class="mathml-eg-top-par">
Looking at the MathML below (the pertinent code is set in bold type), we see that 
<code>&lt;mphantom&gt;...&lt;/mphantom&gt;</code> tags are used to accomplish this effect. Notice that
the paring delimiter within these tags is a left parenthesis which is used to match a right curly
brace.  This is entirely acceptable, as any Latex left pairing delimiter can be matched with any
Latex right pairing delimiter, and this is true for MathML also.
</p>

<p>
	<table width="100%"><tr> <!-- begin: inner table -->

	<td>
<table><tr><td>
<code>
<pre class="latex">\begin{equation}
<span class="mtw_specific">\tag{2.5}</span>\label{equation-aligned-eg}
\left.\begin{aligned}
 y_0&amp;=n_0+n_1\\
 z_0&amp;=r_0+r_1
\end{aligned}\right\}
\qquad \text{$Y_0$ equations}
\end{equation}</pre>
</code>
</td></tr></table>
	</td>

	<td><span class="triple-spacer"></span></td>

	<td>
		<!-- (your Latex) $\xrightarrow{\; \text{which is rendered as} \;}$ -->
		<math xmlns="http://www.w3.org/1998/Math/MathML">
		<mrow>
			<mstyle displaystyle="true">
				<mover>
					<mo stretchy="true">&xrarr;</mo>
					<mrow>
						<mo>&nbsp;</mo>
						<mspace width="0.278em" />
						<mtext>which&nbsp;is&nbsp;rendered&nbsp;as</mtext>
						<mspace width="0.278em" />
						<mo>&nbsp;</mo>
					</mrow>
				</mover>
			</mstyle>
		</mrow>
		</math>
	</td>

	<td><span class="triple-spacer"></span></td>

	<td width="40%">
		<!-- begin MathToWeb -->
		<!-- (your Latex) \begin{equation}
		\tag{2.5}\label{equation-aligned-eg}
		\left.\begin{aligned}
		y_0&=n_0+n_1\\
		z_0&=r_0+r_1
		\end{aligned}\right\}
		\qquad \text{$Y_0$ equations}
		\end{equation} -->

		<table class="equation" style="width: 100%; margin-top: 1.0%; margin-right: 0.0%; margin-bottom: 1.0%; margin-left: 0.0%;">
		<tr>
		<td style="width: 5%"></td>
		<td style="text-align: left">

		<math xmlns="http://www.w3.org/1998/Math/MathML">
		<mrow>
			<mphantom>
			(
			</mphantom>
			<mtable class="m-aligned">
				<mtr>
					<mtd columnalign="right">
						<msub>
							<mi>y</mi>
							<mn>0</mn>
						</msub>
					</mtd>
					<mtd columnalign="left">
						<mo>=</mo>
						<msub>
							<mi>n</mi>
							<mn>0</mn>
						</msub>
						<mo>+</mo>
						<msub>
							<mi>n</mi>
							<mn>1</mn>
						</msub>
					</mtd>
				</mtr>
				<mtr>
					<mtd>
						<msub>
							<mi>z</mi>
							<mn>0</mn>
						</msub>
					</mtd>
					<mtd columnalign="left">
						<mo>=</mo>
						<msub>
							<mi>r</mi>
							<mn>0</mn>
						</msub>
						<mo>+</mo>
						<msub>
							<mi>r</mi>
							<mn>1</mn>
						</msub>
					</mtd>
				</mtr>
			</mtable>
			<mo>}</mo>
			<mspace width="2.00em" />
			<mtext>
				<msub>
					<mi>Y</mi>
					<mn>0</mn>
				</msub>
			&nbsp;equations</mtext>
		</mrow>
		</math>

		</td>
		<td style="text-align: right; vertical-align: center"><a id="equation-aligned-eg">(2.5)</a></td>
		</tr>
		</table>
		<!-- end MathToWeb -->
	</td>

	</tr></table> <!-- end: inner table -->
</p>


<p>
<code>
<pre>

&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
	<b>&lt;mphantom&gt;(&lt;/mphantom&gt;</b>
	&lt;mtable class="m-aligned"&gt;
		&lt;mtr&gt;
			&lt;mtd columnalign="right"&gt;
				&lt;msub&gt;
					&lt;mi&gt;y&lt;/mi&gt;
					&lt;mn&gt;0&lt;/mn&gt;
				&lt;/msub&gt;
			&lt;/mtd&gt;
			&lt;mtd columnalign="left"&gt;
				&lt;mo&gt;=&lt;/mo&gt;
				&lt;msub&gt;
					&lt;mi&gt;n&lt;/mi&gt;
					&lt;mn&gt;0&lt;/mn&gt;
				&lt;/msub&gt;
				&lt;mo&gt;+&lt;/mo&gt;
				&lt;msub&gt;
					&lt;mi&gt;n&lt;/mi&gt;
					&lt;mn&gt;1&lt;/mn&gt;
				&lt;/msub&gt;
			&lt;/mtd&gt;
		&lt;/mtr&gt;
		&lt;mtr&gt;
			&lt;mtd&gt;
				&lt;msub&gt;
					&lt;mi&gt;z&lt;/mi&gt;
					&lt;mn&gt;0&lt;/mn&gt;
				&lt;/msub&gt;
			&lt;/mtd&gt;
			&lt;mtd columnalign="left"&gt;
				&lt;mo&gt;=&lt;/mo&gt;
				&lt;msub&gt;
					&lt;mi&gt;r&lt;/mi&gt;
					&lt;mn&gt;0&lt;/mn&gt;
				&lt;/msub&gt;
				&lt;mo&gt;+&lt;/mo&gt;
				&lt;msub&gt;
					&lt;mi&gt;r&lt;/mi&gt;
					&lt;mn&gt;1&lt;/mn&gt;
				&lt;/msub&gt;
			&lt;/mtd&gt;
		&lt;/mtr&gt;
	&lt;/mtable&gt;
	<b>&lt;mo&gt;}&lt;/mo&gt;</b>
	&lt;mspace width="2.00em" /&gt;
	&lt;mtext&gt;
		&lt;msub&gt;
			&lt;mi&gt;Y&lt;/mi&gt;
			&lt;mn&gt;0&lt;/mn&gt;
		&lt;/msub&gt;
	&amp;nbsp;equations&lt;/mtext&gt;
&lt;/mrow&gt;
&lt;/math&gt;

</pre>
</code>
</p>

</body>
</html>
