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