website-theme/layouts/partials/mathjax_support.html

16 lines
512 B
HTML
Raw Permalink Normal View History

2020-11-01 07:09:00 -05:00
<script id="MathJax-script" async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML">
2020-10-16 03:18:02 -04:00
MathJax.Hub.Config({
tex2jax: {
inlineMath: [['$','$'], ['\\(','\\)']],
displayMath: [['$$','$$'], ['\[','\]']],
processEscapes: true,
processEnvironments: true,
skipTags: ['script', 'noscript', 'style', 'textarea', 'pre','code'],
TeX: {
equationNumbers: { autoNumber: "AMS" },
extensions: ["AMSmath.js", "AMSsymbols.js"]
}
}
2020-11-01 07:09:00 -05:00
})
2020-10-16 03:18:02 -04:00
</script>