You can use the command \addlinespace[...] after the rule to add a negative space. For example,

\begin{tabular}{ccc} \toprule

\addlinespace[-0.1pt]

\rowcolor[rgb]{.72,.9,.9}

uno & dos & tres \\

\hline

\rowcolor[rgb]{.12,.8,.8}

cuatro & cinco & seis \\

\toprule

\end{tabular}



And so on....







----- Original Message ----- From: "Paul A. Rubin" <[EMAIL PROTECTED]>
To: <lyx-users@lists.lyx.org>
Sent: Sunday, October 05, 2008 2:44 AM
Subject: Re: fully colored table cells with booktabs an colortbl


Johannes Knaus wrote:
Hello,

How can I achieve fully colored table cells using booktabs (i.e. "formal" table option) and colortbl? When I put ERT \cellcolor{gray} inside a table cell it appears gray the output but there remains some white space between the gray box and the upper and lower table line (see attached screenshot). Is it possible to fill the cell seemlessly / to color also this remaining white space? Within the "Additional Space" dialog I have already set anything to "None".


AFAIK it should fill the cell by default, unless something else is in play. Can you post a small LyX file that produces your image?

/Paul


__________ Information from ESET NOD32 Antivirus, version of virus signature database 3495 (20081004) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



Reply via email to