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