]> git.lyx.org Git - lyx.git/blob - lib/examples/cs/priklad_zLyXovany.lyx
Fix some comments about the enumitem module.
[lyx.git] / lib / examples / cs / priklad_zLyXovany.lyx
1 #LyX 2.2 created this file. For more info see http://www.lyx.org/
2 \lyxformat 508
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin /systemlyxdir/examples/cs/
7 \textclass article
8 \use_default_options true
9 \maintain_unincluded_children false
10 \language czech
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 12
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 1
53 \index Index
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 TOTO JE NÁZEV DOKUMENTU
76 \end_layout
77
78 \begin_layout Author
79 napsal Fe \SpecialChar LyX
80
81 \end_layout
82
83 \begin_layout Date
84 30.
85  března 2011
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 Základní filosofie
99 \end_layout
100
101 \begin_layout Standard
102 Základní filosofií \SpecialChar LyX
103 u je, že byste se měli starat o obsah toho, co píšete,
104  a ne o formu.
105 \end_layout
106
107 \begin_layout Subsection
108 Jak to dělá \SpecialChar LyX
109
110 \end_layout
111
112 \begin_layout Standard
113 \SpecialChar LyX
114  používá \SpecialChar LaTeX
115 , systém pro přípravu dokumentů, který vytvořil Leslie Lamport
116  v roce 1985.
117  Tento systém je zase postaven nad sázecím jazykem zvaným \SpecialChar TeX
118 , vytvořeným Donaldem
119  Knuthem roku 1984.
120  \SpecialChar LaTeX
121  je postaven na podobné filosofii jako \SpecialChar LyX
122 .
123  Leslie Lamport jednou řekl (viz.
124  
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 Účelem typografického designu je pomoct čtenáři pochopit autorovy myšlenky.
136  Aby byl dokument snadno čitelný, musí jeho vizuální struktura odpovídat
137  jeho logické struktuře.
138  Logicky rozdílné části textu, jako třeba citáty a počítačové programy,
139  by měly být rozdílné i co se týče vzhledu...
140  Protože \SpecialChar LaTeX
141  nerozumí vašemu textu, musíte explicitně vyjádřit logickou strukturu
142  napsáním speciálních příkazů.
143  Při psaní dokumentu byste se měli zabývat jeho logickou strukturou a ne
144  jeho výsledným vzhledem.
145 \end_layout
146
147 \begin_layout Subsection
148 Proč je \SpecialChar LyX
149  lepší
150 \end_layout
151
152 \begin_layout Standard
153 \begin_inset CommandInset label
154 LatexCommand label
155 name "subsec:LyX_lepsi"
156
157 \end_inset
158
159 \SpecialChar LyX
160  může být užitečný pro více lidí než \SpecialChar LaTeX
161 .
162  Naučit se s ním pracovat je mnohem jednodušší, protože se nemusíte učit
163  \SpecialChar LaTeX
164  (což je v podstatě programovací jazyk).
165  \SpecialChar LyX
166  je podobný ostatním textovým procesorům typu 
167 \begin_inset Quotes gld
168 \end_inset
169
170 what you see is what you get
171 \begin_inset Quotes grd
172 \end_inset
173
174  (vidíš to, co dostaneš) až na to, že \SpecialChar LyX
175  je 
176 \begin_inset Quotes gld
177 \end_inset
178
179 what you see is what you mean
180 \begin_inset Quotes grd
181 \end_inset
182
183  (vidíš to, co jsi myslel).
184  Jednoduché používání textových procesorů tak kombinuje se silou \SpecialChar LaTeX
185 u, což
186  je skvělé.
187  Dále je formát souboru nezávislý na operačním systému.
188  A to nejlepší nakonec: \SpecialChar LyX
189  je zadarmo!
190 \end_layout
191
192 \begin_layout Section
193 Vlastnosti \SpecialChar LyX
194 u
195 \end_layout
196
197 \begin_layout Standard
198 \SpecialChar LyX
199  má spoustu vlastností, které usnadňují psaní dokumentů.
200 \begin_inset Foot
201 status collapsed
202
203 \begin_layout Plain Layout
204 nakonec, proč byste ho jinak chtěli používat?
205 \end_layout
206
207 \end_inset
208
209  Už se 
210 \emph on
211 nemůžu dočkat
212 \emph default
213  až vám o nich povím.
214  Tady je seznam několika z nich:
215 \end_layout
216
217 \begin_layout Itemize
218 \SpecialChar LyX
219  se stará o okraje stránky a číslování poznámek pod čarou za vás.
220 \end_layout
221
222 \begin_layout Itemize
223 S \SpecialChar LyX
224 em je jednoduché psát a upravovat matematické vzorce.
225 \end_layout
226
227 \begin_layout Standard
228 Filosofičtější pojednání o tom, proč je \SpecialChar LyX
229  lepší než spousta jiných textových
230  procesorů, najdete v Sekci 
231 \begin_inset CommandInset ref
232 LatexCommand ref
233 reference "subsec:LyX_lepsi"
234
235 \end_inset
236
237 , která je na straně 
238 \begin_inset CommandInset ref
239 LatexCommand pageref
240 reference "subsec:LyX_lepsi"
241
242 \end_inset
243
244 .
245 \end_layout
246
247 \begin_layout Section
248 Chabé pokusy o využití dalších možností \SpecialChar LyX
249 u
250 \end_layout
251
252 \begin_layout Standard
253 Jednou jsem napsal program.
254  Vypadal takto.
255 \end_layout
256
257 \begin_layout LyX-Code
258 5 VŠIMNĚTE SI MÉHO SKVĚLÉHO PROGRAMU
259 \end_layout
260
261 \begin_layout LyX-Code
262 10 VYTISKNI 
263 \begin_inset Quotes gld
264 \end_inset
265
266 JSEM SKVĚLÝ
267 \begin_inset Quotes grd
268 \end_inset
269
270
271 \end_layout
272
273 \begin_layout LyX-Code
274 20 JDI NA 10
275 \end_layout
276
277 \begin_layout Standard
278 Po všem tom vědátorování jsem se začal cítit víc jako umělec, a tak jsem
279  napsal toto haiku.
280 \end_layout
281
282 \begin_layout Verse
283 \SpecialChar LyX
284  je úžasný
285 \end_layout
286
287 \begin_layout Verse
288 Sázecí prográmeček
289 \end_layout
290
291 \begin_layout Verse
292 Ušetří nám čas
293 \end_layout
294
295 \begin_layout Section
296 Matematika
297 \end_layout
298
299 \begin_layout Standard
300 Moje nejoblíbenější rovnice, je řešení kvadratické rovnice.
301  Pokud 
302 \lang english
303
304 \begin_inset Formula $ax^{2}+bx+c=0$
305 \end_inset
306
307
308 \lang czech
309  (rov.
310  1), pak 
311 \lang english
312
313 \begin_inset Formula $x=\frac{-b\pm\sqrt{b^{2}-4ac}}{2a}$
314 \end_inset
315
316
317 \lang czech
318  (rov.
319  2).
320 \end_layout
321
322 \begin_layout Standard
323 Moje další oblíbená rovnice je základem diferenciálního počtu: 
324 \lang english
325
326 \begin_inset Formula $f'(x)=\lim_{\Delta x\rightarrow0}\frac{f(x+\Delta x)-f(x)}{\Delta x}$
327 \end_inset
328
329
330 \lang czech
331  (rov.
332  3).
333 \end_layout
334
335 \begin_layout Section
336 Poznámky
337 \end_layout
338
339 \begin_layout Standard
340 Několik poznámek o z\SpecialChar LyX
341 ování tohoto dokumentu.
342 \end_layout
343
344 \begin_layout Itemize
345 Odstranil jsem linky z pomlček.
346  Byly tu jen proto, aby oddělily titulek a reference od zbytku dokumentu.
347  \SpecialChar LyX
348  (\SpecialChar LaTeX
349 ) umí tyto části dokumentu od zbytku oddělit automaticky vynecháním místa.
350 \end_layout
351
352 \begin_layout Itemize
353 Matematické rovnice jsem nedával do vzorce na celou řádku (display) a také
354  jsem nepoužil jejich automatické číslování, protože není popsané v 
355 \emph on
356 Průvodci \SpecialChar LyX
357 em.
358 \end_layout
359
360 \begin_layout Itemize
361 Není třeba psát slovo 
362 \begin_inset Quotes gld
363 \end_inset
364
365 Reference
366 \begin_inset Quotes grd
367 \end_inset
368
369  níže.
370  \SpecialChar LyX
371  ho napíše automaticky, když vyberete styl 
372 \family sans
373 Literatura.
374 \end_layout
375
376 \begin_layout Bibliography
377 \begin_inset CommandInset bibitem
378 LatexCommand bibitem
379 key "Lamport"
380
381 \end_inset
382
383 Lamport, Leslie.
384  
385 \emph on
386 \SpecialChar LaTeX
387  – A document preparation system.
388
389 \emph default
390  Massachusetts: Addison-Wesley, second edition, 1994.
391 \end_layout
392
393 \end_body
394 \end_document