Change MathJax Font
This commit is contained in:
parent
eca8440e81
commit
018ce37125
11
index.html
11
index.html
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user