I'm trying to have some red arrows in my xymatrix. I tried to use "\ar@*{[red]}" and that works perfectly when I compile with latex > dvips and view the Postscript file.
For some reasons, I would like to use pdflatex instead of latex > dvips > ps2pdf (which doesn't produce a red arrow in the pdf file, by the way).
But the above technique doesn't work anymore : the desired red arrow disappears in the pdf file...
What should I modify in the minimal example here to get a red arrow when compiling with pdflatex ?
Code: Select all
\documentclass{book}
\usepackage{color}
\usepackage[all,color,dvips]{xy}
\begin{document}
\[
\xymatrix{ A \ar@*{[red]}[r] & B }
\]
\end{document}
Best regards,
Trucmuche