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