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