text: init_mathjax = function() {
      if (window.MathJax) {
          // MathJax loaded
          MathJax.Hub.Config({
              tex2jax: {
                  inlineMath: [ ['$','$'],['$$','$$'], ["\\(","\\)"], ["\\[","\\]"] ] ,
                  displayMath: [ ['$$','$$'], ["\\[","\\]"] ]
              },
              displayAlign: 'left', // Change this to 'center' to center equations.
              "HTML-CSS": {
                  styles: {'.MathJax_Display': {"margin": 0}}
              }
          });
          MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
      }
  }
  init_mathjax();