x -> 5
this is a variable (align here with ->) this is a number
In other words, I want a line below x -> 5, where I can comment on both sides, but I want a space to align with the arrow instead of another arrow. Following is my attempt, but the & doesn't seem to work by itself. I also tried /hspace after $, but that does not work either.
Code: Select all
\begin{align*}
x &\rightarrow 5 \\
this is a variable & this is a number \\
\end{align*}
Thank you for any help or suggestions.