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