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