I have a list of boundary conditions which I would like to display using aligned environment. Here is the code so far:
\begin{equation}
\left.\begin{aligned}
x&=y &\text{in...},\\\
x'&=y' &\text{in...}, \\\
x''&=y''&\text{in...}, \\\
x'''&=y'''&\text{in....}\\\
\end{aligned}\right\}
\end{equation}
I want the equations on the LHS to be aligned at the =
sign, but I also want the start of each condition (in...
) to be aligned at in
. Does anyone know how I can do this?
Best Answer
You need an additional
&
to switch the alignment: