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