Processing math: 100%

Thursday, March 5, 2015

MathJax for writing an equation on web page.

<pre>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {inlineMath: [[','], ['\\(','\\)']]}
});
</script>
<script src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<p>Equationhere</p>

Then will look like,

hθ(x)=θ0+θ1x1++θnxn