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