「Mathjax3.x系 Neo Eulerフォントのサンプルページ」の版間の差分

提供:yonewiki
(ページの作成:「<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',…」)
 
 
(同じ利用者による、間の3版が非表示)
1行目: 1行目:
<yjavascript></script>
<yjavascript></script>
<script src='https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-AMS_HTML-full'>
<script type='text/x-mathjax-config'>
  MathJax.Hub.Config({
MathJax = {
    "fast-preview": {disabled:true},
  tex: {
     tex2jax: {
     packages: ['base'],       // extensions to use
      preview: "none",
    inlineMath: [             // start/end delimiter pairs for in-line math
      inlineMath: [['\\@','\\@'],['\\(','\\)']],
      ['\\(', '\\)'],
      displayMath: [['$$','$$'],['\\[','\\]']],
      ['\\@', '\\@']
      skipTags: ["code"],
    ],
      processEscapes: true
    displayMath: [             // start/end delimiter pairs for display math
     },
      ['$$', '$$'],
     "HTML-CSS": {
      ['\\[', '\\]']
      undefinedFamily: "'Neo Euler Medium', Meiryo, STIXGeneral, 'Arial Unicode MS', serif",
    ],
      webFont :"Neo Euler Medium"
    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]]に戻る。
=='''概要'''==
 無理矢理Neo Eulerフォントを指定した例です。ルートとベクトルの内積と積分範囲の指定が酷いですね。もうちょっと調整する能力のある人には使えるかもしれませんね。管理人には複雑すぎて、調整しきれません。調整の仕方を覚えれたら、使っていけるかもしれませんね。
1.二次方程式の解の公式
<syntaxhighlight lang="tex">
$$x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$$
</syntaxhighlight>
$$x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$$
2.積分の例
<syntaxhighlight lang="tex">
$$\int_{0}^{1} x^2 \, dx = \frac{1}{3}$$
</syntaxhighlight>
$$\int_{0}^{1} x^2 \, dx = \frac{1}{3}$$
3.行列の掛け算
<syntaxhighlight lang="tex">
$$A = \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}, B = \begin{pmatrix} 5 & 6 \\ 7 & 8 \end{pmatrix}, A \times B = \begin{pmatrix} 19 & 22 \\ 43 & 50 \end{pmatrix}$$
</syntaxhighlight>
$$A = \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}, B = \begin{pmatrix} 5 & 6 \\ 7 & 8 \end{pmatrix}, A \times B = \begin{pmatrix} 19 & 22 \\ 43 & 50 \end{pmatrix}$$
4.複素数の計算
<syntaxhighlight lang="tex">
$$z = 3 + 4i, |z| = \sqrt{3^2 + 4^2} = 5$$
</syntaxhighlight>
$$z = 3 + 4i, |z| = \sqrt{3^2 + 4^2} = 5$$
5.ピタゴラスの定理
<syntaxhighlight lang="tex">
$$a^2 + b^2 = c^2$$
</syntaxhighlight>
$$a^2 + b^2 = c^2$$
6.シュレディンガー方程式
<syntaxhighlight lang="tex">
$$i \hbar \frac{\partial}{\partial t} \psi = \hat{H} \psi$$
</syntaxhighlight>
$$i \hbar \frac{\partial}{\partial t} \psi = \hat{H} \psi$$
7.ベクトルの内積
<syntaxhighlight lang="tex">
$$\vec{A} \cdot \vec{B} = |\vec{A}| |\vec{B}| \cos \theta$$
</syntaxhighlight>
$$\vec{A} \cdot \vec{B} = |\vec{A}| |\vec{B}| \cos \theta$$
8.ローレンツ変換
<syntaxhighlight lang="tex">
$$x' = \gamma (x - vt), \quad t' = \gamma \left( t - \frac{vx}{c^2} \right)$$
</syntaxhighlight>
$$x' = \gamma (x - vt), \quad t' = \gamma \left( t - \frac{vx}{c^2} \right)$$
9.二項定理
<syntaxhighlight lang="tex">
$$ (x + y)^n = \sum_{k=0}^{n} \binom{n}{k} x^{n-k} y^k $$
</syntaxhighlight>
$$ (x + y)^n = \sum_{k=0}^{n} \binom{n}{k} x^{n-k} y^k $$
10.解析関数のコーシー・リーマン方程式
<syntaxhighlight lang="tex">
$$\frac{\partial u}{\partial x} = \frac{\partial v}{\partial y}, \quad \frac{\partial u}{\partial y} = -\frac{\partial v}{\partial x}$$
</syntaxhighlight>
$$\frac{\partial u}{\partial x} = \frac{\partial v}{\partial y}, \quad \frac{\partial u}{\partial y} = -\frac{\partial v}{\partial x}$$
11.正弦関数の定義
<syntaxhighlight lang="tex">
$$\sin(\theta) = \frac{\text{対辺}}{\text{斜辺}}$$
</syntaxhighlight>
$$\sin(\theta) = \frac{\text{対辺}}{\text{斜辺}}$$
12.余弦定理
<syntaxhighlight lang="tex">
$$c^2 = a^2 + b^2 - 2ab \cos(C)$$
</syntaxhighlight>
$$c^2 = a^2 + b^2 - 2ab \cos(C)$$
13.三重角の公式(正弦)
<syntaxhighlight lang="tex">
$$\sin(3\theta) = 3\sin(\theta) - 4\sin^3(\theta)$$
</syntaxhighlight>
$$\sin(3\theta) = 3\sin(\theta) - 4\sin^3(\theta)$$
 
=='''関連ページ'''==
*[[Mathjax2.x系 Neo Eulerフォントのサンプルページ]]


 
 


[[Mathjax 3.0]]に戻る。
[[Mathjax 3.0]]に戻る。

2024年12月20日 (金) 20:44時点における最新版

Mathjax 3.0に戻る。

概要

 無理矢理Neo Eulerフォントを指定した例です。ルートとベクトルの内積と積分範囲の指定が酷いですね。もうちょっと調整する能力のある人には使えるかもしれませんね。管理人には複雑すぎて、調整しきれません。調整の仕方を覚えれたら、使っていけるかもしれませんね。


1.二次方程式の解の公式

$$x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$$

$$x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$$


2.積分の例

$$\int_{0}^{1} x^2 \, dx = \frac{1}{3}$$

$$\int_{0}^{1} x^2 \, dx = \frac{1}{3}$$


3.行列の掛け算

$$A = \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}, B = \begin{pmatrix} 5 & 6 \\ 7 & 8 \end{pmatrix}, A \times B = \begin{pmatrix} 19 & 22 \\ 43 & 50 \end{pmatrix}$$

$$A = \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}, B = \begin{pmatrix} 5 & 6 \\ 7 & 8 \end{pmatrix}, A \times B = \begin{pmatrix} 19 & 22 \\ 43 & 50 \end{pmatrix}$$


4.複素数の計算

$$z = 3 + 4i, |z| = \sqrt{3^2 + 4^2} = 5$$

$$z = 3 + 4i, |z| = \sqrt{3^2 + 4^2} = 5$$


5.ピタゴラスの定理

$$a^2 + b^2 = c^2$$

$$a^2 + b^2 = c^2$$


6.シュレディンガー方程式

$$i \hbar \frac{\partial}{\partial t} \psi = \hat{H} \psi$$

$$i \hbar \frac{\partial}{\partial t} \psi = \hat{H} \psi$$


7.ベクトルの内積

$$\vec{A} \cdot \vec{B} = |\vec{A}| |\vec{B}| \cos \theta$$

$$\vec{A} \cdot \vec{B} = |\vec{A}| |\vec{B}| \cos \theta$$


8.ローレンツ変換

$$x' = \gamma (x - vt), \quad t' = \gamma \left( t - \frac{vx}{c^2} \right)$$

$$x' = \gamma (x - vt), \quad t' = \gamma \left( t - \frac{vx}{c^2} \right)$$


9.二項定理

$$ (x + y)^n = \sum_{k=0}^{n} \binom{n}{k} x^{n-k} y^k $$

$$ (x + y)^n = \sum_{k=0}^{n} \binom{n}{k} x^{n-k} y^k $$


10.解析関数のコーシー・リーマン方程式

$$\frac{\partial u}{\partial x} = \frac{\partial v}{\partial y}, \quad \frac{\partial u}{\partial y} = -\frac{\partial v}{\partial x}$$

$$\frac{\partial u}{\partial x} = \frac{\partial v}{\partial y}, \quad \frac{\partial u}{\partial y} = -\frac{\partial v}{\partial x}$$


11.正弦関数の定義

$$\sin(\theta) = \frac{\text{対辺}}{\text{斜辺}}$$

$$\sin(\theta) = \frac{\text{対辺}}{\text{斜辺}}$$


12.余弦定理

$$c^2 = a^2 + b^2 - 2ab \cos(C)$$

$$c^2 = a^2 + b^2 - 2ab \cos(C)$$


13.三重角の公式(正弦)

$$\sin(3\theta) = 3\sin(\theta) - 4\sin^3(\theta)$$

$$\sin(3\theta) = 3\sin(\theta) - 4\sin^3(\theta)$$

 

関連ページ

 

Mathjax 3.0に戻る。