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