I'm reading actually the xyrefer.pdf
guide to give a color to the arrow and to the label. Starting from this MWE, there is not any color for the arrow (for example).
\documentclass[a4paper,12pt]{article}
\usepackage[color,cmtip,all]{xy}
%\xyoption{color}
%\UseCrayolaColors
\begin{document}
\xymatrix
{
A \ar@[red][r]^a& B\\
}
\end{document}
How can I obtain a colour to the vector and to the label?
\usepackage{xcolor}
in the preamble? – leandriis Oct 15 at 20:03Xy-pic error: No 'xcolor' option. [\ProcessOptions\relax]
. – Sebastiano Oct 15 at 20:05\documentclass[a4paper,12pt]{article} \usepackage{xcolor} \usepackage[color,cmtip,all]{xy} \begin{document} \xymatrix { A \ar@[red][r]^{\color{blue}a}& B\\ } \end{document}
Output: i.stack.imgur.com/NRenG.png – leandriis Oct 15 at 20:07