]> git.lyx.org Git - lyx.git/blob - lib/examples/sl/primer_lyxan.lyx
example files: save all with latest 2.2.git (part 2/2)
[lyx.git] / lib / examples / sl / primer_lyxan.lyx
1 #LyX 2.2 created this file. For more info see http://www.lyx.org/
2 \lyxformat 504
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin /systemlyxdir/examples/sl/
7 \textclass article
8 \use_default_options false
9 \maintain_unincluded_children false
10 \language slovene
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 default
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 Stvarno kazalo
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 german
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 To je naslov vašega spisa
76 \end_layout
77
78 \begin_layout Author
79 Fe \SpecialChar LyX
80
81 \end_layout
82
83 \begin_layout Date
84 12.
85  junij 1972
86 \end_layout
87
88 \begin_layout Standard
89 \begin_inset CommandInset toc
90 LatexCommand tableofcontents
91
92 \end_inset
93
94
95 \end_layout
96
97 \begin_layout Section
98 Temeljna filozofija
99 \end_layout
100
101 \begin_layout Standard
102 Temeljna filozofija \SpecialChar LyX
103 a je, da naj bi se posvečali vsebini tistega, o čemer
104  pišemo, ne obliki.
105 \end_layout
106
107 \begin_layout Subsection
108 Kako se stvari loteva \SpecialChar LyX
109
110 \end_layout
111
112 \begin_layout Standard
113 \SpecialChar LyX
114  uporablja \SpecialChar LaTeX
115 , sistem za pripravljanje spisov, ki ga je leta 1985 zasnoval
116  Leslie Lamport.
117  \SpecialChar LaTeX
118  pa temelji na stavnem jeziku, imenovanem \SpecialChar TeX
119 , ki ga je leta 1984 ustvaril
120  Donald Knuth.
121  Filozofija \SpecialChar LaTeX
122 a je podobna filozofiji \SpecialChar LyX
123 a.
124  Leslie Lamport je nekoč rekel (glej vir 
125 \begin_inset CommandInset citation
126 LatexCommand cite
127 key "lamport"
128
129 \end_inset
130
131 ):
132 \end_layout
133
134 \begin_layout Quote
135 Tipografsko oblikovanje naj bi pomagalo bralcu razumeti avtorjeve zamisli.
136  Da bi bilo spis lahko brati, mora njegova zunanja podoba odsevati njegovo
137  logično zgradbo.
138  Navedki in računalniški programi, ki so logično različni strukturni elementi,
139  bi se morali med seboj na pogled razlikovati\SpecialChar ldots
140  Ker \SpecialChar LaTeX
141  ne more razumeti vaše
142  poezije, morate izrecno označiti logično strukturo z vnosom posebnih ukazov\SpecialChar ldots
143
144  Med pisanjem bi se morali ukvarjati z logično zgradbo spisa, ne pa z njegovo
145  zunanjo podobo.
146 \end_layout
147
148 \begin_layout Subsection
149 \begin_inset CommandInset label
150 LatexCommand label
151 name "sec:lyxbetter"
152
153 \end_inset
154
155 Zakaj je \SpecialChar LyX
156  boljši
157 \end_layout
158
159 \begin_layout Standard
160 \SpecialChar LyX
161  je uporaben za več ljudi kot \SpecialChar LaTeX
162 .
163  Precej lažje se ga je naučiti, saj ni treba znati \SpecialChar LaTeX
164 a (ki je praktično programski
165  jezik).
166  \SpecialChar LyX
167  je pravzaprav tak kot drugi urejevalniki besedil tipa 
168 \begin_inset Quotes gld
169 \end_inset
170
171 to, kar vidiš, to tudi dobiš
172 \begin_inset Quotes grd
173 \end_inset
174
175 , le da je vrste 
176 \begin_inset Quotes gld
177 \end_inset
178
179 to, kar vidiš, to tudi misliš
180 \begin_inset Quotes grd
181 \end_inset
182
183 .
184  Tako združuje preprostost uporabe urejevalnikov besedil z močjo \SpecialChar LaTeX
185 a.
186  To je Dobra Stvar.
187  Tudi datotečni format je neodvisen od platforme.
188  Najboljše od vsega pa je, da je 
189 \emph on
190 prost
191 \emph default
192 !
193 \end_layout
194
195 \begin_layout Section
196 Odlike \SpecialChar LyX
197 a
198 \end_layout
199
200 \begin_layout Standard
201 \SpecialChar LyX
202  ima številne odlike, ki nam olajšajo pisanje spisov.
203 \begin_inset Foot
204 status collapsed
205
206 \begin_layout Plain Layout
207 Navsezadnje, le zakaj bi ga drugače sploh želeli uporabljati?
208 \end_layout
209
210 \end_inset
211
212  
213 \emph on
214 Zelo me veseli
215 \emph default
216 , da lahko pišem o tem.
217  Omenimo le dve odliki \SpecialChar LyX
218 a:
219 \end_layout
220
221 \begin_layout Itemize
222 Namesto vas skrbi za robove in številči opombe v nogi.
223 \end_layout
224
225 \begin_layout Itemize
226 Olajša pisanje in urejanje matematičnih obrazcev.
227 \end_layout
228
229 \begin_layout Standard
230 Bolj filozofsko razpravo o tem, zakaj je \SpecialChar LyX
231  boljši od drugih urejevalnikov
232  besedil, pa boste našli v razdelku 
233 \begin_inset CommandInset ref
234 LatexCommand ref
235 reference "sec:lyxbetter"
236
237 \end_inset
238
239  na strani 
240 \begin_inset CommandInset ref
241 LatexCommand pageref
242 reference "sec:lyxbetter"
243
244 \end_inset
245
246 .
247 \end_layout
248
249 \begin_layout Section
250 Nerodni poskusi uporabe \SpecialChar LyX
251 a
252 \end_layout
253
254 \begin_layout Standard
255 Zadnjič sem napisal program, podoben spodnjemu:
256 \end_layout
257
258 \begin_layout LyX-Code
259 5 REM MOJ STRAŠNI PROGRAM
260 \begin_inset Newline newline
261 \end_inset
262
263 10 PRINT "STRAŠEN SEM!"
264 \begin_inset Newline newline
265 \end_inset
266
267 20 GOTO 10
268 \end_layout
269
270 \begin_layout Standard
271 Po tem učenem razmišljanju me je nenadoma preplavilo bolj umetniško razpoloženje
272  in napisal sem tale haiku
273 \end_layout
274
275 \begin_layout Verse
276 \SpecialChar LyX
277  je zares čudovit
278 \begin_inset Newline newline
279 \end_inset
280
281 stavni urejevalnik besedil
282 \begin_inset Newline newline
283 \end_inset
284
285 prihrani mi toliko časa
286 \end_layout
287
288 \begin_layout Section
289 Matematične zadevščine
290 \end_layout
291
292 \begin_layout Standard
293 Najbolj so mi pri srcu enačbe za rešitev kvadratne enačbe.
294  Če je 
295 \begin_inset Formula $ax^{2}+bx+c=0$
296 \end_inset
297
298  (en.
299  1), potem je 
300 \begin_inset Formula $x=\frac{-b\pm\sqrt{b^{2}-4ac}}{2a}$
301 \end_inset
302
303  (en.
304  2).
305 \end_layout
306
307 \begin_layout Standard
308 Druga priljubljena enačba je temelj matematične analize: 
309 \begin_inset Formula $f'(x)\equiv\lim_{\Delta x\rightarrow0}\frac{f(x+\Delta x)-f(x)}{\Delta x}$
310 \end_inset
311
312  (en.
313  3).
314 \end_layout
315
316 \begin_layout Section
317 Opazke
318 \end_layout
319
320 \begin_layout Standard
321 Nekaj opazk o \SpecialChar LyX
322 anju te datoteke:
323 \end_layout
324
325 \begin_layout Itemize
326 Vrstice z vezaji, sem lahko odstranil.
327  Njihova edina naloga je bila, da so ločevale naslove in vire od preostanka
328  spisa.
329  \SpecialChar LyX
330  (\SpecialChar LaTeX
331 ) ve dovolj, da loči te dele spisa z razmikom.
332 \end_layout
333
334 \begin_layout Itemize
335 Nisem se trudil z vstavljanjem matematičnih enačb v prikazni način.
336  Tudi samodejnega številčenja enačb, ki ga pozna \SpecialChar LyX
337 , nisem uporabljal, saj
338  to ni opisano v 
339 \emph on
340 Učbeniku
341 \emph default
342 .
343 \end_layout
344
345 \begin_layout Itemize
346 Ni mi bilo treba vpisati besede 
347 \begin_inset Quotes gld
348 \end_inset
349
350 Literatura
351 \begin_inset Quotes grd
352 \end_inset
353
354  (v \SpecialChar LyX
355 -u pravzaprav 
356 \begin_inset Quotes gld
357 \end_inset
358
359 References
360 \begin_inset Quotes grd
361 \end_inset
362
363  ali 
364 \begin_inset Quotes gld
365 \end_inset
366
367 Bibliography
368 \begin_inset Quotes grd
369 \end_inset
370
371 , v izhodu pa ob slovenskih nastavitvah 
372 \begin_inset Quotes gld
373 \end_inset
374
375 Literatura
376 \begin_inset Quotes grd
377 \end_inset
378
379 ).
380  \SpecialChar LyX
381  jo samodejno zapiše, ko izberete okolje 
382 \family sans
383 Bibliography
384 \family default
385 .
386 \end_layout
387
388 \begin_layout Bibliography
389 \begin_inset CommandInset bibitem
390 LatexCommand bibitem
391 key "lamport"
392
393 \end_inset
394
395 Lamport, Leslie.
396  
397 \emph on
398 \SpecialChar LaTeX
399 : A Document Preparation System
400 \emph default
401 ; Addison-Wesley, Reading, Massachusetts, druga izdaja, 1994.
402 \end_layout
403
404 \end_body
405 \end_document