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