Table row shading throws compile error

Daniel xracoonx at gmx.de
Wed Jul 6 01:55:19 UTC 2022


On 06/07/2022 00:14, Rich Shepard wrote:
> On Tue, 5 Jul 2022, Paul A. Rubin wrote:
> 
>> I tried this in a fresh document (KomaScript Report class) by adding
>> \usepackage{xcolor, colortbl} to the preamble, and my table with your ERT
>> and column name in row 1, column 1 compiled just fine. You didn't specify
>> what module you are using, and a MWE would be helpful.
> 
> Paul,
> 
> I had \usepackage{colortbl}; just added xcolor. Made no difference. MWE
> attached, with the build log.
> 
> Thanks,
> 
> Rich

As a workaround you could use an ERT with

\cellcolor{lightgray}

in each cell.

Daniel



More information about the lyx-users mailing list