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