「Mathjax2.x 練習場」の版間の差分

提供:yonewiki
編集の要約なし
編集の要約なし
87行目: 87行目:
<code class="tex">\frac{1}{2}
<code class="tex">\frac{1}{2}
</code></pre></div><script></freescript><div style="background-color:#eeeeee; border:2px solid;">
</code></pre></div><script></freescript><div style="background-color:#eeeeee; border:2px solid;">
<span class="MathJax_Preview" style="color: inherit;"></span><div class="MathJax_Display" style="text-align: center;"><span class="MathJax" tabindex="0"><span class="none-math" style="width: 0.923em; display: inline-block;" id="display: \frac{1}{2}"><span style="display: inline-block; position: relative; width: 0.718em; height: 0px; font-size: 127%;"><span style="position: absolute; clip: rect(0.463em, 1000.72em, 3.224em, -999.997em); top: -2.094em; left: 0em;"><span class="mrow"><span class="mfrac"><span style="display: inline-block; position: relative; width: 0.514em; height: 0px; margin-right: 0.105em; margin-left: 0.105em;"><span style="position: absolute; clip: rect(1.127em, 1000.41em, 2.457em, -999.997em); top: -2.758em; left: 50%; margin-left: -0.202em;"><span class="mn"><span style="font-family: &quot;Neo Euler Medium&quot;, Meiryo, STIXGeneral, &quot;Arial Unicode MS&quot;, serif; font-size: 79%; font-style: normal; font-weight: normal;">1</span></span><span style="display: inline-block; width: 0px; height: 2.099em;"></span></span><span style="position: absolute; clip: rect(1.127em, 1000.41em, 2.457em, -999.997em); top: -1.327em; left: 50%; margin-left: -0.202em;"><span class="mn"><span style="font-family: &quot;Neo Euler Medium&quot;, Meiryo, STIXGeneral, &quot;Arial Unicode MS&quot;, serif; font-size: 79%; font-style: normal; font-weight: normal;">2</span></span><span style="display: inline-block; width: 0px; height: 2.099em;"></span></span><span style="position: absolute; clip: rect(0.872em, 1000.51em, 1.23em, -999.997em); top: -1.276em; left: 0em;"><span style="display: inline-block; overflow: hidden; vertical-align: 0em; border-top: 1.3px solid; width: 0.514em; height: 0px;"></span><span style="display: inline-block; width: 0px; height: 1.076em;"></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.099em;"></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -1.295em; border-left: 0px solid; width: 0px; height: 3.25em;"></span></span></span></div>
<span class="MathJax_Preview" style="color: inherit;"></span><div class="MathJax_Display" style="text-align: center;"><span class="MathJax" tabindex="0" style="text-align: center; position: relative;" role="presentation"><span class="none-math" id="Display:_\frac{1}{2}" style="width: 0.923em; display: inline-block;"><span style="display: inline-block; position: relative; width: 0.718em; height: 0px; font-size: 127%;"><span style="position: absolute; clip: rect(0.463em, 1000.72em, 3.224em, -999.997em); top: -2.094em; left: 0em;"><span class="mrow"><span class="mfrac"><span style="display: inline-block; position: relative; width: 0.514em; height: 0px; margin-right: 0.105em; margin-left: 0.105em;"><span style="position: absolute; clip: rect(1.127em, 1000.41em, 2.457em, -999.997em); top: -2.758em; left: 50%; margin-left: -0.202em;"><span class="mn"><span style="font-family: &quot;Neo Euler Medium&quot;, Meiryo, STIXGeneral, &quot;Arial Unicode MS&quot;, serif; font-size: 79%; font-style: normal; font-weight: normal;">1</span></span><span style="display: inline-block; width: 0px; height: 2.099em;"></span></span><span style="position: absolute; clip: rect(1.127em, 1000.41em, 2.457em, -999.997em); top: -1.327em; left: 50%; margin-left: -0.202em;"><span class="mn"><span style="font-family: &quot;Neo Euler Medium&quot;, Meiryo, STIXGeneral, &quot;Arial Unicode MS&quot;, serif; font-size: 79%; font-style: normal; font-weight: normal;">2</span></span><span style="display: inline-block; width: 0px; height: 2.099em;"></span></span><span style="position: absolute; clip: rect(0.872em, 1000.51em, 1.23em, -999.997em); top: -1.276em; left: 0em;"><span style="display: inline-block; overflow: hidden; vertical-align: 0em; border-top: 1.3px solid; width: 0.514em; height: 0px;"></span><span style="display: inline-block; width: 0px; height: 1.076em;"></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.099em;"></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -1.295em; border-left: 0px solid; width: 0px; height: 3.25em;"></span></span></span></div>
</div>
</div>



2025年1月17日 (金) 18:46時点における版

Mathjax 2.7に戻る。

Mathjax2.x コード一覧に戻る。

概要

 Mathjax2.x系で使えるコード一覧を作成したいと思います。しばらくはコード動作確認調整期間になります。Mathjax3.x系向けのサンプルを全部貼りましたので、動いていないものは非対応だったんだなと思っていいと思います。

 

MathJax is defined.

 Version2.0系に関する記事です。このページのMathJaxバージョンは

 

MathJax version: 2.7.9

 

  • 分数

tex
\frac{1}{2}
MathJaxSample

12


  • 分数(NonMathjax)

tex
\frac{1}{2}
MathJaxSample
12


  • 分数(大)

tex
\displaystyle \frac{1}{2}
MathJaxSample

12


  • 分数(大)2

tex
\dfrac{1}{2}
MathJaxSample

12


  • 増減表

tex
\begin{array}{c|ccccc}
  x     & \cdots & -1 & \cdots & 1 & \cdots \\ 
  \hline
  f^{\prime}(x) & + & 0 && 0 & + \\ 
  \hline
  f(x)  & \nearrow & e & \searrow & -e & \nearrow
\end{array}
MathJaxSample

\begin{array}{c|ccccc} x & \cdots & -1 & \cdots & 1 & \cdots \\ \hline f^{\prime}(x) & + & 0 & – & 0 & + \\ \hline f(x) & \nearrow & e & \searrow & -e & \nearrow \end{array}


  • 平方根

tex
\sqrt{ 2 }
MathJaxSample

\sqrt{ 2 }


  • 微分(ラグランジュ)

tex
f^{\prime}
MathJaxSample

f^{\prime}


  • 微分サンプル

tex
\begin{eqnarray}
f^{\prime}(x)
 = \frac{ df }{ dx }
 = \lim_{ \Delta x \to 0 } \frac{ f(x + \Delta x) - f(x) }{ \Delta x }
\end{eqnarray}
MathJaxSample

\begin{eqnarray} f^{\prime}(x) = \frac{ df }{ dx } = \lim_{ \Delta x \to 0 } \frac{ f(x + \Delta x) - f(x) }{ \Delta x } \end{eqnarray}


  • 表サンプル

tex
\begin{array}{c|ccccc}
  x     & \cdots & -1 & \cdots & 1 & \cdots \\ 
  \hline
  f^{\prime}(x) & + & 0 && 0 & + \\ 
  \hline
  f(x)  & \nearrow & e & \searrow & -e & \nearrow
\end{array}
MathJaxSample

\begin{array}{c|ccccc} x & \cdots & -1 & \cdots & 1 & \cdots \\ \hline f^{\prime}(x) & + & 0 & – & 0 & + \\ \hline f(x) & \nearrow & e & \searrow & -e & \nearrow \end{array}


  • 下線

tex
\underline{ A }
MathJaxSample

\underline{ A }


  • 下線

tex
\underline{ A }
MathJaxSample

\underline{A\phantom{B}}


  • 下線

tex
\underline{ AB }
MathJaxSample

\underline{AB}