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