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