当使用alignedat
来将数字置于等式的中心时。
\usepackage{amsmath}
\begin{document}
\begin{equation}
\left.
\begin{alignedat}{5}
a=&\frac{\frac{123 \sqrt{\frac{45}{6}}}{789}}{\frac{1011 \sqrt{\frac{12}{3}}}{4567}}&=&\frac{891}{1123}\\
b=&\frac{\frac{456}{789}}{\frac{1011}{123}}&=&\frac{456}{789}\\
\end{alignedat}
\right\}
\end{equation}
\end{document}
答案1
对于特定工作来说可能太多了,但IEEEeqnarraybox
在其他情况下也很有用。参见Stefan Moser 的手册了解更多详情IEEEeqnarray
。
\documentclass{article}
\usepackage{amsmath}
\usepackage{IEEEtrantools}
\begin{document}
\begin{equation}
\left.
\begin{IEEEeqnarraybox}[][c]{rCcCl}
a &=& \frac{\frac{123 \sqrt{\frac{45}{6}}}{789}}
{\frac{1011 \sqrt{\frac{12}{3}}}{4567}}
&=& \frac{891}{1123} \\[1ex]
b &=& \frac{\frac{456}{789}}{\frac{1011}{123}}
&=& \frac{456}{789}\\
\end{IEEEeqnarraybox}
\right\}
\end{equation}
\end{document}
答案2
你不能,至少不能用alignedat
。1 )有时你只需要一个array
...
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation}
\left.
\begin{array}{r@{\;}c@{\;}l}
a=&\dfrac{\frac{123 \sqrt{\frac{45}{6}}}{789}}{\frac{1011 \sqrt{\frac{12}{3}}}{4567}}&=\dfrac{891}{1123}\\[4ex]
b=&\dfrac{\frac{456}{789}}{\frac{1011}{123}}&=\dfrac{456}{789}\\
\end{array}
\right\}
\end{equation}
\end{document}
1)嗯,当然有办法让它发挥作用,但我不认为它们值得付出努力。
答案3
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align}
\left.\arraycolsep=1.5pt
\begin{array}{rcl}
a=&\dfrac{\dfrac{123 \sqrt{\dfrac{45}{6}}}{789}}{\dfrac{1011 \sqrt{\dfrac{12}{3}}}{4567}} &=\dfrac{891}{1123}\\
~\\
b=&\dfrac{\dfrac{456}{789}}{\dfrac{1011}{123}} &= \dfrac{456}{789}\\
\end{array}
\right\}
\end{align}
\end{document}