Sure. I wrote a short version to de-clutter the question.

Actually I am writing the lyx code in local layout, but in the future it will 
be added by means of a module file.

Here is the complete Style declation:

Float
 Type                  figure
 GuiName               MarginFigure
 AllowsWide            0
 AllowsSideways        0
 Placement             none
 Extension             lof
 NumberWithin          figure
 Style                 plain
 ListName              "List of Figures"
 IsPredefined          1
 UsesFloatPkg          0
 RefPrefix             fig
End

Thanks

------- Original Message -------
On Saturday, July 16th, 2022 at 9:04 PM, Jean-Marc Lasgouttes 
<lasgouttes.lyx....@free.fr> wrote:


> Le 16/07/2022 à 22:00, Ehud Behar via lyx-users a écrit :
>
> > No, it completely removes and overrides the existing figure from 
> > stdfloats.inc. I want to have both figure and margin figure.
>
>
> I would need a complete example to proceed. The best is to create a
> document and add your layout code in Document>Settings|Local layout.
>
>
> JMarc
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to