Consider the following MWE:
\documentclass{article}
\usepackage{mathtools}
\begin{document}
\begin{align}
\label{system}
&\left\{
\begin{aligned}
30^{2} &= h_{C}^{2} + y^{2};\\
40^{2} &= h_{C}^{2} + (50 - y)^{2};
\end{aligned}
\right.\\
\ArrowBetweenLines[\Downarrow]
&\left\{
\begin{aligned}
h_{C}^{2} &= 30^{2} - y^{2};\\
h_{C}^{2} &= 40^{2} - (50 - y)^{2}.
\end{aligned}
\right.
\end{align}
\end{document}
I have two problems that I don't know how to solve:
- The equation tags are obviously not placed properly.
- I would like to label all four equation using the
subequation
environment in order to get "(1a)", "(1b)", "(1c)", and "(1d)".
Thank you in advance.
alignat
already introduces a shift in numbering.