Change MathJax Font
This commit is contained in:
parent
eca8440e81
commit
018ce37125
11
index.html
11
index.html
@ -75,7 +75,7 @@
|
|||||||
transition: 'none',
|
transition: 'none',
|
||||||
math: {
|
math: {
|
||||||
mathjax: 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js',
|
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,
|
history: true,
|
||||||
fragmentInURL: true,
|
fragmentInURL: true,
|
||||||
@ -89,6 +89,15 @@
|
|||||||
{ src: 'plugin/math/math.js', async: true }
|
{ src: 'plugin/math/math.js', async: true }
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
|
||||||
|
window.onload = function () {
|
||||||
|
MathJax.Hub.Config({
|
||||||
|
"HTML-CSS": {
|
||||||
|
availableFonts: ["Latin Modern"],
|
||||||
|
preferredFont: "Latin Modern"
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user