I'd like to write natural transformation arrows in LyX (2.0.5.1) using 2cell (see this answer). The problem is, LyX seems to include the xy package by default and it's only using the [all] option. I can't find a way to change the options or disable the package alltogether, and if I use the xy package with the [all,2cell] options in the document preamble I get complaints about loading the package twice. Is there a (nice) way around this?
EDIT: As pointed out in the comments, LyX adds the xy package automatically when I use \xymatrix in the document. Can this be disabled or can I change which options are used for the package?
xyby default, have you included any modules, or done anything else to be able to use it? You can try adding2cellto the custom document class options, in Document --> Settings --> Document Class. – Torbjørn T. Feb 08 '13 at 08:42\usepackage[all]{xy}to the preamble. – Daniel Feb 08 '13 at 09:062cellto Document Settings->Document Class->Custom? (2) adding\xyoption{2cell}to the preamble? – Daniel Feb 08 '13 at 19:29\xyoption{2cell}does the trick, thanks! This would be an acceptable answer if you post it. – nonpop Feb 08 '13 at 20:00