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