I want to write a long calculation with the align-environment. One of the lines is too long for one line though, so I want it to split into two lines , with the second line right-attached. Example: See picture.
I tried every combination with equation, align, aligned, split, multline, multlined,... I could think of, sadly nothing worked so far. At the moment I solve the problem with &\hspace + ...
, but I want to have a solution that is independent of the chosen font, margin, etc.
Here is a more specific example, where I need this function. It is a split cross product and I think that it looks weird if the second part of the cross product is left attached:
\documentclass{article}
\usepackage{mathtools}
\begin{document}
\begin{align*}
\mathcal{A} &= \int_0^T\int_{K_1}\left[c(\alpha,n)+\alpha|u|^2-\alpha^2(u\cdot(x-x_0))^2\left(|x-x_0|^2+h^2 \right)^{-1} \right]\\
&\hspace{7.2cm}\times\left[|x-x_0|^2+h^2 \right]^{\alpha}\tau~dx~dt\\
&\leq K\int_0^T\int_{K_1}\pi~dx~dt
\end{align*}
\end{document}
I want to replace the \hspace{7.2cm}
with a margin-independent command.
\documentclass{...}
and ending with\end{document}
.