# Labeled arrows between images

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}$

• You can use \xrightarrow which comes with amsmath: \xrightarrow[\gamma k_{aj}]{\text{if the $j$th protein is in the complex}}. – user121799 Feb 20 '18 at 18:47
• Since you have some responses below that seem to answer your question, please consider marking one of them as ‘Accepted’ by clicking on the tickmark below their vote count (see How do you accept an answer?). This shows which answer helped you most, and it assigns reputation points to the author of the answer (and to you!). It's part of this site's idea to identify good questions and answers through upvotes and acceptance of answers. – user36296 Sep 10 '18 at 12:42

\documentclass{article}
$\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}$