]> git.lyx.org Git - lyx.git/blob - src/tex2lyx/test/test.lyx.lyx
Merge branch 'master' of git.lyx.org:lyx
[lyx.git] / src / tex2lyx / test / test.lyx.lyx
1 #LyX file created by tex2lyx 2.1.0dev
2 \lyxformat 445
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 esint 1
46 \use_package mathdots 0
47 \use_package mathtools 0
48 \use_package mhchem 0
49 \use_package undertilde 0
50 \cite_engine basic
51 \cite_engine_type numerical
52 \biblio_style plain
53 \use_bibtopic false
54 \use_indices false
55 \paperorientation portrait
56 \suppress_date false
57 \justification true
58 \use_refstyle 0
59 \index Index
60 \shortcut idx
61 \color #008000
62 \end_index
63 \secnumdepth 3
64 \tocdepth 3
65 \paragraph_separation indent
66 \paragraph_indentation default
67 \quotes_language english
68 \papercolumns 1
69 \papersides 1
70 \paperpagestyle default
71 \tracking_changes false
72 \output_changes false
73 \html_math_output 0
74 \html_css_as_file 0
75 \html_be_strict false
76 \end_header
77
78 \begin_body
79
80 \begin_layout Title
81
82 Test Document
83 \end_layout
84
85 \begin_layout Standard
86
87
88 \begin_inset CommandInset toc
89 LatexCommand tableofcontents
90
91 \end_inset
92
93
94 \end_layout
95
96 \begin_layout Section
97
98 First Section
99 \end_layout
100
101 \begin_layout Standard
102
103 This 
104 \size large
105
106 \size small
107
108 \size tiny
109 c
110 \size large
111  
112 \size huge
113 d
114 \size default
115  is some text. 
116 \begin_inset ERT
117 status collapsed
118
119 \begin_layout Standard
120
121 %Midline comment
122 \end_layout
123
124 \begin_layout Standard
125
126
127 \end_layout
128
129 \end_inset
130
131
132 \begin_inset Box Boxed
133 position "c"
134 hor_pos "s"
135 has_inner_box 0
136 inner_pos "c"
137 use_parbox 0
138 use_makebox 0
139 width "3in"
140 special "none"
141 height "1in"
142 height_special "totalheight"
143 status open
144
145
146 \begin_layout Standard
147
148 What are you doing \SpecialChar \ldots{}
149 Dave
150 \end_layout
151
152 \end_inset
153
154 . This is more text.
155 \end_layout
156
157 \begin_layout Section*
158
159 MySection
160 \end_layout
161
162 \begin_layout Standard
163
164
165 \begin_inset CommandInset label
166 LatexCommand label
167 name "sec:mysection"
168
169 \end_inset
170
171 This is some 
172 \begin_inset Quotes eld
173 \end_inset
174
175 quoted
176 \begin_inset Quotes erd
177 \end_inset
178
179  text in a new section. I 
180 \begin_inset ERT
181 status collapsed
182
183 \begin_layout Standard
184
185 {
186 \end_layout
187
188 \end_inset
189
190
191 \begin_inset ERT
192 status collapsed
193
194 \begin_layout Standard
195
196
197 \backslash
198 em
199 \end_layout
200
201 \end_inset
202
203  am
204 \begin_inset Foot
205 status collapsed
206
207
208 \begin_layout Standard
209
210 This is a great footnote because: 
211 \end_layout
212
213 \begin_layout Itemize
214
215 The footnote is not 
216 \emph on
217 emphasized
218 \emph default
219
220 \end_layout
221
222 \begin_layout Itemize
223
224 The text is 
225 \end_layout
226
227 \begin_layout Standard
228
229 How cool is that!?
230 \end_layout
231
232 \end_inset
233
234  emphasizing 
235 \begin_inset Quotes eld
236 \end_inset
237
238 text.
239 \end_layout
240
241 \begin_layout Standard
242
243 I keep
244 \begin_inset Quotes erd
245 \end_inset
246
247  emphasizing
248 \begin_inset ERT
249 status collapsed
250
251 \begin_layout Standard
252
253 }
254 \end_layout
255
256 \end_inset
257
258 . This 
259 \begin_inset space ~
260
261 \end_inset
262
263  is text in a new par\SpecialChar \-
264 agraph.
265 \begin_inset Newline newline
266 \end_inset
267
268  It has \SpecialChar \ldots{}
269 an 
270 \begin_inset Formula $ \alpha $
271 \end_inset
272
273  in it, which is OK\SpecialChar \@.
274  I can type special characters
275 \begin_inset Foot
276 status collapsed
277
278
279 \begin_layout Standard
280
281 i.e., characters which must be escaped
282 \end_layout
283
284 \end_inset
285
286  like & and #.
287 \end_layout
288
289 \begin_layout Standard
290
291 _ is a neat token. 
292 \begin_inset ERT
293 status collapsed
294
295 \begin_layout Standard
296
297 % This line won't print!
298 \end_layout
299
300 \begin_layout Standard
301
302
303 \end_layout
304
305 \end_inset
306
307
308 \end_layout
309
310 \begin_layout Standard
311
312 Now I 
313 \family sans
314 want 
315 \family typewriter
316 to
317 \family sans
318  write
319 \family default
320  some math in a displayed equation. 
321 \begin_inset Formula \begin{eqnarray*}
322 q^{(i)}_O & = & q^{water}_{O}+dq_{O}\times (P_{deg}^{(i-1)}-P_{deg}^{(i)})\\
323 q_{H}^{(i)} & = & q^{water}_{H}+dq_{H}\times (P_{deg}^{(i-1)}-P_{deg}^{(i)})\\
324 q_{p}^{(i)} & = & q^{water}_{H}+dq_{H}\times (P_{deg}^{(i-1)}-P^{(i+1)}_{deg})
325 \end{eqnarray*}
326 \end_inset
327
328
329 \end_layout
330
331 \begin_layout Standard
332
333 Here's an itemized list 
334 \end_layout
335
336 \begin_layout Itemize
337
338 this is an item 
339 \end_layout
340
341 \begin_deeper
342 \begin_layout Enumerate
343
344 this is a numbered item
345 \end_layout
346
347 \begin_deeper
348 \begin_layout Standard
349
350 But now I want to write some text. 
351 \end_layout
352
353 \end_deeper
354 \begin_layout Enumerate
355
356 this is another numbered item
357 \end_layout
358
359 \begin_deeper
360 \begin_layout Standard
361
362 More text 
363 \end_layout
364
365 \end_deeper
366 \end_deeper
367 \begin_deeper
368 \begin_layout Standard
369
370 Yet more text
371 \end_layout
372
373 \end_deeper
374 \begin_layout Itemize
375
376 this is another unnumbered item
377 \end_layout
378
379 \begin_deeper
380 \begin_layout Standard
381
382 Final text 
383 \end_layout
384
385 \end_deeper
386 \begin_layout Section
387
388
389 \begin_inset Argument
390 status collapsed
391
392
393 \begin_layout Standard
394
395 hi
396 \end_layout
397
398 \end_inset
399
400 New Section
401 \end_layout
402
403 \begin_layout Standard
404
405 Here's a 
406 \begin_inset ERT
407 status collapsed
408
409 \begin_layout Standard
410
411 {
412 \end_layout
413
414 \end_inset
415
416
417 \begin_inset ERT
418 status collapsed
419
420 \begin_layout Standard
421
422
423 \backslash
424 em
425 \end_layout
426
427 \end_inset
428
429  quotation: 
430 \end_layout
431
432 \begin_layout Quotation
433
434 Hello there how are you?
435 \end_layout
436
437 \begin_layout Quotation
438
439 I am fine. Thanks 
440 \end_layout
441
442 \begin_layout Standard
443
444 This
445 \begin_inset ERT
446 status collapsed
447
448 \begin_layout Standard
449
450 }
451 \end_layout
452
453 \end_inset
454
455  is a reference to section 
456 \begin_inset CommandInset ref
457 LatexCommand ref
458 reference "sec:mysection"
459
460 \end_inset
461
462  on page 
463 \begin_inset CommandInset ref
464 LatexCommand pageref
465 reference "sec:mysection"
466
467 \end_inset
468
469 .
470 \end_layout
471
472 \begin_layout Standard
473
474
475 \begin_inset Tabular 
476 <lyxtabular version="3" rows="2" columns="2">
477 <features rotate="0" tabularvalignment="middle" tabularwidth="0pt">
478 <column alignment="left" valignment="top">
479 <column alignment="left" valignment="top">
480 <row>
481 <cell alignment="left" valignment="top" usebox="none">
482 \begin_inset Text
483
484 \begin_layout Standard
485
486 foo 
487 \end_layout
488
489 \end_inset
490 </cell>
491 <cell alignment="left" valignment="top" usebox="none">
492 \begin_inset Text
493
494 \begin_layout Standard
495
496 bar 
497 \end_layout
498
499 \end_inset
500 </cell>
501 </row>
502 <row>
503 <cell alignment="left" valignment="top" usebox="none">
504 \begin_inset Text
505
506 \begin_layout Standard
507
508 bar 
509 \end_layout
510
511 \end_inset
512 </cell>
513 <cell alignment="left" valignment="top" usebox="none">
514 \begin_inset Text
515
516 \begin_layout Standard
517
518 foo 
519 \end_layout
520
521 \end_inset
522 </cell>
523 </row>
524 </lyxtabular>
525
526 \end_inset
527
528
529 \end_layout
530
531 \begin_layout Standard
532
533 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 î.
534 \end_layout
535
536 \begin_layout Standard
537
538 Watch out: ®should be glued to its successor here.
539 \end_layout
540
541 \begin_layout Standard
542
543 Final Text. 
544 \end_layout
545
546 \end_body
547 \end_document