Arrows for inputting text up and down in latex

Time:2021-9-4

Right arrow

In latex, you can enter the right arrow of the upper and lower text with\Xrightarrow [upper formula] {lower formula}Write it out, as shown in the figure below:

x\xrightarrow[a]{b}y

Arrows for inputting text up and down in latex

left arrow

In latex, you can enter the right arrow of the upper and lower text with\Xleftarrow [formula above] {formula below}Write it out, as shown in the figure below:

x\xleftarrow[a]{b}y

Arrows for inputting text up and down in latex

This work adoptsCC agreement, reprint must indicate the author and the link to this article

Hacking