Tuesday, July 26, 2016

How to configure blogger for MathJax

Step 1: Login to Blogger
Step 2: Select "Layout" from the dropdownlist.


Step 3:Click Edit in the Cross Column.

Step 4: Copy and paste the following code.

<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX", "output/HTML-CSS"],
    tex2jax: {
      inlineMath: [ ['$','$'], ["\\(","\\)"] ],
      displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
      processEscapes: true
    },
    "HTML-CSS": { availableFonts: ["TeX"] }
  });
</script>


<script src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>

Step 5: Click Save.


Step 6: Start using LaTex in your blog. The minimal configuration as noted above won't support all features. Check out the MathJax documentation by clicking link - MathJax Docs
Step 7: Publish and Prosper!

No comments:

Post a Comment

Chain complexes on Hilbert spaces

 Chain complexes are mathematical structures used extensively in algebraic topology, homological algebra, and other areas of mathematics. Th...