<?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 "dots with binary operators/relations".</span><br/>
<br/>

<!-- (your Latex) $a_1 + a_2 + \dotsb + a_n = \sum_{i=1}^n a_i$ -->
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
	<msub>
		<mi>a</mi>
		<mn>1</mn>
	</msub>
	<mo>+</mo>
	<msub>
		<mi>a</mi>
		<mn>2</mn>
	</msub>
	<mo>+</mo>
	<mo>&ctdot;</mo>
	<mo>+</mo>
	<msub>
		<mi>a</mi>
		<mi>n</mi>
	</msub>
	<mo>=</mo>
	<mstyle displaystyle="true">
		<munderover>
			<mo>&sum;</mo>
			<mrow>
				<mi>i</mi>
				<mo>=</mo>
				<mn>1</mn>
			</mrow>
			<mi>n</mi>
		</munderover>
	</mstyle>
	<msub>
		<mi>a</mi>
		<mi>i</mi>
	</msub>
</mrow>
</math>

<span style="padding-left:3em;"></span>
<span class="latex"><code>$a_1 + a_2 + \dotsb + a_n = \sum_{i=1}^n a_i$</code></span><span style="padding-left:3em;"></span>("dots with binary operators/relations")
<br/>

<code>
<pre>

&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
	&lt;msub&gt;
		&lt;mi&gt;a&lt;/mi&gt;
		&lt;mn&gt;1&lt;/mn&gt;
	&lt;/msub&gt;
	&lt;mo&gt;+&lt;/mo&gt;
	&lt;msub&gt;
		&lt;mi&gt;a&lt;/mi&gt;
		&lt;mn&gt;2&lt;/mn&gt;
	&lt;/msub&gt;
	&lt;mo&gt;+&lt;/mo&gt;
	&lt;mo&gt;&amp;ctdot;&lt;/mo&gt;
	&lt;mo&gt;+&lt;/mo&gt;
	&lt;msub&gt;
		&lt;mi&gt;a&lt;/mi&gt;
		&lt;mi&gt;n&lt;/mi&gt;
	&lt;/msub&gt;
	&lt;mo&gt;=&lt;/mo&gt;
	&lt;mstyle displaystyle="true"&gt;
		&lt;munderover&gt;
			&lt;mo&gt;&amp;sum;&lt;/mo&gt;
			&lt;mrow&gt;
				&lt;mi&gt;i&lt;/mi&gt;
				&lt;mo&gt;=&lt;/mo&gt;
				&lt;mn&gt;1&lt;/mn&gt;
			&lt;/mrow&gt;
			&lt;mi&gt;n&lt;/mi&gt;
		&lt;/munderover&gt;
	&lt;/mstyle&gt;
	&lt;msub&gt;
		&lt;mi&gt;a&lt;/mi&gt;
		&lt;mi&gt;i&lt;/mi&gt;
	&lt;/msub&gt;
&lt;/mrow&gt;
&lt;/math&gt;

</pre>
</code>

</body>
</html>
