0

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

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}

enter image description here

If you want to have fancier arrow, you could use TikZ.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.