]> git.lyx.org Git - lyx.git/blob - lib/examples/Modules/Paragraph_Lists_%28paralist%29.lyx
French Additional manual, translation of chapter 4 up to sec. 4.3
[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 620
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_roman_osf false
29 \font_sans_osf false
30 \font_typewriter_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 \tablestyle default
82 \tracking_changes false
83 \output_changes false
84 \change_bars false
85 \postpone_fragile_content false
86 \html_math_output 0
87 \html_css_as_file 0
88 \html_be_strict false
89 \docbook_table_output 0
90 \docbook_mathml_prefix 1
91 \end_header
92
93 \begin_body
94
95 \begin_layout Title
96 The 
97 \begin_inset Flex Noun
98 status open
99
100 \begin_layout Plain Layout
101 paralist
102 \end_layout
103
104 \end_inset
105
106  Package
107 \end_layout
108
109 \begin_layout Author
110 The \SpecialChar LyX
111  Team
112 \end_layout
113
114 \begin_layout Standard
115 The 
116 \begin_inset Flex Noun
117 status open
118
119 \begin_layout Plain Layout
120 paralist
121 \end_layout
122
123 \end_inset
124
125  package introduces a number of new types of lists.
126  Perhaps the most widely used are 
127 \begin_inset Quotes eld
128 \end_inset
129
130 inline
131 \begin_inset Quotes erd
132 \end_inset
133
134  lists,
135  which have several features:
136  
137 \end_layout
138
139 \begin_layout InParagraphEnum
140 They are set inline within a paragraph;
141 \end_layout
142
143 \begin_layout InParagraphEnum
144 \begin_inset CommandInset label
145 LatexCommand label
146 name "enu:Inline2"
147
148 \end_inset
149
150 But an inline enumeration is still numbered automatically,
151  as a normal enumeration would be;
152 \end_layout
153
154 \begin_layout InParagraphEnum
155 And yet,
156  the individual items can still be referenced.
157 \end_layout
158
159 \begin_layout Standard
160 For example,
161  the second item in that list was numbered 
162 \begin_inset CommandInset ref
163 LatexCommand ref
164 reference "enu:Inline2"
165 nolink "false"
166
167 \end_inset
168
169 .
170  You can also do inline itemize lists and inline descriptions.
171  These are created using the 
172 \begin_inset Flex Noun
173 status open
174
175 \begin_layout Plain Layout
176 InParagraphItem
177 \end_layout
178
179 \end_inset
180
181 ,
182  
183 \begin_inset Flex Noun
184 status open
185
186 \begin_layout Plain Layout
187 InParagraphEnum
188 \end_layout
189
190 \end_inset
191
192 ,
193  and 
194 \begin_inset Flex Noun
195 status open
196
197 \begin_layout Plain Layout
198 InParagraphDescr
199 \end_layout
200
201 \end_inset
202
203  styles.
204 \end_layout
205
206 \begin_layout Standard
207 Another new style of list is the paragraph list.
208  Items in these lists are set as ordinary paragraphs.
209 \end_layout
210
211 \begin_layout AsParagraphItem
212 This is the first item.
213  See how it is set as an ordinary paragraph,
214  without any special indentation.
215 \end_layout
216
217 \begin_layout AsParagraphItem
218 This is the second item.
219  It is also set as an ordinary paragraph,
220  and there is no special indentation with it,
221  either.
222  But you do still have a bullet.
223 \end_layout
224
225 \begin_layout AsParagraphItem
226 This is the third item.
227 \end_layout
228
229 \begin_layout Standard
230 Those items were set with the 
231 \begin_inset Flex Noun
232 status open
233
234 \begin_layout Plain Layout
235 AsParagraphItem
236 \end_layout
237
238 \end_inset
239
240  style.
241  Of course,
242  it does not make sense to reference them.
243  But you can do the same thing with enumerations and descriptions.
244 \end_layout
245
246 \begin_layout Standard
247 There are also 
248 \begin_inset Quotes eld
249 \end_inset
250
251 compact
252 \begin_inset Quotes erd
253 \end_inset
254
255  versions of the three standard list styles.
256  
257 \end_layout
258
259 \begin_layout CompactDescr
260 One This is the first description item.
261 \end_layout
262
263 \begin_layout CompactDescr
264 Two This is the second description item.
265 \end_layout
266
267 \begin_layout Standard
268 This one was set with the CompactDescr style.
269  It is just an ordinary description list that has no extra spacing.
270  
271 \end_layout
272
273 \begin_layout Standard
274 The 
275 \begin_inset Flex Noun
276 status open
277
278 \begin_layout Plain Layout
279 paralist
280 \end_layout
281
282 \end_inset
283
284  package also provides an optional argument for list items that allows you to control how the labels are formatted.
285  For information on this,
286  and many other features of the package,
287  please see 
288 \begin_inset CommandInset href
289 LatexCommand href
290 name "its documentation on CTAN"
291 target "http://dante.ctan.org/CTAN/macros/latex/contrib/paralist/paralist.pdf"
292 literal "false"
293
294 \end_inset
295
296 .
297  You might also want to read the warnings about nesting the new list types.
298  It can be done,
299  but it does not always work as you might expect.
300 \end_layout
301
302 \end_body
303 \end_document