<?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 the Latex named operators&nbsp;&nbsp;\log and&nbsp;&nbsp;\ln.
</p>

<p>
<!-- (your Latex) $\log_a x = \frac{\ln x}{\ln a}$ -->
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
	<msub>
		<mi>log</mi>
		<mi>a</mi>
	</msub>
	<mi>x</mi>
	<mo>=</mo>
	<mfrac linethickness="1">
		<mrow>
			<mi>ln</mi>
			<mi>x</mi>
		</mrow>
		<mrow>
			<mi>ln</mi>
			<mi>a</mi>
		</mrow>
	</mfrac>
</mrow>
</math>

<span style="padding-left: 3em;"></span>
<span class="latex"><code>$\log_a x = \frac{\ln x}{\ln a}$</code></span>
</p>


<p>

<code>
<pre>

&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
&lt;mrow&gt;
	&lt;msub&gt;
		&lt;mi&gt;log&lt;/mi&gt;
		&lt;mi&gt;a&lt;/mi&gt;
	&lt;/msub&gt;
	&lt;mi&gt;x&lt;/mi&gt;
	&lt;mo&gt;=&lt;/mo&gt;
	&lt;mfrac linethickness="1"&gt;
		&lt;mrow&gt;
			&lt;mi&gt;ln&lt;/mi&gt;
			&lt;mi&gt;x&lt;/mi&gt;
		&lt;/mrow&gt;
		&lt;mrow&gt;
			&lt;mi&gt;ln&lt;/mi&gt;
			&lt;mi&gt;a&lt;/mi&gt;
		&lt;/mrow&gt;
	&lt;/mfrac&gt;
&lt;/mrow&gt;
&lt;/math&gt;

</pre>
</code>

</p>

</body>
</html>

