I'm writing a large equation for which I need to introduce line breaks in order to make it more legible. I'm using the following code:
\documentclass{report}
\usepackage{mathtools}
\begin{document}
\begin{align}
H &= \lambda_{R_x}V_x + \lambda_{R_y}V_y + \lambda_{R_z}V_z \nonumber \\
&\mathrel{\phantom{=}} \kern+\nulldelimiterspace +\,\lambda_{V_x}\left(\frac{T}{m}\cos{\psi}\cos{\phi}\right) \nonumber \\
&\mathrel{\phantom{=}} \kern+\nulldelimiterspace +\,\lambda_{V_y}\left(\frac{T}{m}\cos{\psi}\sin{\phi}\right) \nonumber \\
&\mathrel{\phantom{=}} \kern+\nulldelimiterspace +\,\lambda_{V_z}\left(\frac{T}{m}\sin{\psi} - g\right) \nonumber \\
&\mathrel{\phantom{=}} \kern+\nulldelimiterspace +\,\lambda_{m}\left(-\frac{T}{c}\right) \nonumber \\
&\mathrel{\phantom{=}} \kern+\nulldelimiterspace +\,\mu_{u}\left(u^2_x + u^2_y + u^2_z -1\right) \nonumber\\
\end{align}
\end{document}
The output is the following:
I don't know what I should modify within the code in order to make the equation number aligned with the last math expression. As you can see, the equation number appears further down.
\mathrel{\phantom{=}} \kern+\nulldelimiterspace +\,
I would just have written\quad{}+
\kern\nulldelimiterspace
? “Cabbage for a snack” we'd say in Italy.;-)