Re: Elsevier's cas layouts
Marco Morandini via lyx-devel <[email protected]> Fri, 3 Jul 2026 15:09:07 +0000
| Newsgroups | gmane.editors.lyx.devel |
|---|---|
| Message-ID | <VI0P251MB118641C46A392205ECDCC47DFEF42@VI0P251MB1186.EURP251.PROD.OUTLOOK.COM> |
I hereby grant permission to license my contributions to LyX under the GNU General Public License, version 2 or later. Marco Morandini ________________________________________ From: Jürgen Spitzmüller <[email protected]> Sent: Friday, July 3, 2026 5:03 PM To: Marco Morandini; [email protected] Subject: Re: Elsevier's cas layouts Am Mittwoch, dem 20.05.2026 um 16:15 +0200 schrieb Marco Morandini: > 1) is required because otherwise the table caption is not aligned > with the table. > However, if one sets any option (e.g. table placement) by right-click > onto the Table inset > then the Argument trick does not work. > > Is there a better way to deal with this? Yes: InsetLayout Flex:Table_Options LyXType custom Decoration classic LabelString "Table Options" MenuString "Table Options|O" PassThru 1 LatexType command LatexName SetKeys[cas/tbl] LabelFont Family Roman Color red EndFont ResetsFont 0 MultiPar 0 End With this you can specify the options (outside the float) via \SetKeys[cas/tbl]{<options>} (which is what the class internally does as well, only with global effect) I have (after a while, sorry for that) had a closer look at the layout and only did a couple of polishments and minor fixes. See attachments. I can include this in LyX (master) if you provide us with a license agreement message to this list similar to this one: https://marc.info/?l=lyx-devel&m=174757439207494 -- Jürgen -- lyx-devel mailing list [email protected] https://lists.lyx.org/mailman/listinfo/lyx-devel