When I use the MnSymbol package, I get the usual short arrows, but this is not the case for xypic diagrams. Having the following packages


I have results like in this picture where the different arrow styles is shown:

enter image description here

Is there any way to fix this problem? Any suggestion is welcome

  • 1
    No, Xy-pic only gives the default (ugly) arrowheads or the cmtip ones. One might define other arrowheads, but … – egreg Feb 9 '15 at 16:23

Defining new arrow tips with Xy-pic is a task I'd not engage in.

You can (and should, in my opinion) switch to tikz-cd:


\tikzcdset{arrow style=math font}

$A \to B$

A \arrow[r,"f"] \arrow[dr,dashed,swap,"g\circ f"] & B \arrow[d,"g"] \\
& C

enter image description here

| improve this answer | |
  • Is it possible to make fine adjustments with tikz-cd? (E.g., raising the arrow just .1pt) – Manuel Feb 9 '15 at 16:55
  • @egreg Seems really the best choice, but I have some problems with tikz-cd: I get always the message ! Argument of \language@active@arg" has an extra }. What should I change? – Jjm Feb 9 '15 at 17:43
  • 1
    @Jjm Try adding \usetikzlibrary{babel} after \usepackage{tikz-cd} – egreg Feb 9 '15 at 17:54
  • @egreg Yes, it works! Now, only one question, just curious... the arrows seem somehow broken when viewed in pdf. I suppose that for a printed document it will be no problem, but for reading in the screen, it is a bit annoying. Is there any way to fix it? – Jjm Feb 9 '15 at 18:03
  • 1
    @Jjm I guess one has to fix the arrow stem; sorry, but it's beyond my knowledge of TikZ. – egreg Feb 9 '15 at 18:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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