1

I'm using LyX and I want to color my \xymatrix arrows (\ar@[blue][dr]). With every LaTeX editor it looks preety easy, but with LyX I'm unable to add packages like that. I'v already tried to add color with PackageOption (like that), and to add the \usepackage{color}, \usepackage{xcolor} and \usepackage[color,matrix,arrow]{xypic} packages at LaTeX premable setting window.

Thanks alot.

A. Kali
  • 141
  • 1
  • 6

1 Answers1

1

The solution:

Under Document -> Settings -> LaTeX Preamble -> Add the line \usepackage{color}. Then, compile the document using pdflatex. That's it :)

To color an arrow: \ar@{-}@[blue][dr]. Have fun:

K10 coloring

A. Kali
  • 141
  • 1
  • 6