Re: fully colored table cells with booktabs an colortbl
Well, I tried the proposed solutions here but they didn't produce what I want. Setting linespace to a negative value is generally an option but I have multiline input (linebreaks inside the table cells), so I need a little space between the horizontal lines and the content of the cell. But I want that space to be colored and not white. I could neither find something on this in the Embedded Objects Manual. So, I post a small LyX file with the table, as Paul suggested. booktabsncolor.lyx Description: Binary data Thanks for your help, Johannes Am 05.10.2008 um 02:44 schrieb Paul A. Rubin: 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
Re: fully colored table cells with booktabs an colortbl
Paul A. Rubin schrieb: How can I achieve fully colored table cells using booktabs (i.e. "formal" table option) and colortbl? Does LyX's EmbeddedObjects manual not help you? regards Uwe
Re: fully colored table cells with booktabs an colortbl
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: 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
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
fully colored table cells with booktabs an colortbl
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". <> Thanks for your help. Johannes -- Sometimes I lie awake at night, and ask, "Where have I gone wrong?" Then a voice says to me, "This is going to take more than one night." (Charlie Brown)