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

提供:yonewiki
編集の要約なし
編集の要約なし
191行目: 191行目:
<code class="tex">\underline{ A }
<code class="tex">\underline{ A }
</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;">
A_
$$ \underline{A\phantom{B}} $$
</div>
</div>



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

Mathjax 2.7に戻る。

Mathjax コード一覧に戻る。

概要

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

 

MathJax is defined.

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

 

MathJax version: 2.7.9

 

  • 分数

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’(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’(x) & + & 0 & – & 0 & + \\ \hline f(x) & \nearrow & e & \searrow & -e & \nearrow \end{array}


  • 平方根

tex
\sqrt{ 2 }
MathJaxSample

\sqrt{ 2 }


  • 微分(ラグランジュ)

tex
f'
MathJaxSample

f'


  • 微分サンプル

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

\begin{eqnarray} f'(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’(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’(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}