File size: 707 Bytes
4283a5e
2a53137
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d165b48
2a53137
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

// window.MathJax = {
//     tex: {
//         inlineMath: [['$', '$'], ['\\(', '\\)']]
//     },
//     svg: {
//         fontCache: 'global'
//     }
// };

(function () {
    var script = document.createElement('script');
    script.src = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-MML-AM_CHTML";
    script.async = true;
    document.head.appendChild(script);

    var config = document.createElement("script");
    config.type = "text/x-mathjax-config";
    config.text = "MathJax.Hub.Config({skipStartupTypeset: true, tex2jax: {inlineMath: [['$','$'], ['\\\\(','\\\\)']],displayMath: [['$$','$$'], ['\\\\[','\\\\]']]}});";
    document.head.appendChild(config);
})();