Am Montag, dem 13.06.2022 um 20:10 +0200 schrieb Daniel: > I am curious, where does one get the 'Non-Floating Figures and > Tables' > module? (It might be relevant to > https://www.lyx.org/trac/ticket/11734.)
I seem to have written it myself. But it's not a good approach. It doesn't use Caption InsetLayout, but InsetFlex (see attachment). A better model are the special captions in the KOMA classes. -- Jürgen
#\DeclareLyXModule{Non-floating Figures and Tables} #DescriptionBegin #Insert captions to figures and tables that do not float. #DescriptionEnd # Author: Jürgen Spitzmüller <sp...@lyx.org> Format 66 InsetLayout Flex:NonFloatingFigure LyxType custom LabelString non-floating LaTeXType command LatexName figcaption NeedProtect 1 MultiPar false Argument 1 LabelString "Short Title|S" Tooltip "The caption as it appears in the list of figures/tables" InsertCotext 1 EndArgument Preamble \usepackage{nonfloat} EndPreamble End InsetLayout Flex:NonFloatingTable CopyStyle Flex:NonFloatingFigure LabelString non-floating LatexName tabcaption End
signature.asc
Description: This is a digitally signed message part
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel