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