Having problems with \longtable and \multicolumn

I'm trying to put a header in a table generated with a \longtable environment, but \multicolumn gives @multispan error. Here is my piece of code:



\begin{longtabu} to \linewidth { | X[6,l] | X[1,c] | }
{\sc 4 -- program} &
A &


I need it to be a long table at the first moment because I am sure that the table is longer than one page. I've already tried others packages (tabularx, longtable, etc) with no success.

Maybe someone would help me to find the error?



comments powered by Disqus