]> git.lyx.org Git - lyx.git/blob - lib/examples/Modules/Paragraph_Lists_%28paralist%29.lyx
Amend b8502a3ea2735c4
[lyx.git] / lib / examples / Modules / Paragraph_Lists_%28paralist%29.lyx
1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
2 \lyxformat 600
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin /systemlyxdir/examples/Modules/
7 \textclass article
8 \begin_preamble
9 \date{}
10 \end_preamble
11 \use_default_options true
12 \begin_modules
13 paralist
14 logicalmkup
15 \end_modules
16 \maintain_unincluded_children no
17 \language english
18 \language_package default
19 \inputencoding utf8
20 \fontencoding auto
21 \font_roman "default" "default"
22 \font_sans "default" "default"
23 \font_typewriter "default" "default"
24 \font_math "auto" "auto"
25 \font_default_family default
26 \use_non_tex_fonts false
27 \font_sc false
28 \font_sans_osf false
29 \font_typewriter_osf false
30 \font_roman_osf false
31 \font_sf_scale 100 100
32 \font_tt_scale 100 100
33 \use_microtype false
34 \use_dash_ligatures false
35 \graphics default
36 \default_output_format default
37 \output_sync 0
38 \bibtex_command default
39 \index_command default
40 \paperfontsize default
41 \spacing single
42 \use_hyperref false
43 \papersize default
44 \use_geometry false
45 \use_package amsmath 1
46 \use_package amssymb 1
47 \use_package cancel 1
48 \use_package esint 1
49 \use_package mathdots 1
50 \use_package mathtools 1
51 \use_package mhchem 1
52 \use_package stackrel 1
53 \use_package stmaryrd 1
54 \use_package undertilde 1
55 \cite_engine basic
56 \cite_engine_type default
57 \biblio_style plain
58 \use_bibtopic false
59 \use_indices false
60 \paperorientation portrait
61 \suppress_date false
62 \justification true
63 \use_refstyle 1
64 \use_minted 0
65 \use_lineno 0
66 \index Index
67 \shortcut idx
68 \color #008000
69 \end_index
70 \secnumdepth 3
71 \tocdepth 3
72 \paragraph_separation indent
73 \paragraph_indentation default
74 \is_math_indent 0
75 \math_numbering_side default
76 \quotes_style english
77 \dynamic_quotes 0
78 \papercolumns 1
79 \papersides 1
80 \paperpagestyle default
81 \tracking_changes false
82 \postpone_fragile_content false
83 \output_changes false
84 \html_math_output 0
85 \html_css_as_file 0
86 \html_be_strict false
87 \end_header
88
89 \begin_body
90
91 \begin_layout Title
92 The 
93 \begin_inset Flex Noun
94 status open
95
96 \begin_layout Plain Layout
97 paralist
98 \end_layout
99
100 \end_inset
101
102  Package
103 \end_layout
104
105 \begin_layout Author
106 The \SpecialChar LyX
107  Team
108 \end_layout
109
110 \begin_layout Standard
111 The 
112 \begin_inset Flex Noun
113 status open
114
115 \begin_layout Plain Layout
116 paralist
117 \end_layout
118
119 \end_inset
120
121  package introduces a number of new types of lists.
122  Perhaps the most widely used are 
123 \begin_inset Quotes eld
124 \end_inset
125
126 inline
127 \begin_inset Quotes erd
128 \end_inset
129
130  lists, which have several features: 
131 \end_layout
132
133 \begin_layout InParagraphEnum
134 They are set inline within a paragraph;
135 \end_layout
136
137 \begin_layout InParagraphEnum
138 \begin_inset CommandInset label
139 LatexCommand label
140 name "enu:Inline2"
141
142 \end_inset
143
144 But an inline enumeration is still numbered automatically, as a normal enumerati
145 on would be;
146 \end_layout
147
148 \begin_layout InParagraphEnum
149 And yet, the individual items can still be referenced.
150 \end_layout
151
152 \begin_layout Standard
153 For example, the second item in that list was numbered 
154 \begin_inset CommandInset ref
155 LatexCommand ref
156 reference "enu:Inline2"
157
158 \end_inset
159
160 .
161  You can also do inline itemize lists and inline descriptions.
162  These are created using the 
163 \begin_inset Flex Noun
164 status open
165
166 \begin_layout Plain Layout
167 InParagraphItem
168 \end_layout
169
170 \end_inset
171
172
173 \begin_inset Flex Noun
174 status open
175
176 \begin_layout Plain Layout
177 InParagraphEnum
178 \end_layout
179
180 \end_inset
181
182 , and 
183 \begin_inset Flex Noun
184 status open
185
186 \begin_layout Plain Layout
187 InParagraphDescr
188 \end_layout
189
190 \end_inset
191
192  styles.
193 \end_layout
194
195 \begin_layout Standard
196 Another new style of list is the paragraph list.
197  Items in these lists are set as ordinary paragraphs.
198 \end_layout
199
200 \begin_layout AsParagraphItem
201 This is the first item.
202  See how it is set as an ordinary paragraph, without any special indentation.
203 \end_layout
204
205 \begin_layout AsParagraphItem
206 This is the second item.
207  It is also set as an ordinary paragraph, and there is no special indentation
208  with it, either.
209  But you do still have a bullet.
210 \end_layout
211
212 \begin_layout AsParagraphItem
213 This is the third item.
214 \end_layout
215
216 \begin_layout Standard
217 Those items were set with the 
218 \begin_inset Flex Noun
219 status open
220
221 \begin_layout Plain Layout
222 AsParagraphItem
223 \end_layout
224
225 \end_inset
226
227  style.
228  Of course, it does not make sense to reference them.
229  But you can do the same thing with enumerations and descriptions.
230 \end_layout
231
232 \begin_layout Standard
233 There are also 
234 \begin_inset Quotes eld
235 \end_inset
236
237 compact
238 \begin_inset Quotes erd
239 \end_inset
240
241  versions of the three standard list styles.
242  
243 \end_layout
244
245 \begin_layout CompactDescr
246 One This is the first description item.
247 \end_layout
248
249 \begin_layout CompactDescr
250 Two This is the second description item.
251 \end_layout
252
253 \begin_layout Standard
254 This one was set with the CompactDescr style.
255  It is just an ordinary description list that has no extra spacing.
256  
257 \end_layout
258
259 \begin_layout Standard
260 The 
261 \begin_inset Flex Noun
262 status open
263
264 \begin_layout Plain Layout
265 paralist
266 \end_layout
267
268 \end_inset
269
270  package also provides an optional argument for list items that allows you
271  to control how the labels are formatted.
272  For information on this, and many other features of the package, please
273  see 
274 \begin_inset CommandInset href
275 LatexCommand href
276 name "its documentation on CTAN"
277 target "http://dante.ctan.org/CTAN/macros/latex/contrib/paralist/paralist.pdf"
278 literal "false"
279
280 \end_inset
281
282 .
283  You might also want to read the warnings about nesting the new list types.
284  It can be done, but it does not always work as you might expect.
285 \end_layout
286
287 \end_body
288 \end_document