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