LaTeX forum ⇒ Math & ScienceHow to write text through an arrow

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
peaches20
Posts: 9
Joined: Thu Oct 25, 2012 4:28 pm

How to write text through an arrow

Postby peaches20 » Tue Feb 27, 2018 11:09 pm

Hi,

I need to literally write on top of an arrow. For example
>-(viii)->>
The (viii) needs to be on top of the doublehead rightarrow with a tail

I am using

documentclass{lmcs}
usepackage{amssymb}
usepackage{graphicx}

I came up with this:


$\rightarrowtail \!\!\!\!\!\rightarrow
\mbox{\tiny \hspace*{-.22in}\!\!\!\!{\rm (viii)}}$ and the etc.
by $\rightarrowtail \!\!\!\!\!\rightarrow
\mbox{\tiny \hspace*{-.22in}\!\!\!\!{\rm (viii)}}$

Is there an easier way to do this?

Thanks,
Peaches

Return to “Math & Science”

Who is online

Users browsing this forum: No registered users and 9 guests