]> MathToWeb (MathML example)

MathML generated by MathToWeb

A MathML example displaying the AMS-Latex subordinate math environment split inside display environment equation.

This example was borrowed from section 3.4 of AMS User's Guide for the amsmath Package (Version 2.0).
(One addition to this code was made, the \tag{1} command on the second line, which is required by MathToWeb, but optional in Latex.)

\begin{equation}
\tag{1}\label{e:barwq}
\begin{split}
 H_c&=\frac{1}{2n} \sum^n_{l=0}(-1)^{l}(n-{l})^{p-2}
 \sum_{l _1+\dots+ l _p=l}\prod^p_{i=1} \binom{n_i}{l _i}\\
 &\quad\cdot[(n-l )-(n_i-l _i)]^{n_i-l _i}\cdot
 \Bigl[(n-l )^2-\sum^p_{j=1}(n_i-l _i)^2\Bigr].
\end{split}
\end{equation}

H c = 1 2 n l = 0 n ( - 1 ) l ( n - l ) p - 2 l 1 + + l p = l i = 1 p ( n i l i ) [ ( n - l ) - ( n i - l i ) ] n i - l i [ ( n - l ) 2 - j = 1 p ( n i - l i ) 2 ] . (1)


<math xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
	<mtable class="m-split" columnalign="left">
		<mtr>
			<mtd>
				<msub>
					<mi>H</mi>
					<mi>c</mi>
				</msub>
			</mtd>
			<mtd>
				<mo>=</mo>
				<mfrac linethickness="1">
					<mn>1</mn>
					<mrow>
						<mn>2</mn>
						<mi>n</mi>
					</mrow>
				</mfrac>
				<mstyle displaystyle="true">
					<munderover>
						<mo>&sum;</mo>
						<mrow>
							<mi>l</mi>
							<mo>=</mo>
							<mn>0</mn>
						</mrow>
						<mi>n</mi>
					</munderover>
				</mstyle>
				<msup>
					<mrow>
						<mo maxsize="1.00em">(</mo>
						<mo>-</mo>
						<mn>1</mn>
						<mo maxsize="1.00em">)</mo>
					</mrow>
					<mi>l</mi>
				</msup>
				<msup>
					<mrow>
						<mo maxsize="1.00em">(</mo>
						<mi>n</mi>
						<mo>-</mo>
						<mrow>
							<mi>l</mi>
						</mrow>
						<mo maxsize="1.00em">)</mo>
					</mrow>
					<mrow>
						<mi>p</mi>
						<mo>-</mo>
						<mn>2</mn>
					</mrow>
				</msup>
				<mstyle displaystyle="true">
					<munder>
						<mo>&sum;</mo>
						<mrow>
							<msub>
								<mi>l</mi>
								<mn>1</mn>
							</msub>
							<mo>+</mo>
							<mo>&hellip;</mo>
							<mo>+</mo>
							<msub>
								<mi>l</mi>
								<mi>p</mi>
							</msub>
							<mo>=</mo>
							<mi>l</mi>
						</mrow>
					</munder>
				</mstyle>
				<mstyle displaystyle="true">
					<munderover>
						<mo>&prod;</mo>
						<mrow>
							<mi>i</mi>
							<mo>=</mo>
							<mn>1</mn>
						</mrow>
						<mi>p</mi>
					</munderover>
				</mstyle>
				<mrow>
					<mo>(</mo>
					<mfrac linethickness="0">
						<mrow>
							<msub>
								<mi>n</mi>
								<mi>i</mi>
							</msub>
						</mrow>
						<mrow>
							<msub>
								<mi>l</mi>
								<mi>i</mi>
							</msub>
						</mrow>
					</mfrac>
					<mo>)</mo>
				</mrow>
			</mtd>
		</mtr>
		<mtr>
			<mtd>
			</mtd>
			<mtd>
				<mspace width="1.00em" />
				<mo>&sdot;</mo>
				<mo maxsize="1.00em">[</mo>
				<mrow>
					<mo maxsize="1.00em">(</mo>
					<mi>n</mi>
					<mo>-</mo>
					<mi>l</mi>
					<mo maxsize="1.00em">)</mo>
				</mrow>
				<mo>-</mo>
				<mrow>
					<mo maxsize="1.00em">(</mo>
					<msub>
						<mi>n</mi>
						<mi>i</mi>
					</msub>
					<mo>-</mo>
					<msub>
						<mi>l</mi>
						<mi>i</mi>
					</msub>
					<mo maxsize="1.00em">)</mo>
				</mrow>
				<msup>
					<mo>]</mo>
					<mrow>
						<msub>
							<mi>n</mi>
							<mi>i</mi>
						</msub>
						<mo>-</mo>
						<msub>
							<mi>l</mi>
							<mi>i</mi>
						</msub>
					</mrow>
				</msup>
				<mo>&sdot;</mo>
				<mrow>
					<mo minsize="2.00em">[</mo>
					<msup>
						<mrow>
							<mo maxsize="1.00em">(</mo>
							<mi>n</mi>
							<mo>-</mo>
							<mi>l</mi>
							<mo maxsize="1.00em">)</mo>
						</mrow>
						<mn>2</mn>
					</msup>
					<mo>-</mo>
					<mstyle displaystyle="true">
						<munderover>
							<mo>&sum;</mo>
							<mrow>
								<mi>j</mi>
								<mo>=</mo>
								<mn>1</mn>
							</mrow>
							<mi>p</mi>
						</munderover>
					</mstyle>
					<msup>
						<mrow>
							<mo maxsize="1.00em">(</mo>
							<msub>
								<mi>n</mi>
								<mi>i</mi>
							</msub>
							<mo>-</mo>
							<msub>
								<mi>l</mi>
								<mi>i</mi>
							</msub>
							<mo maxsize="1.00em">)</mo>
						</mrow>
						<mn>2</mn>
					</msup>
					<mo minsize="2.00em">]</mo>
				</mrow>
				<mo>.</mo>
			</mtd>
		</mtr>
	</mtable>
</mrow>
</math>