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