]> git.lyx.org Git - lyx.git/blob - lib/examples/example_raw.lyx
small compilation fixes
[lyx.git] / lib / examples / example_raw.lyx
1 #This file was created by <lasgoutt> Fri Dec 10 15:51:46 1999
2 #LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team
3 \lyxformat 2.15
4 \textclass article
5 \language english
6 \inputencoding default
7 \fontscheme default
8 \graphics dvips
9 \paperfontsize 12
10 \spacing single 
11 \papersize letterpaper
12 \paperpackage a4
13 \use_geometry 0
14 \use_amsmath 0
15 \paperorientation portrait
16 \secnumdepth 3
17 \tocdepth 3
18 \paragraph_separation indent
19 \defskip medskip
20 \quotes_language english
21 \quotes_times 2
22 \papercolumns 1
23 \papersides 1
24 \paperpagestyle plain
25
26 \layout Standard
27
28 THIS IS THE TITLE OF THE DOCUMENT 
29 \begin_inset Info Hint: the title should look more like a title
30 \end_inset 
31
32
33 \layout Standard
34
35 by Fee LyX
36 \begin_inset Info Hint: Fee is the AUTHOR
37 \end_inset 
38
39
40 \layout Standard
41
42 June 12, 1972
43 \begin_inset Info Hint: this is a DATE
44 \end_inset 
45
46
47 \layout Standard
48
49 Table of Contents
50 \begin_inset Info Hint: It would be nice if we didn't have to type the Table
51 of Contents explicitly
52 \end_inset 
53
54
55 \layout Standard
56
57 1.
58  Basic Philosophy..................1
59 \layout Standard
60
61 1.1 How LyX Does It...............1
62 \layout Standard
63
64 1.2 Why LyX is Better...............1
65 \layout Standard
66
67 2.
68  Features of LyX
69 \layout Standard
70
71 3.
72  Lame Attempts to use more LyX stuff
73 \layout Standard
74
75 4.
76  Math Stuff
77 \layout Standard
78
79 ---------------------------------------------------
80 \layout Standard
81
82 1.
83  Basic Philosophy
84 \begin_inset Info Hint: Section titles should probably stand out more
85 \end_inset 
86
87
88 \layout Standard
89
90 The basic philosophy of LyX is that you should worry about the content of
91  what you're writing and not the form.
92 \layout Standard
93
94 1.1 How LyX does it
95 \layout Standard
96
97 LyX uses LaTeX, a document preparation system designed by Leslie Lamport
98  in 1985.
99  It, in turn, was built up from a typesetting language called TeX, created
100  by Donald Knuth in 1984.
101  LaTeX is designed around a philosophy similar to that of LyX.
102  Leslie Lamport once said (see reference [1])
103 \begin_inset Info Hint: Probably, this CITATION REFERENCE shouldn't be
104 "hard-coded". What if we make Lamport's book the second
105  item in the bibliography?
106 \end_inset 
107
108 :
109 \layout Standard
110
111
112 \begin_inset Quotes eld
113 \end_inset 
114
115 The function of typographic design is to help the reader understand the
116  author's ideas.
117  For a document to be easy to read, its visual structure must reflect its
118  logical structure.
119  Quotations and computer programs, being logically distinct structural elements,
120  should be distinguished visually from one another....
121  Since LaTeX can't understand your prose, you must explicitly indicate the
122  logical structure by typing special commands....
123  As you are writing your document, you should be concerned with its logical
124  structure, not its visual appearance.
125 \begin_inset Quotes erd
126 \end_inset 
127
128
129 \begin_inset Info Hint: This is a QUOTE
130 \end_inset 
131
132
133 \layout Standard
134
135 1.2 Why LyX is better
136 \layout Standard
137
138 LyX can be useful to more people than LaTeX.
139  It's considerably easier to learn, because you don't need to learn LaTeX
140  (which is practically a programming language).
141  LyX is basically like other 
142 \begin_inset Quotes eld
143 \end_inset 
144
145 What you see is what you get
146 \begin_inset Quotes erd
147 \end_inset 
148
149  word processors, except that LyX is 
150 \begin_inset Quotes eld
151 \end_inset 
152
153 What you see is what you mean
154 \begin_inset Quotes erd
155 \end_inset 
156
157 .
158  In this way, it combines the ease of use of word processors with the power
159  of LaTeX.
160  This is a Good Thing.
161  Also, the file format is platform independent.
162  Best of all, it's FREE!
163 \layout Standard
164
165 2.
166  Features of LyX
167 \layout Standard
168
169 LyX has many features which make writing documents easier.
170  (After all, why else would you want to use it?
171 \begin_inset Info Hint: This parenthetical statement would look better in a footnote
172 \end_inset 
173
174 ) I'm VERY EXCITED
175 \begin_inset Info Hint: Emphasize!
176 \end_inset 
177
178  to talk about them.
179  Here's a list of just a few.
180 \layout Standard
181
182 * LyX worries about margins, and footnote numbering for you
183 \layout Standard
184
185 * LyX makes it simple to write and edit mathematical formulae
186 \layout Standard
187
188 For a more philosophical discussion of why LyX is better than lots of other
189  word processors, see Section 1.2, which can be found on page 1.
190 \begin_inset Info Hint: Probably, these CROSS-REFERENCES shouldn't be
191 "hard-coded". What if we change the section numbers?
192 \end_inset 
193
194
195 \layout Standard
196
197 3.
198  Lame attempts to use other LyX stuff
199 \layout Standard
200
201 I wrote a program the other day.
202  It looked like this.
203 \layout Standard
204
205 5 REMARK MY AWESOME PROGRAM
206 \layout Standard
207
208 10 PRINT 
209 \begin_inset Quotes eld
210 \end_inset 
211
212 I'M AWESOME!
213 \begin_inset Quotes erd
214 \end_inset 
215
216
217 \layout Standard
218
219 20 GOTO 10 
220 \begin_inset Info Hint: This is computer CODE
221 \end_inset 
222
223
224 \layout Standard
225
226 After all that scientific thinking, I started feeling more artistic, so
227  I wrote this haiku
228 \layout Standard
229
230 LyX is really great
231 \layout Standard
232
233 Typesetting word processor
234 \layout Standard
235
236 It saves so much time 
237 \begin_inset Info Hint: It's not very good, but it is poetry,
238 otherwise known as VERSE
239 \end_inset 
240
241
242 \layout Standard
243
244 4.
245  Math Stuff
246 \begin_inset Info Hint: these math things should be printed in math mode!
247 \end_inset 
248
249
250 \layout Standard
251
252 My favorite equation is the solution to a quadratic equation.
253  If ax^2+bx+c=0 (eq.1), then x= -b + or minus the square root of b^2-4ac
254  all divided by 2a (eq.
255  2).
256 \layout Standard
257
258 Another favorite equation is the basis of calculus: f'(x) is defined as
259  the limit as deltax goes to zero of f(x+deltax) - f(x) divided by deltax
260  (eq.
261  3).
262 \layout Standard
263
264 ------------------------------------------------
265 \layout Standard
266
267 REFERENCES
268 \layout Standard
269
270 [1] Lamport, Leslie.
271  LaTeX: A Document Preparation System.
272  Addison-Wesley, Reading, Massachusetts, second edition, 1994.
273 \the_end