Re: LyX 2.4.3: table background colouring and vertical borders

2026-01-06 Thread Andreas Hild
On Tue, 6 Jan 2026 at 17:36, Jürgen Spitzmüller  wrote:
> I don't see the behavior. Attached is a PDF (via pdflatex) generated
> from your MWE.
>
> > Is there a known workaround for this in LyX 2.4.x
> Read the colortbl manual: The \rowcolor command has two optional
> arguments to deal with such issues:
> \rowcolor[⟨color model⟩]{⟨color⟩} [⟨left overhang⟩][⟨right overhang⟩]
>
> > do newer LyX versions handle this case differently?
> LyX 2.5 will feature native (GUI) support for coloring, but in the
> background, similar LaTeX code is generated.

On Tue, 6 Jan 2026 at 17:29, Tobias Hilbricht  wrote:
> Your example file works here as expected - four empty cells with
> borders in LyX, four coloured empty cells with all borders after
> compilation with pdflatex oder lualatex in the resulting PDF.
>
> This is with LyX 2.4.4 and $ lualatex -v
> This is LuaHBTeX, Version 1.22.0 (TeX Live 2025)

Thank you kindly Jürgen and Tobias for the information!

Best,
Andy
-- 
lyx-users mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX 2.4.3: table background colouring and vertical borders

2026-01-06 Thread Jürgen Spitzmüller
Am Dienstag, dem 06.01.2026 um 16:41 +0700 schrieb Andreas Hild:
> The issue seems independent of table content (it occurs even with
> minimal or empty tables) and whether cell or row background colouring
> is used. Removing all ERT background colouring restores the vertical
> borders. A minimal .lyx file demonstrating the behaviour is attached.

I don't see the behavior. Attached is a PDF (via pdflatex) generated
from your MWE.

> Is there a known workaround for this in LyX 2.4.x

Read the colortbl manual: The \rowcolor command has two optional
arguments to deal with such issues:

\rowcolor[⟨color model⟩]{⟨color⟩} [⟨left overhang⟩][⟨right overhang⟩]

> do newer LyX versions handle this case differently?

LyX 2.5 will feature native (GUI) support for coloring, but in the
background, similar LaTeX code is generated.

-- 
Jürgen


example-table.pdf
Description: Adobe PDF document
-- 
lyx-users mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX 2.4.3: table background colouring and vertical borders

2026-01-06 Thread Tobias Hilbricht
Am Dienstag, dem 06.01.2026 um 16:41 +0700 schrieb Andreas Hild:
> 
> Applying background colour to cells or rows in a table with cell
> borders enabled results in some vertical borders adjacent to the
> coloured area not being visible in the PDF output.

Your example file works here as expected - four empty cells with
borders in LyX, four coloured empty cells with all borders after
compilation with pdflatex oder lualatex in the resulting PDF.

This is with LyX 2.4.4 and $ lualatex -v
This is LuaHBTeX, Version 1.22.0 (TeX Live 2025)

Tobias 
-- 
lyx-users mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-users