Mathjax2.x 練習場

提供:yonewiki
2025年1月11日 (土) 00:24時点におけるYo-net (トーク | 投稿記録)による版

Mathjax 2.7に戻る。

Mathjax コード一覧に戻る。

概要

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

 

Checking environment...

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

 

Loading MathJax version...

 

  • 分数

\frac{1}{2}

$$ \frac{1}{2} $$


  • 分数(NonMathjax)

\frac{1}{2}
12


  • 分数(大)

\displaystyle \frac{1}{2}

$$ \displaystyle \frac{1}{2} $$


  • 分数(大)2

\dfrac{1}{2}

$$ \dfrac{1}{2} $$


  • 増減表

\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}

$$ \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} $$


  • 平方根

\sqrt{ 2 }

$$ \sqrt{ 2 } $$


  • 微分(ラグランジュ)

f'

$$ f' $$


  • 微分サンプル

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

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


  • 表サンプル

\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}

$$ \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} $$


  • 下線

\underline{ A }

$$ \underline{ A } $$


  • 下線

\underline{ A }

$$ \underline{A\phantom{B}} $$


  • 下線

\underline{ AB }

$$ \underline{AB} $$