2011-07-20 01:53:12 +00:00
|
|
|
#\DeclareLyXModule[multicol.sty]{Multiple Columns}
|
2019-04-07 09:21:21 +00:00
|
|
|
#\DeclareCategory{Page Layout}
|
2011-07-20 01:53:12 +00:00
|
|
|
#DescriptionBegin
|
2013-05-30 14:45:32 +00:00
|
|
|
#Adds a custom inset whose content is set with multiple columns (2 by default).
|
2023-01-28 17:26:59 +00:00
|
|
|
#See the Additional manual, section Modules > Page Layout > Multiple Columns,
|
|
|
|
#for a detailed description.
|
2011-07-20 01:53:12 +00:00
|
|
|
#DescriptionEnd
|
2013-05-30 15:17:34 +00:00
|
|
|
#Authors: Uwe Stöhr and Jürgen Spitzmüller
|
2011-07-20 01:53:12 +00:00
|
|
|
|
2024-07-24 14:14:34 +00:00
|
|
|
Format 106
|
2011-07-20 01:53:12 +00:00
|
|
|
|
2013-05-30 14:45:32 +00:00
|
|
|
InsetLayout Flex:Multiple_Columns
|
2016-10-22 01:01:44 +00:00
|
|
|
LyXType custom
|
|
|
|
Decoration classic
|
|
|
|
LabelString Columns
|
|
|
|
LatexType environment
|
|
|
|
LatexName multicols
|
|
|
|
Requires multicol
|
2013-05-30 14:45:32 +00:00
|
|
|
Argument 1
|
2016-10-22 01:01:44 +00:00
|
|
|
LabelString "Number of Columns"
|
|
|
|
Tooltip "Insert the number of columns here"
|
|
|
|
Mandatory 1
|
|
|
|
DefaultArg 2
|
|
|
|
PassThru 1
|
2020-11-29 00:15:37 +00:00
|
|
|
DocBookTag IGNORE
|
2013-01-13 02:23:25 +00:00
|
|
|
EndArgument
|
2013-05-30 14:45:32 +00:00
|
|
|
Argument 2
|
2016-10-22 01:01:44 +00:00
|
|
|
LabelString "Preface"
|
|
|
|
Tooltip "An optional preface"
|
2020-11-29 00:15:37 +00:00
|
|
|
DocBookTag para
|
|
|
|
DocBookAttr role='preface'
|
|
|
|
DocBookArgumentBeforeMainTag true
|
2013-01-13 02:23:25 +00:00
|
|
|
EndArgument
|
2013-05-30 14:45:32 +00:00
|
|
|
Argument 3
|
2016-10-22 01:01:44 +00:00
|
|
|
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
|
2020-11-29 00:15:37 +00:00
|
|
|
DocBookTag IGNORE
|
2013-05-30 14:45:32 +00:00
|
|
|
EndArgument
|
2020-11-29 00:15:37 +00:00
|
|
|
ResetsFont true
|
2023-08-01 01:27:18 +00:00
|
|
|
|
|
|
|
# The current DocBook implementation is quite lacking, but it would require
|
|
|
|
# a lot more C++ code to have perfect output. The major problem: not all
|
|
|
|
# elements within a column should be wrapped in an item. It has been
|
|
|
|
# designed for pure text (like in Modules > Page Layout > Multiple Columns,
|
|
|
|
# the excerpt of "The Adventure of the Empty House"), it produces wrong
|
|
|
|
# output for lists (such as Document classes > Articles > Astronomy >
|
|
|
|
# Supported environments, the Columns flex only contains a list). Columns
|
|
|
|
# within columns are not supported either (as in Modules > Page Layout >
|
|
|
|
# Multiple Columns > Columns inside Columns).
|
2020-11-29 00:15:37 +00:00
|
|
|
DocBookWrapperTag NONE
|
|
|
|
DocBookTag NONE
|
|
|
|
DocBookNotInPara true
|
|
|
|
DocBookItemTag para
|
2011-07-20 01:53:12 +00:00
|
|
|
End
|
|
|
|
|