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