How to put Figure (Floats) in Fancy coloured boxes in LyX.

Faseeh Muhammad faseeh10 at hotmail.com
Tue Aug 1 06:52:06 UTC 2023


Hi,

I am creating examples for a lesson where i have to include figures (and some time subfigures) with labels and captions along with the text.

What i am trying to do is to use fancy color box module to mimic the tcolorbox environment in latex and then trying to put a figure (In Lyx Insert>Float>Figure) and then label and caption it. But result is in error that reads "Nor in outer par mode". So is there any way i can put figures (and subfigures, if possible) in these boxes.

Currently I am using direct latex code for my work (I am using capt-of package for captions and labels).

Thank you,
Faseeh

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20230801/190cc9c3/attachment-0001.html>


More information about the lyx-users mailing list