Template:SUSTC-Math-Enabled
From 2014.igem.org
(Difference between revisions)
(4 intermediate revisions not shown) | |||
Line 3: | Line 3: | ||
MathJax.Hub.Config({ | MathJax.Hub.Config({ | ||
tex2jax: {inlineMath: [['$$','$$'], ['\\(','\\)']]}, | tex2jax: {inlineMath: [['$$','$$'], ['\\(','\\)']]}, | ||
- | TeX: { | + | 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