]> git.lyx.org Git - lyx.git/blob - lib/examples/example_raw.lyx
Document the IBus + Qt4 known issue (#9362)
[lyx.git] / lib / examples / example_raw.lyx
1 #LyX 2.2 created this file. For more info see http://www.lyx.org/
2 \lyxformat 503
3 \begin_document
4 \begin_header
5 \origin /systemlyxdir/examples/
6 \textclass article
7 \use_default_options false
8 \maintain_unincluded_children false
9 \language english
10 \language_package default
11 \inputencoding auto
12 \fontencoding global
13 \font_roman "default" "default"
14 \font_sans "default" "default"
15 \font_typewriter "default" "default"
16 \font_math "auto" "auto"
17 \font_default_family default
18 \use_non_tex_fonts false
19 \font_sc false
20 \font_osf false
21 \font_sf_scale 100 100
22 \font_tt_scale 100 100
23 \graphics default
24 \default_output_format default
25 \output_sync 0
26 \bibtex_command default
27 \index_command default
28 \paperfontsize 12
29 \spacing single
30 \use_hyperref false
31 \papersize default
32 \use_geometry false
33 \use_package amsmath 0
34 \use_package amssymb 0
35 \use_package cancel 0
36 \use_package esint 0
37 \use_package mathdots 1
38 \use_package mathtools 0
39 \use_package mhchem 1
40 \use_package stackrel 0
41 \use_package stmaryrd 0
42 \use_package undertilde 0
43 \cite_engine basic
44 \cite_engine_type default
45 \biblio_style plain
46 \use_bibtopic false
47 \use_indices false
48 \paperorientation portrait
49 \suppress_date false
50 \justification true
51 \use_refstyle 0
52 \index Index
53 \shortcut idx
54 \color #008000
55 \end_index
56 \secnumdepth 3
57 \tocdepth 3
58 \paragraph_separation indent
59 \paragraph_indentation default
60 \quotes_language english
61 \papercolumns 1
62 \papersides 1
63 \paperpagestyle plain
64 \tracking_changes false
65 \output_changes false
66 \html_math_output 0
67 \html_css_as_file 0
68 \html_be_strict false
69 \end_header
70
71 \begin_body
72
73 \begin_layout Standard
74 THIS IS THE TITLE OF THE DOCUMENT 
75 \begin_inset Note Note
76 status collapsed
77
78 \begin_layout Plain Layout
79 Hint: the title should look more like a title
80 \end_layout
81
82 \end_inset
83
84
85 \end_layout
86
87 \begin_layout Standard
88 by Fee \SpecialCharNoPassThru LyX
89 \begin_inset Note Note
90 status collapsed
91
92 \begin_layout Plain Layout
93 Hint: Fee is the AUTHOR
94 \end_layout
95
96 \end_inset
97
98
99 \end_layout
100
101 \begin_layout Standard
102 June 12, 1972
103 \begin_inset Note Note
104 status collapsed
105
106 \begin_layout Plain Layout
107 Hint: this is a DATE
108 \end_layout
109
110 \end_inset
111
112
113 \end_layout
114
115 \begin_layout Standard
116 Table of Contents
117 \begin_inset Note Note
118 status collapsed
119
120 \begin_layout Plain Layout
121 Hint: It would be nice if we didn't have to type the Table
122 \end_layout
123
124 \begin_layout Plain Layout
125 of Contents explicitly
126 \end_layout
127
128 \end_inset
129
130
131 \end_layout
132
133 \begin_layout Standard
134 1.
135  Basic Philosophy..................1
136 \end_layout
137
138 \begin_layout Standard
139 1.1 How \SpecialCharNoPassThru LyX
140  Does It...............1
141 \end_layout
142
143 \begin_layout Standard
144 1.2 Why \SpecialCharNoPassThru LyX
145  is Better...............1
146 \end_layout
147
148 \begin_layout Standard
149 2.
150  Features of \SpecialCharNoPassThru LyX
151 \end_layout
152
153 \begin_layout Standard
154 3.
155  Lame Attempts to use more \SpecialCharNoPassThru LyX
156  stuff
157 \end_layout
158
159 \begin_layout Standard
160 4.
161  Math Stuff
162 \end_layout
163
164 \begin_layout Standard
165 \threehyphens
166 \threehyphens
167 \threehyphens
168 \threehyphens
169 \threehyphens
170 \threehyphens
171 \threehyphens
172 \threehyphens
173 \threehyphens
174 \threehyphens
175 \threehyphens
176 \threehyphens
177 \threehyphens
178 \threehyphens
179 \threehyphens
180 \threehyphens
181 \threehyphens
182 \end_layout
183
184 \begin_layout Standard
185 1.
186  Basic Philosophy
187 \begin_inset Note Note
188 status collapsed
189
190 \begin_layout Plain Layout
191 Hint: Section titles should probably stand out more
192 \end_layout
193
194 \end_inset
195
196
197 \end_layout
198
199 \begin_layout Standard
200 The basic philosophy of \SpecialCharNoPassThru LyX
201  is that you should worry about the content of
202  what you're writing and not the form.
203 \end_layout
204
205 \begin_layout Standard
206 1.1 How \SpecialCharNoPassThru LyX
207  does it
208 \end_layout
209
210 \begin_layout Standard
211 \SpecialCharNoPassThru LyX
212  uses \SpecialCharNoPassThru LaTeX
213 , a document preparation system designed by Leslie Lamport
214  in 1985.
215  It, in turn, was built up from a typesetting language called \SpecialCharNoPassThru TeX
216 , created
217  by Donald Knuth in 1984.
218  \SpecialCharNoPassThru LaTeX
219  is designed around a philosophy similar to that of \SpecialCharNoPassThru LyX
220 .
221  Leslie Lamport once said (see reference [1])
222 \begin_inset Note Note
223 status collapsed
224
225 \begin_layout Plain Layout
226 Hint: Probably, this CITATION REFERENCE shouldn't be
227 \end_layout
228
229 \begin_layout Plain Layout
230 "hard-coded".
231  What if we make Lamport's book the second
232 \end_layout
233
234 \begin_layout Plain Layout
235 item in the bibliography?
236 \end_layout
237
238 \end_inset
239
240 :
241 \end_layout
242
243 \begin_layout Standard
244 \begin_inset Quotes eld
245 \end_inset
246
247 The function of typographic design is to help the reader understand the
248  author's ideas.
249  For a document to be easy to read, its visual structure must reflect its
250  logical structure.
251  Quotations and computer programs, being logically distinct structural elements,
252  should be distinguished visually from one another....
253  Since \SpecialCharNoPassThru LaTeX
254  can't understand your prose, you must explicitly indicate the
255  logical structure by typing special commands....
256  As you are writing your document, you should be concerned with its logical
257  structure, not its visual appearance.
258 \begin_inset Quotes erd
259 \end_inset
260
261
262 \begin_inset Note Note
263 status collapsed
264
265 \begin_layout Plain Layout
266 Hint: This is a QUOTE
267 \end_layout
268
269 \end_inset
270
271
272 \end_layout
273
274 \begin_layout Standard
275 1.2 Why \SpecialCharNoPassThru LyX
276  is better
277 \end_layout
278
279 \begin_layout Standard
280 \SpecialCharNoPassThru LyX
281  can be useful to more people than \SpecialCharNoPassThru LaTeX
282 .
283  It's considerably easier to learn, because you don't need to learn \SpecialCharNoPassThru LaTeX
284  (which is practically a programming language).
285  \SpecialCharNoPassThru LyX
286  is basically like other 
287 \begin_inset Quotes eld
288 \end_inset
289
290 What you see is what you get
291 \begin_inset Quotes erd
292 \end_inset
293
294  word processors, except that \SpecialCharNoPassThru LyX
295  is 
296 \begin_inset Quotes eld
297 \end_inset
298
299 What you see is what you mean
300 \begin_inset Quotes erd
301 \end_inset
302
303 .
304  In this way, it combines the ease of use of word processors with the power
305  of \SpecialCharNoPassThru LaTeX
306 .
307  This is a Good Thing.
308  Also, the file format is platform independent.
309  Best of all, it's FREE!
310 \end_layout
311
312 \begin_layout Standard
313 2.
314  Features of \SpecialCharNoPassThru LyX
315 \end_layout
316
317 \begin_layout Standard
318 \SpecialCharNoPassThru LyX
319  has many features which make writing documents easier.
320  (After all, why else would you want to use it?
321 \begin_inset Note Note
322 status collapsed
323
324 \begin_layout Plain Layout
325 Hint: This parenthetical statement would look better in a footnote
326 \end_layout
327
328 \end_inset
329
330 ) I'm VERY EXCITED
331 \begin_inset Note Note
332 status collapsed
333
334 \begin_layout Plain Layout
335 Hint: Emphasize!
336 \end_layout
337
338 \end_inset
339
340  to talk about them.
341  Here's a list of just a few.
342 \end_layout
343
344 \begin_layout Standard
345 * \SpecialCharNoPassThru LyX
346  worries about margins, and footnote numbering for you
347 \end_layout
348
349 \begin_layout Standard
350 * \SpecialCharNoPassThru LyX
351  makes it simple to write and edit mathematical formulae
352 \end_layout
353
354 \begin_layout Standard
355 For a more philosophical discussion of why \SpecialCharNoPassThru LyX
356  is better than lots of other
357  word processors, see Section 1.2, which can be found on page 1.
358 \begin_inset Note Note
359 status collapsed
360
361 \begin_layout Plain Layout
362 Hint: Probably, these CROSS-REFERENCES shouldn't be
363 \end_layout
364
365 \begin_layout Plain Layout
366 "hard-coded".
367  What if we change the section numbers?
368 \end_layout
369
370 \end_inset
371
372
373 \end_layout
374
375 \begin_layout Standard
376 3.
377  Lame attempts to use other \SpecialCharNoPassThru LyX
378  stuff
379 \end_layout
380
381 \begin_layout Standard
382 I wrote a program the other day.
383  It looked like this.
384 \end_layout
385
386 \begin_layout Standard
387 5 REMARK MY AWESOME PROGRAM
388 \end_layout
389
390 \begin_layout Standard
391 10 PRINT 
392 \begin_inset Quotes eld
393 \end_inset
394
395 I'M AWESOME!
396 \begin_inset Quotes erd
397 \end_inset
398
399
400 \end_layout
401
402 \begin_layout Standard
403 20 GOTO 10 
404 \begin_inset Note Note
405 status collapsed
406
407 \begin_layout Plain Layout
408 Hint: This is computer CODE
409 \end_layout
410
411 \end_inset
412
413
414 \end_layout
415
416 \begin_layout Standard
417 After all that scientific thinking, I started feeling more artistic, so
418  I wrote this haiku
419 \end_layout
420
421 \begin_layout Standard
422 \SpecialCharNoPassThru LyX
423  is really great
424 \end_layout
425
426 \begin_layout Standard
427 Typesetting word processor
428 \end_layout
429
430 \begin_layout Standard
431 It saves so much time 
432 \begin_inset Note Note
433 status collapsed
434
435 \begin_layout Plain Layout
436 Hint: It's not very good, but it is poetry,
437 \end_layout
438
439 \begin_layout Plain Layout
440 otherwise known as VERSE
441 \end_layout
442
443 \end_inset
444
445
446 \end_layout
447
448 \begin_layout Standard
449 4.
450  Math Stuff
451 \begin_inset Note Note
452 status collapsed
453
454 \begin_layout Plain Layout
455 Hint: these math things should be printed in math mode!
456 \end_layout
457
458 \end_inset
459
460
461 \end_layout
462
463 \begin_layout Standard
464 My favorite equation is the solution to a quadratic equation.
465  If ax^2+bx+c=0 (eq.1), then x= -b + or minus the square root of b^2-4ac
466  all divided by 2a (eq.
467  2).
468 \end_layout
469
470 \begin_layout Standard
471 Another favorite equation is the basis of calculus: f'(x) is defined as
472  the limit as deltax goes to zero of f(x+deltax) - f(x) divided by deltax
473  (eq.
474  3).
475 \end_layout
476
477 \begin_layout Standard
478 \threehyphens
479 \threehyphens
480 \threehyphens
481 \threehyphens
482 \threehyphens
483 \threehyphens
484 \threehyphens
485 \threehyphens
486 \threehyphens
487 \threehyphens
488 \threehyphens
489 \threehyphens
490 \threehyphens
491 \threehyphens
492 \threehyphens
493 \threehyphens
494 \end_layout
495
496 \begin_layout Standard
497 REFERENCES
498 \end_layout
499
500 \begin_layout Standard
501 [1] Lamport, Leslie.
502  \SpecialCharNoPassThru LaTeX
503 : A Document Preparation System.
504  Addison-Wesley, Reading, Massachusetts, second edition, 1994.
505 \end_layout
506
507 \end_body
508 \end_document