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