File: paralist.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 (144 lines) | stat: -rw-r--r-- 3,785 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
#\DeclareLyXModule[paralist.sty]{Paragraph Lists (paralist)}
#\DeclareCategory{List Enhancements}
#DescriptionBegin
# The package paralist provides some new list environments.
# Itemized and enumerated lists can be typeset within paragraphs, as
# paragraphs and in a compact version. Most environments have optional
# arguments to format the labels. Additionally, the LaTeX environments
# itemize and enumerate are extended to use a similar optional argument.
# For details see Paralist in Specific Manuals.
#DescriptionEnd
#Excludes: enumitem

# Author: Georg Baum <baum@lyx.org>
# (structuring taken from enumitem.module by Günter Milde)

Format 111

AddToPreamble
	\usepackage{paralist}
EndPreamble


# Customisable Basic Lists
# ------------------------

# With paralist, the itemize and enumerate environments take an optional
# argument. See paralist.pdf for possible values.

ModifyStyle Itemize
	Argument 1
		LabelString   "Itemize Options"
		Tooltip       "Optional arguments for this list (see paralist manual)"
	EndArgument
End

ModifyStyle Enumerate
	Argument 1
		LabelString   "Enumerate Options"
		Tooltip       "Optional arguments for this list (see paralist manual)"
	EndArgument
End


# List Variants
# -------------
#
# Styles defined by paralist.sty

Style AsParagraphItem
	CopyStyle             Itemize
	LatexName             asparaitem
	Argument 1
		LabelString   "As Paragraph Itemize Options"
		Tooltip       "Optional arguments for this list (see paralist manual)"
	EndArgument
End

Style InParagraphItem
	CopyStyle             Itemize
	LatexName             inparaitem
	Argument 1
		LabelString   "In Paragraph Itemize Options"
		Tooltip       "Optional arguments for this list (see paralist manual)"
	EndArgument
End

Style CompactItem
	CopyStyle             Itemize
	LatexName             compactitem
	TopSep                0.0
	BottomSep             0.0
	ParSep                0.0
	Argument 1
		LabelString   "Compact Itemize Options"
		Tooltip       "Optional arguments for this list (see paralist manual)"
	EndArgument
End

Style AsParagraphEnum
	CopyStyle             Enumerate
	LatexName             asparaenum
	Argument 1
		LabelString   "As Paragraph Enumerate Options"
		Tooltip       "Optional arguments for this list (see paralist manual)"
	EndArgument
End

Style InParagraphEnum
	CopyStyle             Enumerate
	LatexName             inparaenum
	Argument 1
		LabelString   "In Paragraph Enumerate Options"
		Tooltip       "Optional arguments for this list (see paralist manual)"
	EndArgument
End

Style CompactEnum
	CopyStyle             Enumerate
	LatexName             compactenum
	TopSep                0.0
	BottomSep             0.0
	ParSep                0.0
	Argument 1
		LabelString   "Compact Enumerate Options"
		Tooltip       "Optional arguments for this list (see paralist manual)"
	EndArgument
End

Style AsParagraphDescr
	CopyStyle             Description
	LatexName             asparadesc
	Argument 1
		LabelString   "As Paragraph Description Options"
		Tooltip       "Optional arguments for this list (see paralist manual)"
	EndArgument
End

Style InParagraphDescr
	CopyStyle             Description
	LatexName             inparadesc
	Argument 1
		LabelString   "In Paragraph Description Options"
		Tooltip       "Optional arguments for this list (see paralist manual)"
	EndArgument
End

Style CompactDescr
	CopyStyle             Description
	LatexName             compactdesc
	TopSep                0.0
	BottomSep             0.0
	ParSep                0.0
	Argument 1
		LabelString   "Compact Description Options"
		Tooltip       "Optional arguments for this list (see paralist manual)"
	EndArgument
End

# References
# ----------
#
# .. paralist.pdf:
#    http://dante.ctan.org/CTAN/macros/latex/contrib/paralist/paralist.pdf