Date:          Fri, Nov 26 2004 9:24 pm
Groups:        comp.text.tex

dear latex wizards. I am working pdflatex with color and colortbl. Now, I am trying to get colortbl to really color an entire row. The problem is that I need some @{hspace{}}'s in the tabular control definition to increase some of my column spacing. But \rowcolor{} leaves these spaces white, ignoring the row color. If I define overhang, it happily overpaints some of my numbers in other cells.

one solution might be to get rid of the @{hspace} commands altogether, but this is such a nice feature that I would hate to part with it. is there a better fix?

> definition to increase some of my column spacing.  But \rowcolor{}
> leaves these spaces white, ignoring the row color.

Sounds like a failing. Does it work if you (temporarily) set \extracolsep instead? Nope.

Try it with >{hspace{}}, but remember that @ suppresses \tabsolsep whereas > adds to it.

Well, >{hspace{}} works for one-line entries, but not for paragraph entries. (It just indents the first line.)

A messy solution is

>{\addtolength\leftskip{1cm}}p{<width+1cm>}

Donald Arseneau