Difference between revisions of "Team:Tongji-Software/Template:Example Math"

Line 2: Line 2:
  
 
<head>
 
<head>
  <script type="text/x-mathjax-config">
+
    <script type="text/x-mathjax-config">
        MathJax.Hub.Config({
+
      MathJax.Hub.Config({
          extensions: ["tex2jax.js"],
+
        extensions: ["tex2jax.js"],
          jax: ["input/TeX", "output/HTML-CSS"],
+
        jax: ["input/TeX", "output/HTML-CSS"],
          tex2jax: {
+
        tex2jax: {
            inlineMath: [ ['$','$'], ["\\(","\\)"] ],
+
          inlineMath: [ ['$','$'], ["\\(","\\)"] ],
            displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
+
          displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
            processEscapes: true
+
          processEscapes: true
          },
+
        },
          "HTML-CSS": { fonts: ["TeX"] }
+
        "HTML-CSS": { fonts: ["TeX"] }
        });
+
      });
      </script>
+
    </script>
  <script src="https://2018.igem.org/common/MathJax-2.5-latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">  
+
    <script type="text/javascript" src="https://2018.igem.org/common/MathJax-2.5-latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
 
<head/>
 
<head/>
</script>
+
 
  
  

Revision as of 11:31, 13 October 2018