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