Mathjax 3.0 新しいページはコチラ
提供: yonewiki
(→概要) |
(→概要) |
||
8行: | 8行: | ||
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> | ||
<script> | <script> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
MathJax = { | MathJax = { | ||
− | + | chtml: {displayAlign: 'left', displayIndent: '2em', matchFontHeight: false}, | |
− | + | tex : { | |
+ | inlineMath : [['$', '$']], | ||
+ | tags : 'ams', | ||
+ | macros : { | ||
+ | tcdegree : ['\u00b0'], | ||
+ | tccelsius : ['\u2103'], | ||
+ | tcperthousand: ['\u2030'], | ||
+ | tcmu : ['\u03bc'], | ||
+ | tcohm : ['\u03a9'] | ||
+ | }, | ||
+ | processEscapes: true | ||
+ | } | ||
}; | }; | ||
</script> | </script> | ||
+ | <script src='https://polyfill.io/v3/polyfill.min.js?features=es6'></script> | ||
+ | <script id='MathJax-script' async src='https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js'></script> | ||
</syntaxhighlight> | </syntaxhighlight> |