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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Using amsmath and extarrows packages, we have many extensible arrows. But these arrows look ugly, since some parts in an arrow are boldfaced.

enter image description here

Are there any better-looking extensible arrows?

share|improve this question
They are not really bold, just overlapping slightly which affects the anti-aliasing in low resolution. They should print OK. tikz or pstricks or xypick can all draw arrows instead of using repeated character segments, which may suit you better – David Carlisle Oct 7 '13 at 8:52
@DavidCarlisle The overlapping makes arrows look ugly when reading document in computer. Why overlapping is necessary in these extensible arrows? I notice that in xypic, long arrows look better than these. – Z.H. Oct 7 '13 at 9:03
@DavidCarlisle But how to use an arrow drawn by tikz or xypic as an operater inside a math formula? It seems not easy. – Z.H. Oct 7 '13 at 9:14
up vote 3 down vote accepted

This is a substitute for \xrightarrow made with Xy-pic


  \ifdim\wd0>\xywd0 \xywd=\wd0 \fi

X \xyrightarrow[r_1-r_2]{r_2-r_1} Y
X \xyrightarrow[r_1-r_2+r_3]{r_2-r_1} Y
X \xyrightarrow{r_2-r_1} Y

enter image description here

share|improve this answer

Your Answer


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

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