]> git.lyx.org Git - lyx.git/blob - lib/layouts/multicol.module
IEEEtran-CompSoc.layout: force plain layout
[lyx.git] / lib / layouts / multicol.module
1 #\DeclareLyXModule[multicol.sty]{Multiple Columns}
2 #DescriptionBegin
3 #Adds 2 styles to begin and end text in multiple columns.
4 #The begin style contains the number of columns, the end style must be kept empty.
5 #See the Additional manual, section 'Multiple Text Columns', for a detailed
6 #description of multiple columns.
7 #DescriptionEnd
8 #Author: Uwe Stöhr
9
10 Format 43
11
12 AddToPreamble
13  % used for multiple text columns
14  \usepackage{multicol}
15
16 EndPreamble
17
18 Style "Begin Multiple Columns"
19   Category              MainText
20   Margin                First_Dynamic
21   LatexType             command
22   LabelType             Static
23   LabelSep              xx
24   LatexName             begin{multicols}
25   LabelString           "---Begin Multiple Columns---"
26   Argument post:1
27     LabelString         "Preface"
28     Tooltip             "An optional preface"
29   EndArgument
30   Argument post:2
31     LabelString         "Space Before Page Break"
32     Tooltip             "Free space that needs to be on the page to start the multiple columns on this page"
33   EndArgument
34   KeepEmpty             1
35   ParSkip               0
36   TopSep                0
37   BottomSep             0
38   ParSep                0
39   Font
40     Color               Blue
41   EndFont
42   LabelFont
43     Color               Green
44   EndFont
45 End
46
47 Style "End Multiple Columns"
48   CopyStyle             "Begin Multiple Columns"
49   LatexName             end{multicols}
50   LabelString           "---End Multiple Columns---"
51   ResetArgs             1
52 End
53