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