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