File: multicol.module

package info (click to toggle)
lyx 2.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 138,444 kB
  • sloc: cpp: 244,268; ansic: 106,398; xml: 72,791; python: 39,384; sh: 7,666; makefile: 6,584; pascal: 2,143; perl: 2,101; objc: 1,084; tcl: 163; sed: 16
file content (56 lines) | stat: -rw-r--r-- 1,888 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#\DeclareLyXModule[multicol.sty]{Multiple Columns}
#\DeclareCategory{Page Layout}
#DescriptionBegin
#Adds a custom inset whose content is set with multiple columns (2 by default).
#See the Additional manual, section Modules > Page Layout > Multiple Columns,
#for a detailed description.
#DescriptionEnd
#Authors: Uwe Stöhr and Jürgen Spitzmüller

Format 111

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
	DocBookTag      IGNORE
  EndArgument
  Argument 2
    LabelString		"Preface"
    Tooltip			"An optional preface"
	DocBookTag      para
	DocBookAttr     role='preface'
	DocBookArgumentBeforeMainTag  true
  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
	DocBookTag      IGNORE
  EndArgument
  ResetsFont        true

  # 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).
  DocBookWrapperTag NONE
  DocBookTag        NONE
  DocBookNotInPara  true
  DocBookItemTag    para
End