mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 05:55:34 +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
37 lines
965 B
Plaintext
37 lines
965 B
Plaintext
#\DeclareLyXModule[multicol.sty]{Multiple Columns}
|
|
#DescriptionBegin
|
|
#Adds a custom inset whose content is set with multiple columns (2 by default).
|
|
#See the Additional manual, section 'Multiple Text Columns', for a detailed
|
|
#description of multiple columns.
|
|
#DescriptionEnd
|
|
#Authors: Uwe Stöhr and Jürgen Spitzmüller
|
|
|
|
Format 69
|
|
|
|
InsetLayout Flex:Multiple_Columns
|
|
LyXType custom
|
|
Decoration classic
|
|
LabelString Columns
|
|
LatexType environment
|
|
LatexName multicols
|
|
Requires multicol
|
|
Argument 1
|
|
LabelString "Number of Columns"
|
|
Tooltip "Insert the number of columns here"
|
|
Mandatory 1
|
|
DefaultArg 2
|
|
PassThru 1
|
|
EndArgument
|
|
Argument 2
|
|
LabelString "Preface"
|
|
Tooltip "An optional preface"
|
|
EndArgument
|
|
Argument 3
|
|
LabelString "Space Before Page Break"
|
|
Tooltip "Free space that needs to be on the page to start the multiple columns on this page"
|
|
Requires 2
|
|
EndArgument
|
|
ResetsFont true
|
|
End
|
|
|