[Xy-pic] inline xymatrix

Chris Heunen heunen at cs.ru.nl
Mon Aug 18 14:12:49 CEST 2008

Dear xypic users,

I wish to use xypic inline, that is, in a running text line.
For example, if instead of

  ... let $X \stackrel{f}{\to} Y$ be a function ...

one uses

  ... let $\xymatrix at 1{ X \ar^-{f}[r] & Y }$ be a function ...

there is a noticably ugly vertical gap above that line, whereas the
labels are typeset in the same size as the stackrel.
How does one prevent this?

Best wishes,
Chris Heunen

More information about the xy-pic mailing list