#\DeclareLyXModule[sectionbox.sty]{Section Boxes}
#\DeclareCategory{Boxes}
#DescriptionBegin
#Defines Boxes with section header. Mainly intended for
#the SciPoster class.
#DescriptionEnd

# Author: Jürgen Spitzmüller <spitz@lyx.org>

Format 104

InsetLayout Flex:SectionBox
	LyXType            custom
	LabelString        "Section Box"
	LatexType          environment
	LatexName          sectionbox
	Decoration         classic
	MultiPar           true
	CustomPars         true
	Requires	       sectionbox
	Argument 1
		LabelString    "Width"
		MenuString     "Section Box Width|S"
		Tooltip        "Width of the section Box"
		DocBookTag     IGNORE
	EndArgument
	Argument 2
		LabelString    "Heading"
		MenuString     "Section Box Heading"
		Mandatory      1
		Decoration     conglomerate
		AutoInsert     1
		Tooltip        "Insert the section box header here"
		Font
		    Size       Large
		    Series     Bold
		EndFont
		DocBookTag     title
		DocBookTagType paragraph
		DocBookArgumentBeforeMainTag  true
	EndArgument
	ResetsFont         true
	DocBookTag         section
	DocBookItemTag     para
End

InsetLayout Flex:SubsectionBox
	CopyStyle          Flex:SectionBox
	LabelString        "Subsection Box"
	LatexName          subsectionbox
End

InsetLayout Flex:SubsubsectionBox
	CopyStyle          Flex:SectionBox
	LabelString        "Subsubsection Box"
	LatexName          subsubsectionbox
End

