[texhax] xrightarrow mismatch

Barbara Beeton bnb at ams.org
Wed May 11 19:36:06 CEST 2005


what fonts are you using?

\xrightarrow has been defined to work properly with the
cm fonts; with other fonts, your mileage may vary.

it is in fact the minus sign that is used as an arrow
extender.  with cm, the design intentionally matches;
i've just checked, using your code, to make sure -- the
output looks quite nice on our 600dpi hp laserjet 9000dn
and we've had no complaints on similar output from an
ecrm imagesetter (1200dpi), both using cm fonts.

so something else appears to be happening here.
 							-- bb

---------- Original message ----------
Date: Tue, 10 May 2005 08:28:14 +0100
From: John Simmie <john.simmie at nuigalway.ie>
To: texhax at tug.org
Subject: [texhax] xrightarrow mismatch

The extensible arrow, example below, looks perfect on-screen but prints
with a very slight vertical mismatch between the standard LaTeX rightarrow
and a
tacked on rule [I am guessing that this is how xrightarrow is defined]

The resolutions are both the same at 300 dpi so where's the glitch please?

\usepackage{amsmath,amssymb}
............................................
\begin{align}
\label{RO2_eqn1}
& \mathrm{RO\dot{O} \xrightarrow[H\dot{O}_2,H_2O_2,CH_3\dot{O}_2]{1.35}
Products} \\
& \mathrm{RO\dot{O} \xrightarrow[RO\dot{O}]{0.12} 2\:R\dot{O} + O_2 } \\
& \mathrm{RO\dot{O} \xrightarrow[\dot{R}]{0.11} 2\:R\dot{O} }\\
& \mathrm{RO\dot{O} \xrightarrow[RH]{0.083} \dot{R} + RO_2H} \label{RO2_eqn4}
\end{align}


               Professor John M. Simmie
Chemistry Department & Environmental Change Institute
     National University of Ireland, Galway::Ireland



More information about the texhax mailing list