[LyX/master] Amend 087f6bce
Udicoudco
udifoglle at gmail.com
Sun Oct 1 08:29:27 UTC 2023
On Sun, Oct 1, 2023 at 10:59 AM Jürgen Spitzmüller <jspitzm at gmail.com> wrote:
>
> Am Sonntag, dem 01.10.2023 um 10:47 +0300 schrieb Udicoudco:
> > It still looks like \fcolorbox is used with an explicit black
> > color. Is this intentional?
>
> Yes, if the background color is non-empty. Likewise, with non-default
> frame color, the background color is set to white
>
> This is not ideal (and wrong e.g. with non-white page color), but alas
> \fcolorbox requires us to pass explicit colors for both frame and
> background.
>
> There are some workarounds on stackexchange for this, but all those
> strike me pretty ugly.
Probably not for 2.4.0, but we can use
\adjustbox from the adjustbox package
for that. See section 4.5 (cfbox in particular).
> --
> lyx-devel mailing list
> lyx-devel at lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-devel
More information about the lyx-devel
mailing list