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