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