]> MathToWeb (MathML example)

MathML generated by MathToWeb
A MathML example displaying the use of the \text{...} command.

δ m n = { 1 if  n = m 0 if  n m } ()
 
\begin{equation*}
\delta_{mn} = 
 \begin{cases}
  1& \text{if $n = m$}\\
  0& \text{if $n \ne m$}
 \end{cases}
\end{equation*}


<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>