Table row shading throws compile error

Herbert Voss Herbert.Voss at fu-berlin.de
Wed Jul 6 04:24:25 UTC 2022



Am 05.07.22 um 23:54 schrieb Paul A. Rubin:
> On 7/5/22 17:37, Rich Shepard wrote:
>> I suspect this is another outdated module issue but I've not seen the
>> reason.
>>
>> The first column in row 1 of a table contains the ERT 
>> \rowcolor{lightgray}
>> Species Common Name. TeX doesn't like it; see attached error log. It is
>> ignored but I'd like to fix the issue.
>>
>> Rich
>>
>>
>>
> 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.

\usepackage[table]{xcolor}

does the same


HErbert


More information about the lyx-users mailing list