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