In a previous question methods for adding arrows between images were shown. I'd like to add arrows between images with verbal above the arrows saying: "words words words", and below the arrows with sequences of mathematical symbols like $\gamma k_{aj}$
1 Answer
One option is to use the extensible arrows that come with mathtools.
\documentclass{article}
\usepackage{graphicx,mathtools}
\newcommand*{\vimage}[1]{\vcenter{\hbox{\includegraphics[width=1.5cm,angle=90]{#1}}}}
\begin{document}
$\vimage{example-image-a}\xRightarrow[\gamma k_{aj}]{\text{if the $j$th protein is in the complex}}
\vimage{example-image-b}\xRightarrow[\gamma k_{aj}]{\text{otherwise}}\vimage{example-image-c}$
\end{document}
If you want to have fancier arrow, you could use TikZ.
\xrightarrow
which comes with amsmath:\xrightarrow[\gamma k_{aj}]{\text{if the $j$th protein is in the complex}}
.