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