Skip to content

Instantly share code, notes, and snippets.

@hoo223
Last active September 16, 2021 02:21
Show Gist options
  • Save hoo223/5b35651825c81c67ef643c28adaf1ff4 to your computer and use it in GitHub Desktop.
Save hoo223/5b35651825c81c67ef643c28adaf1ff4 to your computer and use it in GitHub Desktop.
mathjax outline 표기 오류 수정
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
TeX: {
equationNumbers: {
autoNumber: "AMS"
}
},
tex2jax: {
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
processEscapes: true,
}
});
MathJax.Hub.Register.MessageHook("Math Processing Error",function (message) {
alert("Math Processing Error: "+message[1]);
});
MathJax.Hub.Register.MessageHook("TeX Jax - parse error",function (message) {
alert("Math Processing Error: "+message[1]);
});
</script>
<script type="text/javascript" async
src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment