User:Bpiwowar/common.js

/*

// Configure mathjax { var head = document.getElementsByTagName("head")[0], script; script = document.createElement("script"); script.type = "text/x-mathjax-config"; script[(window.opera ? "innerHTML" : "text")] = "MathJax.Hub.Config({\n" +   "  tex2jax: { skipTags: ['body'], inlineMath: [ ['$','$'], ['\\\\(','\\\\)']] }\n" +    "});" head.appendChild(script); } // Load mathjax $.getScript("http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML", function {  MathJax.Hub.Queue(["Typeset", MathJax.Hub, $('span.tex').get]); }); // Typeset $(document).ready(function {  MathJax.Hub.Queue(["Typeset", MathJax.Hub, $('span.tex').get]); });