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