\begin {align*}
x+1 &= y &= x \\
x &= y+1 &= x \\
\end {align*}
但它不起作用..而且{equation}僅適用於兩側有什麼想法嗎?
答案1
看來你正在尋找alignat。
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{alignat*}{5}
&& x+1 &= y &&= x \\
&& x &= y+1 &&= x \\
\end{alignat*}
\end{document}