<?xml version="1.0" encoding="utf-8"?>

<!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 use of the <span style="font-weight: bold;">\text{...}</span> command.
</p>

<p style="padding-top: 1.5em;">

<table>
<tr>
<td>
<!-- begin MathToWeb -->
<!-- (your LaTeX) \\begin{equation*}
\\delta_{mn} = 
 \\begin{cases}
  1& \\text{if \$n = m\$}\\\\
  0& \\text{if \$n \ne m\$}
 \\end{cases}
\\end{equation*} -->
<table class="equation-starred" style="width: 100%; margin-top: 1.0%; margin-right: 0.0%; margin-bottom: 1.0%; margin-left: 0.0%;">
<tr>
<td style="text-align: left">

<math xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
	<mspace width="1.00em" />
	<msub>
		<mi>&delta;</mi>
		<mrow>
			<mi>m</mi>
			<mi>n</mi>
		</mrow>
	</msub>
	<mo>=</mo>
	<mrow>
		<mo>&lcub;</mo>
		<mtable class="m-cases" columnalign="left">
			<mtr>
				<mtd>
					<mn>1</mn>
				</mtd>
				<mtd>
					<mtext>if&nbsp;
						<math xmlns="http://www.w3.org/1998/Math/MathML">
							<mrow>
								<mi>n</mi>
								<mo>=</mo>
								<mi>m</mi>
							</mrow>
						</math>
					</mtext>
				</mtd>
			</mtr>
			<mtr>
				<mtd>
					<mn>0</mn>
				</mtd>
				<mtd>
					<mtext>if&nbsp;
						<math xmlns="http://www.w3.org/1998/Math/MathML">
							<mrow>
								<mi>n</mi>
								<mo>&ne;</mo>
								<mi>m</mi>
							</mrow>
						</math>
					</mtext>
				</mtd>
			</mtr>
		</mtable>
		<mphantom>
		&rcub;
		</mphantom>
	</mrow>
</mrow>
</math>

</td>
<td style="text-align: right; vertical-align: center"><a id=""><span style="color: #FFFFFF">()</span></a></td>
</tr>
</table>
<!-- end MathToWeb -->
</td>

<td style="padding-left: 2em;">&nbsp;</td>

<td>
<code><pre class="latex">\begin{equation*}
\delta_{mn} = 
 \begin{cases}
  1&amp; <b>\text{if $n = m$}</b>\\
  0&amp; <b>\text{if $n \ne m$}</b>
 \end{cases}
\end{equation*}</pre></code>
</td>

</tr>
</table>
</p>



<p>

<code>
<pre>

&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
	&lt;mspace width="1.00em" /&gt;
	&lt;msub&gt;
		&lt;mi&gt;&amp;delta;&lt;/mi&gt;
		&lt;mrow&gt;
			&lt;mi&gt;m&lt;/mi&gt;
			&lt;mi&gt;n&lt;/mi&gt;
		&lt;/mrow&gt;
	&lt;/msub&gt;
	&lt;mo&gt;=&lt;/mo&gt;
	&lt;mrow&gt;
		&lt;mo&gt;&amp;lcub;&lt;/mo&gt;
		&lt;mtable class="m-cases" columnalign="left"&gt;
			&lt;mtr&gt;
				&lt;mtd&gt;
					&lt;mn&gt;1&lt;/mn&gt;
				&lt;/mtd&gt;
				&lt;mtd&gt;
					&lt;mtext&gt;if&amp;nbsp;
						&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
							&lt;mrow&gt;
								&lt;mi&gt;n&lt;/mi&gt;
								&lt;mo&gt;=&lt;/mo&gt;
								&lt;mi&gt;m&lt;/mi&gt;
							&lt;/mrow&gt;
						&lt;/math&gt;
					&lt;/mtext&gt;
				&lt;/mtd&gt;
			&lt;/mtr&gt;
			&lt;mtr&gt;
				&lt;mtd&gt;
					&lt;mn&gt;0&lt;/mn&gt;
				&lt;/mtd&gt;
				&lt;mtd&gt;
					&lt;mtext&gt;if&amp;nbsp;
						&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
							&lt;mrow&gt;
								&lt;mi&gt;n&lt;/mi&gt;
								&lt;mo&gt;&amp;ne;&lt;/mo&gt;
								&lt;mi&gt;m&lt;/mi&gt;
							&lt;/mrow&gt;
						&lt;/math&gt;
					&lt;/mtext&gt;
				&lt;/mtd&gt;
			&lt;/mtr&gt;
		&lt;/mtable&gt;
		&lt;mphantom&gt;
		&amp;rcub;
		&lt;/mphantom&gt;
	&lt;/mrow&gt;
&lt;/mrow&gt;
&lt;/math&gt;

</pre>
</code>

</p>

</body>
</html>

