]> git.lyx.org Git - lyx.git/blob - lib/examples/example_lyxified.lyx
seminar.lyx: mention Günter as author
[lyx.git] / lib / examples / example_lyxified.lyx
1 #LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 341
3 \begin_document
4 \begin_header
5 \textclass article
6 \language english
7 \inputencoding default
8 \font_roman default
9 \font_sans default
10 \font_typewriter default
11 \font_default_family default
12 \font_sc false
13 \font_osf false
14 \font_sf_scale 100
15 \font_tt_scale 100
16
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 Title
44 THIS IS THE TITLE OF THE DOCUMENT
45 \end_layout
46
47 \begin_layout Author
48 by Fee LyX
49 \end_layout
50
51 \begin_layout Date
52 June 12, 1972
53 \end_layout
54
55 \begin_layout Standard
56 \begin_inset CommandInset toc
57 LatexCommand tableofcontents
58
59 \end_inset
60
61
62 \end_layout
63
64 \begin_layout Section
65 Basic Philosophy
66 \end_layout
67
68 \begin_layout Standard
69 The basic philosophy of LyX is that you should worry about the content of
70  what you're writing and not the form.
71 \end_layout
72
73 \begin_layout Subsection
74 How LyX does it
75 \end_layout
76
77 \begin_layout Standard
78 LyX uses LaTeX, a document preparation system designed by Leslie Lamport
79  in 1985.
80  It, in turn, was built up from a typesetting language called TeX, created
81  by Donald Knuth in 1984.
82  LaTeX is designed around a philosophy similar to that of LyX.
83  Leslie Lamport once said (see reference 
84 \begin_inset CommandInset citation
85 LatexCommand cite
86 key "lamport"
87
88 \end_inset
89
90 ):
91 \end_layout
92
93 \begin_layout Quote
94 The function of typographic design is to help the reader understand the
95  author's ideas.
96  For a document to be easy to read, its visual structure must reflect its
97  logical structure.
98  Quotations and computer programs, being logically distinct structural elements,
99  should be distinguished visually from one another....
100  Since LaTeX can't understand your prose, you must explicitly indicate the
101  logical structure by typing special commands....
102  As you are writing your document, you should be concerned with its logical
103  structure, not its visual appearance.
104 \end_layout
105
106 \begin_layout Subsection
107 Why LyX is better
108 \end_layout
109
110 \begin_layout Standard
111 \begin_inset CommandInset label
112 LatexCommand label
113 name "sec:lyxbetter"
114
115 \end_inset
116
117 LyX can be useful to more people than LaTeX.
118  It's considerably easier to learn, because you don't need to learn LaTeX
119  (which is practically a programming language).
120  LyX is basically like other 
121 \begin_inset Quotes eld
122 \end_inset
123
124 What you see is what you get
125 \begin_inset Quotes erd
126 \end_inset
127
128  word processors, except that LyX is 
129 \begin_inset Quotes eld
130 \end_inset
131
132 What you see is what you mean
133 \begin_inset Quotes erd
134 \end_inset
135
136 .
137  In this way, it combines the ease of use of word processors with the power
138  of LaTeX.
139  This is a Good Thing.
140  Also, the file format is platform independent.
141  Best of all, it's FREE!
142 \end_layout
143
144 \begin_layout Section
145 Features of LyX
146 \end_layout
147
148 \begin_layout Standard
149 LyX has many features which make writing documents easier.
150 \begin_inset Foot
151 status collapsed
152
153 \begin_layout Plain Layout
154 After all, why else would you want to use it?
155 \end_layout
156
157 \end_inset
158
159  I'm 
160 \shape italic
161 very excited
162 \shape default
163  to talk about them.
164  Here's a list of just a few.
165 \end_layout
166
167 \begin_layout Itemize
168 LyX worries about margins, and footnote numbering for you
169 \end_layout
170
171 \begin_layout Itemize
172 LyX makes it simple to write and edit mathematical formulae
173 \end_layout
174
175 \begin_layout Standard
176 For a more philosophical discussion of why LyX is better than lots of other
177  word processors, see Section 
178 \begin_inset CommandInset ref
179 LatexCommand ref
180 reference "sec:lyxbetter"
181
182 \end_inset
183
184 , which can be found on page 
185 \begin_inset CommandInset ref
186 LatexCommand pageref
187 reference "sec:lyxbetter"
188
189 \end_inset
190
191 .
192 \end_layout
193
194 \begin_layout Section
195 Lame attempts to use other LyX stuff
196 \end_layout
197
198 \begin_layout Standard
199 I wrote a program the other day.
200  It looked like this.
201 \end_layout
202
203 \begin_layout LyX-Code
204 5 REMARK MY AWESOME PROGRAM
205 \end_layout
206
207 \begin_layout LyX-Code
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 \end_layout
218
219 \begin_layout LyX-Code
220 20 GOTO 10
221 \end_layout
222
223 \begin_layout Standard
224 After all that scientific thinking, I started feeling more artistic, so
225  I wrote this haiku
226 \end_layout
227
228 \begin_layout Verse
229 LyX is really great 
230 \begin_inset Newline newline
231 \end_inset
232
233 Typesetting word processor
234 \begin_inset Newline newline
235 \end_inset
236
237  It saves so much time
238 \end_layout
239
240 \begin_layout Section
241 Math Stuff
242 \end_layout
243
244 \begin_layout Standard
245 My favorite equation is the solution to a quadratic equation.
246  If 
247 \begin_inset Formula $ax^{2}+bx+c=0$
248 \end_inset
249
250  (eq.1), then 
251 \begin_inset Formula $x=\frac{-b\pm\sqrt{b^{2}-4ac}}{2a}$
252 \end_inset
253
254  (eq.
255  2).
256 \end_layout
257
258 \begin_layout Standard
259 Another favorite equation is the basis of calculus: 
260 \begin_inset Formula $f'(x)\equiv\lim_{\Delta x\rightarrow0}\frac{f(x+\Delta x)-f(x)}{\Delta x}$
261 \end_inset
262
263  (eq.
264  3).
265 \end_layout
266
267 \begin_layout Section
268 Notes
269 \end_layout
270
271 \begin_layout Standard
272 A couple notes about LyXifiying this file:
273 \end_layout
274
275 \begin_layout Itemize
276 I was able to remove the lines made with dashes.
277  They were there purely to separate the title and references from the rest
278  of the document.
279  LyX (LaTeX) knows enough to separate these parts of the document with space.
280 \end_layout
281
282 \begin_layout Itemize
283 I didn't bother putting the math equations in display mode.
284  Also, I didn't use LyX' automatic equation numbering, because it's not
285  described in the 
286 \emph on
287 Tutorial
288 \emph default
289 .
290 \end_layout
291
292 \begin_layout Itemize
293 I didn't have to type the word 
294 \begin_inset Quotes eld
295 \end_inset
296
297 References
298 \begin_inset Quotes erd
299 \end_inset
300
301  below.
302  LyX automatically writes it (or the word 
303 \begin_inset Quotes eld
304 \end_inset
305
306 Bibliography,
307 \begin_inset Quotes erd
308 \end_inset
309
310  depending on the textclass) when you select 
311 \family sans
312 Bibliography
313 \family default
314  style.
315 \end_layout
316
317 \begin_layout Bibliography
318 \begin_inset CommandInset bibitem
319 LatexCommand bibitem
320 key "lamport"
321
322 \end_inset
323
324 Lamport, Leslie.
325  
326 \emph on
327 LaTeX: A Document Preparation System.
328
329 \emph default
330  Addison-Wesley, Reading, Massachusetts, second edition, 1994.
331 \end_layout
332
333 \end_body
334 \end_document