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