1

I know that \begin{cases}\end{cases} can give me large left bracket spanning multiple lines, but it does not work well when I want to align equations inside cases with that outside using &. For instance,

\documentclass{article}
\usepackage{amsmath}

\begin{document}

\begin{align}
x&=1\\
y&=2\\
&\begin{cases}a&=3\\b&=4\end{cases}
\end{align}

\end{document}

enter image description here

The align environment treats cases as a whole object, but I want to align the equal signs both inside and outside of cases. Is there a way to do it?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.