First, I tried to create a new command like this
Code: Select all
\newcommand{\chc}{\cellcolor{\lightgray}}
Code: Select all
.... & \cellcolor{lightgray} blabla & ...
inside a tabular cell that has to be colored, so I should now be able to write
Code: Select all
.... & \chc blabla & ...
That barked out on me with
Code: Select all
! Missing \endcsname inserted.
<to be read again>
\protect
l.790 $x_3^-$ & \chc $c_3$ &
$0$ \\\hline
?
! Emergency stop.
<to be read again>
\protect
l.790 $x_3^-$ & \chc $c_3$ &
$0$ \\\hline
Code: Select all
.... & \cellcolor{lightgray} blabla & ...
That now tells me
Code: Select all
! LaTeX Error: Undefined color `lightgray'.

(it worked before [TM])
Furthermore when I try to define new colors using \newcmykcolor it gives me a
Code: Select all
! Undefined control sequence.
l.12 \newcmykcolor

So, somehow, all of this is related, but I currently do not know how to fix it.
An idea, anyone?
Thanks,
Marki