I am aware of Align in Substack, but I am trying another solution and would like to understand why it is not working:
\documentclass{article}%
\usepackage{amsmath}%
\newlength{\mylength}%
\newcommand{\before}{k_\rho k_\rho k_\rho k_\rho}%
\begin{document}%
\LARGE
\begin{align}%
%\substack{% <-- uncomment this line
\before=something\\%
\settowidth{\mylength}{\ensuremath{\before}}%
\hspace{\mylength}=something\\%
%}% <-- uncomment this line
\end{align}%
\end{document}%
First of all, alignment is working fine in a multline or align. But in a substack, it is not, the = are not aligned.
\settowidth{\mylength}{$\before$}does the same, by the way. – bers Oct 23 '14 at 18:07