I would like a double-headed extensible right-arrow similar to \xrightarrow
from amsmath
.
I tried using \xtwoheadrightarrow
from extpfeil
, but the result differs from \xrightarrow
in three respects:
- the arrow head has a different style
- the arrow itself is longer than I would like it
- the text above the arrow is too high
What's the most straightforward way of achieving a two-headed version of \xrightarrow
?
\documentclass{article}
\usepackage{extpfeil}
\begin{document}
\begin{align*}
& \xrightarrow{ABCD} \\
& \xtwoheadrightarrow{ABCD}
\end{align*}
\end{document}