I have the following code:
\documentclass[]{article}
\usepackage{amsmath}
\begin{document}
\begin{gather*}
\overset{-1*R_{4}\rightarrow R_{3} \\ -2*R_{4}\rightarrow R_{2} }{\rightarrow}
\end{gather*}
\end{document}
I get everything in one line over the arrow, but i need it to be in two lines as indicated by the line break \\.


substackcommand here. – Thev Oct 06 '18 at 09:52