需要帮助我需要把这三个方程式放在三行中,右边用大括号括起来,并带有标签(Tolman 1939)
$$KP=e^{-\lambda} \Big( \frac {\nu'}{r}+ \frac {1}{r^2}\Big)-\frac {1}{r^2}$$
$$ KP= e^{-\lambda} \Big(\frac {\nu ''}{2}-\frac {\lambda ' \nu '}{4} + \frac {(\nu')^2}{4} + \frac {\nu' -\lambda'}{2r}\Big)$$
$$K \rho c^2= e^{-\lambda}\Big (\frac {\lambda '}{r}-\frac {1}{r^2}\Big) +\frac {1}{r^2}$$
答案1
您可以仅在一侧添加一个括号,\left.
然后在一侧添加一个括号\right\}
,在右侧添加括号。
参考:
代码:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation}
\left.
\begin{aligned}
KP &= e^{-\lambda} \Big( \frac {\nu'}{r}+ \frac {1}{r^2}\Big)-\frac {1}{r^2} \\
KP &= e^{-\lambda} \Big(\frac {\nu ''}{2}-\frac {\lambda ' \nu '}{4} + \frac {(\nu')^2}{4} + \frac {\nu' -\lambda'}{2r}\Big) \\
K \rho c^2 &= e^{-\lambda}\Big (\frac {\lambda '}{r}-\frac {1}{r^2}\Big) +\frac {1}{r^2}
\end{aligned}
\right\} \tag{Tolman 1939}
\end{equation}
\end{document}
答案2
由于empheq
软件包(加载mathtools
来自同一作者的 ,以及amsmath
),代码略微简单了一些的变体:
\documentclass{article}
\usepackage[overload]{empheq}
\begin{document}
\begin{align*}[right = \empheqrbrace]
KP &= e^{-\lambda} \Big( \frac {\nu'}{r}+ \frac {1}{r^2}\Big)-\frac {1}{r^2} \\
KP &= e^{-\lambda} \Big(\frac {\nu ''}{2}-\frac {\lambda ' \nu '}{4} + \frac {(\nu')^2}{4} + \frac {\nu' -\lambda'}{2r}\Big) \tag{Tolman 1939}\\
K \rho c^2 &= e^{-\lambda}\Big (\frac {\lambda '}{r}-\frac {1}{r^2}\Big) +\frac {1}{r^2}
%
\end{align*}
\end{document}