James C. Sutherland wrote:
It appears that
\usepackage{color}
is automatically placed in the preamble when a program listing with coloring options is used. However, what if I want
\usepackage[usenames]{color}
instead? Is there a way to do this? If I put this directly in the preamble then I get a LaTeX compile failure due to clashing uses of the "color" package

Put usenames as a document option. Then it's passed to the package automagically.

rh

Reply via email to