Load require package in Mathjax

This commit is contained in:
Henrik Giesel 2020-11-15 13:58:51 +01:00
parent 9f97baa3e2
commit 80232f4d33

View File

@ -3,7 +3,14 @@ window.MathJax = {
displayMath: [["\\[", "\\]"]],
processRefs: false,
processEnvironments: false,
packages: ['base', 'ams', 'noerrors', 'noundefined', 'mhchem']
packages: [
'base',
'ams',
'noerrors',
'noundefined',
'mhchem',
'require',
]
},
startup: {
typeset: false
@ -17,6 +24,10 @@ window.MathJax = {
processHtmlClass: 'tex2jax_process'
},
loader: {
load: ['[tex]/noerrors', '[tex]/mhchem']
load: [
'[tex]/noerrors',
'[tex]/mhchem',
'[tex]/require',
]
}
};