If you are using Google’s Blogger platform to run your blog. You may find difficulty in displaying mathematical expressions. One good idea is to make use of LaTeX in displaying mathematical expressions. So, In this post, I will show you how to enable LaTeX in Blogger.
While creating a blog post, You may have notices 2 tabs,compose
and HTML
, Select HTML Tab and Paste the following code:
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js">
MathJax.Hub.Config({
extensions: ["tex2jax.js","TeX/AMSmath.js","TeX/AMSsymbols.js"],
jax: ["input/TeX", "output/HTML-CSS"],
tex2jax: {
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
},
"HTML-CSS": { availableFonts: ["TeX"] }
});
</script>
Now, write directly on Blogger your equation between $ and $,
for example: $x^2$
\($x^2$\)
Leave your queries in the comment section below.
Thanks! That worked great!
Welcome. Glad to know.
Works like a charm, thanks!
After I paste that enabling code in HTML,..
(1) do I paste the $latexeq$ in Compose?
(2) How do I paste it at the right text place?
ie: Does ‘compose’ allow me to navigate
around my text?
I’m retired, and a technophobe obviously.
If you want, you can email me at
[email protected]
Thanks, Gene