]> git.lyx.org Git - lyx.git/blob - lib/layouts/paralist.module
update layout formats
[lyx.git] / lib / layouts / paralist.module
1 #\DeclareLyXModule[paralist.sty]{Paragraph Lists (paralist)}
2 #\DeclareCategory{List Enhancements}
3 #DescriptionBegin
4 # The package paralist provides some new list environments.
5 # Itemized and enumerated lists can be typeset within paragraphs, as
6 # paragraphs and in a compact version. Most environments have optional
7 # arguments to format the labels. Additionally, the LaTeX environments
8 # itemize and enumerate are extended to use a similar optional argument.
9 # For details see Paralist in Specific Manuals.
10 #DescriptionEnd
11 #Excludes: enumitem
12
13 # Author: Georg Baum <baum@lyx.org>
14 # (structuring taken from enumitem.module by Günter Milde)
15
16 Format 79
17
18 AddToPreamble
19         \usepackage{paralist}
20 EndPreamble
21
22
23 # Customisable Basic Lists
24 # ------------------------
25
26 # With paralist, the itemize and enumerate environments take an optional
27 # argument. See paralist.pdf for possible values.
28
29 ModifyStyle Itemize
30         Argument 1
31                 LabelString   "Itemize Options"
32                 Tooltip       "Optional arguments for this list (see paralist manual)"
33         EndArgument
34 End
35
36 ModifyStyle Enumerate
37         Argument 1
38                 LabelString   "Enumerate Options"
39                 Tooltip       "Optional arguments for this list (see paralist manual)"
40         EndArgument
41 End
42
43
44 # List Variants
45 # -------------
46 #
47 # Styles defined by paralist.sty
48
49 Style AsParagraphItem
50         CopyStyle             Itemize
51         LatexName             asparaitem
52         Argument 1
53                 LabelString   "As Paragraph Itemize Options"
54                 Tooltip       "Optional arguments for this list (see paralist manual)"
55         EndArgument
56 End
57
58 Style InParagraphItem
59         CopyStyle             Itemize
60         LatexName             inparaitem
61         Argument 1
62                 LabelString   "In Paragraph Itemize Options"
63                 Tooltip       "Optional arguments for this list (see paralist manual)"
64         EndArgument
65 End
66
67 Style CompactItem
68         CopyStyle             Itemize
69         LatexName             compactitem
70         TopSep                0.0
71         BottomSep             0.0
72         ParSep                0.0
73         Argument 1
74                 LabelString   "Compact Itemize Options"
75                 Tooltip       "Optional arguments for this list (see paralist manual)"
76         EndArgument
77 End
78
79 Style AsParagraphEnum
80         CopyStyle             Enumerate
81         LatexName             asparaenum
82         Argument 1
83                 LabelString   "As Paragraph Enumerate Options"
84                 Tooltip       "Optional arguments for this list (see paralist manual)"
85         EndArgument
86 End
87
88 Style InParagraphEnum
89         CopyStyle             Enumerate
90         LatexName             inparaenum
91         Argument 1
92                 LabelString   "In Paragraph Enumerate Options"
93                 Tooltip       "Optional arguments for this list (see paralist manual)"
94         EndArgument
95 End
96
97 Style CompactEnum
98         CopyStyle             Enumerate
99         LatexName             compactenum
100         TopSep                0.0
101         BottomSep             0.0
102         ParSep                0.0
103         Argument 1
104                 LabelString   "Compact Enumerate Options"
105                 Tooltip       "Optional arguments for this list (see paralist manual)"
106         EndArgument
107 End
108
109 Style AsParagraphDescr
110         CopyStyle             Description
111         LatexName             asparadesc
112         Argument 1
113                 LabelString   "As Paragraph Description Options"
114                 Tooltip       "Optional arguments for this list (see paralist manual)"
115         EndArgument
116 End
117
118 Style InParagraphDescr
119         CopyStyle             Description
120         LatexName             inparadesc
121         Argument 1
122                 LabelString   "In Paragraph Description Options"
123                 Tooltip       "Optional arguments for this list (see paralist manual)"
124         EndArgument
125 End
126
127 Style CompactDescr
128         CopyStyle             Description
129         LatexName             compactdesc
130         TopSep                0.0
131         BottomSep             0.0
132         ParSep                0.0
133         Argument 1
134                 LabelString   "Compact Description Options"
135                 Tooltip       "Optional arguments for this list (see paralist manual)"
136         EndArgument
137 End
138
139 # References
140 # ----------
141 #
142 # .. paralist.pdf:
143 #    http://dante.ctan.org/CTAN/macros/latex/contrib/paralist/paralist.pdf
144