]> git.lyx.org Git - lyx.git/blob - lib/examples/example_lyxified.lyx
Check path of Qt tools if qtchooser is detected
[lyx.git] / lib / examples / example_lyxified.lyx
1 #LyX 2.2 created this file. For more info see http://www.lyx.org/
2 \lyxformat 508
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 \graphics default
25 \default_output_format default
26 \output_sync 0
27 \bibtex_command default
28 \index_command default
29 \paperfontsize 12
30 \spacing single
31 \use_hyperref false
32 \papersize default
33 \use_geometry false
34 \use_package amsmath 0
35 \use_package amssymb 0
36 \use_package cancel 0
37 \use_package esint 0
38 \use_package mathdots 1
39 \use_package mathtools 0
40 \use_package mhchem 1
41 \use_package stackrel 0
42 \use_package stmaryrd 0
43 \use_package undertilde 0
44 \cite_engine basic
45 \cite_engine_type default
46 \biblio_style plain
47 \use_bibtopic false
48 \use_indices false
49 \paperorientation portrait
50 \suppress_date false
51 \justification true
52 \use_refstyle 0
53 \index Index
54 \shortcut idx
55 \color #008000
56 \end_index
57 \secnumdepth 3
58 \tocdepth 3
59 \paragraph_separation indent
60 \paragraph_indentation default
61 \quotes_language english
62 \papercolumns 1
63 \papersides 1
64 \paperpagestyle plain
65 \tracking_changes false
66 \output_changes false
67 \html_math_output 0
68 \html_css_as_file 0
69 \html_be_strict false
70 \end_header
71
72 \begin_body
73
74 \begin_layout Title
75 THIS IS THE TITLE OF THE DOCUMENT
76 \end_layout
77
78 \begin_layout Author
79 by Fee \SpecialChar LyX
80
81 \end_layout
82
83 \begin_layout Date
84 June 12, 1972
85 \end_layout
86
87 \begin_layout Standard
88 \begin_inset CommandInset toc
89 LatexCommand tableofcontents
90
91 \end_inset
92
93
94 \end_layout
95
96 \begin_layout Section
97 Basic Philosophy
98 \end_layout
99
100 \begin_layout Standard
101 The basic philosophy of \SpecialChar LyX
102  is that you should worry about the content of what
103  you're writing and not the form.
104 \end_layout
105
106 \begin_layout Subsection
107 How \SpecialChar LyX
108  does it
109 \end_layout
110
111 \begin_layout Standard
112 \SpecialChar LyX
113  uses \SpecialChar LaTeX
114 , a document preparation system designed by Leslie Lamport in 1985.
115  It, in turn, was built up from a typesetting language called \SpecialChar TeX
116 , created
117  by Donald Knuth in 1984.
118  \SpecialChar LaTeX
119  is designed around a philosophy similar to that of \SpecialChar LyX
120 .
121  Leslie Lamport once said (see reference 
122 \begin_inset CommandInset citation
123 LatexCommand cite
124 key "lamport"
125
126 \end_inset
127
128 ):
129 \end_layout
130
131 \begin_layout Quote
132 The function of typographic design is to help the reader understand the
133  author's ideas.
134  For a document to be easy to read, its visual structure must reflect its
135  logical structure.
136  Quotations and computer programs, being logically distinct structural elements,
137  should be distinguished visually from one another....
138  Since \SpecialChar LaTeX
139  can't understand your prose, you must explicitly indicate the logical
140  structure by typing special commands....
141  As you are writing your document, you should be concerned with its logical
142  structure, not its visual appearance.
143 \end_layout
144
145 \begin_layout Subsection
146 Why \SpecialChar LyX
147  is better
148 \begin_inset CommandInset label
149 LatexCommand label
150 name "sec:lyxbetter"
151
152 \end_inset
153
154
155 \end_layout
156
157 \begin_layout Standard
158 \SpecialChar LyX
159  can be useful to more people than \SpecialChar LaTeX
160 .
161  It's considerably easier to learn, because you don't need to learn \SpecialChar LaTeX
162  (which
163  is practically a programming language).
164  \SpecialChar LyX
165  is basically like other 
166 \begin_inset Quotes eld
167 \end_inset
168
169 What you see is what you get
170 \begin_inset Quotes erd
171 \end_inset
172
173  word processors, except that \SpecialChar LyX
174  is 
175 \begin_inset Quotes eld
176 \end_inset
177
178 What you see is what you mean
179 \begin_inset Quotes erd
180 \end_inset
181
182 .
183  In this way, it combines the ease of use of word processors with the power
184  of \SpecialChar LaTeX
185 .
186  This is a Good Thing.
187  Also, the file format is platform independent.
188  Best of all, it's FREE!
189 \end_layout
190
191 \begin_layout Section
192 Features of \SpecialChar LyX
193
194 \end_layout
195
196 \begin_layout Standard
197 \SpecialChar LyX
198  has many features which make writing documents easier.
199 \begin_inset Foot
200 status collapsed
201
202 \begin_layout Plain Layout
203 After all, why else would you want to use it?
204 \end_layout
205
206 \end_inset
207
208  I'm 
209 \shape italic
210 very excited
211 \shape default
212  to talk about them.
213  Here's a list of just a few.
214 \end_layout
215
216 \begin_layout Itemize
217 \SpecialChar LyX
218  worries about margins, and footnote numbering for you
219 \end_layout
220
221 \begin_layout Itemize
222 \SpecialChar LyX
223  makes it simple to write and edit mathematical formulae
224 \end_layout
225
226 \begin_layout Standard
227 For a more philosophical discussion of why \SpecialChar LyX
228  is better than lots of other
229  word processors, see Section
230 \begin_inset space ~
231 \end_inset
232
233
234 \begin_inset CommandInset ref
235 LatexCommand ref
236 reference "sec:lyxbetter"
237
238 \end_inset
239
240 , which can be found on page
241 \begin_inset space ~
242 \end_inset
243
244
245 \begin_inset CommandInset ref
246 LatexCommand pageref
247 reference "sec:lyxbetter"
248
249 \end_inset
250
251 .
252 \end_layout
253
254 \begin_layout Section
255 Lame attempts to use other \SpecialChar LyX
256  stuff
257 \end_layout
258
259 \begin_layout Standard
260 I wrote a program the other day.
261  It looked like this.
262 \end_layout
263
264 \begin_layout LyX-Code
265 5 REMARK MY AWESOME PROGRAM
266 \end_layout
267
268 \begin_layout LyX-Code
269 10 PRINT 
270 \begin_inset Quotes eld
271 \end_inset
272
273 I'M AWESOME!
274 \begin_inset Quotes erd
275 \end_inset
276
277
278 \end_layout
279
280 \begin_layout LyX-Code
281 20 GOTO 10
282 \end_layout
283
284 \begin_layout Standard
285 After all that scientific thinking, I started feeling more artistic, so
286  I wrote this haiku
287 \end_layout
288
289 \begin_layout Verse
290 \SpecialChar LyX
291  is really great 
292 \begin_inset Newline newline
293 \end_inset
294
295 Typesetting word processor
296 \begin_inset Newline newline
297 \end_inset
298
299  It saves so much time
300 \end_layout
301
302 \begin_layout Section
303 Math Stuff
304 \end_layout
305
306 \begin_layout Standard
307 My favorite equation is the solution to a quadratic equation.
308  If 
309 \begin_inset Formula $ax^{2}+bx+c=0$
310 \end_inset
311
312  (eq.1), then 
313 \begin_inset Formula $x=\frac{-b\pm\sqrt{b^{2}-4ac}}{2a}$
314 \end_inset
315
316  (eq.
317  2).
318 \end_layout
319
320 \begin_layout Standard
321 Another favorite equation is the basis of calculus: 
322 \begin_inset Formula $f'(x)\equiv\lim_{\Delta x\rightarrow0}\frac{f(x+\Delta x)-f(x)}{\Delta x}$
323 \end_inset
324
325  (eq.
326  3).
327 \end_layout
328
329 \begin_layout Section
330 Notes
331 \end_layout
332
333 \begin_layout Standard
334 A couple notes about \SpecialChar LyX
335 ifiying this file:
336 \end_layout
337
338 \begin_layout Itemize
339 I was able to remove the lines made with dashes.
340  They were there purely to separate the title and references from the rest
341  of the document.
342  \SpecialChar LyX
343  (\SpecialChar LaTeX
344 ) knows enough to separate these parts of the document with space.
345 \end_layout
346
347 \begin_layout Itemize
348 I didn't bother putting the math equations in display mode.
349  Also, I didn't use \SpecialChar LyX
350 ' automatic equation numbering, because it's not described
351  in the 
352 \emph on
353 Tutorial
354 \emph default
355 .
356 \end_layout
357
358 \begin_layout Itemize
359 I didn't have to type the word 
360 \begin_inset Quotes eld
361 \end_inset
362
363 References
364 \begin_inset Quotes erd
365 \end_inset
366
367  below.
368  \SpecialChar LyX
369  automatically writes it (or the word 
370 \begin_inset Quotes eld
371 \end_inset
372
373 Bibliography,
374 \begin_inset Quotes erd
375 \end_inset
376
377  depending on the textclass) when you select 
378 \family sans
379 Bibliography
380 \family default
381  style.
382 \end_layout
383
384 \begin_layout Bibliography
385 \begin_inset CommandInset bibitem
386 LatexCommand bibitem
387 key "lamport"
388
389 \end_inset
390
391 Lamport, Leslie.
392  
393 \emph on
394 \SpecialChar LaTeX
395 : A Document Preparation System.
396
397 \emph default
398  Addison-Wesley, Reading, Massachusetts, second edition, 1994.
399 \end_layout
400
401 \end_body
402 \end_document