Using inherited/current color in box
Scott Kostyshak
skostysh at lyx.org
Fri Apr 8 02:31:11 UTC 2022
On Wed, Apr 06, 2022 at 10:15:21AM +0200, Jean-Marc Lasgouttes wrote:
> Le 06/04/2022 à 08:23, Daniel a écrit :
> > On 2022-04-02 17:10, Scott Kostyshak wrote:
> > > If I go to Insert > Box, for the color, I see "Black" for the frame. In
> > > LaTeX, if we use ".", then that uses the "current"/"inherited" (I'm not
> > > sure of the correct terminology) color, but that doesn't seem to be an
> > > option in the combo box. Is there any way to use "." currently? I can
> > > edit the .lyx file with a text file and it seems to work well except
> > > that I get the following terminal warnings, as expected:
> > >
> > > ColorSet::getFromLaTeXName: Unknown color "."
> > >
> > > Scott
> >
> > While playing around with boxes, I came across the tcolorbox package. Do
> > you happen to know whether that is currently directly supported by LyX?
>
> "git grep" tells me that it is implemented by the tcolorbox module.
Indeed using tcolorbox might suit my needs better. I might look into
using that. In any case, I worked on a patch for fcolorbox.
Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fcolorbox-allow-to-inherit-font-for-frame-and-bg.patch
Type: text/x-diff
Size: 2656 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220407/c4ba04d9/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220407/c4ba04d9/attachment.asc>
More information about the lyx-devel
mailing list