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