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