06 February 2013

Write Mathematics Formulas in Blogger



MathJax provides an easy solution for displaying math formulas on web pages (including blogger). You can start writing blog posts with math formulas using latex syntax at blogger (blogspot) int the following two steps.



  1. At the dash board of blogger, click Layout->Add Gadget->HTML/JavaScript, and add the following code

    <script type="text/x-mathjax-config;executed=true">


    MathJax.Hub.Config({


    TeX: { equationNumbers: { autoNumber: "AMS" } }


    });


    </script>


    <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">


    </script>




  2. To write blog posts with math formulas, use \(..\) as delimiters for inline math symbols, and $$...$$ or \[...\] as delimiters for display style math equations.





No comments:

Post a Comment