mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
b124adbd38
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
52 lines
1.2 KiB
Plaintext
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
|
|
|