]> git.lyx.org Git - lyx.git/blob - src/tex2lyx/test/test.lyx.lyx
Update tex2lyx tests after 8010b90c
[lyx.git] / src / tex2lyx / test / test.lyx.lyx
1 #LyX file created by tex2lyx 2.2
2 \lyxformat 489
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 thickness "0.4pt"
137 separation "3pt"
138 shadowsize "4pt"
139 status open
140
141
142 \begin_layout Standard
143 What are you doing \SpecialChar ldots
144 Dave
145 \end_layout
146
147 \end_inset
148
149 . This is more text.
150 \end_layout
151
152 \begin_layout Section*
153 MySection
154 \end_layout
155
156 \begin_layout Standard
157
158 \begin_inset CommandInset label
159 LatexCommand label
160 name "sec:mysection"
161
162 \end_inset
163
164 This is some 
165 \begin_inset Quotes eld
166 \end_inset
167
168 quoted
169 \begin_inset Quotes erd
170 \end_inset
171
172  text in a new section. I 
173 \begin_inset ERT
174 status collapsed
175
176 \begin_layout Plain Layout
177 {
178 \end_layout
179
180 \end_inset
181
182
183 \begin_inset ERT
184 status collapsed
185
186 \begin_layout Plain Layout
187
188 \backslash
189 em
190 \end_layout
191
192 \end_inset
193
194  am
195 \begin_inset Foot
196 status collapsed
197
198
199 \begin_layout Standard
200 This is a great footnote because: 
201 \end_layout
202
203 \begin_layout Itemize
204 The footnote is not 
205 \emph on
206 emphasized
207 \emph default
208
209 \end_layout
210
211 \begin_layout Itemize
212 The text is 
213 \end_layout
214
215 \begin_layout Standard
216 How cool is that!?
217 \end_layout
218
219 \end_inset
220
221  emphasizing 
222 \begin_inset Quotes eld
223 \end_inset
224
225 text.
226 \end_layout
227
228 \begin_layout Standard
229 I keep
230 \begin_inset Quotes erd
231 \end_inset
232
233  emphasizing
234 \begin_inset ERT
235 status collapsed
236
237 \begin_layout Plain Layout
238 }
239 \end_layout
240
241 \end_inset
242
243 . This 
244 \begin_inset space ~
245
246 \end_inset
247
248  is text in a new par\SpecialChar softhyphen
249 agraph.
250 \begin_inset Newline newline
251 \end_inset
252
253  It has \SpecialChar ldots
254 an 
255 \begin_inset Formula $ \alpha $
256 \end_inset
257
258  in it, which is OK\SpecialChar endofsentence
259  I can type special characters
260 \begin_inset Foot
261 status collapsed
262
263
264 \begin_layout Standard
265 i.e., characters which must be escaped
266 \end_layout
267
268 \end_inset
269
270  like & and #.
271 \end_layout
272
273 \begin_layout Standard
274 _ is a neat token. 
275 \begin_inset ERT
276 status collapsed
277
278 \begin_layout Plain Layout
279 % This line won't print!
280 \end_layout
281
282 \end_inset
283
284
285 \end_layout
286
287 \begin_layout Standard
288 Now I 
289 \family sans
290 want 
291 \family typewriter
292 to
293 \family sans
294  write
295 \family default
296  some math in a displayed equation. 
297 \begin_inset Formula \begin{eqnarray*}
298 q^{(i)}_O & = & q^{water}_{O}+dq_{O}\times (P_{deg}^{(i-1)}-P_{deg}^{(i)})\\
299 q_{H}^{(i)} & = & q^{water}_{H}+dq_{H}\times (P_{deg}^{(i-1)}-P_{deg}^{(i)})\\
300 q_{p}^{(i)} & = & q^{water}_{H}+dq_{H}\times (P_{deg}^{(i-1)}-P^{(i+1)}_{deg})
301 \end{eqnarray*}
302 \end_inset
303
304
305 \end_layout
306
307 \begin_layout Standard
308 Here's an itemized list 
309 \end_layout
310
311 \begin_layout Itemize
312 this is an item 
313 \end_layout
314
315 \begin_deeper
316 \begin_layout Enumerate
317 this is a numbered item
318 \end_layout
319
320 \begin_deeper
321 \begin_layout Standard
322 But now I want to write some text. 
323 \end_layout
324
325 \end_deeper
326 \begin_layout Enumerate
327 this is another numbered item
328 \end_layout
329
330 \begin_deeper
331 \begin_layout Standard
332 More text 
333 \end_layout
334
335 \end_deeper
336 \end_deeper
337 \begin_deeper
338 \begin_layout Standard
339 Yet more text
340 \end_layout
341
342 \end_deeper
343 \begin_layout Itemize
344 this is another unnumbered item
345 \end_layout
346
347 \begin_deeper
348 \begin_layout Standard
349 Final text 
350 \end_layout
351
352 \end_deeper
353 \begin_layout Section
354
355 \begin_inset Argument 1
356 status collapsed
357
358
359 \begin_layout Standard
360 hi
361 \end_layout
362
363 \end_inset
364
365 New Section
366 \end_layout
367
368 \begin_layout Standard
369 Here's a 
370 \begin_inset ERT
371 status collapsed
372
373 \begin_layout Plain Layout
374 {
375 \end_layout
376
377 \end_inset
378
379
380 \begin_inset ERT
381 status collapsed
382
383 \begin_layout Plain Layout
384
385 \backslash
386 em
387 \end_layout
388
389 \end_inset
390
391  quotation: 
392 \end_layout
393
394 \begin_layout Quotation
395 Hello there how are you?
396 \end_layout
397
398 \begin_layout Quotation
399 I am fine. Thanks 
400 \end_layout
401
402 \begin_layout Standard
403 This
404 \begin_inset ERT
405 status collapsed
406
407 \begin_layout Plain Layout
408 }
409 \end_layout
410
411 \end_inset
412
413  is a reference to section 
414 \begin_inset CommandInset ref
415 LatexCommand ref
416 reference "sec:mysection"
417
418 \end_inset
419
420  on page 
421 \begin_inset CommandInset ref
422 LatexCommand pageref
423 reference "sec:mysection"
424
425 \end_inset
426
427 .
428 \end_layout
429
430 \begin_layout Standard
431
432 \begin_inset Tabular 
433 <lyxtabular version="3" rows="2" columns="2">
434 <features rotate="0" tabularvalignment="middle" tabularwidth="0pt">
435 <column alignment="left" valignment="top">
436 <column alignment="left" valignment="top">
437 <row>
438 <cell alignment="left" valignment="top" usebox="none">
439 \begin_inset Text
440
441 \begin_layout Standard
442 foo 
443 \end_layout
444
445 \end_inset
446 </cell>
447 <cell alignment="left" valignment="top" usebox="none">
448 \begin_inset Text
449
450 \begin_layout Standard
451 bar 
452 \end_layout
453
454 \end_inset
455 </cell>
456 </row>
457 <row>
458 <cell alignment="left" valignment="top" usebox="none">
459 \begin_inset Text
460
461 \begin_layout Standard
462 bar 
463 \end_layout
464
465 \end_inset
466 </cell>
467 <cell alignment="left" valignment="top" usebox="none">
468 \begin_inset Text
469
470 \begin_layout Standard
471 foo 
472 \end_layout
473
474 \end_inset
475 </cell>
476 </row>
477 </lyxtabular>
478
479 \end_inset
480
481
482 \end_layout
483
484 \begin_layout Standard
485 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 î.
486 \end_layout
487
488 \begin_layout Standard
489 Watch out: ®should be glued to its successor here.
490 \end_layout
491
492 \begin_layout Standard
493 Final Text. 
494 \end_layout
495
496 \end_body
497 \end_document