Change MathJax Font

This commit is contained in:
Knoch 2019-05-10 10:49:18 +02:00
parent eca8440e81
commit 018ce37125

View File

@ -75,7 +75,7 @@
transition: 'none',
math: {
mathjax: 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js',
config: 'TeX-AMS_HTML-full' // See http://docs.mathjax.org/en/latest/config-files.html
config: 'TeX-AMS_HTML-full', // See http://docs.mathjax.org/en/latest/config-files.html
},
history: true,
fragmentInURL: true,
@ -89,6 +89,15 @@
{ src: 'plugin/math/math.js', async: true }
]
});
window.onload = function () {
MathJax.Hub.Config({
"HTML-CSS": {
availableFonts: ["Latin Modern"],
preferredFont: "Latin Modern"
}
});
}
</script>
</body>
</html>