Mathjax 3.0 新しいページはコチラ
提供: yonewiki
(→概要) |
(→概要) |
||
| 8行: | 8行: | ||
<span style="color: #ffffff; background-color: #555555; padding: 0px 5px 0px 5px; display: inline-block;">javascript(Edge向け)</span> | <span style="color: #ffffff; background-color: #555555; padding: 0px 5px 0px 5px; display: inline-block;">javascript(Edge向け)</span> | ||
| + | <syntaxhighlight lang="javascript"> | ||
| + | <script> | ||
| + | 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 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> | ||
| + | <meta http-equiv='X-UA-Compatible' CONTENT='IE=EmulateIE7' /> | ||
| + | </syntaxhighlight> | ||
| + | |||
| + | <span style="color: #ffffff; background-color: #555555; padding: 0px 5px 0px 5px; display: inline-block;">javascript(Edge以外向け)</span> | ||
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> | ||
<script> | <script> | ||