]> git.lyx.org Git - lyx.git/blob - lib/layouts/multicol.module
Remove hebrew letter document class
[lyx.git] / lib / layouts / multicol.module
1 #\DeclareLyXModule[multicol.sty]{Multiple Columns}
2 #\DeclareCategory{Page Layout}
3 #DescriptionBegin
4 #Adds a custom inset whose content is set with multiple columns (2 by default).
5 #See the Additional manual, section Modules > Page Layout > Multiple Columns,
6 #for a detailed description.
7 #DescriptionEnd
8 #Authors: Uwe Stöhr and Jürgen Spitzmüller
9
10 Format 104
11
12 InsetLayout Flex:Multiple_Columns
13   LyXType                       custom
14   Decoration            classic
15   LabelString           Columns
16   LatexType                     environment
17   LatexName                     multicols
18   Requires                      multicol
19   Argument 1
20     LabelString         "Number of Columns"
21     Tooltip                     "Insert the number of columns here"
22     Mandatory           1
23     DefaultArg          2
24     PassThru            1
25         DocBookTag      IGNORE
26   EndArgument
27   Argument 2
28     LabelString         "Preface"
29     Tooltip                     "An optional preface"
30         DocBookTag      para
31         DocBookAttr     role='preface'
32         DocBookArgumentBeforeMainTag  true
33   EndArgument
34   Argument 3
35     LabelString         "Space Before Page Break"
36     Tooltip                     "Free space that needs to be on the page to start the multiple columns on this page"
37     Requires            2
38         DocBookTag      IGNORE
39   EndArgument
40   ResetsFont        true
41
42   # The current DocBook implementation is quite lacking, but it would require
43   # a lot more C++ code to have perfect output. The major problem: not all
44   # elements within a column should be wrapped in an item. It has been
45   # designed for pure text (like in Modules > Page Layout > Multiple Columns,
46   # the excerpt of "The Adventure of the Empty House"), it produces wrong
47   # output for lists (such as Document classes > Articles > Astronomy >
48   # Supported environments, the Columns flex only contains a list). Columns
49   # within columns are not supported either (as in Modules > Page Layout >
50   # Multiple Columns > Columns inside Columns).
51   DocBookWrapperTag NONE
52   DocBookTag        NONE
53   DocBookNotInPara  true
54   DocBookItemTag    para
55 End
56