glados.no/_includes/utils/mathjax.html

27 lines
729 B
HTML
Raw Normal View History

2020-11-29 19:42:04 +01:00
<!--MathJAX-->
<script>
MathJax = {
tex: {
packages: {
'[+]': ['mhchem', 'ams']
},
inlineMath: [ // start/end delimiter pairs for in-line math
['$','$'],
['\\(', '\\)']
],
displayMath: [ // start/end delimiter pairs for display math
['$$', '$$'],
['\\[', '\\]']
],
tags: 'ams',
processRefs: true,
},
chtml: {
scale: 1,
minScale: .5,
matchFontHeight: true,
}
};
</script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"></script>