#\DeclareLyXModule{Longtable Environments} #DescriptionBegin #Defines several custom insets that allow for a longtable environment to adopt some of the characteristics of a float. The Longtable:NewPage will place the long-table environment at the top of a new page. Any figure table floats will be placed first. Text continuity will be maintained. #DescriptionEnd # Author : Robert Oakes Requires afterpage InsetLayout Custom:Longtable LyXType custom Labelstring longtable Decoration classic LabelFont Color collapsable Size Small EndFont MultiPar true LatexName longtablepage LatexType command Requires afterpage Preamble \usepackage{afterpage} \newcommand{\longtablepage}[1]{% \afterpage{\clearpage #1}} EndPreamble End