]> git.lyx.org Git - lyx.git/blob - src/tex2lyx/test/test.lyx.lyx
Output caption insets collapsed
[lyx.git] / src / tex2lyx / test / test.lyx.lyx
1 #LyX file created by tex2lyx 2.2
2 \lyxformat 479
3 \begin_document
4 \begin_header
5 \textclass article
6 \begin_preamble
7 % This is a test document for tex2lyx
8 %some comments
9
10 %comments
11 \def\blah{\blahblah}
12 % And more comments
13
14 %more comments
15
16 \end_preamble
17 \use_default_options false
18 \maintain_unincluded_children false
19 \language english
20 \language_package none
21 \inputencoding auto
22 \fontencoding default
23 \font_roman default
24 \font_sans default
25 \font_typewriter default
26 \font_math auto
27 \font_default_family default
28 \use_non_tex_fonts false
29 \font_sc false
30 \font_osf false
31 \font_sf_scale 100
32 \font_tt_scale 100
33 \graphics default
34 \default_output_format default
35 \output_sync 0
36 \bibtex_command default
37 \index_command default
38 \paperfontsize 11
39 \spacing single
40 \use_hyperref false
41 \papersize default
42 \use_geometry false
43 \use_package amsmath 1
44 \use_package amssymb 0
45 \use_package cancel 0
46 \use_package esint 1
47 \use_package mathdots 0
48 \use_package mathtools 0
49 \use_package mhchem 0
50 \use_package stackrel 0
51 \use_package stmaryrd 0
52 \use_package undertilde 0
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 0
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 \quotes_language english
71 \papercolumns 1
72 \papersides 1
73 \paperpagestyle default
74 \tracking_changes false
75 \output_changes false
76 \html_math_output 0
77 \html_css_as_file 0
78 \html_be_strict false
79 \end_header
80
81 \begin_body
82
83 \begin_layout Title
84 Test Document
85 \end_layout
86
87 \begin_layout Standard
88
89 \begin_inset CommandInset toc
90 LatexCommand tableofcontents
91
92 \end_inset
93
94
95 \end_layout
96
97 \begin_layout Section
98 First Section
99 \end_layout
100
101 \begin_layout Standard
102 This 
103 \size large
104
105 \size small
106
107 \size tiny
108 c
109 \size large
110  
111 \size huge
112 d
113 \size default
114  is some text. 
115 \begin_inset ERT
116 status collapsed
117
118 \begin_layout Plain Layout
119 %Midline comment
120 \end_layout
121
122 \end_inset
123
124
125 \begin_inset Box Boxed
126 position "c"
127 hor_pos "s"
128 has_inner_box 0
129 inner_pos "c"
130 use_parbox 0
131 use_makebox 0
132 width "3in"
133 special "none"
134 height "1in"
135 height_special "totalheight"
136 status open
137
138
139 \begin_layout Standard
140 What are you doing \SpecialChar \ldots{}
141 Dave
142 \end_layout
143
144 \end_inset
145
146 . This is more text.
147 \end_layout
148
149 \begin_layout Section*
150 MySection
151 \end_layout
152
153 \begin_layout Standard
154
155 \begin_inset CommandInset label
156 LatexCommand label
157 name "sec:mysection"
158
159 \end_inset
160
161 This is some 
162 \begin_inset Quotes eld
163 \end_inset
164
165 quoted
166 \begin_inset Quotes erd
167 \end_inset
168
169  text in a new section. I 
170 \begin_inset ERT
171 status collapsed
172
173 \begin_layout Plain Layout
174 {
175 \end_layout
176
177 \end_inset
178
179
180 \begin_inset ERT
181 status collapsed
182
183 \begin_layout Plain Layout
184
185 \backslash
186 em
187 \end_layout
188
189 \end_inset
190
191  am
192 \begin_inset Foot
193 status collapsed
194
195
196 \begin_layout Standard
197 This is a great footnote because: 
198 \end_layout
199
200 \begin_layout Itemize
201 The footnote is not 
202 \emph on
203 emphasized
204 \emph default
205
206 \end_layout
207
208 \begin_layout Itemize
209 The text is 
210 \end_layout
211
212 \begin_layout Standard
213 How cool is that!?
214 \end_layout
215
216 \end_inset
217
218  emphasizing 
219 \begin_inset Quotes eld
220 \end_inset
221
222 text.
223 \end_layout
224
225 \begin_layout Standard
226 I keep
227 \begin_inset Quotes erd
228 \end_inset
229
230  emphasizing
231 \begin_inset ERT
232 status collapsed
233
234 \begin_layout Plain Layout
235 }
236 \end_layout
237
238 \end_inset
239
240 . This 
241 \begin_inset space ~
242
243 \end_inset
244
245  is text in a new par\SpecialChar \-
246 agraph.
247 \begin_inset Newline newline
248 \end_inset
249
250  It has \SpecialChar \ldots{}
251 an 
252 \begin_inset Formula $ \alpha $
253 \end_inset
254
255  in it, which is OK\SpecialChar \@.
256  I can type special characters
257 \begin_inset Foot
258 status collapsed
259
260
261 \begin_layout Standard
262 i.e., characters which must be escaped
263 \end_layout
264
265 \end_inset
266
267  like & and #.
268 \end_layout
269
270 \begin_layout Standard
271 _ is a neat token. 
272 \begin_inset ERT
273 status collapsed
274
275 \begin_layout Plain Layout
276 % This line won't print!
277 \end_layout
278
279 \end_inset
280
281
282 \end_layout
283
284 \begin_layout Standard
285 Now I 
286 \family sans
287 want 
288 \family typewriter
289 to
290 \family sans
291  write
292 \family default
293  some math in a displayed equation. 
294 \begin_inset Formula \begin{eqnarray*}
295 q^{(i)}_O & = & q^{water}_{O}+dq_{O}\times (P_{deg}^{(i-1)}-P_{deg}^{(i)})\\
296 q_{H}^{(i)} & = & q^{water}_{H}+dq_{H}\times (P_{deg}^{(i-1)}-P_{deg}^{(i)})\\
297 q_{p}^{(i)} & = & q^{water}_{H}+dq_{H}\times (P_{deg}^{(i-1)}-P^{(i+1)}_{deg})
298 \end{eqnarray*}
299 \end_inset
300
301
302 \end_layout
303
304 \begin_layout Standard
305 Here's an itemized list 
306 \end_layout
307
308 \begin_layout Itemize
309 this is an item 
310 \end_layout
311
312 \begin_deeper
313 \begin_layout Enumerate
314 this is a numbered item
315 \end_layout
316
317 \begin_deeper
318 \begin_layout Standard
319 But now I want to write some text. 
320 \end_layout
321
322 \end_deeper
323 \begin_layout Enumerate
324 this is another numbered item
325 \end_layout
326
327 \begin_deeper
328 \begin_layout Standard
329 More text 
330 \end_layout
331
332 \end_deeper
333 \end_deeper
334 \begin_deeper
335 \begin_layout Standard
336 Yet more text
337 \end_layout
338
339 \end_deeper
340 \begin_layout Itemize
341 this is another unnumbered item
342 \end_layout
343
344 \begin_deeper
345 \begin_layout Standard
346 Final text 
347 \end_layout
348
349 \end_deeper
350 \begin_layout Section
351
352 \begin_inset Argument 1
353 status collapsed
354
355
356 \begin_layout Standard
357 hi
358 \end_layout
359
360 \end_inset
361
362 New Section
363 \end_layout
364
365 \begin_layout Standard
366 Here's a 
367 \begin_inset ERT
368 status collapsed
369
370 \begin_layout Plain Layout
371 {
372 \end_layout
373
374 \end_inset
375
376
377 \begin_inset ERT
378 status collapsed
379
380 \begin_layout Plain Layout
381
382 \backslash
383 em
384 \end_layout
385
386 \end_inset
387
388  quotation: 
389 \end_layout
390
391 \begin_layout Quotation
392 Hello there how are you?
393 \end_layout
394
395 \begin_layout Quotation
396 I am fine. Thanks 
397 \end_layout
398
399 \begin_layout Standard
400 This
401 \begin_inset ERT
402 status collapsed
403
404 \begin_layout Plain Layout
405 }
406 \end_layout
407
408 \end_inset
409
410  is a reference to section 
411 \begin_inset CommandInset ref
412 LatexCommand ref
413 reference "sec:mysection"
414
415 \end_inset
416
417  on page 
418 \begin_inset CommandInset ref
419 LatexCommand pageref
420 reference "sec:mysection"
421
422 \end_inset
423
424 .
425 \end_layout
426
427 \begin_layout Standard
428
429 \begin_inset Tabular 
430 <lyxtabular version="3" rows="2" columns="2">
431 <features rotate="0" tabularvalignment="middle" tabularwidth="0pt">
432 <column alignment="left" valignment="top">
433 <column alignment="left" valignment="top">
434 <row>
435 <cell alignment="left" valignment="top" usebox="none">
436 \begin_inset Text
437
438 \begin_layout Standard
439 foo 
440 \end_layout
441
442 \end_inset
443 </cell>
444 <cell alignment="left" valignment="top" usebox="none">
445 \begin_inset Text
446
447 \begin_layout Standard
448 bar 
449 \end_layout
450
451 \end_inset
452 </cell>
453 </row>
454 <row>
455 <cell alignment="left" valignment="top" usebox="none">
456 \begin_inset Text
457
458 \begin_layout Standard
459 bar 
460 \end_layout
461
462 \end_inset
463 </cell>
464 <cell alignment="left" valignment="top" usebox="none">
465 \begin_inset Text
466
467 \begin_layout Standard
468 foo 
469 \end_layout
470
471 \end_inset
472 </cell>
473 </row>
474 </lyxtabular>
475
476 \end_inset
477
478
479 \end_layout
480
481 \begin_layout Standard
482 Let's try a few unicode characters: the (R) symbol ®(and the same one with braces ® and a space after) or maybe an accented a á or this one á or this î.
483 \end_layout
484
485 \begin_layout Standard
486 Watch out: ®should be glued to its successor here.
487 \end_layout
488
489 \begin_layout Standard
490 Final Text. 
491 \end_layout
492
493 \end_body
494 \end_document