amsmath パッケージを使ったうえで、align を使う。
次の例では eqnarray の代わりに、align を使っている。
例
\usepackage {amsmath}
\begin{document}
\begin{align}
f(x) = x^2 \\
g(x) = 2x-1
\end{align}
\end{document}
結果

雑記
投稿日:
amsmath パッケージを使ったうえで、align を使う。
次の例では eqnarray の代わりに、align を使っている。
\usepackage {amsmath}
\begin{document}
\begin{align}
f(x) = x^2 \\
g(x) = 2x-1
\end{align}
\end{document}

執筆者:seyanen
関連記事
定積分の分数の大きさを調整するには、\mbox のサイズ指定を \small や \normalsize や \large 等に設定すると良い。 例 $\displaystyle \int _0 ^{ …
python3 で辞書(dict) の for ループでキーと値を取得する
キーと値を取得するには次のようにする。キーは dict のループ、値は dict の values() のループで取得できる。 例 mydictionary = {‘color’: ‘白’, ‘ani …
plt.xlabel と plt.ylabel を使う。 例 import numpy as np import matplotlib.pyplot as plt x = np.linspace(0, …
2023/01/18
matplotlib のグラフ作成と gnuplot との対応 比較
2022/10/14
pythonで配列(リスト)の、ある要素がわかっているときにその次の要素を取得する方法。