「Mathjax3.x系 Neo Eulerフォントのサンプルページ」の版間の差分
(ページの作成:「<yjavascript></script> <script src='https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-AMS_HTML-full'> MathJax.Hub.Config({ "fast-preview": {disabled:true}, tex2jax: { preview: "none", inlineMath: [['\\@','\\@'],['\\(','\\)']], displayMath: [['$$','$$'],['\\[','\\]']], skipTags: ["code"], processEscapes: true }, "HTML-CSS": { undefinedFamily: "'Neo Euler Medium', Meiryo, STIXGeneral, 'Arial Unicode MS',…」) |
編集の要約なし |
||
1行目: | 1行目: | ||
<yjavascript></script> | <yjavascript></script> | ||
<script | <script type='text/x-mathjax-config'> | ||
MathJax = { | |||
tex: { | |||
packages: ['base'], // extensions to use | |||
inlineMath: [ // start/end delimiter pairs for in-line math | |||
['\\(', '\\)'], | |||
['\\@', '\\@'] | |||
], | |||
displayMath: [ // start/end delimiter pairs for display math | |||
['$$', '$$'], | |||
"HTML-CSS": { | ['\\[', '\\]'] | ||
], | |||
processEscapes: true, // use \$ to produce a literal dollar sign | |||
processEnvironments: true, // process \begin{xxx}...\end{xxx} outside math mode | |||
processRefs: true, // process \ref{...} outside of math mode | |||
digits: /^(?:[0-9]+(?:\{,\}[0-9]{3})*(?:\.[0-9]*)?|\.[0-9]+)/, | |||
// pattern for recognizing numbers | |||
tags: 'none', // or 'ams' or 'all' | |||
tagSide: 'right', // side for \tag macros | |||
tagIndent: '0.8em', // amount to indent tags | |||
useLabelIds: true, // use label name rather than tag for ids | |||
multlineWidth: '85%', // width of multline environment | |||
maxMacros: 1000, // maximum number of macro substitutions per expression | |||
maxBuffer: 5 * 1024, // maximum size for the internal TeX string (5K) | |||
baseURL: // URL for use with links to tags (when there is a <base> tag in effect) | |||
(document.getElementsByTagName('base').length === 0) ? | |||
'' : String(document.location).replace(/#.*$/, '')) | |||
} | |||
"HTML-CSS": { | |||
availableFonts :['Neo Euler Medium'], | |||
preferredFont: null, | |||
webFont :'Neo Euler Medium' | |||
} | |||
}; | |||
</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-mml-chtml.js"></script> | |||
<style> | |||
mjx-container mjx-utext { font-family: 'Neo Euler Medium', Meiryo !important; } | |||
mjx-container svg text { font-family: 'Neo Euler Medium', Meiryo !important; } | |||
mjx-container[display="true"] { margin: 0 !important; padding: 2px 0 4px 0 !important; } | |||
mjx-mid mjx-c::before { padding-top: 0.13em !important; } | |||
mjx-container *:not(mjx-utext) { | |||
font-family: "Neo Euler Medium" !important; | |||
} | |||
</style> | |||
<script></yjavascript> | <script></yjavascript> | ||
[[Mathjax 3.0]]に戻る。 | [[Mathjax 3.0]]に戻る。 |