lyx_mirror/lib/layouts/sectionbox.module
Juergen Spitzmueller b124adbd38 Introduce listpreamble argument type
This uses the InsetArgument interface to provide access to a document
part hitherto inaccessible by LyX: the part between \begin and the first
\item in a list (where lengths and counters can be redefined, for
instance).

Fixes: #11098

File format change, layout format change
2018-08-17 10:22:32 +02:00

52 lines
1.2 KiB
Plaintext

#\DeclareLyXModule[sectionbox.sty]{Section Boxes}
#DescriptionBegin
#Defines Boxes with section header. Mainly intended for
#the SciPoster class.
#DescriptionEnd
# Author: Jürgen Spitzmüller <spitz@lyx.org>
Format 69
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"
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
EndArgument
ResetsFont true
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