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