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