Template:SUSTC-Math-Enabled
From 2014.igem.org
(Difference between revisions)
(6 intermediate revisions not shown) | |||
Line 2: | Line 2: | ||
<script type="text/x-mathjax-config"> | <script type="text/x-mathjax-config"> | ||
MathJax.Hub.Config({ | MathJax.Hub.Config({ | ||
- | tex2jax: { | + | tex2jax: {inlineMath: [['$$','$$'], ['\\(','\\)']]}, |
+ | TeX: {equationNumbers: { autoNumber: "AMS" }}, | ||
+ | "HTML-CSS": { linebreaks: { automatic: true } }, | ||
+ | SVG: { linebreaks: { automatic: true } } | ||
+ | }); | ||
+ | </script> | ||
+ | <script type="text/javascript"> | ||
+ | if(window.MathJax) { | ||
+ | delete MathJax; | ||
+ | var js = document.createElement('script'); | ||
+ | js.src = "//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"; | ||
+ | document.body.appendChild(js); | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | </script> | ||
+ | <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> | ||
+ | MathJax.Hub.Config({ | ||
+ | tex2jax: {inlineMath: [['$$','$$'], ['\\(','\\)']]}, | ||
+ | TeX: {equationNumbers: { autoNumber: "AMS" }}, | ||
+ | "HTML-CSS": { linebreaks: { automatic: true } }, | ||
+ | SVG: { linebreaks: { automatic: true } } | ||
}); | }); | ||
</script> | </script> | ||
- | |||
</html> | </html> |
Latest revision as of 17:07, 17 October 2014