I want to have an equation containing nested align environments, where each row is numbered like a subequation like 1a), 1b), 1c) etc.
I have the following code that does already almost what I want:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{subequations}
\begin{align}
A &+ 1 &&+ &&2 &&=C \\
B &+ 222 &&
\begin{aligned}[t]
&123 && + && 345 && - && 678 \\
&12 && - && 2
\end{aligned} && && =D \\
E &+ 33 &&- &&5 &&=F
\end{align}
\end{subequations}
\end{document}
as it generates the following output:
However, I want the third line to be numbered with (1c), the fourth line should be (1d).
How can I achieve this?


