]> git.lyx.org Git - lyx.git/blob - lib/examples/gl/exemplo_lyxificado.lyx
Adding the capability to paste as simple unformatted text.
[lyx.git] / lib / examples / gl / exemplo_lyxificado.lyx
1 #LyX 2.0 created this file. For more info see http://www.lyx.org/
2 \lyxformat 413
3 \begin_document
4 \begin_header
5 \textclass article
6 \use_default_options false
7 \maintain_unincluded_children false
8 \language galician
9 \language_package default
10 \inputencoding auto
11 \fontencoding global
12 \font_roman default
13 \font_sans default
14 \font_typewriter default
15 \font_default_family default
16 \use_non_tex_fonts false
17 \font_sc false
18 \font_osf false
19 \font_sf_scale 100
20 \font_tt_scale 100
21
22 \graphics default
23 \default_output_format default
24 \output_sync 0
25 \bibtex_command default
26 \index_command default
27 \paperfontsize 12
28 \spacing single
29 \use_hyperref false
30 \papersize default
31 \use_geometry false
32 \use_amsmath 0
33 \use_esint 0
34 \use_mhchem 1
35 \use_mathdots 1
36 \cite_engine basic
37 \use_bibtopic false
38 \use_indices false
39 \paperorientation portrait
40 \suppress_date false
41 \use_refstyle 0
42 \index Índice
43 \shortcut idx
44 \color #008000
45 \end_index
46 \secnumdepth 3
47 \tocdepth 3
48 \paragraph_separation indent
49 \paragraph_indentation default
50 \quotes_language english
51 \papercolumns 1
52 \papersides 1
53 \paperpagestyle plain
54 \tracking_changes false
55 \output_changes false
56 \html_math_output 0
57 \html_css_as_file 0
58 \html_be_strict false
59 \end_header
60
61 \begin_body
62
63 \begin_layout Title
64 ESTE É O TÍTULO DO DOCUMENTO
65 \end_layout
66
67 \begin_layout Author
68 por Pepe LyX
69 \end_layout
70
71 \begin_layout Date
72 12 de Xuño de 1972
73 \end_layout
74
75 \begin_layout Standard
76 \begin_inset CommandInset toc
77 LatexCommand tableofcontents
78
79 \end_inset
80
81
82 \end_layout
83
84 \begin_layout Section
85 Filosofia básica 
86 \end_layout
87
88 \begin_layout Standard
89 A filosofia básica de LyX é conseguir que o usuário só se deba preocupar
90  do contido do documento e non do formato.
91 \end_layout
92
93 \begin_layout Subsection
94 Como o traballa o LyX
95 \end_layout
96
97 \begin_layout Standard
98 LyX basea-se no LaTeX, un sistema de preparación de documentos deseñado
99  por Leslie Lamport en 1985.
100  Por sua vez o LaTeX elaborou-se sobre unha linguaxe tipográfica chamada
101  TeX, criada por Donald Knuth en 1984.
102  Por outra banda a filosofia do LaTeX é similar á de LyX.
103  Leslie Lamport dixo (ver referéncia 
104 \begin_inset CommandInset citation
105 LatexCommand cite
106 key "Lamport"
107
108 \end_inset
109
110 ) :
111 \end_layout
112
113 \begin_layout Quote
114 "A función do deseño tipográfico é axudar ao leitor a comprender as ideas
115  do autor.
116  Para un documento ser de fácil leitura, a sua estrutura visual debe reflectir
117  a sua estrutura lóxica.
118  As citas e os programas de computador, sendo elementos estruturalmente
119  diferentes, deberian distinguir-se visualmente un de outro [...] Como LaTeX
120  non pode entender directamente o sentido do seu texto, debe indicar-lle
121  a estrutura lóxica mediante comandos especiais [...] Entanto escrebe o documento,
122  deberia preocupar-se da sua estrutura lóxica, non da sua aparéncia."
123 \end_layout
124
125 \begin_layout Subsection
126 Por que o LyX é mellor
127 \end_layout
128
129 \begin_layout Standard
130 \begin_inset CommandInset label
131 LatexCommand label
132 name "sub:LyX-mellor"
133
134 \end_inset
135
136 LyX pode ser útil a mais xente que LaTeX.
137  É considerabelmente mais doado de aprender, pois non é como LaTeX unha
138  linguaxe de programazón.
139  LyX é basicamente como outros procesadores de texto "WYSIWYG (o que vé
140  é o que obtén), agás que o LyX realmente é WYSIWYM (o que vé é o que pretende
141  facer).
142  De maneira que combina a facilidade de uso dos procesadores de texto coa
143  poténcia do LaTeX.
144  O cal é unha boa cousa.
145  Ademais, o formato de arquivo é independente do sistema operativo.
146  E o mellor de todo, é LIBRE!
147 \end_layout
148
149 \begin_layout Section
150 Características do LyX
151 \end_layout
152
153 \begin_layout Standard
154 LyX posui moitas características que facilitan a escrita de documentos
155 \begin_inset Foot
156 status collapsed
157
158 \begin_layout Plain Layout
159 Senón, porque o ia querer usar?
160 \end_layout
161
162 \end_inset
163
164 .
165  E a min 
166 \emph on
167 agrada-me
168 \emph default
169  moito poder falar delas.
170  Eis unha pequena lista:
171 \end_layout
172
173 \begin_layout Itemize
174 O LyX encarrega-se sen intervención do usuário das marxes e a numeración
175  das notas de rodapé.
176 \end_layout
177
178 \begin_layout Itemize
179 LyX facilita a escrita e edición de fórmulas matemáticas.
180 \end_layout
181
182 \begin_layout Standard
183 Para unha discusión mais filosófica de por que LyX é mellor que a competéncia
184  vexa a sección 
185 \begin_inset CommandInset ref
186 LatexCommand ref
187 reference "sub:LyX-mellor"
188
189 \end_inset
190
191 , que se acha na páxina 
192 \begin_inset CommandInset ref
193 LatexCommand pageref
194 reference "sub:LyX-mellor"
195
196 \end_inset
197
198 .
199 \end_layout
200
201 \begin_layout Section
202 Tentivas eivadas de empregar máis facilidades do LyX
203 \end_layout
204
205 \begin_layout Standard
206 O outro dia escrebin un programa, algo asi como:
207 \end_layout
208
209 \begin_layout LyX-Code
210 5 REMARK O MEU MAGNIFICO PROGRAMA
211 \end_layout
212
213 \begin_layout LyX-Code
214 10 PRINT "SON INIGUALÁBEL!"
215 \end_layout
216
217 \begin_layout LyX-Code
218 20 GOTO 10 
219 \end_layout
220
221 \begin_layout Standard
222 Após desta inxente lavoura informática, arrebatou-me unha vea poética e
223  escrebin este haiku:
224 \end_layout
225
226 \begin_layout Verse
227 LyX, veloz palilleira
228 \begin_inset Newline newline
229 \end_inset
230
231 teces as miñas palabras
232 \begin_inset Newline newline
233 \end_inset
234
235 nunha fermosa renda de letras.
236 \end_layout
237
238 \begin_layout Section
239 Cuestións matemáticas
240 \end_layout
241
242 \begin_layout Standard
243 A miña ecuación favorita é a solución da ecuación de segundo grau.
244  Se 
245 \begin_inset Formula $a^{2}+bx+c=0$
246 \end_inset
247
248  (ec.
249  1), entón 
250 \begin_inset Formula $x=\frac{-b\pm\sqrt{b^{2}-4ac}}{2a}$
251 \end_inset
252
253  (ec.
254  2).
255  
256 \end_layout
257
258 \begin_layout Standard
259 Outra das miñas ecuacións favoritas é base do cálculo: 
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  (ec.
264  3).
265 \end_layout
266
267 \begin_layout Section
268 Notes
269 \end_layout
270
271 \begin_layout Standard
272 Tres cousiñas sobre este ficheiro:
273 \end_layout
274
275 \begin_layout Itemize
276 Eliminei as liñas a trazos que separaban o título e a bibliografia do resto
277  do documento.
278  O LyX (LaTeX) xa separa tais partes do documento con os espazos axeitados.
279 \end_layout
280
281 \begin_layout Itemize
282 Non coloquei as fórmulas en liñas independentes, nen usei a numeración automátic
283 a que fornece o LyX, porque non se descreben no 
284 \emph on
285 Tutorial
286 \emph default
287 .
288 \end_layout
289
290 \begin_layout Itemize
291 Non é necesário dixitar a palabra 
292 \begin_inset Quotes eld
293 \end_inset
294
295 References
296 \begin_inset Quotes erd
297 \end_inset
298
299  que vai a seguir, xa que o LyX a escrebe automaticamente (ou ben a palabra
300  
301 \begin_inset Quotes eld
302 \end_inset
303
304 Bibliography,
305 \begin_inset Quotes erd
306 \end_inset
307
308  segundo a clase de documento) ao seleccionar o ambiente 
309 \family sans
310 Bibliografia
311 \family default
312 .
313 \end_layout
314
315 \begin_layout Bibliography
316 \labelwidthstring Referéncias
317 \begin_inset CommandInset bibitem
318 LatexCommand bibitem
319 key "Lamport"
320
321 \end_inset
322
323 Lamport, Leslie.
324  
325 \emph on
326 LaTeX: A Document Preparation System.
327
328 \emph default
329  Addison-Wesley, Reading, Massachusetts, second edition, 1994.
330 \end_layout
331
332 \end_body
333 \end_document