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