<?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="Small">
MathML generated by <a href="http://www.mathtoweb.com">MathToWeb</a><br/>
A MathML example displaying boldface letters, signifying vectors in this case, by way of
the <a href="http://www.ams.org/tex/amslatex.html">AMS Latex</a> command&nbsp;&nbsp; 
\mathbf{A}.
</p>

<p>
<!-- (your Latex) $\mathbf{A} = \mathbf{r}_2 - \mathbf{r}_1$ -->
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
	<mi mathvariant="bold">A</mi>
	<mo>=</mo>
	<msub>
		<mi mathvariant="bold">r</mi>
		<mn>2</mn>
	</msub>
	<mo>-</mo>
	<msub>
		<mi mathvariant="bold">r</mi>
		<mn>1</mn>
	</msub>
</mrow>
</math>

<span style="padding-left: 3em;"></span>
<span class="latex"><code>$\mathbf{A} = \mathbf{r}_2 - \mathbf{r}_1$</code></span>
</p>

<p>
<code>
<pre>

&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
	&lt;mi mathvariant="bold"&gt;A&lt;/mi&gt;
	&lt;mo&gt;=&lt;/mo&gt;
	&lt;msub&gt;
		&lt;mi mathvariant="bold"&gt;r&lt;/mi&gt;
		&lt;mn&gt;2&lt;/mn&gt;
	&lt;/msub&gt;
	&lt;mo&gt;-&lt;/mo&gt;
	&lt;msub&gt;
		&lt;mi mathvariant="bold"&gt;r&lt;/mi&gt;
		&lt;mn&gt;1&lt;/mn&gt;
	&lt;/msub&gt;
&lt;/mrow&gt;
&lt;/math&gt;

</pre>
</code>
</p>

</body>
</html>

