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