+InsetLayout Flex:LandscapeSlide
+ LabelString "Landscape Slide"
+ LatexType Environment
+ LatexName slide
+ LyXType custom
+ Decoration classic
+ MultiPar true
+ KeepEmpty true
+ LabelFont
+ Size Small
+ EndFont
+End
+
+InsetLayout Flex:PortraitSlide
+ CopyStyle Flex:LandscapeSlide
+ LabelString "Portrait Slide"
+ LatexName slide*
+End
+
+# Note: \slideheading is only defined when the option slidesec is present
+Style SlideHeading
+ CopyStyle Section*
+ LatexName slideheading
+ Align Center
+End
+
+# Note: \slidesubheading is only defined when the option slidesec is present
+Style SlideSubHeading
+ CopyStyle Subsection*
+ LatexName slidesubheading
+ Align Center
+End
+
+InsetLayout Flex:ListOfSlides
+ CopyStyle Flex:LandscapeSlide
+ LabelString "List of Slides"
+ LatexType Command
+ LatexName listofslides
+ BgColor listingsbg
+ Spellcheck 0
+End
+
+InsetLayout Flex:SlideContents
+ CopyStyle Flex:ListOfSlides
+ LabelString "Slide Contents"
+ LatexName slidecontents
+End
+
+InsetLayout Flex:ProgressContents
+ CopyStyle Flex:ListOfSlides
+ LabelString "Progress Contents"
+ LatexName Slidecontents
+End
+
+# Compatibility definitions for old documents
+# -------------------------------------------
+#
+# It is recommended to use the custom insets instead of paragraph styles.
+