A have some equations that I would like to align. Some of these equations are very similar and are grouped together in a cases
environment. Now, I can't manage to align all these equations to have their =
sign above each other.
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\begin{document}
\begin{align}
a = 1 \\
\begin{cases}
b = 2 \\
cc = 3
\end{cases} \\
ddd = 4
\end{align}
\end{document}