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