我正在尝试用 LaTeX 编写一个方程组。从维基页面高等数学我举了这个例子:
\begin{equation}
\left.\begin{aligned}
B'&=-\partial \times E,\\
E'&=\partial \times B - 4\pi j,
\end{aligned}
\right\}
\qquad \text{Maxwell's equations}
\end{equation}
但结果我得到:
! LaTeX Error: Environment aligned undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.49 \left.\begin{aligned}
有人知道这里出了什么问题吗?
答案1
我找到了答案:
\usepackage{amsmath}