I am using the amsmath & mhchem package to get the two equations below which should be aligned properly using the \begin{align}
command. However after trying several constellations of &
, I still wasn't able to produce a pretty output. The horrendous alignment looks like this:
My code looks like this:
\begin{align}
\ce{^{1}_{0}n ->[\text{$\beta^-$}]& ^{1}_{1}p +& ^{0}_{-1}n^{-} +& \overline{\nu_e}}
\label{eq:n-p_e_v} \\
\ce{939.57 \times 10^6 ->& 938.28 \times 10^6 +& 0.51 \times 10^6 +& 0.78 \times 10^6}
\label{eq:n-p_e_v_energy}
\end{align}
BTW: If you are wondering why I used \ce
for the second equation, I did that in order to get the ->
reaction arrow, but I suppose there may be better ways to do that.
Any help or solutions will be greatly appreciated :)
\documentclass
and the package use in order to copy paste your code easily?article
.