はてなブログでTexで数式を書く
[tex: \displaystyle y = 2x^2 + \frac{1}{3}]
[tex: \displaystyle a_n = a_{n-1} + a_{n-2}]
[tex: \displaystyle e = \sum_{n=0}^\infty \frac{1}{n!} = \frac{1}{0!} + \frac{1}{1!} + \frac{1}{2!} + \cdots]
式に番号をつける
(番号をつけたら式が中央に配置された。左に寄せる方法はわからない。)
[tex: \displaystyle x = \frac{1 + \sqrt{5}}{2} \tag{1}]
複数の式を書いて=の位置を揃える
[tex: \displaystyle \begin{align} x &= 1 + 1 \\ &= 2 \end{align}]