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