2018-10-16 05:28:42 +00:00
|
|
|
<% if (!head && plugin !== false) { %>
|
2018-11-11 22:41:07 +00:00
|
|
|
<%- _js(cdn('mathjax', '2.7.5', 'unpacked/MathJax.js?config=TeX-MML-AM_CHTML'), true) %>
|
2018-10-16 05:28:42 +00:00
|
|
|
<script>
|
2018-11-14 03:50:42 +00:00
|
|
|
document.addEventListener('DOMContentLoaded', function () {
|
2018-10-16 05:28:42 +00:00
|
|
|
MathJax.Hub.Config({
|
2019-02-02 17:21:30 +00:00
|
|
|
'HTML-CSS': {
|
|
|
|
matchFontHeight: false
|
|
|
|
},
|
|
|
|
SVG: {
|
|
|
|
matchFontHeight: false
|
|
|
|
},
|
|
|
|
CommonHTML: {
|
|
|
|
matchFontHeight: false
|
|
|
|
},
|
|
|
|
tex2jax: {
|
|
|
|
inlineMath: [
|
|
|
|
['$','$'],
|
|
|
|
['\\(','\\)']
|
|
|
|
]
|
|
|
|
}
|
2018-10-16 05:28:42 +00:00
|
|
|
});
|
2018-11-11 22:41:07 +00:00
|
|
|
});
|
2018-10-16 05:28:42 +00:00
|
|
|
</script>
|
|
|
|
<% } %>
|