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