我想将这两个并排的方程组水平对齐。我尝试这样做
\documentclass[12pt,letterpaper]{article}
\usepackage{amsmath}
\begin{document}
\begin{center}
\begin{tabular}{p{4cm}p{4cm}}
{\begin{align}
&\alpha =\alpha_{1}=\sqrt[3]{19}\nonumber \\
&\alpha_{2} =\varepsilon\sqrt[3]{19}\nonumber \\
&\alpha_{3} =\varepsilon^2\sqrt[3]{19}\nonumber
\end{align}}
&
{\begin{align}
&\beta =\beta_{1}=\frac{1+\sqrt[3]{19}+\sqrt[3]{19^2}}{3}\nonumber \\
&\beta_{2}=\frac{1+\varepsilon\sqrt[3]{19}+\varepsilon^2\sqrt[3]{19^2}}{3}\nonumber \\
&\beta_{3}=\frac{1+\varepsilon^2\sqrt[3]{19}+\varepsilon\sqrt[3]{19^2}}{3}\nonumber
\end{align}}
\end{tabular}
\end{center}
\end{document}
我得到了这个
我怎样才能将所有 beta 与 alpha 水平对齐?
答案1
环境align
支持多组对齐。而且\nonumber
命令没用:使用align*
环境就足够了。我给出两种可能性:
\documentclass[12pt,letterpaper]{article}
\usepackage{amsmath}
\begin{document}
\begin{align*}
\alpha=\alpha_{1}&= \sqrt[3]{19} &\beta=\beta_{1}&= \frac{1+\sqrt[3]{19}+\sqrt[3]{19^2}}{3}\nonumber \\
\alpha_{2} &= \varepsilon\sqrt[3]{19} & \beta_{2} &= \frac{1+\varepsilon\sqrt[3]{19}+\varepsilon^2\sqrt[3]{19^2}}{3}\\
\alpha_{3} &= \varepsilon^2\sqrt[3]{19} &\beta_{3} &= \frac{1+\varepsilon^2\sqrt[3]{19}+\varepsilon\sqrt[3]{19^2}}{3}
\end{align*}
Other possibility:
\begin{align*}
& \alpha= \alpha_{1}= \sqrt[3]{19}&&\beta=\beta_{1}= \frac{1+\sqrt[3]{19}+\sqrt[3]{19^2}}{3}\nonumber \\
&\alpha_{2}= \varepsilon\sqrt[3]{19} & &\beta_{2}= \frac{1+\varepsilon\sqrt[3]{19}+\varepsilon^2\sqrt[3]{19^2}}{3}\\
&\alpha_{3}= \varepsilon^2\sqrt[3]{19} & &\beta_{3}= \frac{1+\varepsilon^2\sqrt[3]{19}+\varepsilon\sqrt[3]{19^2}}{3}
\end{align*}
\end{document}