Thanks to Weiqi Gao for working out how to get MathJax working on blogger again.
- Go to your blog and sign in.
- Select Template.

- Select edit HTML

- copy and paste the codes just before the < / HEAD > tag. You can be more successful if you go to http://checkmyworking.com/2012/01/how-to-get-beautifully-typeset-maths-on-your-blog/#blogger to copy.
<script type="text/x-mathjax-config"> // <![CDATA[ MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']], displayMath: [['\\[','\\]'], ['$$','$$']]}}); blogger.ui().viewType_.prototype.onRenderComplete=function(){MathJax.Hub.Queue(['Typeset',MathJax.Hub])}; // ]]> </script> <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
- Click on Save Template, and you’re done!

- To test write the
Maths between dollars is inline: $\sum_{k=1}^n k = \frac{n(n+1)}{2}$. Maths between slash-square-brackets is display: \[\sum_{k=1}^n k = \frac{n(n+1)}{2}\]$\lim_{x\rightarrow 0}$- It should look like this! enjoy!

$\sum_{k=1}^n k = \frac{n(n+1)}{2}$
\[\sum_{k=1}^n k = \frac{n(n+1)}{2}\]
$\lim_{x\rightarrow 0}$
reference:
http://checkmyworking.com/2012/01/how-to-get-beautifully-typeset-maths-on-your-blog/#blogger
![<script type='text/x-mathjax-config'> // <![CDATA[ MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']], displayMath: [['\\[','\\]'], ['$$','$$']]}}); blogger.ui().viewType_.prototype.onRenderComplete=function(){MathJax.Hub.Queue(['Typeset',MathJax.Hub])}; // ]]> </script> <script src='http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' type='text/javascript'> </script>g=TeX-AMS-MML_HTMLorMML' type='text/javascript'> </script>](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSxzydaCyEardJb-jKsU7oOZTFVcbRQZeACM32VQogpdhxz2CiE-7uxRzWSyrGqZcubEoNt4CIN2i9_vzNPa-oz-DdKPwFn-5eI5z3jzp6iGpRnTKN2_ygZ71GI8e-ZeXQxV_hK-bEJnuL/s280-rw/latex03_2013-12-17_0444.png)
No comments:
Post a Comment