Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am using \xrightarrow{} in many places in my document. I want to change the tip to look like the one that gets produced by -latex.

I am trying to get a similar tip for the \xrightarrow{} macro.

share|improve this question
add comment

1 Answer

up vote 5 down vote accepted

The chemarrow package provides extensible arrows with such heads, for example

\autorightarrow{above}{below}

alt text

amsmath uses \rightarrow for the extensible right arrow. You could easily use \chemarrow instead, changing also the fixed arrow for consistency:

\usepackage{chemarrow}
\let\rightarrow\chemarrow
...
$\xrightarrow{n\rightarrow\infty}$

Or patch just the amsmath extensible arrow command(s), keeping the original \rightarrow:

\makeatletter
\renewcommand*{\rightarrowfill@}{%
  \arrowfill@\relbar\relbar\chemarrow}
\makeatother

alt text

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.