Latex inside your blog:
Copy and paste these images into your blog.
Or if you want to directly write latex on your blogspot or other blog, you can put mathjax on your blog;
Go to your blog and sign in. Click on the Design link in the admin bar at the top. Click on the Edit HTML link. Paste the following code just above the line containing </head>:
<script type='text/x-mathjax-config'>MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']],displayMath: [['\\[','\\]']]}});</script><script src='http://cdn.mathjax.org/mathjax/2.2-latest/MathJax.js?config=TeX-AMS_HTML' type='text/javascript'></script>
To make sure it works, post an entry like so:
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}\]
==
No comments:
Post a Comment