]> git.lyx.org Git - lyx.git/blob - lib/doc/pl_Extended.lyx
Second Locale patch.
[lyx.git] / lib / doc / pl_Extended.lyx
1 #LyX 1.3 created this file. For more info see http://www.lyx.org/
2 \lyxformat 221
3 \textclass book
4 \begin_preamble
5 \usepackage{multicol}
6 \newcommand{\extratablespace}[1]{\noalign{\vskip#1}}
7 \usepackage{floatflt}
8 %\usepackage[colorlinks=true,linkcolor=black]{hyperref}
9 \end_preamble
10 \language polish
11 \inputencoding latin2
12 \fontscheme default
13 \graphics default
14 \paperfontsize default
15 \spacing single 
16 \papersize a4paper
17 \paperpackage a4
18 \use_geometry 0
19 \use_amsmath 0
20 \use_natbib 0
21 \use_numerical_citations 0
22 \paperorientation portrait
23 \secnumdepth 2
24 \tocdepth 2
25 \paragraph_separation indent
26 \defskip medskip
27 \quotes_language german
28 \quotes_times 2
29 \papercolumns 1
30 \papersides 2
31 \paperpagestyle default
32
33 \layout Title
34
35 LyX -- Zaawansowane mo¿liwo¶ci
36 \layout Author
37
38 by the LyX Team
39 \begin_inset Foot
40 collapsed true
41
42 \layout Standard
43 \noindent 
44 Opiekunem tego pliku jest aktualnie 
45 \noun on 
46 Mike Ressler
47 \noun default 
48 .
49  Proszê wysy³aæ komentarze i poprawki b³êdów na podany adres.
50 \end_inset 
51
52
53 \newline 
54 polskie t³umaczenie: 
55 \newline 
56 Tomasz £uczak
57 \begin_inset Foot
58 collapsed true
59
60 \layout Standard
61 \noindent 
62 Opiekunem wersji polskiej tego pliku jest aktualnie 
63 \noun on 
64 Tomasz £uczak,
65 \noun default 
66  tlu@technodat.com.pl.
67  Proszê wysy³aæ komentarze i poprawki b³êdów na podany adres.
68 \end_inset 
69
70  przy wspó³pracy Paw³a Dziekoñskiego
71 \layout Date
72
73
74 \begin_inset ERT
75 status Collapsed
76
77 \layout Standard
78
79 \backslash 
80 today
81 \end_inset 
82
83
84 \layout Standard
85
86
87 \begin_inset LatexCommand \tableofcontents{}
88
89 \end_inset 
90
91
92 \layout Chapter
93
94 Wprowadzenie
95 \layout Standard
96
97 Podrêcznik 
98 \emph on 
99 Zaawansowana Edycja
100 \emph default 
101 , który w³a¶nie czytasz jest w³a¶ciwie drug± czê¶ci± 
102 \emph on 
103 Podrêcznika U¿ytkownika
104 \emph default 
105 .
106  Powód podzia³u jest prosty: 
107 \emph on 
108 Podrêcznik U¿ytkownika
109 \emph default 
110  jest ju¿ do¶æ obszerny i zawiera opis wszystkich podstawowych funkcji,
111  które trzeba poznaæ do przygotowania wiêkszo¶ci dokumentów.
112 \layout Standard
113
114 LyX Team ma d³ugoterminowy cel tworzenia rozszerzeñ LyX-a przez ró¿ne pliki
115  konfiguracyjne.
116  To oznacza, ¿e je¶li chcesz obs³ugiwaæ pakiet LaTeX-a 
117 \family sans 
118 Fizzwizzle
119 \family default 
120 , to mo¿esz utworzyæ plik uk³adu dla tego pakietu bez konieczno¶ci dokonywania
121  samodzielnie zmian w LyX-ie.
122  Ju¿ przyczynili¶my siê do powstania kilku nowych funkcji t± drog±.
123  Ten podrêcznik, to jest miejsce, gdzie wszystko to udokumentowano.
124 \layout Standard
125
126 Ten podrêcznik dokumentuje tak¿e kilka funkcji specjalnych, jak faksowanie,
127  kontrola wersji, obs³uga SGML-u, które wymagaj± dodatkowego oprogramowania
128  do poprawnej pracy.
129  Ostatni rozdzia³ traktuje o narzêdziach i sposobach LaTeX-a, które mo¿na
130  zastosowaæ do wykoñczenia Twoich dokumentów u¿ywaj±c funkcji LaTeX-a.
131  Poza tym LyX jest tylko edytorem WYSIWYM i bêdzie zawsze tylko interfejsem
132  do pewnych funkcji LaTeX-a.
133  Oczywi¶cie, z udokumentowanymi wszystkimi funkcjami.
134 \layout Standard
135
136 Je¶li nie przeczyta³e¶ jeszcze wprowadzenia, to w³a¶nie czytasz niew³a¶ciwy
137  podrêcznik.
138  Wprowadzenie jest pierwszym miejscem, od którego powiniene¶ zacz±æ.
139  Opisuje on notacjê i format wszystkich podrêczników.
140  Powiniene¶ gruntownie zaznajomiæ siê z
141 \emph on 
142  Podrêcznikiem U¿ytkownika
143 \emph default 
144  i wszystkimi podstawowymi funkcjami LyX-a.
145 \layout Standard
146
147 Wiele rozdzia³ów w tym dokumencie jest niezale¿nymi artyku³ami napisanymi
148  przez pojedyncze osoby i s± one odpowiednio zaznaczone.
149  Tymi osobami s± generalnie ci, którzy napisali nowy plik uk³adu (layout)
150  dla nowej klasy dokumentu lub pakietu LaTeX-a, lub zaimplementowali jak±¶
151  funkcjê.
152  Je¶li nie wspomniano o autorze w rozdziale lub sekcji to znaczy, ¿e zosta³
153  napisany przez LyX Documentation Team.
154 \layout Standard
155
156 Pierwszy rozdzia³ stanowi suplement do narzêdzi edycyjnych LyX-a, nie ujêtych
157  w
158 \emph on 
159  Podrêczniku U¿ytkownika
160 \emph default 
161  i przeznaczony jest dla bardziej zaawansowanych u¿ytkowników.
162 \layout Standard
163
164 Wszystkie rozdzia³y tego podrêcznika s± w ró¿nym stopniu, ale jednak, opisuj±
165  wspó³pracê LyX-a i LaTeX-a, pierwszy rozdzia³ opisuje wewnêtrzn± pracê
166  LyX-a, jak prosto LyX tworzy kod LaTeX-a je¶li chcesz.
167  To jest oczywiste dla wielu u¿ytkowników LyX-a.
168 \layout Chapter
169
170 LyX i LaTeX
171 \layout Section
172
173 Jak LyX u¿ywa LaTeX-a
174 \layout Standard
175
176
177 \begin_inset LatexCommand \label{sec:lyxandlatex}
178
179 \end_inset 
180
181 To jest rozdzia³ dla TeX-ników i dla ciekawych LaTeX-a.
182  Wyja¶nimy w nim jak pracuj± LyX i LaTeX tworz±c wynikowe dokumenty do druku.
183  Tylko w tym miejscu i tylko w tym podrêczniku zak³adamy Twoj± znajomo¶æ
184  LaTeX-a.
185 \layout Standard
186
187 Od jakiego¶ czasu LyX-a nazywamy ,,WYSIWYM frontendem do LaTeX'', ale to
188  nie jest dalej prawd±.
189  Istniej± równie¿ inne frontendy do LaTeX-a.
190  To s± generalnie edytory potrafi±ce uruchomiæ LaTeX-a i zaznaczaæ b³êdy
191  podczas edycji.
192  Mimo ¿e LyX 
193 \emph on 
194 jest
195 \emph default 
196  edytorem i 
197 \emph on 
198 potrafi
199 \emph default 
200  uruchomiæ LaTeX-a, i równie¿ zaznaczaæ b³êdy, i tak¿e wiele, wiele wiêcej.
201  Dziêki koncepcji WYSIWYM
202 \begin_inset Foot
203 collapsed true
204
205 \layout Standard
206
207 What You See Is What You Mean -- dostajesz to o co Ci chodzi
208 \end_inset 
209
210 , nie musisz znaæ LaTeX-a aby efektywnie u¿ywaæ LyX-a.
211  LyX posiada tak¿e kilka rozszerzeñ do LaTeX-a
212 \begin_inset Foot
213 collapsed true
214
215 \layout Standard
216
217 The Team did this for parsing/coding reasons.
218  The new macros allow LyX to more easily produce LaTeX code and ensure that
219  the resulting code is correct.
220  Nothing that you, the user, need worry about.
221 \end_inset 
222
223 .
224  Spróbuj kiedy¶ wybraæ polecenie 
225 \family sans 
226 Eksportuj\SpecialChar \menuseparator
227  LaTeX
228 \family default 
229  z menu 
230 \family sans 
231 \bar under 
232 P
233 \bar default 
234 lik
235 \family default 
236  i spójrz na preambu³ê utworzonego pliku 
237 \family typewriter 
238 .tex
239 \family default 
240 .
241  Bêdziesz móg³ zauwa¿yæ ró¿ne nowe makra zdefiniowane specjalnie przez LyX-a
242 \begin_inset Foot
243 collapsed true
244
245 \layout Standard
246
247 Trochê historii: kiedy¶ wszystkie makra znajdowa³y siê w pliku 
248 \family typewriter 
249 lyx.sty
250 \family default 
251 .
252  Pewnego dnia The Team zdecydowa³, ¿e utworzone pliki 
253 \family typewriter 
254 .tex
255 \family default 
256  powinny byæ bardziej przeno¶ne.
257  Tak teraz makra s± umieszczone w preambule.
258 \end_inset 
259
260 .
261  Jednak to wszystko dzieje siê prze¼roczy¶cie dla u¿ytkownika.
262 \layout Standard
263
264 Mamy kilka poleceñ, które automatycznie wywo³uj± LaTeX-a.
265  Oto one:
266 \layout Itemize
267
268
269 \family sans 
270 Podgl±d\SpecialChar \menuseparator
271 DVI
272 \layout Itemize
273
274
275 \family sans 
276 Podgl±d\SpecialChar \menuseparator
277 PostScript/PDF
278 \layout Itemize
279
280
281 \family sans 
282 Podgl±d\SpecialChar \menuseparator
283 Aktualizuj\SpecialChar \menuseparator
284  DVI
285 \layout Itemize
286
287
288 \family sans 
289 Podgl±d\SpecialChar \menuseparator
290 Aktualizuj\SpecialChar \menuseparator
291 Postscript/PDF
292 \layout Itemize
293
294
295 \family sans 
296 Plik\SpecialChar \menuseparator
297 Drukuj
298 \layout Standard
299
300 Tylko te polecenia wywo³uj± LaTeX-a je¶li dokument siê zmieni³ od czasu
301  ostatniego uruchomienia LaTeX-a 
302 \layout Standard
303
304 Podczas uruchomienia LaTeX-a podczas edycji pliku, LyX wykonuje nastêpuj±ce
305  czynno¶ci:
306 \layout Enumerate
307
308 Konwertuje dokument 
309 \family typewriter 
310 .lyx
311 \family default 
312  do LaTeX-a i zapisuje plik z rozszerzeniem 
313 \family typewriter 
314 .tex
315 \family default 
316 .
317 \layout Enumerate
318
319 Uruchamia LaTeX-a z plikiem 
320 \family typewriter 
321 .tex
322 \family default 
323  (byæ mo¿e kilka razy).
324 \layout Enumerate
325
326 Je¶li s± b³êdy , to zaznacza je w dokumencie.
327 \layout Standard
328
329 Je¶li uruchamiasz LaTeX-a poleceniem podgl±du 
330 \family sans 
331 DVI
332 \family default 
333 , LyX uruchamia 
334 \family typewriter 
335 xdvi
336 \family default 
337  z plikiem 
338 \family typewriter 
339 .dvi
340 \family default 
341 .
342  Je¶li u¿y³e¶ polecenia podgl±du 
343 \family sans 
344 PostScript
345 \family default 
346  lub 
347 \family sans 
348 \bar under 
349 D
350 \bar default 
351 rukuj
352 \family default 
353 , LyX wykonuje dwa kroki wiêcej:
354 \layout Itemize
355
356 Uruchamia 
357 \family typewriter 
358 dvips
359 \family default 
360  do konwersji pliku Dvi do pliku postscriptowego:
361 \begin_deeper 
362 \layout Itemize
363
364 Dla 
365 \family sans 
366 Podgl±du
367 \family default 
368 , plik wyj¶ciowy ma rozszerzenie 
369 \family typewriter 
370 .ps_tmp
371 \layout Itemize
372
373 Dla 
374 \family sans 
375 \bar under 
376 D
377 \bar default 
378 rukuj
379 \family default 
380 , plik wyj¶ciowy ma rozszerzenie 
381 \family typewriter 
382 .ps
383 \family default 
384 , jak mo¿na by³o siê spodziewaæ.
385 \end_deeper 
386 \layout Itemize
387
388 Wywo³uje 
389 \family typewriter 
390 ghostview
391 \family default 
392  lub wysy³a plik postscriptowy do drukarki.
393 \layout Section
394
395 ,,Pomocy! LyX utworzy³ nieczytelny plik 
396 \family typewriter 
397 .tex
398 \family default 
399 !''
400 \layout Standard
401
402 U¿ytkownicy LaTeX-a bêd± krzyczeæ to przez ca³± noc, gdy deklaracje LyX-a
403  s± nie do wykorzystania --- oni po prostu nie czytali dokumentacji do LyX-a
404  (RTFM!)
405 \begin_inset Foot
406 collapsed false
407
408 \layout Standard
409
410 Uwaga 
411 \noun on 
412 John Weiss
413 \noun default 
414 : I know a certain faculty member who actually did complain to me that LyX
415  doesn't generate LaTeX files.
416  Ain't it funny how, sometimes, faculty are the worst at reading instructions?
417 \end_inset 
418
419 .
420 \layout Standard
421
422 Nale¿y postawiæ sprawê jasno.
423  LyX produkuje dwa rodzaje plików LaTeX-owych.
424  Jedne s± czytelne dla ludzi.
425  Inne s± czytelne dla LyX-a.
426  Za ka¿dym wywo³aniem LaTeX-a przez LyX-a, tworzy on plik LaTeX-a, który
427  mo¿e byæ ³atwo skanowany w celu poszukiwania b³êdów.
428  W rezultacie plik 
429 \family typewriter 
430 .tex
431 \family default 
432  nie jest czytelny dla ludzi.
433  Nie próbuj go czytaæ.
434  Je¶li chcesz mieæ plik 
435 \family typewriter 
436 .tex
437 \family default 
438  aby móc wys³aæ go koledze, to wybierz polecenie 
439 \family sans 
440 Eksportuj\SpecialChar \menuseparator
441  LaTeX
442 \family default 
443  z menu 
444 \family sans 
445 \bar under 
446 P
447 \bar default 
448 lik
449 \family default 
450 .
451 \layout Standard
452
453 Powtórzymy to jeszcze raz, specjalnie dla podkre¶lenia :
454 \layout Quote
455 \added_space_top 0.23cm \added_space_bottom 0.23cm 
456 Je¶li chcesz plik 
457 \family typewriter 
458 .tex
459 \family default 
460  móc wys³aæ koledze, to wybierz polecenie 
461 \family sans 
462 Eksportuj\SpecialChar \menuseparator
463  LaTeX
464 \family default 
465  z menu 
466 \family sans 
467 \bar under 
468 P
469 \bar default 
470 lik
471 \family default 
472 .
473 \layout Section
474
475 Importowanie plików LaTeX-a do LyX-a
476 \layout Standard
477
478 Mo¿esz importowaæ pliki LaTeX-a do LyX-a za pomoc± polecenia
479 \family sans 
480 \bar under 
481  P
482 \bar default 
483 lik\SpecialChar \menuseparator
484 Importuj\SpecialChar \menuseparator
485
486 \bar under 
487 L
488 \bar default 
489 aTeX
490 \family default 
491 .
492  Polecenie wywo³uje skrypt Perl-a o nazwie 
493 \family typewriter 
494 reLyX
495 \family default 
496 , który na podstawie pliku 
497 \family typewriter 
498 foo.tex
499 \family default 
500  utworzy plik 
501 \family typewriter 
502 foo.lyx
503 \family default 
504  i otworzy go w LyX-ie.
505  Je¶li import nie powiedzie siê, mo¿esz spróbowaæ uruchomiæ skrypt 
506 \family typewriter 
507 reLyX
508 \family default 
509  z wiersza poleceñ
510 \begin_inset Foot
511 collapsed true
512
513 \layout Standard
514
515 Podczas instalacji LyX-a, oddzielny plik wykonywalny o nazwie 
516 \family typewriter 
517 reLyX
518 \family default 
519  jest umieszczany w tym samym katalogu z binariami co program 
520 \family typewriter 
521 lyx
522 \family default 
523  (np.: 
524 \family typewriter 
525 /usr/local/bin/reLyX
526 \family default 
527 ).
528
529 \family typewriter 
530  reLyX
531 \family default 
532  wymaga interpretera jêzyka Perl (wersja 5.002 jak to napisano).
533 \end_inset 
534
535  z odpowiednimi parametrami.
536 \layout Standard
537
538
539 \family typewriter 
540 reLyX
541 \family default 
542  t³umaczy wiêkszo¶æ konstrukcji LaTeX-a, ale nie wszystkie.
543  Pozostawi rzeczy, których nie rozumie w trybie TeX, aby¶ po konwersji móg³
544  spojrzeæ na zaznaczony na czerwono tekst i rêcznie go poprawiæ.
545 \layout Standard
546
547
548 \family typewriter 
549 reLyX
550 \family default 
551  ma w³asn± sekcjê w podrêczniku 
552 \emph on 
553 Zaawansowane Mo¿liwo¶ci
554 \emph default 
555  (a tak¿e odpowiednik w postaci Unix-owego mana), któr± powiniene¶ przeczytaæ,
556  aby dowiedzieæ siê czego nie interpretuje 
557 \family typewriter 
558 reLyX
559 \family default 
560  , b³êdach (oraz jak sobie z nimi poradziæ) i u¿yciu ró¿nych opcji.
561 \layout Standard
562
563 Je¶li nie mo¿esz u¿yæ do pracy 
564 \family typewriter 
565 reLyX
566 \family default 
567  lub je¶li chcesz wstawiæ trochê kodu LaTeX-a do pliku LyX-a, to zajrzyj
568  do sekcji 
569 \begin_inset LatexCommand \ref{sec:latexcodes}
570
571 \end_inset 
572
573 .
574 \layout Section
575
576 Wstawianie poleceñ LaTeX-a do dokumentów LyX-a
577 \layout Standard
578
579
580 \begin_inset LatexCommand \label{sec:latexcodes}
581
582 \end_inset 
583
584  To jest raczej wa¿ny punkt: mo¿esz zawsze wstawiæ kod LaTeX-a do dowolnego
585  dokumentu LyX-a.
586  LyX po prostu nie mo¿e i prawdopodobnie nigdy nie bêdzie móg³ wy¶wietliæ
587  wszystkich mo¿liwych konstrukcji LaTeX.
588  Je¶li potrzebujesz wstawiæ polecenie LaTeX-a do dokumentu LyX-a, to u¿yj
589  wstawki ERT, któr± mo¿esz wstawiæ do dokumentu poleceniem 
590 \family sans 
591 \bar under 
592 W
593 \bar default 
594 staw\SpecialChar \menuseparator
595
596 \bar under 
597 T
598 \bar default 
599 eX
600 \family default 
601 .
602  Wstawka ERT mo¿e wystêpowaæ w trzech formach: 
603 \family sans 
604 collapsed
605 \family default 
606
607 \family sans 
608 open
609 \family default 
610  i 
611 \family sans 
612 inlined
613 \family default 
614 .
615  Pierwsze dwie formy s± podobne do innych rozwijalnych wstawek (takich jak
616  np.
617  wstawka przypisu) i s± wygodne do zaznaczenia poleceñ LaTeX-a.
618  Forma 
619 \family sans 
620 inlined
621 \family default 
622  wstawki wy¶wietla jej zawarto¶æ, co jest wygodne dla krótkich fragmentów
623  kodu LaTeX-a.
624  
625 \begin_inset ERT
626 status Inlined
627
628 \layout Standard
629 % tak jak ten
630 \end_inset 
631
632
633 \layout Standard
634
635 Mo¿esz prze³±czaæ siê pomiêdzy tymi formami przez klikniêcie prawym klawiszem
636  myszy na wstawce.
637  Uwaga je¶li chcesz wiêcej ni¿ jeden wiersz poleceñ LaTeX-a, to nie mo¿esz
638  korzystaæ z trybu 
639 \family sans 
640 inlined
641 \family default 
642 .
643 \layout Standard
644
645 Tutaj jest przyk³ad wstawienia poleceñ LaTeX-a w dokumencie LyX-a.
646  Oto kod:
647 \layout LyX-Code
648
649
650 \backslash 
651 begin{tabular}{ll}
652 \newline 
653
654 \backslash 
655 begin{minipage}{5cm}
656 \newline 
657 This is an example for a minipage environment.
658  You 
659 \newline 
660 can put nearly everything in it, even (non-floating) 
661 \newline 
662 figures and tables.
663  
664 \newline 
665
666 \backslash 
667 end{minipage}
668 \newline 
669 &
670 \newline 
671
672 \backslash 
673 begin{minipage}{5cm}
674 \newline 
675
676 \backslash 
677 begin{verbatim}
678 \newline 
679
680 \backslash 
681 begin{minipage}{5cm}
682 \newline 
683 This ...
684  
685 \newline 
686
687 \backslash 
688 end{minipage}
689 \newline 
690
691 \backslash 
692 end{verbatim}
693 \newline 
694
695 \backslash 
696 end{minipage}
697 \newline 
698
699 \backslash 
700 end{tabular}
701 \layout Standard
702
703 Wstawka ERT zawieraj±ca powy¿szy tekst jest umieszczona bezpo¶rednio po
704  tym akapicie.
705  Je¶li czytasz ten podrêcznik w LyX-ie, to zobaczysz tylko przycisk z czerwonym
706  tekstem.
707  Czytaj±c drukowan± wersjê tego podrêcznika zobaczysz rezultaty:
708 \layout Standard
709
710
711 \begin_inset ERT
712 status Collapsed
713
714 \layout Standard
715
716 \backslash 
717 begin{tabular}{ll}
718 \newline 
719
720 \backslash 
721 begin{minipage}{5cm}
722 \newline 
723 This is an example for a minipage environment. You can put nearly everything in it, even (non-floating) figures and tables. 
724 \newline 
725
726 \backslash 
727 end{minipage}
728 \newline 
729 &
730 \newline 
731
732 \backslash 
733 begin{minipage}{5cm}
734 \newline 
735
736 \backslash 
737 begin{verbatim}
738 \newline 
739
740 \backslash 
741 begin{minipage}{5cm}
742 \newline 
743 This ... 
744 \newline 
745
746 \backslash 
747 end{minipage}
748 \newline 
749
750 \backslash 
751 end{verbatim}
752 \newline 
753
754 \backslash 
755 end{minipage}
756 \newline 
757
758 \backslash 
759 end{tabular}
760 \end_inset 
761
762
763 \layout Standard
764
765 Ponadto mo¿esz utworzyæ oddzielny plik zawieraj±cy skomplikowan± strukturê
766  LaTeX-a i do³±czyæ go poleceniem
767 \family sans 
768 \bar under 
769  W
770 \bar default 
771 staw\SpecialChar \menuseparator
772
773 \bar under 
774 D
775 \bar default 
776 o³±cz plik
777 \family default 
778  (powiniene¶ wybraæ opcjê
779 \family sans 
780 \bar under 
781  W
782 \bar default 
783 staw
784 \family default 
785 ).
786  Zalecamy aby¶ do³±cza³ pliki 
787 \family typewriter 
788 .tex
789 \family default 
790 , o których 
791 \emph on 
792 wiesz
793 \emph default 
794 , ¿e s± poprawne.
795  W innym wypadku bêdziesz mia³ sporo zajêcia z wyszukiwaniem b³êdów\SpecialChar \ldots{}
796
797 \layout Standard
798
799 Kilka ostatnich uwag o wyró¿nieniu:
800 \layout Itemize
801
802 Wewn±trz LyX-a, kod LaTeX-a pojawia siê 
803 \emph on 
804 na czerwono
805 \emph default 
806 ,
807 \layout Itemize
808
809 LyX 
810 \emph on 
811 nie
812 \emph default 
813  sprawdza poprawno¶ci Twojego kodu LaTeX-owego,
814 \layout Itemize
815
816 Staraj siê nie odkrywaæ ko³a na nowo.
817 \layout Standard
818
819 Na koniec dwie uwagi.
820  Po pierwsze, LyX posiada niewiele funkcji ca³kowicie wbudowanych ale bêdzie
821  wiêcej.
822  B±d¼ pewien, sprawdzaj±c podrêcznik, ¿e danej funkcji LyX nie posiada zanim
823  zaczniesz kodowaæ j± w LaTeX-u
824 \begin_inset Foot
825 collapsed false
826
827 \layout Standard
828
829 Uwaga od 
830 \noun on 
831 John Weiss
832 \noun default 
833 -a: I seem to do this an awful lot.
834  Sat down and merrily began coding something to print out labels, only to
835  learn that there were already 2 different LaTeX packages to do this.
836  Worse yet - I had them already!
837 \end_inset 
838
839 .
840  Po drugie istnieje wiele pakietów LaTeX-a pocz±wszy od sk³adu etykiet czy
841  kopert do ³adnych wielostronicowych tabel.
842  Przejrzyj archiwum CTAN aby poznaæ wiêcej szczegó³ów (zobacz sekcjê 
843 \begin_inset LatexCommand \ref{sec:ctan}
844
845 \end_inset 
846
847 ).
848 \layout Standard
849
850 Je¶li potrzebujesz zrobiæ trochê dzikich i ³adnych rzeczy wewn±trz dokumentu,
851  b±d¼ pewien swoich konstrukcji korzystaj±c z dobrej ksi±¿ki o LaTeX-u.
852  
853 \layout Standard
854
855 Pewna liczba poleceñ LaTeX-a musi byæ umieszczona przed pocz±tkiem tekstu.
856  Powinny one zostaæ umieszczone w preambule co opisano w nastêpnej sekcji.
857 \layout Section
858
859 Preambu³a LyX-a i LaTeX-a
860 \layout Subsection
861
862 O preambule LaTeX-a
863 \layout Standard
864
865
866 \begin_inset LatexCommand \label{sec:preamble}
867
868 \end_inset 
869
870 Je¶li ju¿ znasz LaTeX-a, to nie potrzebujesz tutaj wyja¶nienia do czego
871  s³u¿y preambu³a.
872  Je¶li nie wiesz, to dajemy Ci kilka porad -- zalecamy aby¶ znów zapozna³
873  siê z ksi±¿k± o LaTeX-u aby poznaæ wiêcej informacji.
874  W innym przypadku powiniene¶ czytaæ poni¿sze sekcje, poniewa¿ w nich jest
875  wyja¶nione co mo¿esz zrobiæ i czego nie musisz zrobiæ w preambule LyX-owego
876  dokumentu.
877 \layout Standard
878
879 Preambu³a LaTeX-a znajduje siê na samym pocz±tku dokumentu 
880 \emph on 
881 przed 
882 \emph default 
883 jego tre¶ci±.
884  S³u¿y ona do:
885 \layout Itemize
886
887 deklaracji klasy dokumentu.
888  LyX ju¿ wykonuje to za Ciebie.
889 \begin_deeper 
890 \layout Standard
891
892 Je¶li jeste¶ LaTeX-nikiem i masz ju¿ trochê dopasowanych klas dokumentów,
893  których chcesz u¿ywaæ, to zajrzyj do podrêcznika 
894 \emph on 
895 Konfiguracja
896 \emph default 
897  aby dowiedzieæ siê jak wykonaæ do nich interfejs.
898  Nie zapomnij wys³aæ swoich osi±gniêæ do LyX Team-u aby je w³±czyæ do przysz³ych
899  wersji!
900 \end_deeper 
901 \layout Itemize
902
903 deklaracji u¿ywanych pakietów.
904  Pakiety LaTeX-a dostarczaj± specjalne polecenia, które s± dostêpne w dokumencie
905  tylko je¶li zadeklarujemy pakiet w preambule.
906  Na przyk³ad,
907 \family typewriter 
908  
909 \family default 
910 pakiet 
911 \family typewriter 
912 indentfirst
913 \family default 
914  wymusza wcinanie wszystkich akapitów.
915  istniej± pakiety dla etykiet, kopert, marginesów itd.
916 \layout Itemize
917
918 ustawiania liczników, zmiennych, d³ugo¶ci i szeroko¶ci.
919  Istnieje kilka liczników LaTeX-a i zmiennych, które 
920 \emph on 
921 musz±
922 \emph default 
923  byæ ustawione globalnie z poziomu preambu³y, aby uzyskaæ ¿±dany efekt [istniej±
924  inne zmienne, które mo¿na ustawiaæ tak¿e wewn±trz dokumentu].
925  Marginesy s± dobrym przyk³adem czego¶ co musi byæ ustawione w preambule.
926  Innym przyk³adem jest format nalepek na listy.
927  Mo¿esz ustawiæ je gdziekolwiek, ale najlepszym miejscem do tego jest preambu³a.
928 \layout Itemize
929
930 deklaracji definiowanych przez u¿ytkownika poleceñ [za pomoc± polecenia
931  
932 \family typewriter 
933
934 \backslash 
935 newcommand 
936 \family default 
937 lub 
938 \family typewriter 
939
940 \backslash 
941 renewcommand
942 \family default 
943 ], g³ównie skrótów dla poleceñ LaTeX-a, które wystêpuj± czêsto w tek¶cie
944  dokumentu.
945  Mimo to preambu³a jest dobrym miejscem na deklaracje poleceñ, które 
946 \emph on 
947 mog±
948 \emph default 
949  byæ deklarowane gdziekolwiek indziej [byleby 
950 \emph on 
951 przed
952 \emph default 
953  ich pierwszym u¿yciem w tek¶cie].
954  To mo¿e byæ u¿yteczne je¶li mamy wiele kodu LaTeX-a w dokumencie, który
955  normalnie nie powinien siê zdarzyæ.
956 \layout Standard
957
958 LyX dodaje do preambu³y w³asne definicje podczas tworzenia pliku 
959 \family typewriter 
960 .tex
961 \family default 
962 .
963  To czyni dokumenty LaTeX-a utworzone przez LyX-a przeno¶nymi.
964 \layout Subsection
965
966 Zmiana preambu³y
967 \layout Standard
968
969 Polecenia, które dodaje LyX do preambu³y s± zafiksowane i nie mo¿esz ich
970  zmieniæ bez samodzielnego patchowania LyX-a.
971  Mo¿esz jednak dodaæ w³asne rzeczy do preambu³y.
972  Mo¿esz to zrobiæ na dwa sposoby:
973 \layout Enumerate
974
975 Wybierz polecenie 
976 \family sans 
977 \bar under 
978 P
979 \bar default 
980 reambu³a
981 \family default 
982  z menu 
983 \family sans 
984 \bar under 
985 F
986 \bar default 
987 ormatowanie
988 \family default 
989 .
990  Otworzy siê wówczas okno, w którym mo¿esz wpisaæ swoje polecenia.
991 \begin_deeper 
992 \layout Standard
993
994 Edytor preambu³y jest prymitywny, nie spodziewaj siê po nim zbyt wiele.
995 \end_deeper 
996 \layout Enumerate
997
998 Utwórz w swoim domy¶lnym szablonie dokumentu (zobacz 
999 \begin_inset LatexCommand \ref{sec:setup}
1000
1001 \end_inset 
1002
1003 ) odpowiednie wpisy w preambule.
1004  Wówczas tworz±c nowy dokument na jego podstawie preambu³a bêdzie ju¿ wpisana.
1005 \layout Standard
1006
1007 LyX nie dodaje niczego do Twojej czê¶ci preambu³y.
1008  Zanim dodasz deklaracje do preambu³y powiniene¶ upewniæ siê, ¿e nie jest
1009  ju¿ to wykonane przez LyX-a [czy pamiêtasz co mówili¶my o ponownym wynalezieniu
1010  ko³a?].
1011  Ponadto 
1012 \emph on 
1013 dokonuj poprawnych wpisów w preambule
1014 \emph default 
1015  -- LyX nie sprawdza jej poprawno¶ci.
1016 \layout Subsection
1017
1018 Przyk³ady
1019 \layout Standard
1020
1021 Tutaj znajduje siê kilka przyk³adów co mo¿na dodaæ do preambu³y:
1022 \layout Subsubsection
1023
1024 Przyk³ad #1: Przesuniêcie strony
1025 \layout Standard
1026
1027 Istniej± dwie zmienne LaTeX-a do sterowania pozycj± strony: 
1028 \family typewriter 
1029
1030 \backslash 
1031 hoffset
1032 \family default 
1033  i 
1034 \family typewriter 
1035
1036 \backslash 
1037 voffset
1038 \family default 
1039 .
1040  Ich nazwy s± samoobja¶niaj±ce.
1041  Te zmienne s± u¿yteczne je¶li w tej chwili o etykietach.
1042  Czasami rozmiar medium i obszar medium, na którym bêdziesz drukowaæ nie
1043  pokrywaj± siê.
1044  Wówczas mamy polecenia 
1045 \family typewriter 
1046
1047 \backslash 
1048 hoffset
1049 \family default 
1050  i 
1051 \family typewriter 
1052
1053 \backslash 
1054 voffset
1055 \family default 
1056 .
1057 \layout Standard
1058
1059 Domy¶ln± warto¶ci± dla 
1060 \family typewriter 
1061
1062 \backslash 
1063 hoffset
1064 \family default 
1065  i 
1066 \family typewriter 
1067
1068 \backslash 
1069 voffset
1070 \family default 
1071  jest 0 pt, czyli strona nie jest przesuniêta.
1072 \layout Standard
1073
1074 Niestety, niektóre sterowniki DVI wydaj± siê zawsze przesuwaæ stronê.
1075  Nie mamy pomys³u dlaczego lub dlaczego Twój administrator nie poprawi³
1076  tego.
1077  Je¶li u¿ywasz LyX-a w systemie, którego osobi¶cie nie nadzorujesz, a którego
1078  administrator to ,,doofus'', to polecenia 
1079 \family typewriter 
1080
1081 \backslash 
1082 hoffset
1083 \family default 
1084  i 
1085 \family typewriter 
1086
1087 \backslash 
1088 voffset
1089 \family default 
1090  mog± zaoszczêdziæ Ci dni.
1091  Na przyk³ad Twoje marginesy lewy i górny s± zawsze o pó³ cala zbyt du¿e.
1092  Nale¿y wówczas dodaæ do preambu³y nastêpuj±ce polecenia:
1093 \layout LyX-Code
1094
1095
1096 \backslash 
1097 setlength{
1098 \backslash 
1099 hoffset}{-0.5 in}
1100 \layout LyX-Code
1101
1102
1103 \backslash 
1104 setlength{
1105 \backslash 
1106 voffset}{-0.5 in}
1107 \layout Standard
1108
1109 \SpecialChar \ldots{}
1110  a Twoje marginesy bêd± teraz poprawne.
1111 \layout Subsubsection
1112
1113 Przyk³ad #2: Etykiety
1114 \layout Standard
1115
1116 Mówi±c etykiety mamy na my¶li wydruk etykiet z adresami.
1117  Istnieje mi³y pakiet, dostêpny w najbli¿szym Ci archiwum CTAN, do wydruku
1118  etykiet o nazwie 
1119 \family typewriter 
1120 labels.sty
1121 \family default 
1122 .
1123  Twój system mo¿e nie mieæ go domy¶lnie zainstalowanego -- zostawiamy Ci
1124  to do sprawdzenia.
1125  Pewnie bêdziesz chcia³ przeczytaæ dokumentacjê pakietu -- my nie zrobimy
1126  tego za Ciebie.
1127  Jednak poni¿szym przyk³adem podpowiadamy Ci jak z niego skorzystaæ.
1128 \layout Standard
1129
1130 Po pierwsze wybierz klasê dokumentu 
1131 \family sans 
1132 article
1133 \family default 
1134 .
1135  Nastêpnie wpisz do preambu³y nastêpuj±ce deklaracje:
1136 \layout LyX-Code
1137
1138
1139 \backslash 
1140 usepackage{labels}
1141 \layout LyX-Code
1142
1143
1144 \backslash 
1145 LabelCols=3
1146 \layout LyX-Code
1147
1148
1149 \backslash 
1150 LabelRows=7
1151 \layout LyX-Code
1152
1153
1154 \backslash 
1155 LeftBorder=8mm
1156 \layout LyX-Code
1157
1158
1159 \backslash 
1160 RightBorder=8mm
1161 \layout LyX-Code
1162
1163
1164 \backslash 
1165 TopBorder=9mm
1166 \layout LyX-Code
1167
1168
1169 \backslash 
1170 BottomBorder=2mm
1171 \layout Standard
1172
1173 Te ustawienia s± odpowiednie dla arkusza etykiet Avery, nr #5360.
1174  Teraz jeste¶ gotów do wydruku etykiet, ale potrzeba jeszcze wstawiæ polecenia
1175  LaTeX umieszczaj±c polecenia 
1176 \family typewriter 
1177
1178 \backslash 
1179 begin{labels}
1180 \family default 
1181  i 
1182 \family typewriter 
1183
1184 \backslash 
1185 end{labels}
1186 \family default 
1187  wokó³ ka¿dego tekstu z tre¶ci± etykiety.
1188  Ta i inne funkcje pakietu 
1189 \family typewriter 
1190 labels.sty
1191 \family default 
1192  s± wyja¶nione w dokumentacji.
1193 \layout Standard
1194
1195 Byæ mo¿e, ¿e kiedy¶, kto¶ napisze plik uk³adu LyX-a do obs³ugi tego pakietu
1196  wprost.
1197  Byæ mo¿e to bêdziesz Ty.
1198 \layout Subsubsection
1199
1200 Przyk³ad #3: Wciêcie akapitu
1201 \layout Standard
1202
1203 Amerykanie s± wyæwiczeni we wcinaniu pierwszego wiersza 
1204 \emph on 
1205 ka¿dego
1206 \emph default 
1207  akapitu.
1208  Tak jak wszystkie inne dziwne quirks, wiêkszo¶æ Amerykanów bêdzie wyæ i
1209  jêczeæ dopóki nie bêd± mieli wcinanych pierwszych wierszy we wszystkich
1210  akapitach
1211 \begin_inset Foot
1212 collapsed true
1213
1214 \layout Standard
1215
1216 Uwaga od
1217 \noun on 
1218  Johna Weiss'a
1219 \noun default 
1220 : To by³o napisane przez Amerykanina -- przeze 
1221 \emph on 
1222 mnie
1223 \emph default 
1224 ! Tak postrzegam moich rodaków.
1225  Nieprzerwanie ja nie lubiê tego.
1226  Thpbpbpbpbpbpbpbp!
1227 \end_inset 
1228
1229
1230 \begin_inset Foot
1231 collapsed true
1232
1233 \layout Standard
1234
1235 Przyp.
1236  t³um.
1237  Polacy równie¿.
1238 \end_inset 
1239
1240 .
1241 \layout Standard
1242
1243 Oczywi¶cie takie zachowanie nie jest standardem w typografii.
1244  W ksi±¿kach wcinana jest tylko pierwszy wiersz akapitu je¶li ten akapit
1245  wystêpuje po poprzednim akapicie.
1246  Ide± wcinania pierwszego wiersza akapitu jest wyró¿nienie s±siaduj±cych
1247  akapitów.
1248  Je¶li jednak nie ma poprzedniego akapitu, np.
1249  pod rysunkiem lub na pocz±tku rozdzia³u czy sekcji, pierwszy akapit nie
1250  bêdzie wyró¿niony wciêciem.
1251 \layout Standard
1252
1253 Je¶li jeste¶ amerykaninem, to nie przejmuj siê takimi ezoterycznymi rzeczami,
1254  po prostu chcesz mieæ wciêcia! Dodaj to do preambu³y
1255 \begin_inset Foot
1256 collapsed true
1257
1258 \layout Standard
1259
1260 Przyp.
1261  t³um.
1262  Klasy 
1263 \family sans 
1264 mwart
1265 \family default 
1266
1267 \family sans 
1268 mwbk
1269 \family default 
1270  i 
1271 \family sans 
1272 mwrep
1273 \family default 
1274  autorstwa 
1275 \noun on 
1276 Marcina Woliñskiego
1277 \noun default 
1278  automatycznie wcinaj± wszystkie akapity.
1279 \end_inset 
1280
1281 :
1282 \layout LyX-Code
1283
1284
1285 \backslash 
1286 usepackage{indentfirst}
1287 \layout Standard
1288
1289 Je¶li Twoja dystrybucja TeX-a nie jest pod³a, to bêdziesz mia³ ten pakiet
1290  zainstalowany i wszystkie akapity bêd± wcinane tak jak na to zas³uguj±.
1291 \layout Subsubsection
1292
1293 Przyk³ad #4: Ten dokument
1294 \layout Standard
1295
1296 Mo¿esz tak¿e sprawdziæ jak± preambu³ê posiada ten dokument, aby poznaæ jakie
1297  zaawansowane rzeczy mo¿esz zrobiæ.
1298  Ponadto wiêcej przyk³adów co mo¿na wpisaæ do preambu³y znajdziesz w tym
1299  podrêczniku.
1300 \layout Section
1301
1302 B³êdy LyX-a i LaTeX-a
1303 \layout Standard
1304
1305 Gdy LyX wywo³uje LaTeX-a, informuje go aby ignorowa³ wszelkie b³êdy i przetwarza
1306 ³ dalej.
1307  Mo¿na to wykorzystaæ do przejrzenia logu przebiegu LaTeX i wykonania post-morte
1308 m czynno¶ci.
1309  Jak wspomnieli¶my wcze¶niej, LyX tworzy dwa rodzaje plików 
1310 \family typewriter 
1311 .tex
1312 \family default 
1313 , jeden z nich jest u¿ywany do lokalizacji b³êdów w dokumencie.
1314  Je¶li pojawi siê b³±d, to LyX umie¶ci prostok±t ze s³owem ,,B³±d'' w odpowiedni
1315 m miejscu w dokumencie
1316 \begin_inset Foot
1317 collapsed true
1318
1319 \layout Standard
1320
1321 LyX okazjonalnie nie odgadnie miejsca, w którym zdarzy³ siê b³±d.
1322  To siê zdarza zwykle przy tabelach, rysunkach, matematyce i preambule.
1323 \end_inset 
1324
1325 .
1326  Zostanie tak¿e wy¶wietlony komunikat informuj±cy o fakcie wyst±pienia b³êdów
1327 \layout Standard
1328
1329 Mo¿esz nawigowaæ pomiêdzy b³êdami za pomoc± polecenia 
1330 \family sans 
1331 B³±d
1332 \family default 
1333  z menu 
1334 \family sans 
1335 \bar under 
1336 N
1337 \bar default 
1338 awigacja
1339 \family default 
1340 .
1341  Mo¿esz ,,otwieraæ'' znaczniki b³êdów i podejrzeæ komunikaty LaTeX-a przez
1342  klikniêcie na znaczniku.
1343 \layout Standard
1344
1345 Wiele osób lubi zobaczyæ wprost ca³y log, który jest dostêpny z menu
1346 \family sans 
1347  
1348 \bar under 
1349 P
1350 \bar default 
1351 odgl±d\SpecialChar \menuseparator
1352
1353 \bar under 
1354 K
1355 \bar default 
1356 omunikaty LaTeX-a
1357 \family default 
1358 .
1359  Istniej kilka powszechnych komunikatów b³êdów i ostrze¿eñ.
1360  Wyja¶nimy je tutaj.
1361  Powiniene¶ zajrzeæ do dobrej ksi±¿ki o LaTeX-u dla zapoznania siê z pe³n±
1362  list±.
1363 \layout Itemize
1364
1365
1366 \family typewriter 
1367 LaTeX Warning:
1368 \begin_deeper 
1369 \layout Standard
1370
1371 Komunikat zaczynaj±ce siê tymi s³owy jest komunikatem diagnostycznym LaTeX-a.
1372  Otrzymasz podobne ostrze¿enie gdy dodasz lub zmienisz odno¶nik lub wpis
1373  bibliografii, wówczas LaTeX komunikuje Ci, ¿e powinien zostaæ uruchomiony
1374  jeszcze raz.
1375 \layout Standard
1376
1377 Ostrze¿enie mo¿na w wiêkszo¶ci zignorowaæ.
1378 \end_deeper 
1379 \layout Itemize
1380
1381
1382 \family typewriter 
1383 LaTeX Font Warning:
1384 \begin_deeper 
1385 \layout Standard
1386
1387 Inny komunikat ostrzegawczy, tym razem o fontach, których LaTeX nie potrafi³
1388  znale¼æ.
1389  Reszta komunikatu czêsto informuje jakich fontów u¿y³ LaTeX w zastêpstwie.
1390 \layout Standard
1391
1392 Mo¿esz go bezpiecznie zignorowaæ.
1393 \end_deeper 
1394 \layout Itemize
1395
1396
1397 \family typewriter 
1398 Overfull 
1399 \backslash 
1400 hbox
1401 \begin_deeper 
1402 \layout Standard
1403
1404 LaTeX absolutnie 
1405 \emph on 
1406 uwielbia
1407 \emph default 
1408  dawaæ takie komunikaty.
1409  Ostrze¿enia dotycz± wierszy, które s± zbyt d³ugie i wystaj± poza prawy
1410  margines.
1411  Prawie zawsze jest to niezauwa¿alne na wydruku.
1412  Albo jeden lub dwa znaki przekraczaj± prawy margines.
1413  LaTeX zdaje siê generowaæ co najmniej jeden taki komunikat dla dowolnego
1414  dokumentu jaki napiszesz.
1415 \layout Standard
1416
1417 Mo¿esz ignorowaæ te g³upie komunikaty.
1418  Zobaczysz na w³asne oczy je¶li co¶ bêdzie zbyt szerokie, spójrz na wynik
1419  przetwarzania.
1420 \end_deeper 
1421 \layout Itemize
1422
1423
1424 \family typewriter 
1425 Underfull 
1426 \backslash 
1427 hbox
1428 \begin_deeper 
1429 \layout Standard
1430
1431 LaTeX komunikuje nam, ¿e zbyt ma³e wype³nienie wiersza zmusza go do wstawienia
1432  zbyt du¿ych odstêpów miêdzy wyrazami.
1433  
1434 \layout Standard
1435
1436 Mo¿esz go tak¿e zignorowaæ.
1437 \end_deeper 
1438 \layout Itemize
1439
1440
1441 \family typewriter 
1442 Overfull 
1443 \backslash 
1444 vbox
1445 \family default 
1446  i 
1447 \family typewriter 
1448 Underfull 
1449 \backslash 
1450 vbox
1451 \begin_deeper 
1452 \layout Standard
1453
1454 Ostrze¿enie o k³opotach z ³amaniem stron -- zbyt ma³ych lub zbyt du¿ych
1455  odstêpach pionowych.
1456  Jeszcze raz spójrz na wynik przetwarzania.
1457  Zobaczysz na w³asne oczy je¶li co¶ bêdzie zbyt szerokie.
1458 \end_deeper 
1459 \layout Itemize
1460
1461
1462 \family typewriter 
1463 LaTeX Error: File 
1464 \begin_inset Quotes els
1465 \end_inset 
1466
1467 Xxxx
1468 \begin_inset Quotes ers
1469 \end_inset 
1470
1471  not found
1472 \begin_deeper 
1473 \layout Standard
1474
1475 Plik ,,Xxxx'' nie jest zainstalowany w systemie.
1476  Ten komunikat pojawia siê czêsto, gdy nie zainstalowa³e¶ pakietów u¿ytych
1477  w dokumencie.
1478  Je¶li nie dotyka³e¶ preambu³y lub nie u¿ywa³e¶ polecenia 
1479 \family typewriter 
1480
1481 \backslash 
1482 usepackage{}
1483 \family default 
1484 , to znaczy ¿e brakuje jednego z pakietów, które próbuje za³adowaæ LyX.
1485  U¿yj polecenia 
1486 \family sans 
1487 \bar under 
1488 P
1489 \bar default 
1490 omoc\SpecialChar \menuseparator
1491
1492 \bar under 
1493 K
1494 \bar default 
1495 onfiguracja LaTeX
1496 \family default 
1497  aby zobaczyæ listê pakietów znanych LyX-owi.
1498  Ten plik jest uaktualniany podczas ka¿dej rekonfiguracji LyX-a (polecenie
1499  
1500 \family sans 
1501 \bar under 
1502 E
1503 \bar default 
1504 dycja
1505 \bar under 
1506 \SpecialChar \menuseparator
1507 R
1508 \bar default 
1509 ekonfiguruj
1510 \family default 
1511 ) i zawiera informacje, które pakiety zosta³y wykryte i do czego s³u¿±.
1512 \layout Standard
1513
1514 Je¶li 
1515 \emph on 
1516 u¿y³e¶
1517 \emph default 
1518  polecenia 
1519 \family typewriter 
1520
1521 \backslash 
1522 usepackage{}
1523 \family default 
1524  i pakiet nie zosta³ zainstalowany, to nale¿y zainstalowaæ go samodzielnie.
1525 \end_deeper 
1526 \layout Itemize
1527
1528
1529 \family typewriter 
1530 LaTeX Error: Unknown option
1531 \begin_deeper 
1532 \layout Standard
1533
1534 B³±d pojawia siê gdy podano niezdefiniowan± (lub b³êdn±) opcjê u¿ytego pakietu.
1535  Sprawd¼ dokumentacjê do pakietu.
1536 \end_deeper 
1537 \layout Itemize
1538
1539
1540 \family typewriter 
1541 Undefined control sequence
1542 \begin_deeper 
1543 \layout Standard
1544
1545 Je¶li wstawi³e¶ polecenie LaTeX w dokumencie, ale pope³ni³e¶ np.
1546  b³±d literowy, to otrzymasz taki w³a¶nie komunikat b³êdu.
1547  Byæ mo¿e zapomnia³e¶ za³adowaæ jaki¶ pakiet.
1548  W ogólnym przypadku, komunikat b³êdu zwykle oznacza, ¿e u¿y³e¶ niezdefiniowaneg
1549 o polecenia.
1550 \end_deeper 
1551 \layout Standard
1552
1553 Istniej± jeszcze inne komunikaty b³êdów i ostrze¿eñ, a wiele z nich jest
1554  samoobja¶niaj±cych.
1555  Podane s± czêstymi komunikatami.
1556  Inne s± naprawdê zaszyfrowane.
1557  To s± aktualne komunikaty TeX-a i my na prawdê nie mamy klucza jak je odszyfrow
1558 aæ.
1559 \layout Standard
1560
1561 Oto ogólny tok postêpowania je¶li zdarzy siê b³±d:
1562 \layout Enumerate
1563
1564 Sprawd¼ poprawno¶æ poleceñ LaTeX-a wstawionych w dokumencie.
1565 \layout Enumerate
1566
1567 Je¶li nie ma b³êdów literowych, to sprawd¼ poprawno¶æ ich u¿ycia.
1568 \layout Enumerate
1569
1570 Je¶li dostaniesz pêk znaczników b³êdów na samym pocz±tku dokumentu, to znaczy,
1571  ¿e jest jaki¶ b³±d w preambule.
1572  Zacznij debugowaæ swoj± preambu³ê.
1573 \layout Enumerate
1574
1575 Je¶li nie doda³e¶ niczego do preambu³y i nie wstawi³e¶ ¿adnych poleceñ LaTeX-a
1576  do dokumentu, to najpierw sprawd¼ swoj± dystrybucjê LaTeX.
1577  Sprawd¼ brakuj±ce pakiety i zainstaluj je.
1578 \layout Enumerate
1579
1580 OK, nie brakuje pakietów.
1581  Czy nie u¿y³e¶ jakie¶ opcji dopasowuj±cej w LyX-ie? Precyzuj±c, czy nie
1582  u¿y³e¶ jej niew³a¶ciwie, jak próba rêcznego wstawienia wielu 
1583 \family sans 
1584 Protected Blank
1585 \family default 
1586 s, 
1587 \family sans 
1588 Linebreak
1589 \family default 
1590 s czy 
1591 \family sans 
1592 Pagebreak
1593 \family default 
1594 s? Czy próbowa³e¶ to kludge co¶ razem z nimi zamiast u¿yæ odpowiednich ¶rodowisk
1595  akapitów?
1596 \layout Enumerate
1597
1598 OK, nie u¿y³e¶ ¿adnej opcji dopasowuj±cej, postêpujesz zgodnie z zasadami.
1599  Czy próbowa³e¶ przeprowadziæ jaki¶ fantastyczny manewr? Czy zrobi³e¶ co¶
1600  wspania³ego w tabeli czy równaniu, jak wstawienie grafiki do komórki tabeli?
1601 \layout Enumerate
1602
1603 Czy nie masz zbyt d³ugich akapitów tekstu gdzie LaTeX nie mo¿e znale¼æ miejsca
1604  na prze³amanie wiersza? Domy¶lnie LaTeX jest dok³adny w dodawaniu ekstra
1605  odstêpów miêdzy wyrazami aby prze³amaæ wiersz.
1606  Proponowane jest przerobienie akapitów aby usun±æ ten problem.
1607  Je¶li to nie jest mo¿liwe, mo¿esz obj±æ swój tekst w 
1608 \family typewriter 
1609
1610 \backslash 
1611 sloppypar
1612 \family default 
1613  aby obni¿yæ wymagania LaTeX-a przy ³amaniu wierszy.
1614 \layout Enumerate
1615
1616 Czy nie przesadzi³e¶ z zagnie¿d¿aniem? LyX [aktualnie] nie sprawdza czy
1617  nie przekroczy³e¶ limitu zagnie¿d¿enia ¶rodowiska.
1618  Je¶li zagnie¼dzi³e¶ ¶rodowiska a¿ do 17 poziomu, to mo¿e byæ problem.
1619 \layout Enumerate
1620
1621 Nie otrzyma³e¶ ¿adnych komunikatów b³êdów ale wynik ¼le wygl±da.
1622  Je¶li masz tabelê lub rysunek szerszy lub d³u¿szy od strony, to powiniene¶:
1623 \begin_deeper 
1624 \layout Enumerate
1625
1626 przeskalowaæ rysunek do odpowiednich wymiarów,
1627 \layout Enumerate
1628
1629 skróciæ tabelê, tak aby pasowa³a.
1630 \layout Standard
1631
1632 Je¶li dalej jest ¼le z wynikiem i nie próbowa³e¶ przeprowadziæ ¿adnych wspania³y
1633 ch lub kludge opcji dopasowuj±cych, to my nie wiemy co jest nie tak.
1634 \end_deeper 
1635 \layout Standard
1636
1637 Je¶li to nie pomo¿e, to 
1638 \emph on 
1639 prawdopodobnie
1640 \emph default 
1641  znalaz³e¶ b³±d w LyX-ie\SpecialChar \ldots{}
1642
1643 \layout Chapter
1644
1645 Dodatkowe narzêdzia sk³adu dokumentu
1646 \layout Section
1647
1648 Przygotowanie bibliografii za pomoc± BibTeX-a
1649 \layout Standard
1650
1651 by
1652 \noun on 
1653  Mike Ressler
1654 \begin_inset Foot
1655 collapsed true
1656
1657 \layout Standard
1658
1659 Ressler is to blame for all of Chapter 1 except where noted.
1660 \end_inset 
1661
1662
1663 \layout Standard
1664
1665 STOP! je¶li wiesz czym jest BibTeX lub masz dobry pomys³ na jego zastosowanie
1666  (np.
1667  u³o¿enie swojej w³asnej bazy bibliograficznej) nie id¼, a biegnij do swojego
1668  egzemplarza drugiego wydania Lamporta
1669 \emph on 
1670  LaTeX: A Document Preparation System
1671 \emph default 
1672 , zw³aszcza 
1673 \emph on 
1674 Dodatek B
1675 \emph default 
1676 .
1677  W dalszej dyskusji zak³adamy, ¿e masz utworzony poprawny plik bibliografii
1678  oraz masz poprawnie ustawione wszystkie odpowiednie zmienne ¶rodowiska
1679  (np.
1680
1681 \family typewriter 
1682  BIBINPUTS
1683 \family default 
1684 ,
1685 \family typewriter 
1686  BSTINPUTS
1687 \family default 
1688  i
1689 \family typewriter 
1690  TEXINPUTS
1691 \family default 
1692 ) oraz je¶li jeste¶ odpowiednio zdesperowany powiniene¶ utworzyæ plik LaTeX-a
1693  ,,
1694 \family typewriter 
1695 .tex
1696 \family default 
1697 '' z baz± BibTeX-a.
1698 \layout Standard
1699
1700 Dla tych, którzy nie znaj± BibTeX-a, jest to system do tworzenia wielkich
1701  baz Twoich czêsto u¿ywanych odno¶ników do literatury.
1702 \layout Standard
1703
1704 Dla wszystkich przysz³ych artyku³ów, zapisz tylko potrzebne pozycje literatury
1705  do wstawienia do bazy i oznacz odpowiednim kluczem ka¿dy odno¶nik.
1706  Nawet je¶li piszesz tylko kilka dokumentów z kilkoma odno¶nikami w ka¿dym,
1707  to warto po¶wiêciæ Twój czas na sprawdzenie BibTeX-a i zdecydowaæ czy bêdzie
1708  u¿yteczny dla Ciebie.
1709 \layout Standard
1710
1711 Aby u¿ywaæ BibTeX-a w LyX-ie nale¿y najpierw zapoznaæ siê 
1712 \emph on 
1713 Podrêcznikiem U¿ytkownika
1714 \emph default 
1715 , w którym opisano sposób wstawiania cytowañ.
1716  Podstawowy mechanizm wstawiania odno¶ników BibTeX-a jest taki sam.
1717  Umie¶æ kursor na koñcu dokumentu i wybierz
1718 \family sans 
1719 \bar under 
1720  W
1721 \bar default 
1722 staw\SpecialChar \menuseparator
1723
1724 \bar under 
1725 S
1726 \bar default 
1727 pisy\SpecialChar \menuseparator
1728
1729 \bar under 
1730 C
1731 \bar default 
1732 ytowanie
1733 \family default 
1734 .
1735  W otwartym oknie dialogowym wype³nij dwa pola:
1736 \layout Description
1737
1738 Baza\SpecialChar ~
1739 Danych podaj nazwê pliku
1740 \family typewriter 
1741 .bib
1742 \family default 
1743  ale BEZ rozszerzenia
1744 \family typewriter 
1745  .bib
1746 \family default 
1747 .
1748  Dla wyszukiwania w wielu plikach
1749 \family typewriter 
1750 .bib
1751 \family default 
1752  nale¿y podaæ ich nazwy rozdzielaj±c je przecinkiem.
1753 \layout Description
1754
1755 Styl podaj nazwê pliku stylu BibTeX-a BEZ rozszerzenia
1756 \family typewriter 
1757  .bst
1758 \family default 
1759 .
1760  Domy¶lnym stylem jest
1761 \family typewriter 
1762  plain
1763 \family default 
1764
1765 \begin_inset Foot
1766 collapsed false
1767
1768 \layout Standard
1769
1770 Dostêpne s± równie¿ style zgodne z polskimi zwyczajami typograficznymi o
1771  nazwach: 
1772 \family typewriter 
1773 plabbrv
1774 \family default 
1775
1776 \family typewriter 
1777 plalpha
1778 \family default 
1779
1780 \family typewriter 
1781 plplain
1782 \family default 
1783  i 
1784 \family typewriter 
1785 plunsrt
1786 \family default 
1787 .
1788  Przyp.
1789  t³um.
1790 \end_inset 
1791
1792  (który powinien byæ do³±czony do Twojej dystrybucji LaTeX-a, tak ¿e nie
1793  musisz przejmowaæ siê utworzeniem go).
1794 \layout Standard
1795
1796 Zak³adamy, ¿e dla ka¿dego cytowania ¼ród³o znajduje siê w pliku
1797 \family typewriter 
1798  .bib
1799 \family default 
1800 , wywo³ujemy polecenie
1801 \family sans 
1802 \bar under 
1803  W
1804 \bar default 
1805 staw\SpecialChar \menuseparator
1806
1807 \bar under 
1808 C
1809 \bar default 
1810 ytowanie
1811 \family default 
1812  w odpowiednim miejscu w tek¶cie i wybierz z listy w³a¶ciwy klucz odno¶nika.
1813  Nie potrzeba nic wiêcej; gdy wywo³ujemy na przyk³ad polecenie
1814 \family sans 
1815 \bar under 
1816  P
1817 \bar default 
1818 odgl±d\SpecialChar \menuseparator
1819
1820 \bar under 
1821 D
1822 \bar default 
1823 VI
1824 \family default 
1825 , powiniene¶ zobaczyæ ¿e BibTeX i LaTeX s± wywo³ywane gdy zachodzi potrzeba,
1826  w³±czaj±c wielokrotne wywo³anie LaTeX-a.
1827 \layout Section
1828
1829 Tworzenie indeksu
1830 \layout Standard
1831
1832 Dobry indeks jest jedn± z najtrudniejszych rzeczy do zrobienia w d³ugim
1833  dokumencie.
1834  LyX pomaga wykonaæ rzeczy trochê pro¶ciej za pomoc± interfejsu do programu
1835 \family typewriter 
1836  makeindex
1837 \begin_inset Foot
1838 collapsed false
1839
1840 \layout Standard
1841
1842 Dla dokumentów polskojêzycznych powinien byæ wywo³ywany program 
1843 \family typewriter 
1844 plmindex
1845 \family default 
1846 .
1847  Przyp.
1848  t³um.
1849 \end_inset 
1850
1851
1852 \family default 
1853 , który mo¿na znale¼æ w dystrybucjach.
1854 \layout Standard
1855
1856 Wstawianie indeksu i zaznaczanie s³ów do w³±czenia do indeksu odbywa siê
1857  tak± sam± drog± jak przygotowanie bibliografii opisanej w poprzedniej sekcji.
1858 \layout Standard
1859
1860 Najpierw przejd¼ na koniec swojego dokumentu i wybierz
1861 \family sans 
1862 \bar under 
1863  W
1864 \bar default 
1865 staw\SpecialChar \menuseparator
1866
1867 \bar under 
1868 S
1869 \bar default 
1870 pisy\SpecialChar \menuseparator
1871
1872 \bar under 
1873 I
1874 \bar default 
1875 ndeks
1876 \family default 
1877 .
1878  Nastêpnie, dla ka¿dego s³owa, które chcesz dodaæ do indeksu, umie¶æ kursor
1879  na koñcu tego s³owa i wybierz
1880 \family sans 
1881 \bar under 
1882  W
1883 \bar default 
1884 staw\SpecialChar \menuseparator
1885 Wstaw poprzedzaj±ce s³owo do indeksu
1886 \family default 
1887 .
1888  To spowoduje umieszczenie znacznika pokazuj±cego s³owo, które pojawi siê
1889  w indeksie.
1890 \layout Standard
1891
1892 Je¿eli chcesz dok³adnie podaæ co ma pojawiæ siê w indeksie -- na przyk³ad
1893  potrzebujesz mieæ s³owo ,,kot'' w indeksie, które bêdzie odnosi³o siê do
1894  s³ów w tek¶cie ,,kot'' i ,,koty'' to po prostu wybierz polecenie
1895 \family sans 
1896  Wstaw\SpecialChar \menuseparator
1897 S³owo do indeksu
1898 \family default 
1899  i wpisz s³owo ,,kot'' w oknie dialogowym.
1900 \layout Standard
1901
1902 I to wszystko.
1903  LyX automatycznie wywo³a
1904 \family typewriter 
1905  makeindex
1906 \family default 
1907  i samodzielnie utworzy indeks.
1908 \layout Standard
1909
1910 B±d¼ ostro¿ny i nie wstawiaj spacji pomiêdzy s³owem a znacznikiem indeksu,
1911  poniewa¿ mo¿e siê zdarzyæ utworzenie niew³a¶ciwego numeru strony w indeksie.
1912 \layout Standard
1913
1914 Powiniene¶ zdawaæ sobie sprawê, ¿e istniej± bardziej zaawansowane metody
1915  u¿ycia
1916 \family typewriter 
1917  makeindex
1918 \family default 
1919 : spójrz w dokumentacjê do³±czon± do Twojej dystrybucji LaTeX-a i znajd¼
1920  jak wykonaæ zagnie¿d¿one wpisy itp.
1921 \layout Section
1922
1923 Dokumenty wieloczê¶ciowe
1924 \layout Subsection
1925
1926 Podstawy
1927 \layout Standard
1928
1929 Przy pracy z du¿ymi plikami zawieraj±cymi wiele sekcji i rozdzia³ów, czêsto
1930  jest wygodniej podzieliæ dokument na kilka plików lub byæ mo¿e masz ---
1931  perhaps you have something where a table may change from time to time,
1932  but the preceding text does not.
1933  W takim przypadku powiniene¶ na serio rozwa¿yæ u¿ycie dokumentów wieloczê¶ciowy
1934 ch.
1935  Na przyk³ad prace naukowe czêsto sk³adaj± siê z piêciu g³ównych czê¶ci:
1936  wprowadzenia, obserwacji, wyników, dyskusji i podsumowania.
1937  Ka¿da z tych czê¶ci mo¿e byæ zapisana w oddzielnym pliku LyX-a, gdzie jeden
1938  plik bêdzie dokumentem g³ównym zawieraj±cym tytu³, autorów, streszczenie,
1939  spis tre¶ci, itd.
1940  oraz piêæ do³±czonych plików dokumentów sk³adowych (podrzêdnych).
1941  Nale¿y zwróciæ uwagê, ¿e ka¿dy z plików podrzêdnych w³±czanych do dokumentu
1942  g³ównego stanowi niezale¿ny dokument, który mo¿e byæ formatowany i drukowany
1943  niezale¿nie.
1944  Mo¿na do³±czaæ równie¿ pliki LaTeX-a, ale pliki te nie mog± posiadaæ w³asnej
1945  preambu³y (wszystko przed
1946 \family typewriter 
1947  
1948 \backslash 
1949 begin{document}
1950 \family default 
1951  i za
1952 \family typewriter 
1953  
1954 \backslash 
1955 end{document}
1956 \family default 
1957  musi byæ usuniête) gdy¿ w przeciwnym wypadku LaTeX zg³osi b³±d podczas
1958  przetwarzania dokumentu g³ównego.
1959 \layout Standard
1960
1961 LyX pozwala ³atwo w³±czaæ pliki poleceniem z menu
1962 \family sans 
1963 \bar under 
1964  W
1965 \bar default 
1966 staw\SpecialChar \menuseparator
1967 D
1968 \bar under 
1969 o
1970 \bar default 
1971 ³±cz plik
1972 \family default 
1973 .
1974  Po wybraniu polecenia otwiera siê okno wyboru dokumentu.
1975  Po wybraniu dokumentu do wstawienia/do³±czenia, w bie¿±cej pozycji kursora
1976  wstawiany jest ma³y prostok±t.
1977  Klikniêcie na prostok±cie wy¶wietla okno dialogowe do³±czania dokumentu.
1978  W tym oknie mo¿na wybraæ plik do do³±czenia i metodê do³±czenia.
1979  Wybór pliku powinien byæ ju¿ jasny.
1980  W oknie mamy do wyboru trzy metody do³±czania plików; ,,do³±cz'', ,,wstaw''
1981  i ,,maszynopis''.
1982  Ró¿nica pomiêdzy ,,do³±cz'' a ,,wstaw'' jest w pe³ni jasna tylko dla LaTeX-pert
1983 ów.
1984  Praktycznie ró¿nica polega na tym, ¿e pliki ,,do³±czane'' zaczynaj± siê
1985  od nowej strony, a pliki ,,wstawiane'' od miejsca wstawienia.
1986 \layout Standard
1987
1988 Generalnie, plik g³ówny jest konwertowany do formatu LaTeX przed sk³adaniem,
1989  podczas gdy do³±czane pliki s± konwertowane do formatu LaTeX, który nie
1990  zawiera preambu³y.
1991  Zaznaczenie pola Nie
1992 \family sans 
1993  formatuj
1994 \family default 
1995  zabezpiecza przed konwersj±.
1996 \layout Standard
1997
1998 Do³±czanie plików metod± ,,maszynopis'' pozwala na do³±czanie ,,dos³owne''
1999  plików w ¶rodowisku verbatim z czcionk± o sta³ej szeroko¶ci.
2000  Normalnie spacje w pliku s± niewidzialne, dwie kolejne spacje s± zachowywane,
2001  inaczej ni¿ standardowo w LyX-ie.
2002  Przycisk
2003 \family sans 
2004  Zachowaj spacje
2005 \family default 
2006  pozwala na zachowanie spacji lub przywraca standardow± interpretacjê spacji
2007  wielokrotnych.
2008 \layout Subsection
2009
2010 Odno¶niki pomiêdzy plikami
2011 \layout Standard
2012
2013 Jest mo¿liwe ustawienie odno¶ników pomiêdzy ró¿nymi plikami.
2014  Najpierw otwórz wszystkie pliki pomiêdzy którymi chcesz wykonaæ odno¶niki,
2015  na przyk³ad dwa pliki A i B, gdzie plik B jest do³±czony do pliku A.
2016  Wstawili¶my etykietê w pliku A i chcemy odno¶nik do niej w pliku B.
2017  Bêd±c w dokumencie A z menu wybieramy
2018 \family sans 
2019 \bar under 
2020  W
2021 \bar default 
2022 staw \SpecialChar \menuseparator
2023
2024 \bar under 
2025 O
2026 \bar default 
2027 dno¶nik wewnêtrzny
2028 \family default 
2029 .
2030  Teraz prze³±czamy siê na dokument B bez zamykania okna odno¶nika.
2031  Wstawiamy odno¶nik i ju¿!
2032 \layout Standard
2033
2034 Gdy przegl±dasz plik A wszystko jest poprawnie do³±czone i etykietowane.
2035  Je¶li zamkniesz okno odno¶nika i ponownie otworzysz je w dokumencie B to
2036  zobaczysz tylko etykiety pliku B.
2037  Ta procedura mo¿e nie jest intuicyjna (czasami zdarza siê b³±d) ale dzia³a.
2038 \layout Section
2039
2040 Algorytmy
2041 \layout Standard
2042
2043
2044 \emph on 
2045 (z konfiguracji LaTeX)
2046 \layout Standard
2047
2048 Pakiet
2049 \family sans 
2050  algorithm
2051 \family default 
2052  jest potrzebny do wydania ,,wstawek algorytmów''.
2053  Jest on u¿yteczny przy umieszczaniu krótkich algorytmów w miejscu z³amania
2054  strony i obs³uguje tak¿e spis algorytmów.
2055 \layout Section
2056
2057 Podrysunek
2058 \layout Standard
2059
2060
2061 \emph on 
2062 (z konfiguracji LaTeX)
2063 \layout Standard
2064
2065 Pakiet
2066 \family sans 
2067  subfigure
2068 \family default 
2069  jest u¿ywany w LyX-ie podczas wyboru ,,Podrysunek'' w oknie Rysunek.
2070  Kilka rysunków zaznaczonych w ten sposób mo¿e byæ upakowanych w jednej
2071  wstawce w indywidualnymi podpisami.
2072 \layout Section
2073
2074 Ozdobne nag³ówki i stopki
2075 \begin_inset Foot
2076 collapsed false
2077
2078 \layout Standard
2079
2080 W³a¶ciwie powinny¶my u¿ywaæ nazw: 
2081 \emph on 
2082 pagina górna
2083 \emph default 
2084  i 
2085 \emph on 
2086 pagina dolna
2087 \emph default 
2088 .
2089  Przyp.
2090  t³um.
2091 \end_inset 
2092
2093
2094 \layout Standard
2095
2096 Domy¶lny uk³ad strony jest raczej nieskomplikowany -- plain; dla klasy artyku³
2097  numery stron s± wycentrowane u do³u strony.
2098  Ten dokument jest klasy ksi±¿ka (book) i jest trochê bardziej ozdobny,
2099  ale aby rzeczywi¶cie postawiæ na wygl±d potrzebujesz u¿yæ stylu ,,fancy''
2100  co wspomniano w
2101 \emph on 
2102  Podrêczniku U¿ytkownika
2103 \emph default 
2104 .
2105  Ta sekcja opisuje polecenia LaTeX-a, które trzeba wstawiæ w preambule lub
2106  w tek¶cie aby otrzymaæ ¿±dany efekt.
2107 \layout Standard
2108
2109 Nag³ówek i stopka strony s± podzielone na trzy pola okre¶laj±ce lew±, ¶rodkow±
2110  i praw± ich czê¶æ.
2111  Poleceniami LaTeX-a do ustawiania tych pól w najprostszy sposób s±
2112 \family typewriter 
2113  
2114 \backslash 
2115 lhead
2116 \family default 
2117 ,
2118 \family typewriter 
2119  
2120 \backslash 
2121 chead
2122 \family default 
2123 ,
2124 \family typewriter 
2125  
2126 \backslash 
2127 rhead
2128 \family default 
2129 ,
2130 \family typewriter 
2131  
2132 \backslash 
2133 lfoot
2134 \family default 
2135  itd.
2136  przypu¶æmy, ¿e chcesz wstawiæ swoje nazwisko w lewym górnym naro¿niku ka¿dej
2137  strony.
2138  Po prostu wstaw nastêpuj±ce polecenie w preambule:
2139 \layout Standard
2140
2141
2142 \family typewriter 
2143
2144 \backslash 
2145 lhead{John Q.
2146  DocWriter}
2147 \layout Standard
2148
2149 Zobaczysz w podgl±dzie swoje nazwisko w lewym górnym naro¿niku ka¿dej strony.
2150  Je¶li pole ma domy¶ln± warto¶æ, której chcesz siê pozbyæ (czêsto numer
2151  strony pojawia siê w centralnej czê¶ci stopki) to po prostu wstaw polecenie
2152  z pustym argumentem, jak w przyk³adzie:
2153 \layout Standard
2154
2155
2156 \family typewriter 
2157
2158 \backslash 
2159 cfoot{}
2160 \layout Standard
2161
2162 Zróbmy rzeczywi¶cie ozdobn± stronê: wstawmy w nag³ówku po lewej nazwê sekcji
2163  wraz ze s³owem ,,Sekcja'' (np.
2164  Sekcja 3) oraz numer strony po prawej (np.
2165  Strona 4), natomiast w stopce po lewej swoje nazwisko i datê po prawej.
2166  Do tego bêd± nam potrzebne nastêpuj±ce polecenia w preambule:
2167 \layout Standard
2168
2169
2170 \family typewriter 
2171
2172 \backslash 
2173 lhead{Sekcja
2174 \backslash 
2175 thesection}
2176 \layout Standard
2177
2178
2179 \family typewriter 
2180
2181 \backslash 
2182 chead{}
2183 \layout Standard
2184
2185
2186 \family typewriter 
2187
2188 \backslash 
2189 rhead{Strona
2190 \backslash 
2191 thepage}
2192 \layout Standard
2193
2194
2195 \family typewriter 
2196
2197 \backslash 
2198 lfoot{John Q.
2199  DocWriter}
2200 \layout Standard
2201
2202
2203 \family typewriter 
2204
2205 \backslash 
2206 cfoot{}
2207 \layout Standard
2208
2209
2210 \family typewriter 
2211
2212 \backslash 
2213 rfoot{
2214 \backslash 
2215 today}
2216 \layout Standard
2217
2218 Polecenia
2219 \family typewriter 
2220  
2221 \backslash 
2222 thesection
2223 \family default 
2224  i
2225 \family typewriter 
2226  
2227 \backslash 
2228 thepage
2229 \family default 
2230  daj± dostêp do liczników sekcji i stron LaTeX-a, i bêd± wydrukowane w bie¿±cej
2231  sekcji i numerze strony.
2232  Polecenie
2233 \family typewriter 
2234  
2235 \backslash 
2236 today
2237 \family default 
2238  wydrukuje bie¿±c± datê.
2239 \layout Standard
2240
2241 Cienk± liniê oddzielaj±c± nag³ówek i stopkê od tre¶ci strony mo¿emy tak¿e
2242  zmodyfikowaæ.
2243  Je¶li nie chcesz linii w nag³ówku to ustal jej grubo¶æ na 0.
2244  Domy¶ln± grubo¶ci± linii nag³ówkowej jest 0.4pt, dla linii stopki za¶ jest
2245  0pt.
2246  Mo¿esz u¿yæ polecenia
2247 \family typewriter 
2248  
2249 \backslash 
2250 renewcommand{
2251 \backslash 
2252 headrulewidth}{0.4pt}
2253 \family default 
2254  i
2255 \family typewriter 
2256  
2257 \backslash 
2258 renewcommand{
2259 \backslash 
2260 footrulewidth}{0.4pt}
2261 \family default 
2262  do ustawiania ich grubo¶ci.
2263 \layout Standard
2264
2265 Mo¿esz prze³±czaæ i wy³±czaæ ustawienia nag³ówków/stopek za pomoc± poleceñ:
2266 \family typewriter 
2267  
2268 \backslash 
2269 thispagestyle{empty}
2270 \family default 
2271 ,
2272 \family typewriter 
2273  
2274 \backslash 
2275 thispagestyle{plain}
2276 \family default 
2277  i
2278 \family typewriter 
2279  
2280 \backslash 
2281 thispagestyle{fancy}
2282 \family default 
2283 .
2284  Po prostu wstaw je w tek¶cie na stronie, któr± chcesz zmieniæ i zaznacz
2285  je jako kod TeX-a.
2286  Strony tytu³owe s± oznaczone domy¶lnie jako plain, podczas gdy kolejne
2287  strony s± w stylu fancy gdy u¿ywasz globalnego ustawienia fancy.
2288 \layout Standard
2289
2290 Istnieje wiele z³o¿onych poleceñ, które bêd± wstawia³y rzeczy w lewym górnym
2291  naro¿niku na stronach nieparzystych itd.
2292  ale po szczegó³y odsy³amy Ciê do dokumentacji pakietu
2293 \family typewriter 
2294  fancyhdr
2295 \family default 
2296 .
2297  Na przyk³ad je¶li masz instalacjê teTeX-a zobacz
2298 \family typewriter 
2299  /usr/share/texmf/doc/latex/fancyhdr/fancyhdr.dvi
2300 \family default 
2301 .
2302 \layout Standard
2303
2304 Koñcowym przyk³adem jest mo¿liwo¶æ wstawienia pliku Encapsulated PostScript
2305  do nag³ówka lub stopki.
2306  Pewnie bêdziesz chcia³ wstawiæ logo firmy do lewego dolnego naro¿nika strony.
2307  Spróbuj wstawiæ nastêpuj±ce polecenie
2308 \layout Standard
2309
2310
2311 \family typewriter 
2312
2313 \backslash 
2314 lhead{
2315 \backslash 
2316 resizebox{1in}{!}{
2317 \backslash 
2318 includegraphics{logo.eps}}}
2319 \layout Standard
2320 \noindent 
2321 (bêdzie potrzebne w preambule polecenie
2322 \family typewriter 
2323  
2324 \backslash 
2325 usepackage{graphics}
2326 \family default 
2327 ).
2328 \layout Section
2329
2330 Ministrony
2331 \layout Standard
2332
2333 LaTeX dostarcza mechanizmu do tworzenia strony wewn±trz strony, zwanych
2334  ministronami (minipages).
2335  Wewn±trz ministrony s± dostêpne wszystkie zwyk³e regu³y wcinania, ³amania
2336  wierszy itd.
2337  LyX tak¿e dostarcza tê mo¿liwo¶æ.
2338 \layout Standard
2339
2340 Ministrony posiadaj± w³asn± wstawkê, aby wstawiæ ministronê wybierz polecenie
2341 \family sans 
2342  
2343 \bar under 
2344 W
2345 \bar default 
2346 staw \SpecialChar \menuseparator
2347
2348 \bar under 
2349 M
2350 \bar default 
2351 inistrony
2352 \family default 
2353 .
2354  Klikaj±c prawym klawiszem myszy na wstawkê otwiera siê okienko, w którym
2355  mo¿na ustaliæ wyrównianie i szeroko¶æ ministrony.
2356 \layout Standard
2357
2358 Uwaga.
2359  Je¶li ministrona jest zbyt d³uga aby zmie¶ciæ siê na stronie, to zostanie
2360  skrócona, a nie wciêta na nastêpnej stronie (nie pojawi siê reszta na nastêpnej
2361  stronie).
2362 \layout Standard
2363
2364 S± dwie dalsze opcje ministron.
2365  Je¶li umie¶cisz dwie ministrony obok siebie, to mo¿na wstawiæ 
2366 \family sans 
2367 \bar under 
2368 W
2369 \bar default 
2370 staw\SpecialChar \menuseparator
2371  
2372 \bar under 
2373 Z
2374 \bar default 
2375 nak specjalny\SpecialChar \menuseparator
2376  HFill
2377 \family default 
2378  do maksymalnego rozsuniêcia ich, który wymuszi pocz±tek pierwszej ministrony
2379  od lewego marginesu a koniec nastêpnej na prawym marginesie.
2380  Sprawd¼ t± opcjê dla drugiej ministrony, nie dla pierwszej.
2381 \layout Standard
2382
2383
2384 \begin_inset Minipage
2385 position 0
2386 inner_position 0
2387 height "0pt"
2388 width "1.5in"
2389 collapsed true
2390
2391 \layout Standard
2392
2393 To jest ministrona, która nie u¿ywa hfill.
2394  To jest drugie zdanie ministrony, która nie u¿ywa hfill.
2395 \end_inset 
2396
2397
2398 \layout Standard
2399
2400
2401 \begin_inset Minipage
2402 position 0
2403 inner_position 0
2404 height "0pt"
2405 width "1.5in"
2406 collapsed true
2407
2408 \layout Standard
2409
2410 To jest druga ministrona, która nie u¿ywa hfill.
2411  To jest drugie zdanie drugiej ministrony, która nie u¿ywa hfill.
2412 \end_inset 
2413
2414
2415 \layout Standard
2416 \added_space_top medskip \added_space_bottom medskip 
2417 To jest zwyk³y tekst, który rozdziela dwa przyk³ady
2418 \layout Standard
2419
2420
2421 \begin_inset Minipage
2422 position 0
2423 inner_position 0
2424 height "0pt"
2425 width "1.5in"
2426 collapsed true
2427
2428 \layout Standard
2429
2430 To jest ministrona, która u¿ywa hfill.
2431  To jest drugie zdanie ministrony, która u¿ywa hfill.
2432 \end_inset 
2433
2434
2435 \hfill 
2436
2437 \begin_inset Minipage
2438 position 0
2439 inner_position 0
2440 height "0pt"
2441 width "1.5in"
2442 collapsed true
2443
2444 \layout Standard
2445
2446 To jest druga ministrona, która u¿ywa hfill.
2447  To jest drugie zdanie drugiej ministrony, która u¿ywa hfill.
2448 \end_inset 
2449
2450
2451 \layout Section
2452
2453 Oblewanie rysunku tekstem
2454 \begin_inset LatexCommand \label{sec:floatflt}
2455
2456 \end_inset 
2457
2458
2459 \layout Standard
2460
2461
2462 \begin_inset Wrap figure
2463 placement r
2464 width "6cm"
2465 collapsed false
2466
2467 \layout Standard
2468
2469
2470 \begin_inset Graphics
2471         filename mobius.eps
2472         display color
2473         width 40col%
2474         rotateOrigin center
2475
2476 \end_inset 
2477
2478
2479 \layout Caption
2480
2481 Ten rysunek jest oblany tekstem, a to jest ¶liczny podpis
2482 \end_inset 
2483
2484
2485 \layout Standard
2486
2487 Czêsto zadawanym pytaniem jest pytanie o mo¿liwo¶æ ,,oblewania'' rysunków
2488  tekstem w ten sposób, ¿e rysunek zajmuje czê¶æ kolumny a reszta jest wype³niona
2489  tekstem.
2490  Je¶li masz zainstalowany pakiet LaTeX-a
2491 \family typewriter 
2492  floatflt
2493 \family default 
2494  (jest czêsto w³±czany do dystrybucji lub dostêpny w archiwach CTAN), to
2495  mo¿esz to zrobiæ.
2496 \layout Standard
2497
2498 Obok znajduje siê rysunek pêtli Moebiusa -- powiniene¶ go ju¿ zobaczyæ w
2499 \emph on 
2500  Podrêczniku U¿ytkownika
2501 \emph default 
2502 .
2503  Aby oblaæ tekstem rysunek jak ten, nalezy wybrac z menu polecenie 
2504 \family sans 
2505 \bar under 
2506 W
2507 \bar default 
2508 staw\SpecialChar \menuseparator
2509
2510 \bar under 
2511  W
2512 \bar default 
2513 stawki\SpecialChar \menuseparator
2514  Rysunek oblany
2515 \family default 
2516 .
2517 \layout Standard
2518
2519 Uwaga: ten pakiet jest bardzo kruchy
2520 \begin_inset Foot
2521 collapsed true
2522
2523 \layout Standard
2524
2525 Kruchy w sensie LaTeX-a.
2526  Przyp.
2527  t³um.
2528 \end_inset 
2529
2530 .
2531  Dla przyk³adu, maj±c rysunek zbyt blisko koñca strony bêdzie zamieszanie
2532  tre¶ci powy¿ej, gdy bêdziemy mieæ dwa rysunki blisko siebie.
2533  U¿ywaj tego pakietu oszczêdnie i czytaj dokumentacjê zawart± w pakiecie.
2534 \layout Standard
2535
2536 Miejmy nadziejê, ¿e w przysz³o¶ci LyX bêdzie obs³ugiwa³ te funkcje natywnie.
2537 \layout Section
2538
2539 Opcje tabel
2540 \layout Standard
2541
2542 Standardowy uk³ad tabel bêdzie odpowiedni w 99% wszystkich Twoich tabel,
2543  ale w 1% prawdopodobnie bêdziesz potrzebowa³ tabel specjalnie dostosowanych
2544  do swoich wymagañ.
2545  Polecenie z menu
2546 \family sans 
2547 \bar under 
2548  U
2549 \bar default 
2550 k³ad\SpecialChar \menuseparator
2551
2552 \bar under 
2553  T
2554 \bar default 
2555 abela
2556 \family default 
2557  otwiera okno formatowania tabeli.
2558  W zak³adce
2559 \family sans 
2560  Kolumna
2561 \family default 
2562 /
2563 \family sans 
2564 Wiersz
2565 \family default 
2566  znajduje siê dostêp do kilku poleceñ wyrównywania kolumn.
2567 \layout Standard
2568
2569 Teraz krótkie wspomnienie o LaTeX-u: gdy ustawiamy tabelê w LaTeX-u to dla
2570  ka¿dej kolumny deklarujemy typ wyrównania.
2571  Dla przyk³adu mo¿esz podaæ ,,
2572 \family typewriter 
2573 l
2574 \family default 
2575 '',,,
2576 \family typewriter 
2577 c
2578 \family default 
2579 '' lub ,,
2580 \family typewriter 
2581 r
2582 \family default 
2583 '' dla justowania do lewej, wy¶rodkowania i wyrównania kolumny do prawej
2584  (co w LyX-ie objawia siê trzema przyciskami
2585 \family sans 
2586  W lewo
2587 \family default 
2588 /
2589 \family sans 
2590 Center
2591 \family default 
2592 /
2593 \family sans 
2594 W prawo
2595 \family default 
2596 ).
2597  Czwartym typem jest ,,
2598 \family typewriter 
2599 p
2600 \family default 
2601 '', który deklaruje szeroko¶æ kolumny (w LyX-ie mamy pole
2602 \family sans 
2603  Szeroko¶æ
2604 \family default 
2605 ) co powoduje automatyczne ³amanie wierszy.
2606  Pi±tym typem jest ,,
2607 \family typewriter 
2608 |
2609 \family default 
2610 '' (vertical bar), który raczej s³u¿y do tworzenia pionowych kresek ramek
2611  (w LyX-ie mamy do tego przyciski w polu
2612 \family sans 
2613  Ramka
2614 \family default 
2615 ).
2616  Koñcz±c, istnieje typ ,,
2617 \family typewriter 
2618 @
2619 \family default 
2620 '', który pozwala u¿yæ cokolwiek jako separatora kolumn co jest zamkniête
2621  w towarzysz±cych nawiasach w³±czaj±c argument pusty.
2622  Powody robienia tego mog± nie byæ jasne, ale cechy te mog± byæ bardzo u¿yteczne.
2623  Najlepiej to pokazaæ na przyk³adach.
2624 \layout Subsection
2625
2626 Usuwanie dodatkowej przestrzeni tabeli
2627 \layout Standard
2628
2629 Tutaj znajduje siê standardowa tabela:
2630 \layout Standard
2631 \added_space_top 0.3cm \added_space_bottom 0.3cm \align center 
2632
2633 \begin_inset  Tabular
2634 <lyxtabular version="3" rows="3" columns="2">
2635 <features>
2636 <column alignment="left" valignment="top" width="0pt">
2637 <column alignment="left" valignment="top" leftline="true" width="0pt">
2638 <row bottomline="true">
2639 <cell alignment="left" valignment="top" topline="true" usebox="none">
2640 \begin_inset Text
2641
2642 \layout Standard
2643
2644 Type
2645 \end_inset 
2646 </cell>
2647 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
2648 \begin_inset Text
2649
2650 \layout Standard
2651
2652 Example
2653 \end_inset 
2654 </cell>
2655 </row>
2656 <row>
2657 <cell alignment="left" valignment="top" topline="true" usebox="none">
2658 \begin_inset Text
2659
2660 \layout Standard
2661
2662 Rock
2663 \end_inset 
2664 </cell>
2665 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2666 \begin_inset Text
2667
2668 \layout Standard
2669
2670 Granite
2671 \end_inset 
2672 </cell>
2673 </row>
2674 <row>
2675 <cell alignment="center" valignment="top" topline="true" usebox="none">
2676 \begin_inset Text
2677
2678 \layout Standard
2679
2680 Mineral
2681 \end_inset 
2682 </cell>
2683 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2684 \begin_inset Text
2685
2686 \layout Standard
2687
2688 Quartz
2689 \end_inset 
2690 </cell>
2691 </row>
2692 </lyxtabular>
2693
2694 \end_inset 
2695
2696
2697 \layout Standard
2698
2699 Zwróæ uwagê, ¿e poziome kreski wystaj± troszkê z obu strona poza tekst.
2700  Je¶li chcesz aby linie zaczyna³y i koñczy³y siê równo z tekstem, to mo¿na
2701  wstawiæ pusty separator na koñcu aby zwolniæ trochê miejsca dodawanego
2702  domy¶lnie przez LaTeX-a.
2703  Oto przyk³ad:
2704 \layout Standard
2705 \added_space_top 0.3cm \added_space_bottom 0.3cm \align center 
2706
2707 \begin_inset  Tabular
2708 <lyxtabular version="3" rows="3" columns="2">
2709 <features>
2710 <column alignment="left" valignment="top" width="0pt" special="@{} l">
2711 <column alignment="left" valignment="top" leftline="true" width="0pt" special="l @{}">
2712 <row bottomline="true">
2713 <cell alignment="left" valignment="top" topline="true" usebox="none">
2714 \begin_inset Text
2715
2716 \layout Standard
2717
2718 Type
2719 \end_inset 
2720 </cell>
2721 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
2722 \begin_inset Text
2723
2724 \layout Standard
2725
2726 Example
2727 \end_inset 
2728 </cell>
2729 </row>
2730 <row>
2731 <cell alignment="left" valignment="top" topline="true" usebox="none">
2732 \begin_inset Text
2733
2734 \layout Standard
2735
2736 Rock
2737 \end_inset 
2738 </cell>
2739 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2740 \begin_inset Text
2741
2742 \layout Standard
2743
2744 Granite
2745 \end_inset 
2746 </cell>
2747 </row>
2748 <row>
2749 <cell alignment="center" valignment="top" topline="true" usebox="none">
2750 \begin_inset Text
2751
2752 \layout Standard
2753
2754 Mineral
2755 \end_inset 
2756 </cell>
2757 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2758 \begin_inset Text
2759
2760 \layout Standard
2761
2762 Quartz
2763 \end_inset 
2764 </cell>
2765 </row>
2766 </lyxtabular>
2767
2768 \end_inset 
2769
2770
2771 \layout Standard
2772
2773 W tym przypadku w polu 
2774 \family sans 
2775 Wyrównanie
2776 \family default 
2777  w 
2778 \family sans 
2779 Kolumnie specjalnej
2780 \family default 
2781  dla lewej kolumny wpisano ,,
2782 \family typewriter 
2783 @{} l
2784 \family default 
2785 '', natomiast dla prawej wpisano ,,
2786 \family typewriter 
2787 l @{}
2788 \family default 
2789 '', co wstawia puste znaki na koñcach.
2790 \layout Subsection
2791
2792 Zmiana znaku separatora kolumn
2793 \layout Standard
2794
2795 Teraz proponujemy zastosowanie 
2796 \begin_inset Formula $\sqrt{\pi}$
2797 \end_inset 
2798
2799  z odrobin± miejsca obok jako separatora kolumn tabeli.
2800  Po prostu wy³±cz pionowe ramki i wpisz w polu
2801 \family sans 
2802  Wyrównanie
2803 \family default 
2804  w obszarze
2805 \family sans 
2806  Kolumna specjalna ,,
2807 \family typewriter 
2808 l@{~$
2809 \backslash 
2810 sqrt{
2811 \backslash 
2812 pi}$~} l
2813 \family default 
2814 ''.
2815  Oto wynik:
2816 \layout Standard
2817 \added_space_top 0.3cm \added_space_bottom 0.3cm \align center 
2818 .
2819 \begin_inset  Tabular
2820 <lyxtabular version="3" rows="3" columns="2">
2821 <features>
2822 <column alignment="left" valignment="top" width="0pt">
2823 <column alignment="left" valignment="top" width="0pt" special="@{~$\sqrt{\pi}$~}l">
2824 <row bottomline="true">
2825 <cell alignment="left" valignment="top" topline="true" usebox="none">
2826 \begin_inset Text
2827
2828 \layout Standard
2829
2830 Type
2831 \end_inset 
2832 </cell>
2833 <cell alignment="left" valignment="top" topline="true" usebox="none">
2834 \begin_inset Text
2835
2836 \layout Standard
2837
2838 Example
2839 \end_inset 
2840 </cell>
2841 </row>
2842 <row>
2843 <cell alignment="left" valignment="top" topline="true" usebox="none">
2844 \begin_inset Text
2845
2846 \layout Standard
2847
2848 Rock
2849 \end_inset 
2850 </cell>
2851 <cell alignment="center" valignment="top" topline="true" usebox="none">
2852 \begin_inset Text
2853
2854 \layout Standard
2855
2856 Granite
2857 \end_inset 
2858 </cell>
2859 </row>
2860 <row>
2861 <cell alignment="center" valignment="top" topline="true" usebox="none">
2862 \begin_inset Text
2863
2864 \layout Standard
2865
2866 Mineral
2867 \end_inset 
2868 </cell>
2869 <cell alignment="center" valignment="top" topline="true" usebox="none">
2870 \begin_inset Text
2871
2872 \layout Standard
2873
2874 Quartz
2875 \end_inset 
2876 </cell>
2877 </row>
2878 </lyxtabular>
2879
2880 \end_inset 
2881
2882
2883 \layout Subsection
2884
2885 Wyrównanie kolumny wed³ug cyfr znacz±cych
2886 \layout Standard
2887
2888 Proponujemy wyrównanie kolumny wed³ug cyfr znacz±cych.
2889  Standardowym trickiem LaTeX-a jest podzielenie liczby na dwie kolumny;
2890  w lewej -- przeznaczonej dla czê¶ci ca³kowitej -- wyrównujemy do prawej
2891  strony, a w prawej -- przeznaczonej dla czê¶ci u³amkowej -- wyrównujemy
2892  do lewej, natomiast separator kolumn ustawiamy jako pusty.
2893  Oto przyk³ad:
2894 \layout Standard
2895 \added_space_top 0.3cm \added_space_bottom 0.3cm \align center 
2896
2897 \begin_inset  Tabular
2898 <lyxtabular version="3" rows="5" columns="3">
2899 <features>
2900 <column alignment="center" valignment="top" width="0pt">
2901 <column alignment="right" valignment="top" leftline="true" width="0pt">
2902 <column alignment="center" valignment="top" width="0pt" special="@{} l">
2903 <row bottomline="true">
2904 <cell alignment="center" valignment="top" topline="true" usebox="none">
2905 \begin_inset Text
2906
2907 \layout Standard
2908
2909 Wyra¿enie
2910 \end_inset 
2911 </cell>
2912 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2913 \begin_inset Text
2914
2915 \layout Standard
2916
2917 Warto¶æ
2918 \end_inset 
2919 </cell>
2920 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
2921 \begin_inset Text
2922
2923 \layout Standard
2924
2925 \end_inset 
2926 </cell>
2927 </row>
2928 <row>
2929 <cell alignment="center" valignment="top" topline="true" usebox="none">
2930 \begin_inset Text
2931
2932 \layout Standard
2933
2934
2935 \begin_inset Formula $\pi$
2936 \end_inset 
2937
2938
2939 \end_inset 
2940 </cell>
2941 <cell alignment="right" valignment="top" topline="true" leftline="true" usebox="none">
2942 \begin_inset Text
2943
2944 \layout Standard
2945
2946 3.
2947 \end_inset 
2948 </cell>
2949 <cell alignment="center" valignment="top" topline="true" usebox="none">
2950 \begin_inset Text
2951
2952 \layout Standard
2953
2954 1416
2955 \end_inset 
2956 </cell>
2957 </row>
2958 <row>
2959 <cell alignment="center" valignment="top" topline="true" usebox="none">
2960 \begin_inset Text
2961
2962 \layout Standard
2963
2964
2965 \begin_inset Formula $\pi^{\pi}$
2966 \end_inset 
2967
2968
2969 \end_inset 
2970 </cell>
2971 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2972 \begin_inset Text
2973
2974 \layout Standard
2975
2976 36.
2977 \end_inset 
2978 </cell>
2979 <cell alignment="center" valignment="top" topline="true" usebox="none">
2980 \begin_inset Text
2981
2982 \layout Standard
2983
2984 462
2985 \end_inset 
2986 </cell>
2987 </row>
2988 <row>
2989 <cell alignment="center" valignment="top" topline="true" usebox="none">
2990 \begin_inset Text
2991
2992 \layout Standard
2993
2994
2995 \begin_inset Formula $(\pi^{\pi})^{\pi}$
2996 \end_inset 
2997
2998
2999 \end_inset 
3000 </cell>
3001 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3002 \begin_inset Text
3003
3004 \layout Standard
3005
3006 80663.
3007 \end_inset 
3008 </cell>
3009 <cell alignment="center" valignment="top" topline="true" usebox="none">
3010 \begin_inset Text
3011
3012 \layout Standard
3013
3014 \end_inset 
3015 </cell>
3016 </row>
3017 <row>
3018 <cell alignment="center" valignment="top" topline="true" usebox="none">
3019 \begin_inset Text
3020
3021 \layout Standard
3022
3023
3024 \begin_inset Formula $\pi^{\pi^{\pi}}$
3025 \end_inset 
3026
3027
3028 \end_inset 
3029 </cell>
3030 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3031 \begin_inset Text
3032
3033 \layout Standard
3034
3035 1.
3036 \end_inset 
3037 </cell>
3038 <cell alignment="center" valignment="top" topline="true" usebox="none">
3039 \begin_inset Text
3040
3041 \layout Standard
3042
3043 3402
3044 \begin_inset Formula $\times10^{18}$
3045 \end_inset 
3046
3047
3048 \end_inset 
3049 </cell>
3050 </row>
3051 </lyxtabular>
3052
3053 \end_inset 
3054
3055 .
3056 \layout Standard
3057
3058 Mimo ¿e bêdzie to wygl±da³o trochê ¶miesznie w LyX-ie, to na wydruku pojawi±
3059  siê dwukolumnowa tabela, w której prawa kolumna jest wyrównana wed³ug cyfr
3060  znacz±cych, a nag³ówek jest wy¶rodkowany.
3061 \layout Standard
3062
3063 My¶lê, ¿e najlepiej bêdzie jak opiszê jak to zrobi³em: Najpierw utworzy³em
3064  tabelê 3 x 3 i usun±³em wszystkie ramki.
3065  Nastêpnie doda³em ramki pod nag³ówkiem i rozdzielaj±c± pierwsz± i drug±
3066  kolumnê.
3067  Pierwsza kolumna jest wy¶rodkowana.
3068  W drugiej kolumnie wpisa³em
3069 \family typewriter 
3070  3.
3071 \family default 
3072 ,
3073 \family typewriter 
3074 36.
3075 \family default 
3076 ,
3077 \family typewriter 
3078 80663.
3079
3080 \family default 
3081  i
3082 \family typewriter 
3083  1.
3084 \family default 
3085 , i wyrówna³em tê kolumnê do prawej.
3086  W trzeciej kolumnie wpisa³em
3087 \family typewriter 
3088  1416
3089 \family default 
3090 ,
3091 \family typewriter 
3092 462
3093 \family default 
3094  i
3095 \family typewriter 
3096  3402
3097 \begin_inset Formula $\times10^{18}$
3098 \end_inset 
3099
3100
3101 \family default 
3102  oraz ustawi³em wyrównanie
3103 \family typewriter 
3104 @{} l
3105 \family default 
3106 .
3107  Na koñcu wpisa³em
3108 \family typewriter 
3109  Warto¶æ
3110 \family default 
3111  w ¶rodkowej kolumnie, pod¶wietli³em je, wyrówna³em do prawej.
3112  Czy¿ nie ³atwe?
3113 \layout Subsection
3114
3115 Lepsze rozwi±zanie wyrównania wed³ug cyfr znacz±cych
3116 \layout Standard
3117
3118 Alternatywnym rozwi±zaniem wyrównania wed³ug cyfr znacz±cych w tabelach
3119  jest u¿ycie pakietu
3120 \family typewriter 
3121  dcolumn
3122 \family default 
3123 .
3124  Dodaj nastêpuj±cy tekst do preambu³y LaTeX-a:
3125 \layout LyX-Code
3126
3127
3128 \backslash 
3129 usepackage{dcolumn}
3130 \layout LyX-Code
3131
3132
3133 \backslash 
3134 newcolumntype{d}[1]{D{.}{.}{#1}}
3135 \layout Standard
3136
3137 Aby mieæ kolumny wyrównane wed³ug cyfr znacz±cych wpisz w polu
3138 \family sans 
3139  Wyrównanie
3140 \family default 
3141  w oknie formatu tabeli w zak³adce
3142 \family sans 
3143  Kolumny/Wiersze
3144 \family default 
3145  nastêpuj±cy tekst:
3146 \layout LyX-Code
3147
3148 d{liczba miejsc dziesiêtnych danych}
3149 \layout LyX-Code
3150
3151
3152 \family roman 
3153 \emph on 
3154 [Przyk³adow± tabelê usuniêto.
3155  Zobacz plik
3156 \family default 
3157 \emph default 
3158  decimal.lyx
3159 \family roman 
3160 \emph on 
3161  w katalogu examples.]
3162 \layout Standard
3163
3164 Do utworzenia dodatkowego miejsca zwiêksz liczbê miejsc dziesiêtnych w
3165 \family typewriter 
3166  d{}
3167 \family default 
3168 .
3169  Ustaw atrybut 
3170 \family sans 
3171 multicolumn
3172 \family default 
3173  dla pojedynczej komórki niewra¿liwy na wyrównanie wzglêdem cyfr znacz±cych.
3174  Wad± tej metody jest to, ¿e tryb matematyczny nie jest dopuszczalny w kolumnie
3175  z wyrównaniem wzglêdem cyfr znacz±cych z wyj±tkiem je¶li atrybut multicolumn
3176  jest w³±czony.
3177 \layout Standard
3178
3179 Ta metoda oferuje tak± sam± elastyczno¶æ jak pakiet
3180 \family typewriter 
3181  dcolumn
3182 \family default 
3183 .
3184  Mo¿emy, na przyk³ad zmieniæ separator wyrównania i mamy ró¿ne znaki separatorów
3185  dla ró¿nych kolumn przez definicjê typów wielokrotnych kolumn w preambule.
3186  Sk³adnia jest nastêpuj±ca:
3187 \layout LyX-Code
3188
3189 D{separator_wej}{separator_wyj}{liczba_miejsc_dzie¶}
3190 \layout Standard
3191
3192 Zainteresowanym czytelnikom polecamy dokumentacjê do pakietu
3193 \family typewriter 
3194  dcolumn
3195 \family default 
3196 .
3197 \layout Section
3198
3199 Wybór znaku wyliczenia
3200 \begin_inset LatexCommand \label{sec:bullet}
3201
3202 \end_inset 
3203
3204
3205 \layout Standard
3206
3207 by
3208 \noun on 
3209  Allan Rae
3210 \layout Subsection
3211
3212 Wprowadzenie
3213 \layout Standard
3214
3215 LyX dostarcza 216 znaków dostêpnych wprost z menu.
3216  U¿ycie tego menu daje Ci mo¿liwo¶æ ³atwego wyboru odpowiedniego znaku dla
3217  ka¿dego poziomu zagnie¿d¿enia wyliczeñ.
3218  Te ustawienia s± globalne dla ca³ego dokumentu i nie mo¿na ustawiæ ró¿nych
3219  znaków w ró¿nych akapitach
3220 \begin_inset Foot
3221 collapsed true
3222
3223 \layout Standard
3224
3225 Mo¿na tego dokonaæ tylko rêcznie
3226 \end_inset 
3227
3228
3229 \layout Subsection
3230
3231 Jak je zobaczyæ
3232 \layout Standard
3233
3234 Otwórz z menu
3235 \family sans 
3236 \bar under 
3237  U
3238 \bar default 
3239 k³ad\SpecialChar \menuseparator
3240
3241 \bar under 
3242 D
3243 \bar default 
3244 okument
3245 \family default 
3246  i wybierz zak³adkê
3247 \family sans 
3248 \bar under 
3249  W
3250 \bar default 
3251 yró¿nienia.
3252 \family default 
3253 W zak³adce wy¶wietlona jest tabela znaków wyliczenia.
3254  Za pomoc± przycisków umieszczonych po lewej stronie okna mamy dostêp do
3255  sze¶ciu zestawów znaków.
3256  Przyciski umieszczone w górnej czê¶ci okna przeznaczone s± do wyboru g³êboko¶ci
3257  zagnie¿d¿enia wyliczenia.
3258  Tekst pod tabel± zestawu znaków wy¶wietla nazwê LaTeX-a aktualnie wybranego
3259  znaku.
3260  Mo¿na równie¿ w tym miejscu podaæ w³asne definicje znaku wyliczenia.
3261  Je¶li zmodyfikujesz domy¶lne ustawienia to bêdziesz potrzebowa³ podaæ potrzebne
3262  pakiety w preambule.
3263  Znaki podzielone s± na sze¶æ zestawów ze wzglêdu na wymagane pakiety.
3264  Poni¿sza tabela przedstawia przypisanie zestawów do pakietów LaTeX-a.
3265 \layout Standard
3266 \added_space_top 0.3cm \added_space_bottom 0.3cm \align center 
3267
3268 \begin_inset  Tabular
3269 <lyxtabular version="3" rows="7" columns="2">
3270 <features>
3271 <column alignment="center" valignment="top" leftline="true" width="0pt">
3272 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
3273 <row topline="true" bottomline="true">
3274 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3275 \begin_inset Text
3276
3277 \layout Standard
3278
3279 Przycisk
3280 \end_inset 
3281 </cell>
3282 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3283 \begin_inset Text
3284
3285 \layout Standard
3286
3287 Wymagany pakiet
3288 \end_inset 
3289 </cell>
3290 </row>
3291 <row topline="true">
3292 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3293 \begin_inset Text
3294
3295 \layout Standard
3296
3297
3298 \family sans 
3299 Standard
3300 \end_inset 
3301 </cell>
3302 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3303 \begin_inset Text
3304
3305 \layout Standard
3306
3307
3308 \family typewriter 
3309 base LaTeX
3310 \end_inset 
3311 </cell>
3312 </row>
3313 <row topline="true">
3314 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3315 \begin_inset Text
3316
3317 \layout Standard
3318
3319
3320 \family sans 
3321 Maths
3322 \end_inset 
3323 </cell>
3324 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3325 \begin_inset Text
3326
3327 \layout Standard
3328
3329
3330 \family typewriter 
3331 amssymb.sty
3332 \end_inset 
3333 </cell>
3334 </row>
3335 <row topline="true">
3336 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3337 \begin_inset Text
3338
3339 \layout Standard
3340
3341
3342 \family sans 
3343 Ding1
3344 \end_inset 
3345 </cell>
3346 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3347 \begin_inset Text
3348
3349 \layout Standard
3350
3351
3352 \family typewriter 
3353 pifont.sty
3354 \end_inset 
3355 </cell>
3356 </row>
3357 <row topline="true">
3358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3359 \begin_inset Text
3360
3361 \layout Standard
3362
3363
3364 \family sans 
3365 Ding2
3366 \end_inset 
3367 </cell>
3368 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3369 \begin_inset Text
3370
3371 \layout Standard
3372
3373
3374 \family typewriter 
3375 pifont.sty
3376 \end_inset 
3377 </cell>
3378 </row>
3379 <row topline="true">
3380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3381 \begin_inset Text
3382
3383 \layout Standard
3384
3385
3386 \family sans 
3387 Ding3
3388 \end_inset 
3389 </cell>
3390 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3391 \begin_inset Text
3392
3393 \layout Standard
3394
3395
3396 \family typewriter 
3397 pifont.sty
3398 \end_inset 
3399 </cell>
3400 </row>
3401 <row topline="true" bottomline="true">
3402 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3403 \begin_inset Text
3404
3405 \layout Standard
3406
3407
3408 \family sans 
3409 Ding4
3410 \end_inset 
3411 </cell>
3412 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3413 \begin_inset Text
3414
3415 \layout Standard
3416
3417
3418 \family typewriter 
3419 pifont.sty
3420 \end_inset 
3421 </cell>
3422 </row>
3423 </lyxtabular>
3424
3425 \end_inset 
3426
3427 .
3428 \layout Standard
3429
3430 LyX nie zatrzyma Ciê przed u¿yciem znaku z pakietu którego nie masz.
3431  Je¶li otrzymasz komunikat b³êdu LaTeX-a podczas próby podgl±du lub wydruku
3432  bêdzie on oznacza³ brak wymaganego pakietu.
3433  LyX nie bêdzie ogranicza³ u¿ycia przy lokalnej edycji i eksporcie gdziekolwiek.
3434 \layout Subsection
3435
3436 Jak u¿yæ
3437 \layout Standard
3438
3439 Wybierz przycisk g³êboko¶ci wyliczenia i nastêpnie wybierz znak i wielko¶æ.
3440  Zmiana nie bêdzie widoczna w LyX-ie, ale bêdzie widoczna w podgl±dzie dokumentu
3441  przy u¿yciu xdvi lub ghostview.
3442 \layout Standard
3443
3444 Mo¿esz przywróciæ domy¶lny znak wyliczenia przez klikniêcie prawym klawiszem
3445  myszy na przycisku poziomu wyliczenia.
3446 \layout Standard
3447
3448 Je¶li rzeczywi¶cie chcesz mieæ wiele uk³adów akapitów z ró¿nymi zestawami
3449  znaków wyliczenia w ka¿dym musisz wykonaæ trochê brudnej roboty.
3450  Okno wyboru znaku wyliczenia mo¿e pomóc w znalezieniu nazwy LaTeX-owej
3451  znaku.
3452  Aby zrobiæ w³asne akapity musisz mie¶ nastêpuj±c± opcjê:
3453 \layout Standard
3454
3455
3456 \begin_inset ERT
3457 status Collapsed
3458
3459 \layout Standard
3460
3461 \backslash 
3462 let
3463 \backslash 
3464 savelabelitemi=
3465 \backslash 
3466 labelitemi
3467 \layout Standard
3468
3469 \backslash 
3470 renewcommand
3471 \backslash 
3472 labelitemi[0]{
3473 \backslash 
3474 small
3475 \backslash 
3476 (
3477 \backslash 
3478 sharp
3479 \backslash 
3480 )}
3481 \end_inset 
3482
3483
3484 \layout Itemize
3485
3486 U¿yj polecenia LaTeX-a
3487 \family typewriter 
3488  
3489 \backslash 
3490 renewcommand{}{}
3491 \family default 
3492  do specyfikacji nowego znaku wyliczenia dla zadanej g³êboko¶ci zagnie¿d¿enia.
3493  To bêdzie tak¿e potrzebne do zapisu bie¿±cego znaku i jego pó¼niejszego
3494  ponownego przywo³ania.
3495  W tym wyliczeniu zosta³y u¿yte nastêpuj±ce kody LaTeX-a do zmiany znaku
3496  wyliczenia w pierwszym poziomie.
3497 \newline 
3498
3499 \family typewriter 
3500
3501 \backslash 
3502 let
3503 \backslash 
3504 savelabelitemi=
3505 \backslash 
3506 labelitemi
3507 \newline 
3508
3509 \backslash 
3510 renewcommand
3511 \backslash 
3512 labelitemi[0]{
3513 \backslash 
3514 small
3515 \backslash 
3516 (
3517 \backslash 
3518 sharp
3519 \backslash 
3520 )}
3521 \newline 
3522
3523 \family default 
3524 Uwaga g³êboko¶æ zagnie¿d¿enia w poleceniu
3525 \family typewriter 
3526  
3527 \backslash 
3528 labelitem
3529 \family default 
3530  jest podawana cyframi rzymskimi (podobnie jak numeracja czê¶ci).
3531 \layout Itemize
3532
3533
3534 \begin_inset ERT
3535 status Collapsed
3536
3537 \layout Standard
3538 [
3539 \backslash 
3540 (
3541 \backslash 
3542 star
3543 \backslash 
3544 )]
3545 \end_inset 
3546
3547  Podaj dla ka¿dego indywidualnego wiersza wyliczenia kod znaku zamkniêty
3548  w nawiasy prostok±tne i wpisane w trybie TeX.
3549  Na przyk³ad ten wiersz zaczyna siê znakiem
3550 \family typewriter 
3551 [
3552 \backslash 
3553 (
3554 \backslash 
3555 star
3556 \backslash 
3557 )]
3558 \family default 
3559 .
3560 \layout Itemize
3561
3562 Poczekaj na LyX 1.2.
3563  Nastêpne stabilne wydanie LyX-a powinna mieæ wbudowan± obs³ugê definiowania
3564  dla ka¿dego wyliczenia oddzielnego zestawu znaków.
3565 \layout Standard
3566
3567
3568 \begin_inset ERT
3569 status Collapsed
3570
3571 \layout Standard
3572
3573 \backslash 
3574 renewcommand
3575 \backslash 
3576 labelitemi[0]{
3577 \backslash 
3578 savelabelitemi}
3579 \end_inset 
3580
3581
3582 \layout Standard
3583
3584 Je¶li bêdziesz potrzebowa³ przywróciæ z powrotem poprzednie globalne ustawienia
3585  znaków to nale¿y wpisaæ:
3586 \newline 
3587
3588 \family typewriter 
3589
3590 \backslash 
3591 renewcommand
3592 \backslash 
3593 labelitemi[0]{
3594 \backslash 
3595 savelabelitemi}
3596 \layout Chapter
3597
3598 Specjalne klasy dokumentu
3599 \layout Section
3600
3601 AMS Math
3602 \layout Standard
3603
3604 by David
3605 \noun on 
3606  Johnson
3607 \layout Standard
3608 \added_space_top bigskip \noindent 
3609 Uk³ad AMS-Math jest zestawem styli zalecanymi dla sk³adu pism matematycznych
3610  przesy³anych do wydawnictwa American Mathematical Society.
3611  Uk³ad nie jest przyciêty do specyfiki pisma, ale mo¿na to ³atwo zrobiæ.
3612  Powiniene¶ przejrzeæ dokumentacjê AMS pod k±tem specyficznych instrukcji
3613  dla ka¿dego pisma (czêsto wymagana jest tylko zmiana w jednym wierszu).
3614  Dokumentacja AMS jest dostêpna w internecie na stronie 
3615 \begin_inset LatexCommand \url{http://www.ams.org}
3616
3617 \end_inset 
3618
3619  lub przez ftp 
3620 \begin_inset LatexCommand \url{ftp://ftp.ams.org/pub/tex/amslatex/}
3621
3622 \end_inset 
3623
3624 .
3625  Te uk³ady s± odpowiednie i u¿yteczne dla zapisu matematyki.
3626  S± aktualnie dostêpne ró¿ne uk³ady AMS-math:
3627 \layout Enumerate
3628
3629 amsart -- standardowy format artyku³u -- AMS article.
3630  Wszystkie równania i wyra¿enia s± numerowane jako 
3631 \begin_inset Formula $(n.m)$
3632 \end_inset 
3633
3634 , gdzie pierwsza liczba oznacza sekcjê, a druga odpowiada kolejnemu numerowi
3635  ¶rodowiska (Theorems, Corollaries, Propositions, Definitions, Remarks,
3636  itd.) w tej sekcji.
3637  Istnieje tak¿e kilka (ale nie wszystkie) ¶rodowisk nienumerowanych, które
3638  s± u¿ywane okazjonalnie.
3639  Nazwy nienumerowanych ¶rodowisk koñcz± siê znakiem gwiazdki (*).
3640 \layout Enumerate
3641
3642 amsart-seq -- tutaj, twierdzenia, definicje itd.
3643  s± numerowane kolejno, bez odniesienia do numeru sekcji.
3644  Dostêpne s± równie¿ nienumerowane ¶rodowiska (ale nie wszystkie), do okazjonaln
3645 ego u¿ycia.
3646  Nazwy nienumerowanych ¶rodowisk koñcz± siê znakiem gwiazdki (*).
3647 \layout Enumerate
3648
3649 amsbook - standardowy format ksi±¿ki -- AMS book (prawdziwe monografie).
3650  Numeracja jest podobna jak w uk³adzie amsart, z wyj±tkiem numeracji wszystkiego
3651  jako 
3652 \begin_inset Formula $(n,m,p)$
3653 \end_inset 
3654
3655 , gdzie pierwszy numer odnosi siê do numeru rozdzia³u, drugi do sekcji,
3656  a trzeci jest numerem kolejnym wyra¿enia (Theorems, Corollaries, Propositions,
3657  Definitions, Remarks, itd.) w tej sekcji.
3658  Istnieje tak¿e kilka (ale nie wszystkie) ¶rodowisk nienumerowanych, które
3659  s± u¿ywane okazjonalnie.
3660  Nazwy nienumerowanych ¶rodowisk koñcz± siê znakiem gwiazdki (*).
3661 \layout Standard
3662
3663 Dowolne pliki LyX-a ams-* mog± byæ konwertowane do schematu przez prost±
3664  zmianê klasy dokumentu w menu
3665 \family sans 
3666 \bar under 
3667  U
3668 \bar default 
3669 k³ad\SpecialChar \menuseparator
3670
3671 \bar under 
3672 D
3673 \bar default 
3674 okument
3675 \family default 
3676 .
3677 \layout Subsection
3678
3679 Co daje ten szablon?
3680 \layout Standard
3681
3682 Te uk³ady dostarczaj± d³ug± listê ¶rodowisk.
3683  Najbardziej matematyczne pisma i ksi±¿ki bêd± korzystaæ w wiêkszo¶ci z
3684  tych ¶rodowisk, AMS-LaTeX-u sprzyja definiowaniu nieograniczonej liczby
3685  rozmaitych takich deklaracji.
3686  Jednak zalecane przez AMS ¶rodowiska s± dostêpne w LyX-ie.
3687  Oto lista nowych ¶rodowisk (nie wyliczamy typowych takich jak
3688 \family sans 
3689  sections, bibliography, title, author, date
3690 \family default 
3691 ):
3692 \layout Description
3693
3694 Theorem This is typically used for the statements of major results.
3695  S³owo
3696 \family sans 
3697  ,,Theorem
3698 \family default 
3699 '' wy¶wietlane jest czcionk± pó³grub±, along with an automatically-determined
3700  number (an unnumbered version,
3701 \family sans 
3702  Theorem*
3703 \family default 
3704 , is also available).
3705  Tekst jest pochylony.
3706 \layout Description
3707
3708 Corollary This is used for statements which follow fairly directly from
3709  previous statements.
3710  Again, these can be major results.
3711  Unnumbered version
3712 \family sans 
3713  Corollary*
3714 \family default 
3715  is available.
3716 \layout Description
3717
3718 Lemma These are smaller results needed to prove other statements.
3719 \layout Description
3720
3721 Proposition These are less major results which (hopefully) add to the general
3722  theory being discussed.
3723 \layout Description
3724
3725 Conjecture These are statements provided without justification, which the
3726  author does not know how to prove, but which seem to be true (to the author,
3727  at least).
3728 \layout Description
3729
3730 Criterion A required condition.
3731 \layout Description
3732
3733 Algorithm A general procedure to be used.
3734 \layout Description
3735
3736 Axiom This is a property or statement taken as true within the system being
3737  discussed.
3738 \layout Description
3739
3740 Definition Guess what this is for.
3741  The font, both on-screen and in the output, is different for this environment
3742  than for the previous ones.
3743  The heading (,,definition'') is still set in boldface, along with the number,
3744  if any, but the rest is set upright.
3745 \layout Description
3746
3747 Example Sk³ad jest podobny do Definition.
3748 \layout Description
3749
3750 Condition
3751 \layout Description
3752
3753 Problem
3754 \layout Description
3755
3756 Exercise
3757 \layout Description
3758
3759 Remark This environment is also a new type of theorem.
3760  This is set with the word Remark in italics, and the rest upright.
3761 \layout Description
3762
3763 Note Set similarly to the Remark environment.
3764 \layout Description
3765
3766 Notation
3767 \layout Description
3768
3769 Claim
3770 \layout Description
3771
3772 Summary
3773 \layout Description
3774
3775 Acknowledgement
3776 \layout Description
3777
3778 Case Generally, these are used to break up long arguments, using specific
3779  instances of some condition.
3780  The numbering scheme for cases is on its own, not together with other numbered
3781  statements.
3782 \layout Description
3783
3784 Conclusion
3785 \layout Description
3786
3787 Fact
3788 \layout Description
3789
3790 Proof S³owo ,,
3791 \shape italic 
3792 Proof
3793 \shape default 
3794 '' jest pisane kursyw±, but the rest is set upright.
3795  At the end of this environment (other environments can be nested within
3796  this one, of course) a QED symbol (usually a square, but it can vary with
3797  different styles) is placed.
3798 \layout Description
3799
3800 Address Tu powinien byæ podany sta³y adres autora.
3801 \layout Description
3802
3803 Current\SpecialChar ~
3804 Address Tu powinien byæ podany czasowy adres autora, gdy wysy³a³
3805  dokument, o ile jest ró¿ny od podanego powy¿ej w Address.
3806 \layout Description
3807
3808 Email Adres e-mail autora
3809 \layout Description
3810
3811 URL Adres strony internetowej autora.
3812 \layout Description
3813
3814 Keywords S³owa kluczowe i frazy u¿ywane do identyfikacji specyficznych dyskutowa
3815 nych tematów w prasie.
3816 \layout Description
3817
3818 Subjectclass These refer to the AMS Subject Classifications, published and
3819  described in
3820 \emph on 
3821  Mathematical Reviews
3822 \emph default 
3823 .
3824  These are also available online at the AMS cites listed above.
3825 \layout Description
3826
3827 Thanks
3828 \layout Description
3829
3830 Dedicatory
3831 \layout Description
3832
3833 Translator
3834 \layout Standard
3835
3836 Ponadto, ¶rodowiska automatycznie w³±czaj± pakiety AMS-LaTeX i czcionki
3837  AMS, które musz± byæ dostêpne w Twoim systemie, aby mo¿na by³o u¿ywaæ tych
3838  uk³adów.
3839 \layout Section
3840
3841 Dinbrief
3842 \layout Standard
3843
3844 Klasa dokumentu
3845 \family sans 
3846  dinbrief
3847 \family default 
3848  mo¿e byæ u¿yta do pisania listów zgodnie z niemieck± konwencj±.
3849  Dla Ciebie w folderze
3850 \family typewriter 
3851  .../lyx/share/templates
3852 \family default 
3853  znajduje siê plik przyk³adowy, aby by³o ³atwiej zacz±æ.
3854 \layout Section
3855
3856 Paper
3857 \layout Standard
3858
3859 Klasa dokumentu
3860 \family sans 
3861  paper
3862 \family default 
3863  jest alternatyw± dla standardowej klasy
3864 \family sans 
3865  article
3866 \family default 
3867 .
3868  Daje ona podobn± funkcjonalno¶æ, ale mo¿na preferowaæ w tym uk³adzie bezszeryfo
3869 we tytularia i jeszcze wiêcej.
3870 \layout Section
3871
3872 A&A Paper
3873 \layout Standard
3874
3875 by 
3876 \noun on 
3877 Peter
3878 \noun default 
3879  
3880 \noun on 
3881 Sütterlin
3882 \layout Subsection
3883
3884 Wprowadzenie
3885 \layout Standard
3886
3887 W tej sekcji opisano jak mo¿na u¿yæ LyX-a do pisania artyku³ów do pism naukowych
3888 \emph on 
3889  Astronomy and Astrophysics
3890 \emph default 
3891  oraz
3892 \emph on 
3893  Supplement Series
3894 \emph default 
3895  przy u¿yciu klasy dokumentu
3896 \family typewriter 
3897  aa.cls
3898 \family default 
3899  z pakietu makr wydawnictwa Springer.
3900  Ten pakiet mo¿e byæ ¶ci±gniêty z serwera ftp Springera
3901 \layout Standard
3902 \added_space_top medskip \added_space_bottom medskip \align center 
3903
3904 \begin_inset LatexCommand \url{ftp://ftp.springer.de/pub/tex/latex/aa}
3905
3906 \end_inset 
3907
3908
3909 \layout Standard
3910
3911 Instrukcja do A&A Paper jest dostarczana razem z pakietem.
3912  Ten tekst nie ma na celu zast±pienia oryginalnej instrukcji ale jest krótkim
3913  przewodnikiem jak wykorzystaæ ten format.
3914 \layout Subsection
3915
3916 Zaczynamy
3917 \layout Standard
3918
3919 Aby zacz±æ nowy dokument wybieramy z menu
3920 \family sans 
3921 \bar under 
3922  P
3923 \bar default 
3924 lik\SpecialChar \menuseparator
3925
3926 \bar under 
3927  N
3928 \bar default 
3929 owy
3930 \family default 
3931  lub
3932 \family sans 
3933 \bar under 
3934  P
3935 \bar default 
3936 lik\SpecialChar \menuseparator
3937  Nowy z\SpecialChar ~
3938
3939 \bar under 
3940 s
3941 \bar default 
3942 zablonu
3943 \begin_inset Foot
3944 collapsed false
3945
3946 \layout Standard
3947
3948 Zalecamy korzystanie z szablonu.
3949  Either create one yourself, or ask the local system administrator to suply
3950  a site-wide version.
3951  Przyk³adowy szablon jest czê¶ci± standardowej dystrybucji LyX-a.
3952 \end_inset 
3953
3954
3955 \family default 
3956 .
3957  Je¶li nie u¿y³e¶ szablonu to zwróæ uwagê na nastêpuj±ce ustawienia:
3958 \layout Itemize
3959
3960 Wybierz klasê dokumentu
3961 \family sans 
3962  paper (A&A)
3963 \family default 
3964  w oknie
3965 \family sans 
3966 \bar under 
3967  S
3968 \bar default 
3969 tyl dokumentu
3970 \family default 
3971  w zak³adce
3972 \family sans 
3973  Dokument
3974 \family default 
3975 .
3976 \layout Itemize
3977
3978 Nie zmieniaj opcji
3979 \family sans 
3980 \bar under 
3981  S
3982 \bar default 
3983 tyl strony
3984 \family default 
3985 : pozostaw
3986 \family sans 
3987  domy¶lny
3988 \family default 
3989 .
3990  Uk³ad jest zrobiony za pomoc± makr i nie powiniene¶ niczego zmieniaæ.
3991 \layout Itemize
3992
3993 Mo¿esz chcieæ u¿yæ czcionki
3994 \family sans 
3995  Times
3996 \family default 
3997  wybieraj±c z listy
3998 \family sans 
3999 \bar under 
4000  C
4001 \bar default 
4002 zcionka
4003 \family default 
4004 , jako sugerowanej przez wydawnictwo Springer dla jednolitego wygl±du tekstu
4005  wydruków.
4006 \layout Subsection
4007
4008 Nag³ówek
4009 \layout Standard
4010
4011 Pierwsz± rzecz± do wprowadzenia jest dane nag³ówkowe.
4012  Które zawieraj± osiem wpisów, z których kilka jest opcjonalnych.
4013  Oto one:
4014 \layout Itemize
4015
4016
4017 \family sans 
4018 Thesaurus
4019 \family default 
4020 : [wymagane] Zobacz podrêcznik Springera.
4021 \layout Itemize
4022
4023
4024 \family sans 
4025 Title
4026 \family default 
4027 : [wymagane]
4028 \layout Itemize
4029
4030
4031 \family sans 
4032 Subtitle
4033 \family default 
4034 : [wymagane]
4035 \layout Itemize
4036
4037
4038 \family sans 
4039 Author
4040 \family default 
4041 : [wymagane]
4042 \layout Itemize
4043
4044
4045 \family sans 
4046 Address
4047 \family default 
4048 : [wymagane]
4049 \layout Itemize
4050
4051
4052 \family sans 
4053 Offprints
4054 \family default 
4055 : [opcjonalne] je¶li jest wiêcej ni¿ jeden autor, to komu wys³aæ odbitki.
4056 \layout Itemize
4057
4058
4059 \family sans 
4060 Email
4061 \family default 
4062 : [opcjonalne] adres e-mail dla kontaktu z autorem.
4063 \layout Itemize
4064
4065
4066 \family sans 
4067 Date
4068 \family default 
4069 : [wymagane].
4070  Suggested format is
4071 \family typewriter 
4072  Received: <date> / Accepted <date>
4073 \layout Standard
4074
4075 Nie potrzeba wydawaæ polecenia
4076 \family typewriter 
4077  
4078 \backslash 
4079 maketitle
4080 \family default 
4081 , jest to robione automatycznie przez LyX gdy nag³ówek jest zakoñczony.
4082  Although the order of the single header entries doesn't matter it is advised
4083  to keep the above sequence, just to get the best optics and meets the layout
4084  of the real document.
4085 \layout Standard
4086
4087 Je¶li chcesz umie¶ciæ przypis w nag³ówku, np.
4088  dla wskazania twojego aktualnego adresu, mo¿esz u¿yæ standardowego przypisu
4089  za pomoc±
4090 \family sans 
4091 \bar under 
4092  W
4093 \bar default 
4094 staw\SpecialChar \menuseparator
4095
4096 \bar under 
4097 P
4098 \bar default 
4099 rzypis.
4100
4101 \family default 
4102  LyX w takim przypadku u¿yje automatycznie okre¶lenia
4103 \family typewriter 
4104  
4105 \backslash 
4106 thanks{}
4107 \family default 
4108 .
4109 \layout Standard
4110
4111 In addition to these topics, Springer uses two additional LaTeX commands
4112  that have no counterpart in LyX:
4113 \layout Itemize
4114
4115
4116 \family typewriter 
4117
4118 \backslash 
4119 and
4120 \family default 
4121  do oddzielenia ró¿nych nazw takich jak autorzy, instytucje.
4122 \layout Itemize
4123
4124
4125 \family typewriter 
4126
4127 \backslash 
4128 inst{<nr>}
4129 \family default 
4130 to mark corresponding author/institute pairs.
4131  The institutes are numbered sequentially as they appear in the
4132 \family sans 
4133 Address
4134 \family default 
4135  field, so you have to put a marker to each author.
4136 \layout Standard
4137
4138 In both cases, the appropriate command has to be entered in LyX an marked
4139  as LaTeX code.
4140  See the examples.
4141 \layout Subsection
4142
4143 Streszczenie
4144 \layout Standard
4145
4146 Streszczenie powinno siê znajdowaæ bezpo¶rednio za nag³ówkiem.
4147 \layout Standard
4148
4149 The only special thing about the abstract environment is that it should
4150  contain an entry with the keywords.
4151  This is not yet implemented for LyX, therefore you have to enter the LaTeX
4152  command
4153 \family typewriter 
4154
4155 \backslash 
4156 keywords{}
4157 \family default 
4158  by hand and mark it as LaTeX code.
4159  Zobacz przyk³adowy artyku³.
4160 \layout Subsection
4161
4162 Obs³ugiwane ¶rodowiska
4163 \layout Standard
4164
4165 Uk³ad A&A paper obs³uguje nastêpuj±ce ¶rodowiska dla strukturyzacji tekstu:
4166 \layout Itemize
4167
4168
4169 \family sans 
4170 Standard
4171 \layout Itemize
4172
4173
4174 \family sans 
4175 Section
4176 \layout Itemize
4177
4178
4179 \family sans 
4180 Subsection
4181 \layout Itemize
4182
4183
4184 \family sans 
4185 Subsubsection
4186 \layout Itemize
4187
4188
4189 \family sans 
4190 Itemize
4191 \layout Itemize
4192
4193
4194 \family sans 
4195 Enumerate
4196 \layout Itemize
4197
4198
4199 \family sans 
4200 Description
4201 \layout Itemize
4202
4203
4204 \family sans 
4205 Caption
4206 \layout Itemize
4207
4208
4209 \family sans 
4210 Abstract
4211 \layout Itemize
4212
4213
4214 \family sans 
4215 Acknowledgment
4216 \layout Itemize
4217
4218
4219 \family sans 
4220 Bibliography
4221 \layout Itemize
4222
4223
4224 \family sans 
4225 LaTeX
4226 \layout Subsection
4227
4228 Polecenia nie obs³ugiwane przez LyX
4229 \layout Standard
4230
4231 Kilka poleceñ uk³adu
4232 \family sans 
4233  paper (A&A)
4234 \family default 
4235  nie jest jeszcze obs³ugiwane w LyX-ie.
4236  Kilka zosta³o ju¿ omówionych.
4237  Dla kompletno¶ci poni¿ej s± one wszystkie wypisane:
4238 \layout Itemize
4239
4240
4241 \family typewriter 
4242
4243 \backslash 
4244 and
4245 \layout Itemize
4246
4247
4248 \family typewriter 
4249
4250 \backslash 
4251 appendix
4252 \layout Itemize
4253
4254
4255 \family typewriter 
4256
4257 \backslash 
4258 authorrunning
4259 \layout Itemize
4260
4261
4262 \family typewriter 
4263
4264 \backslash 
4265 inst{}
4266 \layout Itemize
4267
4268
4269 \family typewriter 
4270
4271 \backslash 
4272 keywords{}
4273 \layout Itemize
4274
4275
4276 \family typewriter 
4277
4278 \backslash 
4279 object{}
4280 \layout Itemize
4281
4282
4283 \family typewriter 
4284
4285 \backslash 
4286 titlerunning{}
4287 \layout Standard
4288
4289 Je¶li chcesz u¿yæ którego¶ z tych poleceñ, to musisz wpisaæ je sam.
4290  I nie zapomnij wpisywaæ je w trybie LaTeX-a!
4291 \layout Subsection
4292
4293 Wstawki -- rysunki i tabele
4294 \layout Standard
4295
4296 LyX obs³uguje niezbêdne ¶rodowiska wstawek
4297 \family sans 
4298  figure, figure*, table
4299 \family default 
4300  i
4301 \family sans 
4302  table*
4303 \family default 
4304 , dlatego nie wspominamy o nich tutaj wiêcej.
4305  Zajrzyj do
4306 \emph on 
4307  Podrêcznika U¿ytkownika
4308 \emph default 
4309 .
4310  Pamiêtaj, ¿e tabele powinny byæ wyrównane lewostronnie.
4311  Do tego celu wybierz tabelê i zmieñ wyrównanie w
4312 \family sans 
4313 \bar under 
4314  U
4315 \bar default 
4316 k³ad\SpecialChar \menuseparator
4317
4318 \bar under 
4319 A
4320 \bar default 
4321 kapit.
4322 \layout Standard
4323
4324 Jest tylko jedna specjalna rzecz: rysunki z podpisami.
4325  Aby utworzyæ takie rysunki musisz wykonaæ poni¿sze kroki:
4326 \layout Enumerate
4327
4328 Utwórz szerok± wstawkê:
4329 \family sans 
4330 \bar under 
4331  W
4332 \bar default 
4333 staw\SpecialChar \menuseparator
4334
4335 \bar under 
4336 W
4337 \bar default 
4338 stawki\SpecialChar \menuseparator
4339
4340 \bar under 
4341 R
4342 \bar default 
4343 ysunek(wide)
4344 \family default 
4345 ,
4346 \layout Enumerate
4347
4348 Wpisz tre¶æ podpisu rysunku.
4349 \layout Enumerate
4350
4351 Naci¶nij 
4352 \family sans 
4353 Enter
4354 \family default 
4355  aby przesun±æ kursor powy¿ej podpisu,
4356 \layout Enumerate
4357
4358 Wstaw swój rysunek (eps),
4359 \layout Enumerate
4360
4361 Ustaw kursor za rysunkiem i wstaw odstêp poziomy:
4362 \family sans 
4363 \bar under 
4364  W
4365 \bar default 
4366 staw\SpecialChar \menuseparator
4367
4368 \bar under 
4369  Z
4370 \bar default 
4371 nak specjalny
4372 \bar under 
4373 \SpecialChar \menuseparator
4374  H
4375 \bar default 
4376 Fill
4377 \family default 
4378 ,
4379 \layout Enumerate
4380
4381 Prze³±cz siê do trybu LaTeX:
4382 \family sans 
4383  M-c\SpecialChar ~
4384 t
4385 \family default 
4386 ,
4387 \layout Enumerate
4388
4389 Wpisz:
4390 \family typewriter 
4391  
4392 \backslash 
4393 parbox[b]{55mm}{
4394 \family default 
4395 .
4396 \series bold 
4397 Nie zamykaj nawiasu!
4398 \layout Enumerate
4399
4400 Ustaw kursor za podpisem, prze³±cz siê do trybu LaTeX-a i wstaw brakuj±cy
4401  nawias 
4402 \family typewriter 
4403 ,,}
4404 \family default 
4405 ''.
4406 \layout Standard
4407
4408 Zobacz tak¿e rysunek w przyk³adowym artykule.
4409 \layout Subsection
4410
4411 Szablon referatu
4412 \layout Standard
4413
4414 For submission, the paper has to be formated in a special double-spacing
4415  layout.
4416  For this purpose, you have to give the option
4417 \family typewriter 
4418  referee
4419 \family default 
4420  to the documentclass.
4421  This must be done using the
4422 \family sans 
4423  E
4424 \bar under 
4425 x
4426 \bar default 
4427 tra\SpecialChar ~
4428 Options
4429 \family default 
4430  field in the
4431 \family sans 
4432  Document\SpecialChar ~
4433 Layout
4434 \family default 
4435  popup.
4436  Just enter the string
4437 \family typewriter 
4438 referee
4439 \family default 
4440  there.
4441 \layout Subsection
4442
4443 Przyk³ad
4444 \layout Standard
4445
4446 W folderze
4447 \family sans 
4448  Examples
4449 \family default 
4450  znajduje siê plik przyk³adowy artyku³ napisany w LyX-ie.
4451  To jest przyk³ad z oryginalnago pakietu makr Springera przet³umaczonego
4452  do LyX-a.
4453  U¿yj go jako inspiracjê i porównanie oryginalnego kodu LaTeX-a z LyX-owym
4454  sposobem pisania.
4455 \layout Section
4456
4457 AASTeX
4458 \layout Standard
4459
4460 by
4461 \noun on 
4462  Mike Ressler
4463 \layout Subsection
4464
4465 Wprowadzenie
4466 \layout Standard
4467
4468 AASTeX jest zestawem makr wydanych przez American Astronomical Society dla
4469  u³atwienia wysy³ania elektronicznych manuskryptów do trzech pism wydawanych
4470  przez Towarzystwo: 
4471 \emph on 
4472 Astrophysical Journal
4473 \emph default 
4474  (w³±czaj±c Listy i Suplement), 
4475 \emph on 
4476 Astronomical Journal
4477 \emph default 
4478  i 
4479 \emph on 
4480 Publications of the Astronomical Society of the Pacific
4481 \emph default 
4482 .
4483  LyX wymaga co najmniej wersji 5.0 tych makr.
4484  Wersje starsze od 5.0 s± przeznaczone dla LaTeX2.09 i s± niekompatybilne
4485  z LyX-em.
4486  Pakiet AASTeX mo¿na pobraæ z serwera ftp AAS
4487 \layout Standard
4488 \added_space_top medskip \added_space_bottom medskip \align center 
4489
4490 \begin_inset LatexCommand \url{ftp://ftp.aas.org/pubs}
4491
4492 \end_inset 
4493
4494
4495 \layout Standard
4496
4497 A complete user guide is contained in that package and you should familiarize
4498  yourself with it thoroughly before embarking on writing a paper in LyX.
4499  LyX will not reduce the need to figure out all the AASTeX commands, it
4500  will only reduce the drudgery of typing everything in.
4501  It is your responsibility to ensure that the final exported LaTeX document
4502  conforms completely to the requirements of the journal to which you are
4503  submitting your paper.
4504 \layout Subsection
4505
4506 Starting a New Paper
4507 \layout Standard
4508
4509 I strongly suggest that you start with the AASTeX template file.
4510  Click on
4511 \family sans 
4512 File\SpecialChar \menuseparator
4513 New from template
4514 \family default 
4515 , enter the new file name, then choose the
4516 \family typewriter 
4517 aastex.lyx
4518 \family default 
4519  template.
4520  This will show the most common fields found in a manuscript.
4521  Simply overwrite the existing text (including the brackets,
4522 \family typewriter 
4523 <>
4524 \family default 
4525 ) with the correct information.
4526  Many of the AASTeX commands and environments can be implemented directly
4527  in LyX, but some cannot: most noticeably
4528 \family typewriter 
4529
4530 \backslash 
4531 altaffilmark
4532 \family default 
4533  and
4534 \family typewriter 
4535
4536 \backslash 
4537 altaffiltext
4538 \family default 
4539 , which should stick out like a sore thumb if you actually just opened the
4540  template file.
4541  For commands such as these, the LaTeX code must be entered directly and
4542  marked as such.
4543  Such commands are referred to as ERT, or Evil Red Text.
4544  I tried to minimize the amount of ERT needed in an AASTeX document, but
4545  there is still more required than any of us would like.
4546 \layout Subsection
4547
4548 Finishing Your Paper
4549 \layout Standard
4550
4551 When the paper is finished to your satisfaction and previews/prints correctly,
4552  there are a few
4553 \begin_inset Quotes eld
4554 \end_inset 
4555
4556 postprocessing
4557 \begin_inset Quotes erd
4558 \end_inset 
4559
4560  actions which need to be done before you submit it to the journals.
4561 \layout Enumerate
4562
4563 Export your paper as a LaTeX file (
4564 \family sans 
4565 File\SpecialChar \menuseparator
4566 Export\SpecialChar \menuseparator
4567 as LateX
4568 \family default 
4569 ).
4570 \layout Enumerate
4571
4572 Edit the resulting
4573 \family typewriter 
4574 .tex
4575 \family default 
4576  file with your favorite text editor
4577 \begin_deeper 
4578 \layout Enumerate
4579
4580 remove the comment lines before the
4581 \family typewriter 
4582
4583 \backslash 
4584 documentclass
4585 \family default 
4586  command
4587 \layout Enumerate
4588
4589 remove the
4590 \family typewriter 
4591  
4592 \backslash 
4593 usepackage...{fontenc}
4594 \family default 
4595  line if it appears (usually just after
4596 \family typewriter 
4597  
4598 \backslash 
4599 documentclass
4600 \family default 
4601 }; also remove the
4602 \family typewriter 
4603
4604 \backslash 
4605 secnumdepth
4606 \family default 
4607  line if it appears.
4608 \layout Enumerate
4609
4610 remove everything between (and including) the
4611 \family typewriter 
4612  
4613 \backslash 
4614 makeatletter
4615 \family default 
4616  and
4617 \family typewriter 
4618
4619 \backslash 
4620 makeatother
4621 \family default 
4622  commands, except for any commands you specifically put into the LaTeX preamble
4623  (which should appear immediately after the
4624 \begin_inset Quotes eld
4625 \end_inset 
4626
4627 User specified LaTeX commands
4628 \begin_inset Quotes erd
4629 \end_inset 
4630
4631  comment in the
4632 \family typewriter 
4633  .tex
4634 \family default 
4635  file).
4636 \layout Enumerate
4637
4638 search for any
4639 \family typewriter 
4640  
4641 \backslash 
4642 figcaption
4643 \family default 
4644  commands and replace
4645 \begin_inset Quotes eld
4646 \end_inset 
4647
4648
4649 \family typewriter 
4650 FileName
4651 \family default 
4652
4653 \begin_inset Quotes erd
4654 \end_inset 
4655
4656  with the correct, real file name.
4657 \layout Enumerate
4658
4659 alter any
4660 \family typewriter 
4661  
4662 \backslash 
4663 cite
4664 \family default 
4665  commands, if necessary (see section 
4666 \begin_inset LatexCommand \ref{cite}
4667
4668 \end_inset 
4669
4670  below).
4671 \end_deeper 
4672 \layout Enumerate
4673
4674 Run the resulting file through LaTeX to make sure it still processes correctly.
4675 \layout Enumerate
4676
4677 Reread the journal requirements to make sure your filenames and formats
4678  are correct.
4679 \layout Enumerate
4680
4681 Submit it.
4682 \layout Subsection
4683
4684 Comments On Specific Commands
4685 \layout Standard
4686
4687 I will not describe the detailed usage of the individual AASTeX commands:
4688  the AASTeX User Guide (
4689 \family typewriter 
4690 aasguide.tex
4691 \family default 
4692 ) gives a good description of each.
4693  Thus it's probably easiest for me to go down the list as found in the guide
4694  and offer comments where necessary.
4695  So let's begin \SpecialChar \ldots{}
4696
4697 \layout Subsubsection
4698
4699 Things that work as expected
4700 \layout Standard
4701
4702
4703 \begin_inset ERT
4704 status Collapsed
4705
4706 \layout Standard
4707
4708 \backslash 
4709 begin{sloppypar}
4710 \end_inset 
4711
4712
4713 \layout Standard
4714
4715 Because they work as you might expect, I simply list them and the section
4716  they are found in:
4717 \family typewriter 
4718  
4719 \backslash 
4720 documentclass
4721 \family default 
4722  (2.1.1),
4723 \family typewriter 
4724  
4725 \backslash 
4726 begin{document}
4727 \family default 
4728  (2.2),
4729 \family typewriter 
4730  
4731 \backslash 
4732 title
4733 \family default 
4734  (2.3),
4735 \family typewriter 
4736  
4737 \backslash 
4738 author
4739 \family default 
4740  (2.3),
4741 \family typewriter 
4742  
4743 \backslash 
4744 affil
4745 \family default 
4746  (2.3),
4747 \family typewriter 
4748  
4749 \backslash 
4750 abstract
4751 \family default 
4752  (2.4),
4753 \family typewriter 
4754  
4755 \backslash 
4756 keywords
4757 \family default 
4758  (2.5),
4759 \family typewriter 
4760  
4761 \backslash 
4762 section
4763 \family default 
4764  (2.7),
4765 \family typewriter 
4766  
4767 \backslash 
4768 subsection
4769 \family default 
4770  (2.7),
4771 \family typewriter 
4772  
4773 \backslash 
4774 subsubsection
4775 \family default 
4776  (2.7),
4777 \family typewriter 
4778  
4779 \backslash 
4780 paragraph
4781 \family default 
4782  (2.7),
4783 \family typewriter 
4784  
4785 \backslash 
4786 begin{displaymath}
4787 \family default 
4788  (2.11),
4789 \family typewriter 
4790  
4791 \backslash 
4792 begin{equation}
4793 \family default 
4794  (2.11),
4795 \family typewriter 
4796  
4797 \backslash 
4798 begin{eqnarray}
4799 \family default 
4800  (2.11),
4801 \family typewriter 
4802  
4803 \backslash 
4804 begin{mathletters}
4805 \family default 
4806  (2.11),
4807 \family typewriter 
4808  
4809 \backslash 
4810 begin{thebibliography}
4811 \family default 
4812  (2.12.1),
4813 \family typewriter 
4814  
4815 \backslash 
4816 bibitem
4817 \family default 
4818  (2.12.2),
4819 \family typewriter 
4820  
4821 \backslash 
4822 begin{table}
4823 \family default 
4824  (2.14.4),
4825 \family typewriter 
4826  
4827 \backslash 
4828 begin{tabular}
4829 \family default 
4830  (2.14.4),
4831 \family typewriter 
4832  
4833 \backslash 
4834 caption
4835 \family default 
4836  (2.14.4),
4837 \family typewriter 
4838  
4839 \backslash 
4840 label
4841 \family default 
4842  (2.14.4, amongst other places),
4843 \family typewriter 
4844  
4845 \backslash 
4846 tablerefs
4847 \family default 
4848  (2.14.5),
4849 \family typewriter 
4850  
4851 \backslash 
4852 tablecomments
4853 \family default 
4854  (2.14.5),
4855 \family typewriter 
4856  
4857 \backslash 
4858 url
4859 \family default 
4860  (2.15.4),
4861 \family typewriter 
4862  
4863 \backslash 
4864 end{document}
4865 \family default 
4866  (2.16).
4867 \layout Standard
4868
4869 The following style options also work correctly:
4870 \family typewriter 
4871  preprint
4872 \family default 
4873 ,
4874 \family typewriter 
4875  preprint2
4876 \family default 
4877 ,
4878 \family typewriter 
4879  eqsecnum
4880 \family default 
4881 ,
4882 \family typewriter 
4883  flushrt
4884 \family default 
4885  (3, 3.1, 3.2).
4886  Simply put them in
4887 \family sans 
4888  Extra Options
4889 \family default 
4890  box in
4891 \family sans 
4892  Layout\SpecialChar \menuseparator
4893 Document
4894 \family default 
4895 .
4896 \layout Standard
4897
4898
4899 \begin_inset ERT
4900 status Collapsed
4901
4902 \layout Standard
4903
4904 \backslash 
4905 end{sloppypar}
4906 \end_inset 
4907
4908
4909 \layout Subsubsection
4910
4911 Things that work, but require more comment
4912 \layout Standard
4913
4914 The following items work, but require a little more discussion:
4915 \layout Itemize
4916
4917 These items are reserved for use by the journal editors, but you can put
4918  them into the LaTeX preamble if you feel compelled to do so:
4919 \family typewriter 
4920  
4921 \backslash 
4922 received
4923 \family default 
4924 ,
4925 \family typewriter 
4926  
4927 \backslash 
4928 revised
4929 \family default 
4930 ,
4931 \family typewriter 
4932  
4933 \backslash 
4934 accepted
4935 \family default 
4936 ,
4937 \family typewriter 
4938
4939 \backslash 
4940  ccc
4941 \family default 
4942 ,
4943 \family typewriter 
4944  
4945 \backslash 
4946 cpright
4947 \family default 
4948  (all from 2.1.3)
4949 \layout Itemize
4950
4951 These items may be placed in the LaTeX preamble, and are included as blanks
4952  in the template file:
4953 \family typewriter 
4954  
4955 \backslash 
4956 slugcomment
4957 \family default 
4958  (2.1.4),
4959 \family typewriter 
4960  
4961 \backslash 
4962 shorttitle
4963 \family default 
4964  (2.1.5),
4965 \family typewriter 
4966  
4967 \backslash 
4968 shortauthors
4969 \family default 
4970  (2.1.5)
4971 \layout Itemize
4972
4973
4974 \family typewriter 
4975
4976 \backslash 
4977 email
4978 \family default 
4979  (2.3) -- can only be used
4980 \begin_inset Quotes eld
4981 \end_inset 
4982
4983 standalone
4984 \begin_inset Quotes erd
4985 \end_inset 
4986
4987 , not in the middle of a paragraph.
4988  Use ERT if you need to embed it.
4989 \layout Itemize
4990
4991
4992 \family typewriter 
4993
4994 \backslash 
4995 and
4996 \family default 
4997  (2.3) -- will have extra {} after it.
4998  This should not cause an error.
4999 \layout Itemize
5000
5001
5002 \family typewriter 
5003
5004 \backslash 
5005 notetoeditor
5006 \family default 
5007  (2.6) -- can only be used
5008 \begin_inset Quotes eld
5009 \end_inset 
5010
5011 standalone
5012 \begin_inset Quotes erd
5013 \end_inset 
5014
5015 , not in the middle of a paragraph.
5016  Use ERT if you need to embed it.
5017 \layout Itemize
5018
5019
5020 \family typewriter 
5021
5022 \backslash 
5023 placetable
5024 \family default 
5025  (2.8) -- can't insert a cross-reference tag, you must type the tag name
5026  by hand
5027 \layout Itemize
5028
5029
5030 \family typewriter 
5031
5032 \backslash 
5033 placefigure
5034 \family default 
5035  (2.8) -- same as for
5036 \family typewriter 
5037  
5038 \backslash 
5039 placetable
5040 \layout Itemize
5041
5042
5043 \family typewriter 
5044
5045 \backslash 
5046 acknowledgements
5047 \family default 
5048  (2.9) -- will have extra {} after it.
5049  This should not cause an error.
5050 \layout Itemize
5051
5052
5053 \family typewriter 
5054
5055 \backslash 
5056 appendix
5057 \family default 
5058  (2.10) -- will have extra {} after it.
5059  This should not cause an error.
5060 \layout Itemize
5061
5062
5063 \family typewriter 
5064
5065 \backslash 
5066 figcaption
5067 \family default 
5068  (2.13.2) -- you will have to edit the optional argument by hand in the final
5069  LaTeX file.
5070 \layout Subsubsection
5071
5072 Things not implemented, use ERT
5073 \layout Standard
5074
5075
5076 \begin_inset ERT
5077 status Collapsed
5078
5079 \layout Standard
5080
5081 \backslash 
5082 begin{sloppypar}
5083 \end_inset 
5084
5085
5086 \layout Standard
5087
5088
5089 \family typewriter 
5090
5091 \backslash 
5092 altaffilmark
5093 \family default 
5094  (2.3),
5095 \family typewriter 
5096  
5097 \backslash 
5098 altaffiltext
5099 \family default 
5100  (2.3),
5101 \family typewriter 
5102  
5103 \backslash 
5104 eqnum
5105 \family default 
5106  (2.11),
5107 \family typewriter 
5108  
5109 \backslash 
5110 setcounter{equation}
5111 \family default 
5112  (2.11),
5113 \family typewriter 
5114  
5115 \backslash 
5116 citet
5117 \family default 
5118  (2.12),
5119 \family typewriter 
5120  
5121 \backslash 
5122 citep
5123 \family default 
5124  (2.12), Journal name abbreviations (2.12.4),
5125 \family typewriter 
5126  
5127 \backslash 
5128 figurenum
5129 \family default 
5130  (2.13.1),
5131 \family typewriter 
5132  
5133 \backslash 
5134 epsscale
5135 \family default 
5136  (2.13.1),
5137 \family typewriter 
5138  
5139 \backslash 
5140 plotone
5141 \family default 
5142  (2.13.1),
5143 \family typewriter 
5144  
5145 \backslash 
5146 plottwo
5147 \family default 
5148  (2.13.1),
5149 \family typewriter 
5150  
5151 \backslash 
5152 tablenum
5153 \family default 
5154  (2.14.4),
5155 \family typewriter 
5156  
5157 \backslash 
5158 tableline
5159 \family default 
5160  (2.14.4, insert it as the first element in the lefthand cell after where
5161  you want it.
5162  Don't use any of LyX's rules in the table),
5163 \family typewriter 
5164  
5165 \backslash 
5166 tablenotemark
5167 \family default 
5168  (2.14.5),
5169 \family typewriter 
5170  
5171 \backslash 
5172 tablenotetext
5173 \family default 
5174  (2.14.5), most everything in Misc (2.15, except
5175 \family typewriter 
5176  
5177 \backslash 
5178 url
5179 \family default 
5180  and
5181 \family typewriter 
5182  
5183 \backslash 
5184 email
5185 \family default 
5186 ; see above),
5187 \family typewriter 
5188  
5189 \backslash 
5190 singlespace
5191 \family default 
5192  (3.1),
5193 \family typewriter 
5194  
5195 \backslash 
5196 doublespace
5197 \family default 
5198  (3.1),
5199 \family typewriter 
5200  
5201 \backslash 
5202 onecolumn
5203 \family default 
5204  (3.2),
5205 \family typewriter 
5206  
5207 \backslash 
5208 twocolumn
5209 \family default 
5210  (3.2)
5211 \layout Standard
5212
5213
5214 \begin_inset ERT
5215 status Collapsed
5216
5217 \layout Standard
5218
5219 \backslash 
5220 end{sloppypar}
5221 \end_inset 
5222
5223
5224 \layout Subsubsection
5225
5226 Things that cannot be implemented
5227 \layout Standard
5228
5229 \SpecialChar \ldots{}
5230  at least in any meaningful sort of way, so I suggest ignoring them.
5231  They are the references environment (2.12.3), and the deluxetable environment
5232  (2.14).
5233  If you really, really need to use deluxetable, I suggest editing it in
5234  a separate file with a text editor, then using
5235 \family sans 
5236  Insert\SpecialChar \menuseparator
5237 Include File
5238 \family default 
5239  to include it in your LyX document.
5240  See the
5241 \family typewriter 
5242 aas_sample.lyx
5243 \family default 
5244  file to see an example of this.
5245 \layout Subsection
5246
5247 FAQs, Tips, Tricks, and Other Ruminations
5248 \layout Subsubsection
5249
5250 Getting LyX and AASTeX to cooperate
5251 \layout Standard
5252
5253 It can be a bit tricky to get LyX to recognize a new layout and document
5254  class.
5255  When all else fails, do this:
5256 \layout Enumerate
5257
5258 Make certain that LaTeX can find AASTeX.
5259  Copy sample.tex (and perhaps table.tex) from the AASTeX distribution into
5260  a directory completely unrelated to LaTeX or AASTeX and run LaTeX on
5261 \family typewriter 
5262 sample.tex
5263 \family default 
5264 .
5265 \layout Enumerate
5266
5267 Make certain that
5268 \family typewriter 
5269 aastex.layout
5270 \family default 
5271  appears in
5272 \family typewriter 
5273 /usr/.../share/lyx/layouts
5274 \family default 
5275  or
5276 \family typewriter 
5277 ~/.lyx/layouts
5278 \family default 
5279 .
5280 \layout Enumerate
5281
5282 Rerun
5283 \family sans 
5284 Options\SpecialChar \menuseparator
5285 Reconfigure
5286 \family default 
5287  in LyX, then restart LyX.
5288 \layout Enumerate
5289
5290 Open a regular new file, not from a template.
5291  Does AASTeX appear in
5292 \family sans 
5293 Layout\SpecialChar \menuseparator
5294 Document\SpecialChar \menuseparator
5295 Class
5296 \family default 
5297 ?
5298 \layout Standard
5299
5300 If you get a warning from an existing AASTeX document about not being able
5301  to find the AASTeX layout or a message about
5302 \begin_inset Quotes eld
5303 \end_inset 
5304
5305 You should not mix title layouts with normal ones
5306 \begin_inset Quotes erd
5307 \end_inset 
5308
5309 , things haven't been installed correctly.
5310 \layout Subsubsection
5311
5312 LaTeX error processing a table
5313 \layout Standard
5314
5315 LyX, by default, attempts to center the table caption/title.
5316  This seems to produce a bad interaction in AASTeX so you should click somewhere
5317  in the caption/title, then select
5318 \family sans 
5319 Layout\SpecialChar \menuseparator
5320 Paragraph
5321 \family default 
5322 , then set the
5323 \family sans 
5324 Alignment
5325 \family default 
5326  to
5327 \family sans 
5328 Block
5329 \family default 
5330 .
5331  This took care of it for me.
5332 \layout Subsubsection
5333
5334 References
5335 \begin_inset LatexCommand \label{cite}
5336
5337 \end_inset 
5338
5339
5340 \layout Standard
5341
5342 A few things: 1) I have noticed some funny spacing in the reference entries
5343  in the text.
5344  When you enter the bibliography item data, make sure their is
5345 \emph on 
5346 no
5347 \emph default 
5348  space between the last author and the parenthesis setting off the year;
5349 \emph on 
5350 e.g.
5351 \emph default 
5352 type
5353 \family typewriter 
5354  Ressler(1992)
5355 \family default 
5356 , not
5357 \family typewriter 
5358 Ressler (1992)
5359 \family default 
5360 .
5361  2) I am really unhappy that I can't make
5362 \family typewriter 
5363
5364 \backslash 
5365 citet
5366 \family default 
5367  and
5368 \family typewriter 
5369
5370 \backslash 
5371 citep
5372 \family default 
5373  more automatic, but that would require changes to the LyX source code.
5374  For now you can do one of two things: a) enter all your citations using
5375  the built-in
5376 \family sans 
5377  Insert\SpecialChar \menuseparator
5378 Citation Reference
5379 \family default 
5380  mechanism; at least you can take advantage of the automatic insertions.
5381  Then edit the exported LaTeX file by hand changing the
5382 \family typewriter 
5383
5384 \backslash 
5385 cite
5386 \family default 
5387  entries to the appropriate
5388 \family typewriter 
5389
5390 \backslash 
5391 citet
5392 \family default 
5393  or
5394 \family typewriter 
5395
5396 \backslash 
5397 citep
5398 \family default 
5399  commands before you submit it (
5400 \family typewriter 
5401
5402 \backslash 
5403 cite
5404 \family default 
5405  is currently equivalent to
5406 \family typewriter 
5407
5408 \backslash 
5409 citet
5410 \family default 
5411 , so you wouldn't necessarily have to change those).
5412  Or b) you can simply enter all your citations as ERT using the same key
5413  for the argument that you used in the bibliography popup,
5414 \emph on 
5415 e.g.
5416 \family typewriter 
5417 \emph default 
5418
5419 \backslash 
5420 citet{key}
5421 \family default 
5422 .
5423  Neither choice is pleasant, but until LyX's citation mechanism understands
5424 \family typewriter 
5425 natbib
5426 \family default 
5427 , we'll have to put up with it.
5428  3) Entering the references at all is not obvious.
5429  The easiest thing is to start typing your first reference at the end of
5430  the document, then mark it as type
5431 \family sans 
5432 References
5433 \family default 
5434 .
5435  That will put a small gray box in front of what you just typed.
5436  Click on the box to fill in the rest of the information.
5437  For new references, go to the end of an existing reference and press return.
5438  That will create a new line with its own box, etc.
5439 \layout Subsubsection
5440
5441 W³±czanie plików EPS
5442 \layout Standard
5443
5444 With all due respect to Chris Biemesderfer and the others who have helped
5445  to write the AASTeX package, the figure handling mechanism smells really
5446  foul.
5447  You can insert the
5448 \family typewriter 
5449
5450 \backslash 
5451 plotone
5452 \family default 
5453 , etc.
5454  commands as ERT into a Figure Float box, but I never have much luck getting
5455  the layout right.
5456  My advice would be to avoid all EPS inclusions in the manuscript you submit
5457  to the journal, but then use the standard LyX EPS file inclusion mechanism
5458  when you want to make your nicer looking preprints.
5459  LyX will insert a
5460 \family typewriter 
5461
5462 \backslash 
5463 usepackage{graphics}
5464 \family default 
5465  command into the LaTeX preamble and handle the figures in the standard
5466  LaTeX2e way.
5467  Anyone who attempts to print your AASTeX 5.0 manuscript must have a LaTeX2e
5468  installation anyway, so why not take advantage of the infinitely better
5469  graphics handling mechanism? If they complain about LaTeX2e or the graphics
5470  package, point out that it appears in the second edition of Lamport (1994),
5471  so it was time to upgrade six years ago.
5472 \layout Subsubsection
5473
5474 Things I could have done, but didn't
5475 \layout Standard
5476
5477 There are a few ,,pretty'' things I could have implemented, but chose not
5478  to.
5479  For instance, I saw no point in double-spacing the text in the LyX window,
5480  even though it is double-spaced in the paper manuscript.
5481  Also, I chose not to make separate layouts for the preprint and preprint2
5482  styles.
5483  Since I assume you will spend most of your time in the plain manuscript
5484  mode anyway, I decided not to chew up more disk space with this.
5485  If you feel strongly that I should make such layouts, I will adhere to
5486  the spirit of the rules laid out by the Mudgeeraba Creek Emu-Riding and
5487  Boomerang-Throwing Association:
5488 \layout Quotation
5489
5490 ,,Decisions of the judges will be final unless shouted down by a really
5491  overwhelming majority of the crowd present.
5492  Abusive and obscene language may not be used by contestants when addressing
5493  members of the judging panel, or, conversely, by members of the judging
5494  panel when addressing contestants (unless struck by a boomerang)''.
5495 \layout Subsection
5496
5497 Final Caveat
5498 \layout Standard
5499
5500 To mangle the infamous quote by Donald Knuth about a computer algorithm,
5501  ,,I have only proved this to be correct, I have not actually tried it''.
5502  I believe following the above procedures will produce an acceptable AASTeX
5503  document, but as of this update (Jan 25, 2000), I have not yet submitted
5504  a paper using it.
5505  Hopefully in the next few months \SpecialChar \ldots{}
5506
5507 \layout Section
5508
5509 ijmpd
5510 \layout Standard
5511
5512 by 
5513 \noun on 
5514 Panayotis Papasotiriou
5515 \layout Subsection
5516
5517 Overview
5518 \layout Standard
5519
5520 The ijmpd package is a set of macros that facilitates electronic manuscript
5521  submission to the 
5522 \emph on 
5523 International Journal of Modern Physics D
5524 \emph default 
5525  published by World Scientific.
5526  The name of the document class is 
5527 \family typewriter 
5528 ws-ijmpd.cls
5529 \family default 
5530 .
5531  This file, together with instructions for the authors, can be downloaded
5532  from the site 
5533 \begin_inset LatexCommand \url{http://www.worldscinet.com/ijmpd/mkt/guidelines.shtml}
5534
5535 \end_inset 
5536
5537 .
5538  The ijmpd package is a modified version of the standard 
5539 \begin_inset Quotes eld
5540 \end_inset 
5541
5542 article
5543 \begin_inset Quotes erd
5544 \end_inset 
5545
5546  package.
5547  Most of its features are supported by LyX.
5548  I have recently used LyX successfully to write an article submitted to
5549  the 
5550 \emph on 
5551 International Journal of Modern Physics D
5552 \emph default 
5553 .
5554 \layout Subsection
5555
5556 Writing a paper
5557 \layout Standard
5558
5559 As usual, the easiest way to write a paper is to start with a template.
5560  Click on 
5561 \family sans 
5562 \bar under 
5563 F
5564 \bar default 
5565 ile\SpecialChar \menuseparator
5566 New from 
5567 \bar under 
5568 T
5569 \bar default 
5570 emplate
5571 \family default 
5572 , then choose the 
5573 \family typewriter 
5574 ijmpd.lyx
5575 \family default 
5576  template.
5577  This will give an (almost) empty document that includes the most common
5578  fields found in a manuscript.
5579  Simply overwrite the existing text (including the brackets, 
5580 \family typewriter 
5581 <>
5582 \family default 
5583 ) with the correct information.
5584  You should keep in mind the following remarks.
5585 \layout Enumerate
5586
5587 LyX won't let you change the font size and the page style of the document,
5588  because the ijmpd package does not allow such modifications.
5589 \layout Enumerate
5590
5591 The ijmpd package requires that the language of the document should not
5592  be changed.
5593  Before previewing your paper, be sure that the babel package is not used.
5594  To do this, click on 
5595 \family sans 
5596 \bar under 
5597 E
5598 \bar default 
5599 dit\SpecialChar \menuseparator
5600
5601 \bar under 
5602 P
5603 \bar default 
5604 references
5605 \family default 
5606 , select the 
5607 \family sans 
5608 Language
5609 \family default 
5610  tab (under the 
5611 \family sans 
5612 Lang Opts
5613 \family default 
5614  tab), then deselect the 
5615 \family sans 
5616 \bar under 
5617 U
5618 \bar default 
5619 se babel
5620 \family default 
5621  option and click on 
5622 \family sans 
5623 \bar under 
5624 A
5625 \bar default 
5626 pply
5627 \family default 
5628  (or 
5629 \family sans 
5630 Save
5631 \family default 
5632 , if you wish to make this change permanent).
5633 \layout Enumerate
5634
5635 Two new environments, named 
5636 \begin_inset Quotes eld
5637 \end_inset 
5638
5639 Theorem
5640 \begin_inset Quotes erd
5641 \end_inset 
5642
5643  and 
5644 \begin_inset Quotes eld
5645 \end_inset 
5646
5647 Proof
5648 \begin_inset Quotes erd
5649 \end_inset 
5650
5651  are available (their use is obvious).
5652 \layout Enumerate
5653
5654 Appendices may be added to the paper.
5655  LyX offers a special environment, called 
5656 \begin_inset Quotes eld
5657 \end_inset 
5658
5659 Appendix
5660 \begin_inset Quotes erd
5661 \end_inset 
5662
5663  which marks the beginning of the appendix.
5664  An appendix can contain normal sections, subsections, or subsubsections.
5665 \layout Enumerate
5666
5667 The ijmpd package implements table captions quite differently than LyX does.
5668  As a result, a table created by LyX is printed correctly, but its caption
5669  is ignored.
5670  If you need table captions, you should implement the whole table float
5671  in a 
5672 \family typewriter 
5673 .tex
5674 \family default 
5675  file, then include this file to the LyX document (
5676 \family sans 
5677 \bar under 
5678 I
5679 \bar default 
5680 nsert\SpecialChar \menuseparator
5681 Inclu
5682 \bar under 
5683 d
5684 \bar default 
5685 e file
5686 \family default 
5687 ).
5688  Details on how to create an ijmpd table float can be found in the file
5689  
5690 \family typewriter 
5691 ws-ijmpd.tex
5692 \family default 
5693 , which is included in the ijmpd package.
5694 \layout Subsection
5695
5696 Preparing a paper for submission
5697 \layout Standard
5698
5699 Before you submit your paper you must export the LyX document as a LaTeX
5700  file (
5701 \family sans 
5702 \bar under 
5703 F
5704 \bar default 
5705 ile\SpecialChar \menuseparator
5706
5707 \bar under 
5708 E
5709 \bar default 
5710 xport\SpecialChar \menuseparator
5711
5712 \bar under 
5713 L
5714 \bar default 
5715 ateX
5716 \family default 
5717 ), then make the following changes to the resulting 
5718 \family typewriter 
5719 .tex
5720 \family default 
5721  file.
5722 \layout Enumerate
5723
5724 Remove the comment lines before the 
5725 \family typewriter 
5726
5727 \backslash 
5728 documentclass
5729 \family default 
5730  command.
5731 \layout Enumerate
5732
5733 Remove everything between (and including) the 
5734 \family typewriter 
5735
5736 \backslash 
5737 makeatletter
5738 \family default 
5739  and 
5740 \family typewriter 
5741
5742 \backslash 
5743 makeatother
5744 \family default 
5745  commands, except for any commands you specifically put into the LaTeX preamble.
5746 \layout Standard
5747
5748 The modified 
5749 \family typewriter 
5750 .tex
5751 \family default 
5752  file should be saved and processed through LaTeX as many times as necessary.
5753  You may also want to check the resulting 
5754 \family typewriter 
5755 .dvi
5756 \family default 
5757  document.
5758 \layout Subsection
5759
5760 Use of ERT
5761 \layout Standard
5762
5763 U¿ycie wstawek ERT jest opcjonalne i jest zredukowane do trzech poleceñ,
5764  which affect the look of the page.
5765  If you started writing your paper by using the 
5766 \family typewriter 
5767 ijmpd.lyx
5768 \family default 
5769  template, the ERT needed is already in its place; you usually don't need
5770  to delete it.
5771  You may only change the first ERT to specify the information printed to
5772  the top of odd and even pages (authors' names and short paper's title,
5773  respectively).
5774  This ERT must have the form 
5775 \family typewriter 
5776
5777 \backslash 
5778 markboth{Authors' Names}{Short Paper's Title}
5779 \family default 
5780 .
5781 \layout Section
5782
5783 Kluwer
5784 \layout Standard
5785
5786 by 
5787 \noun on 
5788 Panayotis Papasotiriou
5789 \layout Subsection
5790
5791 Przegl±d
5792 \layout Standard
5793
5794 Pakiet Kluwer jest zestawem makr wydanych przez Kluwer Academic Publishers
5795  aby u³atwiæ elektroniczn± wysy³kê manuskryptów do pism wydawanych przez
5796  wydawnictwo.
5797  Najbardziej znane z nich (at least in my domain of interest), to 
5798 \emph on 
5799 Astrophysics and Space Science
5800 \emph default 
5801  i 
5802 \emph on 
5803 Solar Physics
5804 \emph default 
5805 , ale istnieje wiele innych (zobacz kompletn± listê pod adresem 
5806 \begin_inset LatexCommand \url{http://www.wkap.nl/jrnllist.htm/JRNLHOME}
5807
5808 \end_inset 
5809
5810 ).
5811  Pakiet Kluwer mo¿na pobraæ z serwisu 
5812 \begin_inset LatexCommand \url{http://www.wkap.nl/kaphtml.htm/STYLEFILES}
5813
5814 \end_inset 
5815
5816 .
5817  Kompletna dokumentacja jest zawarta w pakiecie (ale mo¿na pobraæ j± oddzielnie).
5818 \layout Standard
5819
5820 LyX obs³uguje wiele cech pakietu ale nie wszystkie.
5821  Mimo to wstawki ERT s± potrzebne do redukcji ,,osobliwych'' poleceñ pakietu
5822  (zobacz 
5823 \begin_inset LatexCommand \ref{subsec:kluwer_peculiarities}
5824
5825 \end_inset 
5826
5827 ).
5828  Ja ostatnio napisa³em bez ¿adnych problemów artyku³ wys³any do pisma 
5829 \emph on 
5830 Astrophysics and Space Science
5831 \emph default 
5832 .
5833 \layout Subsection
5834
5835 Pisanie artyku³ów
5836 \layout Standard
5837
5838 Naj³atwiejsz± drog± do napisania nowego artyku³u jest skorzystanie z szablonu.
5839  Wybierz polecenie z menu 
5840 \family sans 
5841 Plik\SpecialChar \menuseparator
5842 Nowy z szablonu
5843 \family default 
5844 , a nastêpnie wybierz plik szablonu 
5845 \family typewriter 
5846 kluwer.lyx
5847 \family default 
5848 .
5849  Otrzymasz wówczas (prawie) pusty dokument, który zawiera wiêkszo¶æ pól
5850  z manuskryptu z krótkim opisem ich u¿ycia.
5851  I jak w wiêkszo¶ci szablonów zast±p istniej±ce teksty (w³±czaj±c nawiasy
5852  
5853 \family typewriter 
5854 <>
5855 \family default 
5856 ) poprawnymi informacjami.
5857 \layout Subsection
5858
5859 Przygotowanie artyku³u do wys³ania
5860 \layout Standard
5861
5862 Podobnie jak przy pakiecie AASTeX przed wysy³k± artyku³u do wydawnictwa,
5863  artyku³ nale¿y przetworzyæ, co opisano dalej w kolejnych krokach:
5864 \layout Enumerate
5865
5866 Wyeksportuj artyku³ do pliku LaTeX.
5867  Zrób to przez wybór polecenia z menu 
5868 \family sans 
5869 \bar under 
5870 P
5871 \bar default 
5872 lik\SpecialChar \menuseparator
5873
5874 \bar under 
5875  E
5876 \bar default 
5877 ksportuj\SpecialChar \menuseparator
5878
5879 \bar under 
5880  L
5881 \bar default 
5882 aTeX
5883 \family default 
5884 .
5885  
5886 \layout Enumerate
5887
5888 Wyedytuj uzyskany plik 
5889 \family typewriter 
5890 .tex
5891 \family default 
5892  w edytorze tekstowym dokonuj±c nastêpuj±cych zmian:
5893 \begin_deeper 
5894 \layout Enumerate
5895
5896 usuñ wiersze komentarza przed poleceniem 
5897 \family typewriter 
5898
5899 \backslash 
5900 documentclass
5901 \family default 
5902 ,
5903 \layout Enumerate
5904
5905 usuñ wszystko pomiêdzy dyrektywami 
5906 \family typewriter 
5907
5908 \backslash 
5909 makeatletter
5910 \family default 
5911  i 
5912 \family typewriter 
5913
5914 \backslash 
5915 makeatother
5916 \family default 
5917  w³±cznie, z wyj±tkiem Twoich specyficznych poleceñ wstawionych do preambu³y.
5918 \layout Standard
5919
5920 Zapisz uzyskany plik 
5921 \family typewriter 
5922 .tex
5923 \family default 
5924 .
5925 \end_deeper 
5926 \layout Enumerate
5927
5928 Przetwórz plik 
5929 \family typewriter 
5930 .tex
5931 \family default 
5932  przez LaTeX tyle razy ile potrzeba (zwykle do trzech razy).
5933 \layout Enumerate
5934
5935 Zobacz utworzony plik 
5936 \family typewriter 
5937 .dvi
5938 \family default 
5939  korzystaj±c z przegl±darki np.
5940  
5941 \family sans 
5942 xdvi
5943 \family default 
5944  i sprawd¼ czy wszystko jest ok (tak powinno byæ je¶li nie pope³ni³e¶ b³êdów).
5945 \layout Subsection
5946
5947 ,,Osobliwo¶ci'' pakietu Kluwer
5948 \begin_inset LatexCommand \label{subsec:kluwer_peculiarities}
5949
5950 \end_inset 
5951
5952
5953 \layout Standard
5954
5955 Pakiet Kluwer posiada nastêpuj±ce ,,osobliwo¶ci'':
5956 \layout Enumerate
5957
5958 Jest mo¿liwe pisanie wielu artyku³ów w tym samym pliku LaTeX-a
5959 \begin_inset Foot
5960 collapsed false
5961
5962 \layout Standard
5963
5964 Nie mogê wyobraziæ sobie innego dobrego powodu aby to zrobiæ
5965 \end_inset 
5966
5967 .
5968  Ka¿dy artyku³ musi byæ zawarty w ¶rodowisku ,,article''.
5969  Niestety, tego ¶rodowiska nie mo¿na pomin±æ, nawet je¶li piszemy tylko
5970  jeden artyku³.
5971  Dlatego ka¿dy artyku³ zaczyna siê poleceniem 
5972 \family typewriter 
5973
5974 \backslash 
5975 begin{article}
5976 \family default 
5977  i koñczy oczywi¶cie poleceniem 
5978 \family typewriter 
5979
5980 \backslash 
5981 end{article}
5982 \family default 
5983 .
5984  Mimo to mo¿na to zaimplementowaæ w LyX-ie, ale ja nie do³±czam tego, od
5985  czasu jak to wygl±da brzydko i mo¿e peszyæ nowych u¿ytkowników.
5986  Dlatego Ty potrzebujesz wpisaæ te polecenia wprost jako kod LaTeX (jako
5987  wstawki ERT).
5988 \layout Enumerate
5989
5990 Informacje podane na pocz±tku artyku³u (np.: title, subtitle, author, institution
5991 , running title, running author, abstract i keywords) musz± znajdowaæ siê
5992  w\SpecialChar ~
5993 ¶rodowisku ,,opening''.
5994  Tego nie zaimplementowano w LyX-ie, tak ¿e Ty musisz umie¶ciæ title, subtitle
5995  itd.
5996  pomiêdzy dwoma wstawkami ERT (
5997 \family typewriter 
5998
5999 \backslash 
6000 begin{opening}
6001 \family default 
6002  i 
6003 \family typewriter 
6004
6005 \backslash 
6006 end{opening}
6007 \family default 
6008 ).
6009 \layout Enumerate
6010
6011 Wed³ug podrêcznika u¿ytkownika etykieta ka¿dej pozycji bibliografii musi
6012  byæ zapisana jako 
6013 \family typewriter 
6014
6015 \backslash 
6016 protect
6017 \backslash 
6018 citeauthoryear{
6019 \family default 
6020 \emph on 
6021 author(s)
6022 \family typewriter 
6023 \emph default 
6024 }{
6025 \family default 
6026 \emph on 
6027 year
6028 \family typewriter 
6029 \emph default 
6030 }
6031 \family default 
6032 .
6033 \layout Standard
6034
6035 Szablon 
6036 \family typewriter 
6037 kluwer.lyx
6038 \family default 
6039  zajmuje siê tymi wszystkimi ,,osobliwo¶ciami'' Je¶li zaczynasz z nowym
6040  artyku³em korzystaj±c z tego szablonu, to nie potrzebujesz robiæ nic specjalneg
6041 o.
6042  Tylko:
6043 \layout Enumerate
6044
6045 nie usuwaj wstawek ERT do³±czonych do szablonu i
6046 \layout Enumerate
6047
6048 skopiuj przyk³adow± bibliografiê do³±czona do szablonu i dostosuj j± przez
6049  dopisanie nowych pozycji.
6050 \layout Section
6051
6052 Koma-Script
6053 \layout Standard
6054
6055 by
6056 \noun on 
6057  Bernd Rellermeyer
6058 \layout Subsection
6059
6060 Przegl±d
6061 \layout Standard
6062
6063 LyX-owe klasy dokumentu
6064 \emph on 
6065  article (koma-script)
6066 \emph default 
6067 ,
6068 \emph on 
6069  report (koma-script)
6070 \emph default 
6071 ,
6072 \emph on 
6073  book(koma-script)
6074 \emph default 
6075 , i
6076 \emph on 
6077  letter(koma-script)
6078 \emph default 
6079  odpowiadaj± LaTeX-owym klasom odpowiednio
6080 \family typewriter 
6081  scrartcl.cls
6082 \family default 
6083 ,
6084 \family typewriter 
6085  scrreprt.cls
6086 \family default 
6087 ,
6088 \family typewriter 
6089  scrbook.cls
6090 \family default 
6091 , i
6092 \family typewriter 
6093 scrlettr.cls
6094 \family default 
6095 , z rodziny Koma-Script.
6096  Zastêpuj± one standardowe klasy dokumentu odpowiednio
6097 \family typewriter 
6098  article.cls
6099 \family default 
6100 ,
6101 \family typewriter 
6102  report.cls
6103 \family default 
6104 ,
6105 \family typewriter 
6106  book.cls
6107 \family default 
6108 , i
6109 \family typewriter 
6110  letter.cls
6111 \family default 
6112 , i s± bli¿sze europejskim konwencjom typograficznym
6113 \layout Itemize
6114
6115 Standardow± wielko¶ci± czcionki jest 11pt w
6116 \emph on 
6117  article (koma-script)
6118 \emph default 
6119 ,
6120 \emph on 
6121  report (koma-script)
6122 \emph default 
6123  i
6124 \emph on 
6125  book (koma-script)
6126 \emph default 
6127 , oraz 12pt w
6128 \emph on 
6129  letter (koma-script)
6130 \emph default 
6131 .
6132 \layout Itemize
6133
6134 Tytularia, etykiety opisu ¶rodowisk i kilka elementów klasy
6135 \emph on 
6136  letter (koma-script)
6137 \emph default 
6138  s± sk³adane czcionk± pó³grub± bezszeryfow±
6139 \begin_inset Foot
6140 collapsed true
6141
6142 \layout Standard
6143
6144 Istnieje du¿a ró¿nica pomiêdzy starymi pó³grubymi czcionkami bezszeryfowymi
6145  rodziny cm, a nowymi rodziny ec, szczególnie w wygl±dzie tytulariów.
6146  Dla porównania pó³gruba czcionka bezszeryfowa rodziny ec wygl±da na troszkê
6147  cieñsz±.
6148  Pakiet LaTeX-a
6149 \family typewriter 
6150  cmsd.sty
6151 \family default 
6152  autorstwa
6153 \shape smallcaps 
6154  Walter Schmidta
6155 \shape default 
6156  pomaga tworzyæ ,,zwyk³y'' wygl±d przy u¿yciu czcionek ec.
6157 \end_inset 
6158
6159 .
6160  Numeracja tytu³ów rozdzia³ów jest zrobiona tak samo jak numeracja sekcji,
6161  czyli bez wiersza ,,Rozdzia³\SpecialChar \ldots{}
6162 ''.
6163  Ponadto wygl±d tytulariów mo¿e byæ zmieniony za pomoc± kilku opcji (w LyX-ie
6164  wprowadza siê je w polach
6165 \family sans 
6166  Opcje Dodatkowe
6167 \family default 
6168  wywo³anym z menu
6169 \family sans 
6170 \bar under 
6171  U
6172 \bar default 
6173 k³ad\SpecialChar \menuseparator
6174
6175 \bar under 
6176 D
6177 \bar default 
6178 okument
6179 \family default 
6180 ).
6181 \layout Itemize
6182
6183 G³ównym zamierzeniem projektowania obszaru pisania klas dokumentu Koma-Script
6184  s± opcje
6185 \family sans 
6186  BCOR
6187 \family default 
6188  i
6189 \family sans 
6190  DIV
6191 \family default 
6192  (w LyX-ie wprowadza siê je w polach
6193 \family sans 
6194  Opcje Dodatkowe
6195 \family default 
6196  wywo³anym z menu
6197 \family sans 
6198 \bar under 
6199  U
6200 \bar default 
6201 k³ad\SpecialChar \menuseparator
6202
6203 \bar under 
6204 D
6205 \bar default 
6206 okument
6207 \family default 
6208 ).
6209  Dziêki nim mamy klarown± mo¿liwo¶æ zmiany szeroko¶ci marginesów jako opcje
6210  w menu
6211 \family sans 
6212 \bar under 
6213  U
6214 \bar default 
6215 k³ad\SpecialChar \menuseparator
6216
6217 \bar under 
6218 D
6219 \bar default 
6220 okument
6221 \family default 
6222 .
6223 \layout Itemize
6224
6225 Klasy LaTeX-owe rodziny Koma-Script definiuj± kilka dodatkowych poleceñ.
6226  Czê¶æ z nich, które maj± sens w LyX-ie s± zaimplementowane w odpowiednich
6227  ¶rodowiskach.
6228 \layout Standard
6229
6230 Szczegó³owy opis (w jêzyku niemieckim) LaTeX-owych klas dokumentu rodziny
6231  Koma-Script mo¿na znale¼æ w dokumentacji Koma-Script
6232 \emph on 
6233  scrguide
6234 \begin_inset Foot
6235 collapsed true
6236
6237 \layout Standard
6238
6239 Istnieje angielskie t³umaczenie --
6240 \emph on 
6241 screnggu
6242 \emph default 
6243 , ale nie jest kompletne
6244 \end_inset 
6245
6246
6247 \emph default 
6248  Dalsze punkty opisuj± tylko te aspekty, które s± zwi±zane z LyX-em.
6249 \layout Subsection
6250
6251 Klasy article (koma-script), report (koma-script) i book (koma-script)
6252 \layout Standard
6253
6254 Klasy dokumentu
6255 \emph on 
6256  article (koma-script)
6257 \emph default 
6258 ,
6259 \emph on 
6260  report (koma-script)
6261 \emph default 
6262  i
6263 \emph on 
6264  book(koma-script)
6265 \emph default 
6266  s± zaimplementowane w plikach uk³adu, odpowiednio:
6267 \family typewriter 
6268  scrartcl.layout
6269 \family default 
6270 ,
6271 \family typewriter 
6272  scrreprt.layout
6273 \family default 
6274  i
6275 \family typewriter 
6276  scrbook.layout
6277 \family default 
6278 .
6279  Zawieraj± one wszystkie ¶rodowiska odpowiednich standardowych klas dokumentu
6280  odpowiednio
6281 \emph on 
6282  article
6283 \emph default 
6284 ,
6285 \emph on 
6286  report
6287 \emph default 
6288  i
6289 \emph on 
6290  book
6291 \emph default 
6292 , czê¶ciowo zmienione z wy³±czeniem LyX-owego ¶rodowiska
6293 \family sans 
6294  List
6295 \family default 
6296 , które jest zast±pione przez nowe ¶rodowisko
6297 \family sans 
6298  Labeling
6299 \family default 
6300  o takiej samej funkcji.
6301  Jednak ¶rodowisko
6302 \family sans 
6303  Labeling
6304 \family default 
6305  zosta³o dodane do kilku nowych ¶rodowisk, ale nie s± one czê¶ci± klasy
6306 \emph on 
6307  letter (koma-script)
6308 \emph default 
6309 .
6310 \layout Itemize
6311
6312
6313 \family sans 
6314 Addchap
6315 \family default 
6316 ,
6317 \family sans 
6318  Addsec
6319 \family default 
6320 : s± odpowiednikami dla
6321 \family sans 
6322  Chapter*
6323 \family default 
6324  i
6325 \family sans 
6326  Section*
6327 \family default 
6328 , dodatkowo daj± wpis do spisu tre¶ci.
6329
6330 \family sans 
6331  Addchap
6332 \family default 
6333  nie istnieje w klasie
6334 \emph on 
6335  article (koma-script)
6336 \emph default 
6337 .
6338 \layout Itemize
6339
6340
6341 \family sans 
6342 Addchap*
6343 \family default 
6344 ,
6345 \family sans 
6346  Addsec*
6347 \family default 
6348 : zachowuj± siê dok³adnie tak jak
6349 \family sans 
6350  Addchap
6351 \family default 
6352  i
6353 \family sans 
6354  Addsec
6355 \family default 
6356 , additionally clearing running heads.
6357
6358 \family sans 
6359  Addchap*
6360 \family default 
6361  nie istnieje w klasie
6362 \emph on 
6363  article (koma-script)
6364 \emph default 
6365 .
6366 \layout Itemize
6367
6368
6369 \family sans 
6370 Minisec
6371 \family default 
6372 : generuje tytu³ tu¿ nad nastêpnym akapitem w standardowej wielko¶ci czcionki
6373  bez wp³ywu na strukturê dokumentu.
6374 \layout Standard
6375
6376 Nastêpuj±ce ¶rodowiska, razem ze standardowymi:
6377 \family sans 
6378  Title
6379 \family default 
6380 ,
6381 \family sans 
6382  Author
6383 \family default 
6384  i
6385 \family sans 
6386  Date
6387 \family default 
6388 , tworz± stronê tytu³ow± dokumentu.
6389  Musz± byæ wstawione na pocz±tku pierwszego ,,normalnego'' akapitu
6390 \begin_inset Foot
6391 collapsed false
6392
6393 \layout Standard
6394
6395 Odpowiednie polecenia LaTeX musz± pojawiæ siê przed poleceniem
6396 \family typewriter 
6397  
6398 \backslash 
6399 maketitle
6400 \end_inset 
6401
6402  Gdy dane ¶rodowisko jest u¿yte czê¶ciej ni¿ jeden raz, to zostanie uwzglêdnione
6403  tylko ostatnie jego wyst±pienie w tek¶cie.
6404  Te dodatkowe ¶rodowiska, podobnie jak
6405 \family sans 
6406  Title
6407 \family default 
6408 ,
6409 \family sans 
6410  Author
6411 \family default 
6412  i
6413 \family sans 
6414  Date
6415 \family default 
6416 , nie wp³ywaj± na wygl±d tworzonego dokumentu.
6417 \layout Itemize
6418
6419
6420 \family sans 
6421 Subject
6422 \family default 
6423 : tworzy wy¶rodkowany akapit powy¿ej podstawowego tytu³u (
6424 \family sans 
6425 Title
6426 \family default 
6427 ,
6428 \family sans 
6429  Author
6430 \family default 
6431 ,
6432 \family sans 
6433  Date
6434 \family default 
6435 ) z tematem dokumentu.
6436 \layout Itemize
6437
6438
6439 \family sans 
6440 Publishers
6441 \family default 
6442 : tworzy wy¶rodkowany akapit poni¿ej podstawowego tytu³u (
6443 \family sans 
6444 Title
6445 \family default 
6446 ,
6447 \family sans 
6448  Author
6449 \family default 
6450 ,
6451 \family sans 
6452  Date
6453 \family default 
6454 ) z nazw± wydawcy.
6455 \layout Itemize
6456
6457
6458 \family sans 
6459 Dedication
6460 \family default 
6461 : w klasach
6462 \emph on 
6463  report (koma-script)
6464 \emph default 
6465  i
6466 \emph on 
6467  book (koma-script)
6468 \emph default 
6469  tworzy wy¶rodkowany akapit z dedykacj± na oddzielnej stronie za stron±
6470  tytu³ow±, a w klasie
6471 \emph on 
6472  article (koma-script)
6473 \emph default 
6474  tworzy wy¶rodkowany akapit z dedykacj± poni¿ej podstawowego tytu³u (
6475 \family sans 
6476 Title
6477 \family default 
6478 ,
6479 \family sans 
6480  Author
6481 \family default 
6482 ,
6483 \family sans 
6484  Date
6485 \family default 
6486 ).
6487 \layout Itemize
6488
6489
6490 \family sans 
6491 Titlehead
6492 \family default 
6493 : tworzy wyrównany do lewej powy¿ej podstawowego tytu³u (
6494 \family sans 
6495 Title
6496 \family default 
6497 ,
6498 \family sans 
6499  Author
6500 \family default 
6501 ,
6502 \family sans 
6503  Date
6504 \family default 
6505 ) dla nag³ówka dokumentu.
6506 \layout Itemize
6507
6508
6509 \family sans 
6510 Uppertitleback
6511 \family default 
6512 : tworzy w druku dwustronnym w klasach
6513 \emph on 
6514  report (koma-script)
6515 \emph default 
6516  i
6517 \emph on 
6518  book (koma-script)
6519 \emph default 
6520  na tyle strony tytu³owej u góry wyrównany do lewej akapit, a w przypadku
6521  druku jednostronnego lub klasy
6522 \emph on 
6523  article (koma-script)
6524 \emph default 
6525  nie jest sk³adane.
6526 \layout Itemize
6527
6528
6529 \family sans 
6530 Lowertitleback
6531 \family default 
6532 : tworzy w druku dwustronnym w klasach
6533 \emph on 
6534  report (koma-script)
6535 \emph default 
6536  i
6537 \emph on 
6538  book (koma-script)
6539 \emph default 
6540  na tyle strony tytu³owej u do³u wyrównany do lewej akapit, a w przypadku
6541  druku jednostronnego lub klasy
6542 \emph on 
6543  article (koma-script)
6544 \emph default 
6545  nie jest sk³adane.
6546 \layout Itemize
6547
6548
6549 \family sans 
6550 Extratitle
6551 \family default 
6552 : tworzy specjaln± ,,brudn±'' stronê na pocz±tku dokumentu zawieraj±c± akapit
6553  bez specjalnego formatowania.
6554 \layout Standard
6555
6556 Pliki uk³adu dla klas dokumentu
6557 \emph on 
6558  article (koma-script)
6559 \emph default 
6560 ,
6561 \emph on 
6562  report (koma-script)
6563 \emph default 
6564  i
6565 \emph on 
6566  book (koma-script)
6567 \emph default 
6568  w³±czaj± plik
6569 \family typewriter 
6570  scrmacros.inc
6571 \family default 
6572 .
6573  Który jest w³a¶ciwym miejscem do definiowania w³asnych ¶rodowisk.
6574  Skopiuj 
6575 \family typewriter 
6576 scrmacros.inc
6577 \family default 
6578  do swojego osobistego foldera uk³adów i wyedytuj go!
6579 \layout Subsection
6580
6581 Klasa letter (koma-script)
6582 \layout Standard
6583
6584
6585 \begin_inset ERT
6586 status Inlined
6587
6588 \layout Standard
6589
6590 \backslash 
6591 begin{sloppypar}
6592 \end_inset 
6593
6594
6595 \layout Standard
6596 \noindent 
6597 Klasa dokumentu
6598 \emph on 
6599  letter (koma-script)
6600 \emph default 
6601  jest zaimplementowana w pliku uk³adu
6602 \family typewriter 
6603  scrlettr.layout
6604 \family default 
6605 .
6606  Zawiera on wszystkie ¶rodowiska odpowiadaj±ce standardowej klasie
6607 \emph on 
6608  letter
6609 \emph default 
6610 , czê¶ciowo zmienione z wy³±czeniem LyX-owych ¶rodowisk
6611 \family sans 
6612  List
6613 \family default 
6614 ,
6615 \family sans 
6616  Comment
6617 \family default 
6618  i
6619 \family sans 
6620  LyX
6621 \family default 
6622 -
6623 \family sans 
6624 Code
6625 \family default 
6626 , które s± zast±pione przez nowe ¶rodowisko
6627 \family sans 
6628  Labeling
6629 \family default 
6630  o takiej samej funkcji.
6631  Ponadto zawiera, w odró¿nieniu od standardowej klasy, standardowe ¶rodowiska
6632 \family sans 
6633  LaTeX
6634 \family default 
6635 ,
6636 \family sans 
6637  Quotation
6638 \family default 
6639 ,
6640 \family sans 
6641  Quote
6642 \family default 
6643  i
6644 \family sans 
6645  Verse
6646 \family default 
6647 .
6648  Dodatkowo jest kilka nowych specyficznych ¶rodowisk.
6649 \layout Standard
6650
6651
6652 \begin_inset ERT
6653 status Inlined
6654
6655 \layout Standard
6656
6657 \backslash 
6658 end{sloppypar}
6659 \end_inset 
6660
6661
6662 \layout Standard
6663
6664 Wygl±d listu z³o¿onego w tej klasie dokumentu mo¿e byæ sterowany za pomoc±
6665  kilku poleceñ LaTeX-a (w LyX-ie mo¿na je wprowadziæ wybieraj±c z menu
6666 \family sans 
6667 \bar under 
6668  U
6669 \bar default 
6670 k³ad\SpecialChar \menuseparator
6671
6672 \bar under 
6673 P
6674 \bar default 
6675 reambu³a LaTeX
6676 \family default 
6677 )
6678 \begin_inset Foot
6679 collapsed true
6680
6681 \layout Standard
6682
6683 Na przyk³ad, standardowy wygl±d nag³ówka listu zawieraj±cy nazwê i adres
6684  jest ca³kowicie self-willed.
6685  ,,Podstawowy'' nag³ówek jest tworzony za pomoc± nastêpuj±cych poleceñ w
6686  preambule:
6687 \layout LyX-Code
6688
6689
6690 \backslash 
6691 firsthead{
6692 \backslash 
6693 parbox[b]{
6694 \backslash 
6695 textwidth}
6696 \layout LyX-Code
6697
6698   {
6699 \backslash 
6700 ignorespaces
6701 \backslash 
6702 fromname
6703 \backslash 
6704
6705 \backslash 
6706
6707 \backslash 
6708 ignorespaces
6709 \backslash 
6710 fromaddress}}
6711 \layout LyX-Code
6712
6713
6714 \backslash 
6715 nexthead{
6716 \backslash 
6717 parbox[b]{
6718 \backslash 
6719 textwidth}
6720 \layout LyX-Code
6721
6722   {
6723 \backslash 
6724 ignorespaces
6725 \backslash 
6726 fromname
6727 \backslash 
6728 hfill
6729 \backslash 
6730 ignorespaces
6731 \backslash 
6732 pagename
6733 \backslash 
6734
6735 \backslash 
6736 thepage}}
6737 \end_inset 
6738
6739  Dziêki temu autor listu mo¿e utworzyæ swój w³asny uk³ad.
6740  Szczegó³owy opis (w jêzyku niemieckim) LaTeX-owych klas dokumentu rodziny
6741  Koma-Script mo¿na znale¼æ w dokumentacji Koma-Script
6742 \emph on 
6743  scrguide
6744 \emph default 
6745 .
6746 \layout Standard
6747
6748 ¦rodowiska
6749 \family sans 
6750  Letter
6751 \family default 
6752  i
6753 \family sans 
6754  Opening
6755 \family default 
6756  definiuj± pocz±tek listu i musz± byæ u¿yte w ka¿dym li¶cie.
6757  Dla podkre¶lenia ich w dokumencie, s± zaznaczone literami odpowiednio
6758 \family sans 
6759  L
6760 \family default 
6761  lub
6762 \family sans 
6763  O
6764 \family default 
6765  na lewym marginesie.
6766  To umo¿liwia napisanie dowolnej liczby listów w jednym pliku.
6767  ¦rodowisko
6768 \family sans 
6769  Opening
6770 \family default 
6771  tworzy nowy list u¿ywaj±c tego samego adresu, a
6772 \family sans 
6773  Letter
6774 \family default 
6775  tworzy nowy adres.
6776  ¦rodowiska
6777 \family sans 
6778  Closing
6779 \family default 
6780 ,
6781 \family sans 
6782  PS
6783 \family default 
6784 ,
6785 \family sans 
6786  CC
6787 \family default 
6788  i
6789 \family sans 
6790  Encl
6791 \family default 
6792  s± podstawowymi ¶rodowiskami i mog± byæ u¿ywane wielokrotnie w tym samym
6793  li¶cie.
6794 \layout Itemize
6795
6796
6797 \family sans 
6798 Letter
6799 \family default 
6800 : tworzy akapit na adres i definiuje pocz±tek listu.
6801 \layout Itemize
6802
6803
6804 \family sans 
6805 Opening
6806 \family default 
6807 : tworzy akapit dla adresu i zaczyna nowy list.
6808 \layout Itemize
6809
6810
6811 \family sans 
6812 Closing
6813 \family default 
6814 : tworzy akapit na tekst zamykaj±cy list.
6815 \layout Itemize
6816
6817
6818 \family sans 
6819 PS
6820 \family default 
6821 : tworzy akapit na Postscriptum.
6822 \layout Itemize
6823
6824
6825 \family sans 
6826 CC
6827 \family default 
6828 : tworzy akapit na listê rozdzielnika (Do wiadomo¶ci).
6829 \layout Itemize
6830
6831
6832 \family sans 
6833 Encl
6834 \family default 
6835 : tworzy akapit dla za³±czników.
6836 \layout Standard
6837
6838 ¦rodowiska
6839 \family sans 
6840  Name
6841 \family default 
6842 ,
6843 \family sans 
6844  Signature
6845 \family default 
6846 ,
6847 \family sans 
6848  Address
6849 \family default 
6850 ,
6851 \family sans 
6852  Telephone
6853 \family default 
6854 ,
6855 \family sans 
6856  Place
6857 \family default 
6858 ,
6859 \family sans 
6860  Backaddress
6861 \family default 
6862 ,
6863 \family sans 
6864  Specialmail
6865 \family default 
6866 ,
6867 \family sans 
6868  Location
6869 \family default 
6870 ,
6871 \family sans 
6872  Title
6873 \family default 
6874  i
6875 \family sans 
6876  Subject
6877 \family default 
6878  wy¶wietlaj± etykiety, dla u³atwienia wpisywania, których zawarto¶æ jest
6879  przetwarzana przez klasê letter (Koma-Script)
6880 \begin_inset Foot
6881 collapsed true
6882
6883 \layout Standard
6884
6885 It could be seen as a matter of inconsequence, that the types
6886 \family sans 
6887 Letter
6888 \family default 
6889  and
6890 \family sans 
6891 Opening
6892 \family default 
6893  described above are not such input types as well.
6894  Because of the special meaning of those types, however, I have implemented
6895  them as ordinary paragraph types with a one letter mark in the left margin.
6896  Moreover, it would affect my feeling of symmetry, if the
6897 \family sans 
6898 Opening
6899 \family default 
6900  type and the
6901 \family sans 
6902 Closing
6903 \family default 
6904  type had such a serious different appearance.
6905 \end_inset 
6906
6907  Te ¶rodowiska musz± byæ u¿yte na pocz±tku odpowiedniego ¶rodowiska
6908 \family sans 
6909  Opening
6910 \family default 
6911 .
6912 \layout Standard
6913
6914 Implementacja tych ¶rodowisk w trybie WYSIWYG nie ma sensu, poniewa¿ rzeczywisty
6915  wygl±d z³o¿onego listu zale¿y nie tylko od u¿ycia w³a¶ciwego ¶rodowiska,
6916  ale tak¿e innych czynników.
6917  Na przyk³ad podpis wprowadzony w ¶rodowisku
6918 \family sans 
6919  Signature
6920 \family default 
6921  bêdzie pojawia³ siê tylko w li¶cie, w którym u¿yto ¶rodowiska
6922 \family sans 
6923  Closing
6924 \family default 
6925 .
6926  Zawarto¶æ ¶rodowiska
6927 \family sans 
6928  Telephone
6929 \family default 
6930  standardowo nie bêdzie pojawiaæ siê przy wszystkich z³o¿onych listach.
6931  Mo¿liwo¶æ projektowania wolnych nag³ówków listu jest ju¿ wspomniana w przypisie
6932  powy¿ej.
6933 \layout Standard
6934
6935 ¦rodowiska mog± byæ tak¿e u¿ywane jako puste akapity.
6936  To ma sens np.
6937  dla ¶rodowiska
6938 \family sans 
6939  Signature
6940 \family default 
6941 .
6942  Je¶li ¶rodowisko
6943 \family sans 
6944  Signature
6945 \family default 
6946  nie zosta³o w ogóle u¿yte, to standardowo jest zastêpowane zawarto¶ci±
6947  ¶rodowiska
6948 \family sans 
6949  Name
6950 \family default 
6951 , ale je¶li mamy puste ¶rodowisko
6952 \family sans 
6953  Signature
6954 \family default 
6955  to nie jest niczym zastêpowane.
6956 \layout Standard
6957
6958 Przez u¿ycie ¶rodowisk mo¿na utworzyæ szablon listu, z czê¶ciowo wype³nionymi
6959  polami ¶rodowisk (np.
6960  Name, Address itd).
6961 \layout Itemize
6962
6963
6964 \family sans 
6965 Name
6966 \family default 
6967 : nazwa nadawcy, standardowo pojawia siê jako wy¶rodkowany akapit w nag³ówku
6968  listu.
6969  Tekst pisany jest du¿ymi literami.
6970 \layout Itemize
6971
6972
6973 \family sans 
6974 Signature
6975 \family default 
6976 : podpis nadawcy, standardowo pojawia siê poni¿ej tre¶ci ¶rodowiska
6977 \family sans 
6978  Closing
6979 \family default 
6980 .
6981  Je¶li nie u¿yto ¶rodowiska
6982 \family sans 
6983  Signature
6984 \family default 
6985  to zamiast niego pojawia siê zawarto¶æ
6986 \family sans 
6987  Name
6988 \family default 
6989 .
6990 \layout Itemize
6991
6992
6993 \family sans 
6994 Address
6995 \family default 
6996 : adres nadawcy, standardowo pojawia siê jako wy¶rodkowany akapit w nag³ówku
6997  listu, poni¿ej nazwy nadawcy.
6998 \layout Itemize
6999
7000
7001 \family sans 
7002 Telephone
7003 \family default 
7004 : numer telefonu nadawcy, pojawia siê tylko, gdy jest w³±czona zmienna LaTeX
7005 \family typewriter 
7006  
7007 \backslash 
7008 telephonenum
7009 \family default 
7010 .
7011 \layout Itemize
7012
7013
7014 \family sans 
7015 Place
7016 \family default 
7017 : miejsce napisania listu.
7018 \layout Itemize
7019
7020
7021 \family sans 
7022 Date
7023 \family default 
7024 : data napisania listu.
7025
7026 \family sans 
7027  Place
7028 \family default 
7029  i
7030 \family sans 
7031  Date
7032 \family default 
7033  standardowo sk³adane s± w wierszu poni¿ej pola adresu nadawcy wyrównane
7034  do prawej.
7035  Je¶li ¶rodowisko
7036 \family sans 
7037  Date
7038 \family default 
7039  jest puste, to zawarto¶æ ¶rodowiska
7040 \family sans 
7041  Place
7042 \family default 
7043  nie pojawi siê.
7044  Je¶li nie u¿yto ¶rodowiska
7045 \family sans 
7046  Date
7047 \family default 
7048 , to domy¶lnie pobierana jest data sk³adu.
7049 \layout Itemize
7050
7051
7052 \family sans 
7053 Backaddress
7054 \family default 
7055 : adres zwrotny, standardowo sk³adany jest powy¿ej adresu docelowego ma³±
7056  czcionk± bezszeryfow±.
7057 \layout Itemize
7058
7059
7060 \family sans 
7061 Specialmail
7062 \family default 
7063 : uwagi dla poczty (np.
7064  do r±k w³asnych), standardowo pojawiaj± siê pomiêdzy adresem zwrotnym a
7065  docelowym, i s± podkre¶lone.
7066 \layout Itemize
7067
7068
7069 \family sans 
7070 Location
7071 \family default 
7072 : dodatkowa informacja, standardowo pojawia siê przy prawym marginesie poni¿ej
7073  adresu docelowego.
7074 \layout Itemize
7075
7076
7077 \family sans 
7078 Title
7079 \family default 
7080 : tytu³ listu, standardowo pojawia siê z³o¿ony wielk± i pó³grub± czcionk±
7081  bezszeryfow± powy¿ej tematu listu.
7082 \layout Itemize
7083
7084
7085 \family sans 
7086 Subject
7087 \family default 
7088 : temat listu, standard z³o¿ony jest czcionk± pó³grub± powy¿ej akapitu
7089 \family sans 
7090  Opening
7091 \family default 
7092 .
7093 \layout Standard
7094
7095 ¦rodowiska
7096 \family sans 
7097  Yourref
7098 \family default 
7099 ,
7100 \family sans 
7101  Yourmail
7102 \family default 
7103 ,
7104 \family sans 
7105  Myref
7106 \family default 
7107 ,
7108 \family sans 
7109  Customer
7110 \family default 
7111  i
7112 \family sans 
7113  Invoice
7114 \family default 
7115  tworz± listy firmowe przez z³o¿enie zawarto¶ci tych ¶rodowisk powy¿ej wiersza
7116  tytu³owego.
7117  Dla pola daty u¿ywana jest zawarto¶æ ¶rodowiska
7118 \family sans 
7119  Date
7120 \family default 
7121 .
7122  Je¶li wykorzystane jest choæ jedno ze ¶rodowisk ,,biznesowych'', to zawarto¶æ
7123  ¶rodowiska
7124 \family sans 
7125  Place
7126 \family default 
7127  nie jest sk³adana, tylko ustawiana jest zmienna LaTeX
7128 \begin_inset ERT
7129 status Collapsed
7130
7131 \layout Standard
7132 -
7133 \end_inset 
7134
7135 a
7136 \family typewriter 
7137  
7138 \backslash 
7139 fromplace
7140 \family default 
7141 .
7142  te ¶rodowiska musz± byæ u¿yte przed odpowiednim ¶rodowiskiem
7143 \family sans 
7144  Opening
7145 \family default 
7146 .
7147 \layout Itemize
7148
7149
7150 \family sans 
7151 Yourref
7152 \family default 
7153 : Wasz znak (Your ref.)
7154 \layout Itemize
7155
7156
7157 \family sans 
7158 Yourmail
7159 \family default 
7160 : Wasz list (Your letter of.)
7161 \layout Itemize
7162
7163
7164 \family sans 
7165 Myref
7166 \family default 
7167 : Nasz znak (Our ref.)
7168 \layout Itemize
7169
7170
7171 \family sans 
7172 Customer
7173 \family default 
7174 : Klient (Customer no.)
7175 \layout Itemize
7176
7177
7178 \family sans 
7179 Invoice
7180 \family default 
7181 : Nr faktury (Invoice no.)
7182 \layout Subsection
7183
7184 Problemy
7185 \layout Standard
7186
7187 Przedstawienie WYSIWYG w LyX-ie dokumentów w klasie Koma-Script powoduje
7188  kilka problemów.
7189 \layout Itemize
7190
7191 Numery rozdzia³ów ¶rodowisk
7192 \family sans 
7193  Chapter
7194 \family default 
7195  s± wy¶wietlane w wierszu powy¿ej tytu³u rozdzia³u.
7196  Taki przypadek jest spowodowany wewnêtrznym przetwarzaniem przez LyX ¶rodowiska
7197 \family sans 
7198  Counter_Chapter
7199 \family default 
7200  w pliku uk³adu.
7201 \layout Itemize
7202
7203 Tytu³y ¶rodowisk
7204 \family sans 
7205  Addchap
7206 \family default 
7207  i
7208 \family sans 
7209  Addsec
7210 \family default 
7211  s± wstawione tylko do ,,prawdziwego'' LaTeX-owego spisu tre¶ci, a nie s±
7212  wy¶wietlane LyX-owym spisie tre¶ci (
7213 \family sans 
7214 \bar under 
7215 N
7216 \bar default 
7217 awigacja
7218 \family default 
7219 ).
7220 \layout Itemize
7221
7222 Tryb separacji akapitów w dokumencie
7223 \emph on 
7224  letter
7225 \emph default 
7226  wy¶wietlany jest jako odstêp, a nie wciêcie.
7227  To jest standardowe zachowanie, do tego nie potrzeba ¿adnego polecenia
7228  LaTeX-a.
7229  Ale w oknie
7230 \family sans 
7231 \bar under 
7232  U
7233 \bar default 
7234 k³ad\SpecialChar \menuseparator
7235
7236 \bar under 
7237 D
7238 \bar default 
7239 okument
7240 \family default 
7241  odpowiedni prze³±cznik wskazuje na za³±czony tryb
7242 \family sans 
7243 \bar under 
7244  W
7245 \bar default 
7246 ciêcie
7247 \family default 
7248 .
7249  Tryb
7250 \family sans 
7251 \bar under 
7252  O
7253 \bar default 
7254 dstêp
7255 \family default 
7256  daje efekt po u¿yciu odpowiedniego polecenia LaTeX-a wstawionego do dokumentu
7257  do wytworzenia odstêpu.
7258 \layout Section
7259
7260 Springer Journals (
7261 \family sans 
7262 svjour
7263 \family default 
7264 )
7265 \layout Standard
7266
7267 by 
7268 \noun on 
7269 Martin Vermeer
7270 \layout Subsection
7271
7272 Opis
7273 \layout Standard
7274
7275 Tutaj opisujemy klasy i pliki uk³adu u¿ywanych dla niektórych pism wydawanych
7276  przez wydawnictwo Springer Verlag i wymienionych na stronie
7277 \begin_inset LatexCommand \url{http://www.springer.de/author/tex/help-journals.html}
7278
7279 \end_inset 
7280
7281 , sk±d powiniene¶ móc pobraæ pliki klasy (tak, oczywi¶cie teraz dla LaTeX2e!).
7282  To jest modularny system: wspólne czê¶ci dla wszystkich pism s± zaimplementowan
7283 e w pliku 
7284 \family typewriter 
7285 svjour.inc
7286 \family default 
7287 , z którego korzystaj± specyficzne dla danego pisma pliki uk³adu (np.: 
7288 \family typewriter 
7289 svjog.layout
7290 \family default 
7291  dla 
7292 \emph on 
7293 Journal of Geodesy
7294 \emph default 
7295 ) .
7296 \layout Standard
7297
7298 Oznacza to, ¿e implementacja wsparcia dla innego pisma wydawnictwa Springer
7299  wymaga napisania w³asnego pliku uk³adu 
7300 \family typewriter 
7301 sv
7302 \family default 
7303 <myjournal>
7304 \family typewriter 
7305 .layout
7306 \family default 
7307  na podstawie pliku 
7308 \family typewriter 
7309 svjog.layout
7310 \family default 
7311 .
7312  
7313 \layout Standard
7314
7315 Klasa dokumentu LyX-a by³a testowana tylko dla pisma 
7316 \emph on 
7317 Journal of Geodesy
7318 \emph default 
7319 .
7320  Pliki 
7321 \family typewriter 
7322 svjour
7323 \family default 
7324  i 
7325 \family typewriter 
7326 svjog
7327 \family default 
7328  s± zawarte w standardowej dystrybucji LyX-a.
7329  Zainstaluj pobran± z serwera wydawnictwa Springer odpowiedni± klasê LaTeX-ow±
7330  w odpowiednim katalogu TeX-a, od¶wie¿ bazê pakietów TeX-a (w teTeX-u uruchom
7331  polecenie 
7332 \family typewriter 
7333 texhash
7334 \family default 
7335 , jako root je¶li jest to niezbêdne), zrekonfiguruj LyX-a i powinno ju¿
7336  dzia³aæ.
7337 \layout Subsection
7338
7339 Nowe style
7340 \layout Standard
7341
7342 Du¿a liczba stylów typu theorem -- 
7343 \family sans 
7344 Claim, Conjecture,
7345 \family default 
7346  
7347 \family sans 
7348 \SpecialChar \ldots{}
7349 Theorem
7350 \family default 
7351 .
7352 \layout Standard
7353
7354
7355 \family sans 
7356 Headnote, Dedication, Subtitle, Running_LaTeX_Title, Author_Running, Institute,
7357  Mail, Offprints, Keywords, Acknowledgements, Acknowledgement
7358 \family default 
7359 .
7360  Zobacz dokumentacjê do pakietu aby poznaæ szczegó³y.
7361 \layout Subsection
7362
7363 Obs³ugiwane pisma
7364 \layout Itemize
7365
7366
7367 \emph on 
7368 Journal of Geodesy
7369 \emph default 
7370
7371 \family typewriter 
7372 svjog.layout 
7373 \family default 
7374 -- Martin Vermeer
7375 \layout Itemize
7376
7377
7378 \emph on 
7379 Probability Theory and Related Fields
7380 \emph default 
7381
7382 \family typewriter 
7383 svprobth.layout
7384 \family default 
7385  -- Jean-Marc Lasgouttes
7386 \layout Standard
7387
7388 Dodaj w³asne -- to nie jest trudne!
7389 \layout Subsection
7390
7391 Podziêkowania
7392 \layout Standard
7393
7394 Te pliki bazuj± czê¶ciowo na starszym pliku uk³adu 
7395 \family typewriter 
7396 ejour2.layout
7397 \family default 
7398 , który bazowa³ na starym stylu LaTeX 2.09 z wydawnictwa Springer.
7399  Wszystko to i uk³ad 
7400 \family typewriter 
7401 ejour2
7402 \family default 
7403  teraz nie dzia³a.
7404  Jean-Marc Lasgouttes bardzo pomóg³ mi znale¼æ drogê implementacji uk³adu
7405  w LyX-ie.
7406 \layout Subsection
7407
7408 B³êdy
7409 \layout Standard
7410
7411 Prawdopodobne.
7412  Ale prawdopodobnie mniej ni¿ w starej klasie 
7413 \family typewriter 
7414 ejour2
7415 \family default 
7416 .
7417 \layout Standard
7418
7419 Ograniczenia np.: nie wy¶wietla numeru ¶rodowisk typu theorem, w tej chwili
7420  #.
7421 \layout Section
7422
7423 AGU journals (
7424 \family sans 
7425 aguplus
7426 \family default 
7427 )
7428 \layout Standard
7429
7430 by 
7431 \shape smallcaps 
7432 Martin Vermeer
7433 \layout Subsection
7434
7435 Description
7436 \layout Standard
7437
7438 These are the layout files for some of the journals of the American Geophysical
7439  Society.
7440  It is assumed that you have both the AGU's own class files and AGUplus
7441  installed (everything to be found at
7442 \begin_inset LatexCommand \url{ftp://ftp.agu.org/journals/latex/journals}
7443
7444 \end_inset 
7445
7446 ).
7447 \layout Subsection
7448
7449 New styles
7450 \layout Standard
7451
7452 Redefined are 
7453 \family sans 
7454 Paragraph
7455 \family default 
7456
7457 \family sans 
7458 Paragraph*
7459 \family default 
7460 .
7461  They are still called this in the LyX GUI, though their LaTeX equivalents
7462  in the AGU classes are 
7463 \family sans 
7464 Subsubsubsection
7465 \family default 
7466  and 
7467 \family sans 
7468 Subsubsubsection*
7469 \family default 
7470 .
7471 \layout Standard
7472
7473 Newly defined styles are 
7474 \family sans 
7475 Left_Header
7476 \family default 
7477
7478 \family sans 
7479 Right_Header
7480 \family default 
7481
7482 \family sans 
7483 Received
7484 \family default 
7485
7486 \family sans 
7487 Revised
7488 \family default 
7489
7490 \family sans 
7491 Accepted
7492 \family default 
7493
7494 \family sans 
7495 CCC
7496 \family default 
7497
7498 \family sans 
7499 PaperId
7500 \family default 
7501
7502 \family sans 
7503 AuthorAddr
7504 \family default 
7505
7506 \family sans 
7507 SlugComment
7508 \family default 
7509 .
7510  These are mostly manuscript attributes and defined in the AGU class documentati
7511 on.
7512 \layout Standard
7513
7514 I suspect this is still badly incomplete.
7515 \layout Subsection
7516
7517 New floats
7518 \layout Standard
7519
7520
7521 \family sans 
7522 Planotable
7523 \family default 
7524  and 
7525 \family sans 
7526 Plate
7527 \family default 
7528 .
7529  We also have a new 
7530 \family sans 
7531 Table_Caption
7532 \family default 
7533 .
7534 \layout Subsection
7535
7536 Supported journals
7537 \layout Itemize
7538
7539
7540 \emph on 
7541 Journal of Geophysical Research
7542 \emph default 
7543
7544 \family typewriter 
7545 jgrga.layout 
7546 \family default 
7547 -- Martin Vermeer
7548 \layout Standard
7549
7550 Add your own, it isn't so hard! Look at the 
7551 \family typewriter 
7552 jgrga.layout
7553 \family default 
7554  example and 
7555 \family typewriter 
7556 aguplus.inc
7557 \family default 
7558 .
7559 \layout Section
7560
7561 EGS journals (
7562 \family sans 
7563 egs
7564 \family default 
7565 )
7566 \layout Standard
7567
7568 by 
7569 \shape smallcaps 
7570 Martin Vermeer
7571 \layout Subsection
7572
7573 Description
7574 \layout Standard
7575
7576 This is the layout file for the European Geophysical Society journals.
7577  The needed 
7578 \family typewriter 
7579 egs.cls
7580 \family default 
7581  can be downloaded from the web site of the EGS under 
7582 \begin_inset LatexCommand \url{www.copernicus.org}
7583
7584 \end_inset 
7585
7586 .
7587 \layout Subsection
7588
7589 New styles
7590 \layout Standard
7591
7592
7593 \family sans 
7594 Right_address, Latex_Title, Affil, Journal, msnumber, FirstAuthor, Received,
7595  Accepted
7596 \family default 
7597
7598 \family sans 
7599 Offsets
7600 \family default 
7601 .
7602  The current layout file is unfortunately very unmodular and would benefit
7603  from using the various 
7604 \family typewriter 
7605 std*.inc
7606 \family default 
7607  file inclusions.
7608 \layout Section
7609
7610 Slides [aka
7611 \noun on 
7612 Sli
7613 \noun default 
7614 TeX]
7615 \begin_inset LatexCommand \label{sec:slitex}
7616
7617 \end_inset 
7618
7619
7620 \layout Standard
7621
7622 by
7623 \noun on 
7624  John Weiss
7625 \layout Subsection
7626
7627 Wprowadzenie
7628 \layout Standard
7629
7630 W tej sekcji opisujemy jak u¿yæ LyX-a do przygotowania slajdów do rzutników.
7631  Istniej± dwie klasy dokumentów, które mo¿na do tego celu zastosowaæ: domy¶lnie
7632 \family sans 
7633  Slide
7634 \family default 
7635  i
7636 \family sans 
7637  Foil
7638 \family default 
7639 TeX.
7640  W tej sekcji opisano pierwsz± z nich.
7641 \layout Standard
7642
7643 Powiem to jeszcze raz, jasno, aby nie bu³o nieporozumieñ:
7644 \layout Standard
7645 \added_space_top bigskip \added_space_bottom bigskip \align center 
7646
7647 \size large 
7648 Ta sekcja dokumentu opisuje 
7649 \emph on 
7650 tylko
7651 \emph default 
7652  klasê
7653 \family sans 
7654  ,,slides (default)
7655 \family default 
7656 ''.
7657 \layout Standard
7658
7659 Je¶li szukasz dokumentacji do
7660 \family sans 
7661  ,,slides (FoilTeX)
7662 \family default 
7663 '', zajrzyj do sekcji\SpecialChar ~
7664
7665 \begin_inset LatexCommand \ref{sec:foiltex}
7666
7667 \end_inset 
7668
7669 .
7670  Klasa
7671 \family sans 
7672  foils
7673 \family default 
7674  [
7675 \family sans 
7676 ,,slides (FoilTeX)
7677 \family default 
7678 ''] jest aktualnie trochê lepsza ni¿ domy¶lnie klasa
7679 \family sans 
7680  slides
7681 \family default 
7682
7683 \begin_inset Foot
7684 collapsed true
7685
7686 \layout Standard
7687
7688 \SpecialChar \ldots{}
7689  lub tak powtarzam za jej adwokatami.
7690  Nigdy jej nie u¿ywa³em i nie wiem czy to jest prawda czy nie.
7691 \end_inset 
7692
7693 .
7694 \layout Standard
7695
7696 Ta klasa jest ulepszeniem LaTeX2e starego pakietu
7697 \noun on 
7698  Sli
7699 \noun default 
7700 TeX package.
7701  Ka¿da dystrybucja LaTeX2e zawiera tê klasê [któr±, od teraz, bêdê nazywa³
7702 \family sans 
7703  ,,slides
7704 \family default 
7705 ''], tak wiêc jeste¶ zmuszony j± mieæ.
7706  Jak wspomnia³em wcze¶niej istniej± inne klasy, jak np.
7707  
7708 \family sans 
7709 foils
7710 \family default 
7711 , które tak¿e tworz± slajdy do rzutnika i wykonuj± to zadanie lepiej ni¿
7712  ta.
7713  Jednak istnieje kilka rzeczy, które klasa 
7714 \family sans 
7715 slides
7716 \family default 
7717  mo¿e zrobiæ, a inne nie, np.
7718  generowanie overlays.
7719  Czytaj dalej aby dowiedzieæ siê wiêcej!
7720 \layout Subsection
7721
7722 Zaczynamy
7723 \begin_inset LatexCommand \label{sec:slidesetup}
7724
7725 \end_inset 
7726
7727
7728 \layout Standard
7729
7730 Oczywi¶cie, aby u¿yæ tej klasy dokumentu, potrzebujesz wybraæ klasê
7731 \family sans 
7732  ,,slides (default)
7733 \family default 
7734 '' z listy
7735 \family sans 
7736 \bar under 
7737  C
7738 \bar default 
7739 lass
7740 \family default 
7741  w oknie
7742 \family sans 
7743  Styl dokumentu
7744 \family default 
7745 .
7746  Jest kilka rzeczy, które powiniene¶ wiedzieæ o tej klasie:
7747 \layout Itemize
7748
7749 Nie zmieniaj opcji 
7750 \family sans 
7751 Strony i Page cols
7752 \family default 
7753  w oknie 
7754 \family sans 
7755 Styl dokumentu
7756 \family default 
7757 .
7758  Nie s± one obs³ugiwane przez klasê 
7759 \family sans 
7760 slides
7761 \family default 
7762 .
7763 \layout Itemize
7764
7765 W oknie 
7766 \family sans 
7767 Styl dokumentu
7768 \family default 
7769  lista styli dostêpna w polu 
7770 \family sans 
7771 \bar under 
7772 P
7773 \bar default 
7774 agestyle
7775 \family default 
7776  zachowuje siê troszkê inaczej dla tej klasy.
7777  Dostêpne s± nastepuj±ce style:
7778 \begin_deeper 
7779 \layout Description
7780
7781
7782 \family sans 
7783 plain
7784 \family default 
7785  W prawym dolnym naro¿niku slajdu umieszony zostanie numer slajdu,
7786 \layout Description
7787
7788
7789 \family sans 
7790 headings
7791 \family default 
7792  Podobnie jak 
7793 \family sans 
7794 plain
7795 \family default 
7796 , ale dodatkowo zostana wstawione krzy¿yki w rogach folii dla dok³adnego
7797  pozycjonowania przy nak³adaniu folii jedna na drug±.
7798  To jest styl domy¶lny.
7799 \layout Description
7800
7801
7802 \family sans 
7803 empty
7804 \family default 
7805  Nie jest dodawany numer, data ani znaczniki wyrównania.
7806 \end_deeper 
7807 \layout Itemize
7808
7809 Klasa
7810 \family sans 
7811  slides
7812 \family default 
7813  posiada dodatkow± opcjê:
7814 \family typewriter 
7815  clock
7816 \family default 
7817 .
7818  Aby j± u¿yæ, wpisz ,,
7819 \family typewriter 
7820 clock
7821 \family default 
7822 '' w polu
7823 \family sans 
7824  Opcje doda
7825 \bar under 
7826 t
7827 \bar default 
7828 kowe
7829 \family default 
7830  w oknie 
7831 \family sans 
7832 Styl dokument
7833 \family default 
7834 .
7835 \begin_deeper 
7836 \layout Standard
7837
7838 U¿ycie tej opcji pozwala dodaæ znacznik daty do
7839 \family sans 
7840  Note
7841 \family default 
7842 s.
7843  Zobacz sekcjê\SpecialChar ~
7844
7845 \begin_inset LatexCommand \ref{sec:slideNote}
7846
7847 \end_inset 
7848
7849  aby poznaæ wiêcej szczegó³ów.
7850 \end_deeper 
7851 \layout Standard
7852
7853 Mo¿esz u¿yæ szablonu ,,
7854 \family typewriter 
7855 slides.lyx
7856 \family default 
7857 '' aby automatycznie ustawiæ klasê nowego dokumentu na 
7858 \family sans 
7859 slides
7860 \family default 
7861  [za pomoca polecenia
7862 \family sans 
7863 \bar under 
7864  P
7865 \bar default 
7866 lik\SpecialChar \menuseparator
7867 Nowy z\SpecialChar ~
7868 szablonu
7869 \family default 
7870  aby utworzyæ nowy dokument].
7871  Plik szablonu zawiera tak¿e kilka przyk³adów specjalnych ¶rodowisk akapitów
7872  taj klasy.
7873  Bêdzie to opisane dalej.
7874 \layout Subsection
7875
7876 ¦rodowiska akapitów
7877 \layout Subsubsection
7878
7879 Obs³ugiwane ¶rodowiska
7880 \layout Standard
7881
7882 Pierwsz± rzecz±, któr± powiniene¶ zauwa¿yæ gdy zaczynasz nowy dokument slajdów
7883  jest rozmiar i typ czcionki: odpowiednio ,,
7884 \family sans 
7885 Largest
7886 \family default 
7887 '' i czcionka bezszeryfowa 
7888 \family sans 
7889 Sans\SpecialChar ~
7890 Serif
7891 \family default 
7892 .
7893  This is also what's used in the output.
7894  Think of this as a
7895 \begin_inset Quotes eld
7896 \end_inset 
7897
7898 visual cue
7899 \begin_inset Quotes erd
7900 \end_inset 
7901
7902  to remind you that this is a slide.
7903  Your final slides will use a larger font; ergo, you'll have less space.
7904  Of course, the larger default screen font isn't WYSIWYG, only a reminder.
7905 \layout Standard
7906
7907 The next thing that becomes obvious is the changes to the paragraph environment
7908  pull-down box [at the far-left end of the toolbar].
7909  Most of the paragraph environments you're used to seeing are missing.
7910  There are also four new ones.
7911  That's because the
7912 \family sans 
7913 slides
7914 \family default 
7915  class itself only supports certain paragraph environments:
7916 \layout Itemize
7917
7918
7919 \family sans 
7920 Standard
7921 \layout Itemize
7922
7923
7924 \family sans 
7925 Itemize
7926 \layout Itemize
7927
7928
7929 \family sans 
7930 Enumerate
7931 \layout Itemize
7932
7933
7934 \family sans 
7935 Description
7936 \layout Itemize
7937
7938
7939 \family sans 
7940 List
7941 \layout Itemize
7942
7943
7944 \family sans 
7945 LaTeX
7946 \layout Itemize
7947
7948
7949 \family sans 
7950 Quotation
7951 \layout Itemize
7952
7953
7954 \family sans 
7955 Quote
7956 \layout Itemize
7957
7958
7959 \family sans 
7960 Verse
7961 \layout Itemize
7962
7963
7964 \family sans 
7965 Caption
7966 \layout Itemize
7967
7968
7969 \family sans 
7970 LyX-Code
7971 \layout Itemize
7972
7973
7974 \family sans 
7975 Comment
7976 \layout Standard
7977
7978 Wszystkie inne standardowe ¶rodowiska w³±czaj±c ¶rodowiska sekcji nie s±
7979  u¿ywane w klasie
7980 \family sans 
7981  Slides
7982 \family default 
7983 .
7984  Z drugiej za¶ strony zauwa¿ysz nowe ¶rodowiska:
7985 \begin_inset Foot
7986 collapsed true
7987
7988 \layout Standard
7989
7990 In prior versions of this class, there was the mandatory
7991 \family sans 
7992  EndAllSlides
7993 \family default 
7994  paragraph environment.
7995 \family sans 
7996 EndAllSlides
7997 \family default 
7998  is deprecated; it will convert to a
7999 \family sans 
8000 Comment
8001 \family default 
8002 .
8003  You should probably remove it.
8004 \end_inset 
8005
8006
8007 \family sans 
8008 Slide
8009 \layout Itemize
8010
8011
8012 \family sans 
8013 Overlay
8014 \layout Itemize
8015
8016
8017 \family sans 
8018 Note
8019 \layout Itemize
8020
8021
8022 \family sans 
8023 InvisibleText
8024 \layout Itemize
8025
8026
8027 \family sans 
8028 VisibleText
8029 \layout Standard
8030
8031 These five are kind of quirky, due to a
8032 \begin_inset Quotes eld
8033 \end_inset 
8034
8035 feature
8036 \begin_inset Quotes erd
8037 \end_inset 
8038
8039  in LyX.
8040  You see, LyX doesn't permit you to nest any other paragraph environment
8041  into an empty environment.
8042  Now, that's fine and dandy, but it means that you wouldn't be able to start
8043  a slide with anything except plain text.
8044  To deal with this, I've performed a little
8045 \begin_inset Quotes eld
8046 \end_inset 
8047
8048 LaTeX magic.
8049 \begin_inset Quotes erd
8050 \end_inset 
8051
8052
8053 \layout Subsubsection
8054
8055 Quirks of the New Environments
8056 \begin_inset LatexCommand \label{sec:slideQuirk}
8057
8058 \end_inset 
8059
8060
8061 \layout Standard
8062
8063 All five of the new paragraph environments are somewhat quirky due to inherent
8064  limitiations in the current version of LyX.
8065  As I just mentioned, LyX forbids environments that begin with another environme
8066 nt.
8067  To get around this, the
8068 \family sans 
8069  Slide
8070 \family default 
8071  environment isn't a paragraph environment as described in the
8072 \emph on 
8073  User's Guide
8074 \emph default 
8075 .
8076 \layout Standard
8077
8078 You should consider
8079 \family sans 
8080  Slide
8081 \family default 
8082 ,
8083 \family sans 
8084  Overlay
8085 \family default 
8086 , and
8087 \family sans 
8088 Note
8089 \family default 
8090  to be ,,pseudo-environments''.
8091  They look like a section heading or a
8092 \begin_inset Quotes eld
8093 \end_inset 
8094
8095
8096 \family sans 
8097 Caption
8098 \family default 
8099 ,
8100 \begin_inset Quotes erd
8101 \end_inset 
8102
8103  but really begin a [and, if necessary, end the previous] paragraph environment.
8104  Likewise, treat
8105 \family sans 
8106 Invisible Text
8107 \family default 
8108  and
8109 \family sans 
8110  VisibleText
8111 \family default 
8112  as
8113 \begin_inset Quotes eld
8114 \end_inset 
8115
8116 pseudo-commands.
8117 \begin_inset Quotes erd
8118 \end_inset 
8119
8120  These two perform some action.
8121 \layout Standard
8122
8123 A common feature of all five environments,
8124 \family sans 
8125  Slide
8126 \family default 
8127 ,
8128 \family sans 
8129  Overlay
8130 \family default 
8131 ,
8132 \family sans 
8133  Note
8134 \family default 
8135 ,
8136 \family sans 
8137  InvisibleText
8138 \family default 
8139  and
8140 \family sans 
8141  VisibleText
8142 \family default 
8143 , is a rather long-ish label.
8144  The text following this label --- ordinarily the contents of the paragraph
8145  environment --- is utterly irrelevant for
8146 \family sans 
8147 Slide
8148 \family default 
8149 ,
8150 \family sans 
8151 Overlay
8152 \family default 
8153 ,
8154 \family sans 
8155 Note
8156 \family default 
8157 ,
8158 \family sans 
8159 InvisibleText
8160 \family default 
8161  and
8162 \family sans 
8163 VisibleText
8164 \family default 
8165 .
8166  LyX completely ignores it.
8167  In fact, you can leave these five environments completely empty.
8168 \layout Standard
8169
8170 While you don't
8171 \emph on 
8172 have
8173 \emph default 
8174  to put any text after the rather long-ish label, you might want to.
8175  This could be a short description of the contents of the
8176 \family sans 
8177 Slide
8178 \family default 
8179 , for example.
8180  In that case, enter in your descriptive comment and hit
8181 \family sans 
8182 Return
8183 \family default 
8184  as you normally would.
8185 \layout Standard
8186
8187 If, on the other hand, you don't want to enter in any descriptive text,
8188  you'll hit another LyX quirk.
8189  LyX, like nature, abhors a vacuum, and will not let you start a new paragraph
8190  environment until you put something in the old one.
8191  So, do this:
8192 \layout Itemize
8193
8194 Start entering the text that will
8195 \emph on 
8196 follow
8197 \emph default 
8198  the new
8199 \family sans 
8200 Slide
8201 \family default 
8202 ,
8203 \family sans 
8204 Overlay
8205 \family default 
8206 ,
8207 \family sans 
8208 Note
8209 \family default 
8210 ,
8211 \family sans 
8212 InvisibleText
8213 \family default 
8214  or
8215 \family sans 
8216 VisibleText
8217 \family default 
8218 .
8219 \layout Itemize
8220
8221 Now move to the beginning of that paragraph.
8222 \layout Itemize
8223
8224 Next, hit
8225 \family sans 
8226 Return
8227 \family default 
8228 .
8229 \layout Itemize
8230
8231 Finally, change this new, empty paragraph to a
8232 \family sans 
8233 Slide
8234 \family default 
8235 ,
8236 \family sans 
8237 Overlay
8238 \family default 
8239 ,
8240 \family sans 
8241 Note
8242 \family default 
8243 ,
8244 \family sans 
8245 InvisibleText
8246 \family default 
8247  or
8248 \family sans 
8249 VisibleText
8250 \family default 
8251 .
8252 \layout Standard
8253
8254 Some future version of LyX will, hopefully, resolve this quirkiness\SpecialChar \ldots{}
8255
8256 \layout Subsection
8257
8258 Tworzenie prezentacji u¿ywaj±c
8259 \family sans 
8260  Slide
8261 \family default 
8262 ,
8263 \family sans 
8264  Overlay
8265 \family default 
8266  i 
8267 \family sans 
8268 Note
8269 \layout Subsubsection
8270
8271 U¿ycie ¶rodowiska 
8272 \family sans 
8273 Slide
8274 \layout Standard
8275
8276 If you're expecting this section to teach you how to actually make a presentatio
8277 n, you'll be sorely disappointed.
8278  Naturally, I'll describe all of the ways the
8279 \family sans 
8280 slides
8281 \family default 
8282  class can assist you in preparing the materials for a presentation.
8283  Filling in the contents, however, is up to you.
8284  [Then again, that
8285 \emph on 
8286 is
8287 \emph default 
8288  the LyX philosophy.]
8289 \layout Standard
8290
8291 Choosing the
8292 \family sans 
8293 Slide
8294 \family default 
8295  environment [in the manner described in section\SpecialChar ~
8296
8297 \begin_inset LatexCommand \ref{sec:slideQuirk}
8298
8299 \end_inset 
8300
8301 ] tells LyX to begin a new slide [duh].
8302  The label for this environment/
8303 \begin_inset Quotes erd
8304 \end_inset 
8305
8306 pseudo-command
8307 \begin_inset Quotes erd
8308 \end_inset 
8309
8310  is an
8311 \begin_inset Quotes eld
8312 \end_inset 
8313
8314 ASCII line,
8315 \begin_inset Quotes erd
8316 \end_inset 
8317
8318  in cool blue, followed by the label,
8319 \begin_inset Quotes eld
8320 \end_inset 
8321
8322 NewSlide:
8323 \begin_inset Quotes erd
8324 \end_inset 
8325
8326 .
8327  Any text or paragraph environments that follow this one go on the new slide.
8328  It's that simple.
8329 \layout Standard
8330
8331 Slides are probably the only time you'll need to forcibly end pages in LyX.
8332  In fact, you'll want to, once you finish entering the contents of one slide.
8333  If you've entered more text than can physically fit on a slide, the extra
8334  overflows onto a new slide.
8335  I don't recommend doing this, however, since the overflow slide won't have
8336  any page number on it.
8337  Furthermore, it may interfere with any
8338 \family sans 
8339 Overlay
8340 \family default 
8341  you've made to accompany the oversized
8342 \family sans 
8343 Slide
8344 \family default 
8345 .
8346 \layout Standard
8347
8348 The
8349 \family sans 
8350 Overlay
8351 \family default 
8352  and
8353 \family sans 
8354 Note
8355 \family default 
8356  environments work the same way as the
8357 \family sans 
8358 Slide
8359 \family default 
8360 environment.
8361  They both create an
8362 \begin_inset Quotes eld
8363 \end_inset 
8364
8365 ASCII line
8366 \begin_inset Quotes erd
8367 \end_inset 
8368
8369  followed by a label [
8370 \begin_inset Quotes eld
8371 \end_inset 
8372
8373 NewOverlay:
8374 \begin_inset Quotes erd
8375 \end_inset 
8376
8377  and
8378 \begin_inset Quotes eld
8379 \end_inset 
8380
8381 NewNote:
8382 \begin_inset Quotes erd
8383 \end_inset 
8384
8385 , respectively].
8386  The color is a stunning magenta instead of blue, and the
8387 \begin_inset Quotes eld
8388 \end_inset 
8389
8390 ASCII line
8391 \begin_inset Quotes erd
8392 \end_inset 
8393
8394  will look different, in style and in length.
8395  The label fonts of all three also differ from one another.
8396 \layout Standard
8397
8398 As with a
8399 \family sans 
8400 Slide
8401 \family default 
8402 , if the contents of a
8403 \family sans 
8404 Note
8405 \family default 
8406  or
8407 \family sans 
8408 Overlay
8409 \family default 
8410  exceed the physical size of a slide or sheet of paper, the extra will overflow
8411  onto a new sheet.
8412  Again, you should avoid this.
8413  It defeats the whole purpose of
8414 \family sans 
8415 Note
8416 \family default 
8417 s and
8418 \family sans 
8419 Overlay
8420 \family default 
8421 s.
8422 \layout Subsubsection
8423
8424 U¿ycie 
8425 \family sans 
8426 Overlay
8427 \family default 
8428  ze 
8429 \family sans 
8430 Slide
8431 \layout Standard
8432
8433 The idea behind an
8434 \family sans 
8435 Overlay
8436 \family default 
8437  is a slide that sits atop another slide.
8438  Perhaps you wish to discuss a figure on the main
8439 \family sans 
8440 Slide
8441 \family default 
8442  before displaying the text associated with it.
8443  One way to accomplish this is tape a flap of dark paper over the part of
8444  the
8445 \family sans 
8446 Slide
8447 \family default 
8448  you want to display later.
8449  This method fails, however, if you wish to overlap one graph with another,
8450  for example.
8451  You would then have to fumble while speaking to align the two separate,
8452  overlapping
8453 \family sans 
8454 Slide
8455 \family default 
8456 s to align the two graphs.
8457  The use of an
8458 \family sans 
8459 Overlay
8460 \family default 
8461  environment in both cases makes life much easier.
8462 \layout Standard
8463
8464 Each
8465 \family sans 
8466 Overlay
8467 \family default 
8468  receives the page number of its
8469 \begin_inset Quotes eld
8470 \end_inset 
8471
8472 parent
8473 \begin_inset Quotes erd
8474 \end_inset 
8475
8476
8477 \family sans 
8478 Slide
8479 \family default 
8480 , appended by
8481 \begin_inset Quotes eld
8482 \end_inset 
8483
8484
8485 \family typewriter 
8486 -a
8487 \family default 
8488
8489 \begin_inset Quotes erd
8490 \end_inset 
8491
8492 .
8493 \begin_inset Foot
8494 collapsed true
8495
8496 \layout Standard
8497
8498 Presumably, mutliple
8499 \family sans 
8500 Overlay
8501 \family default 
8502 s would have
8503 \begin_inset Quotes eld
8504 \end_inset 
8505
8506
8507 \family typewriter 
8508 -a
8509 \family default 
8510
8511 \begin_inset Quotes erd
8512 \end_inset 
8513
8514 ,
8515 \begin_inset Quotes eld
8516 \end_inset 
8517
8518
8519 \family typewriter 
8520 -b
8521 \family default 
8522
8523 \begin_inset Quotes erd
8524 \end_inset 
8525
8526 ,
8527 \begin_inset Quotes eld
8528 \end_inset 
8529
8530
8531 \family typewriter 
8532 -c
8533 \family default 
8534
8535 \begin_inset Quotes erd
8536 \end_inset 
8537
8538 , etc.\SpecialChar ~
8539 appended to the page number of the parent
8540 \family sans 
8541 Slide
8542 \family default 
8543 .
8544 \end_inset 
8545
8546
8547 \family sans 
8548 Slide
8549 \family default 
8550  and the
8551 \family sans 
8552 Overlay
8553 \family default 
8554  to each fit on a single physical slide! You should probably consider an
8555 \family sans 
8556  Overlay
8557 \family default 
8558  as ,,part of'' a
8559 \family sans 
8560  Slide
8561 \family default 
8562 .
8563  Indeed, the LyX
8564 \family sans 
8565  slides
8566 \family default 
8567  class provides a visual cue for this: the label at the start of an
8568 \family sans 
8569 Overlay
8570 \family default 
8571  is shorter than that at the start of a
8572 \family sans 
8573 Slide
8574 \family default 
8575 .
8576  Lastly, when you generate printable output, you'll find alignment markers
8577  in all four corners of both the
8578 \family sans 
8579 Overlay
8580 \family default 
8581  page and its parent
8582 \family sans 
8583 Slide
8584 \family default 
8585 .
8586  These will assist you in lining up the two physical slides.
8587 \layout Standard
8588
8589 The major problem in overlaying two slides is aligning the contents of the
8590  two transparencies.
8591  How much space should you leave for that graph on the second slide? Worse
8592  still, what if you want a graph and a sentence on second slide, but there
8593  is text on the main transparency that goes in between them? You could try
8594  and insert vertical space of the right size.
8595  The better way is to use
8596 \family sans 
8597 InvisibleText
8598 \family default 
8599  and
8600 \family sans 
8601 VisibleText
8602 \family default 
8603 .
8604 \layout Standard
8605
8606 As their names imply,
8607 \family sans 
8608 InvisibleText
8609 \family default 
8610  and
8611 \family sans 
8612 VisibleText
8613 \family default 
8614  are two command-like paragraph environments that make all subsequent text
8615  invisible and visible, respectively.
8616  Note from section\SpecialChar ~
8617
8618 \begin_inset LatexCommand \ref{sec:slideQuirk}
8619
8620 \end_inset 
8621
8622  that you don't place anything
8623 \emph on 
8624 into
8625 \emph default 
8626  these two environments, however.
8627  When you create an
8628 \family sans 
8629 InvisibleText
8630 \family default 
8631 , it inserts a centered, sky-blue label into the page reading
8632 \begin_inset Quotes eld
8633 \end_inset 
8634
8635 <Invisible Text Follows>
8636 \begin_inset Quotes erd
8637 \end_inset 
8638
8639 .
8640  For paragraphs following this label, the parts of the
8641 \family sans 
8642 Slide
8643 \family default 
8644  [or
8645 \family sans 
8646 Overlay
8647 \family default 
8648 ; it doesn't matter which] where they would be contain instead blank space.
8649 \layout Standard
8650
8651 For
8652 \family sans 
8653 VisibleText
8654 \family default 
8655 , the corresponding centered label is
8656 \begin_inset Quotes eld
8657 \end_inset 
8658
8659 <Visible Text Follows>
8660 \begin_inset Quotes erd
8661 \end_inset 
8662
8663  in blazing green.
8664  Paragraphs following this label behave normally.
8665  Note that the beginning of a new
8666 \family sans 
8667 Slide
8668 \family default 
8669 ,
8670 \family sans 
8671 Overlay
8672 \family default 
8673 , or
8674 \family sans 
8675 Note
8676 \family default 
8677  automatically shuts off an
8678 \family sans 
8679 InvisibleText
8680 \family default 
8681 .
8682  It's therefore not necessary to use
8683 \family sans 
8684 VisibleText
8685 \family default 
8686  at the end of a
8687 \family sans 
8688 Slide
8689 \family default 
8690 .
8691 \layout Standard
8692
8693 By now, it should be obvious how to create overlay transparencies using
8694  the proper combination of
8695 \family sans 
8696 InvisibleText
8697 \family default 
8698  and
8699 \family sans 
8700 VisibleText
8701 \family default 
8702  on a
8703 \family sans 
8704 Slide
8705 \family default 
8706  and
8707 \family sans 
8708 Overlay
8709 \family default 
8710 :
8711 \layout Enumerate
8712
8713 Create a
8714 \family sans 
8715 Slide
8716 \family default 
8717 , including everything that will appear on it, whether on the main slide
8718  or on the
8719 \family sans 
8720 Overlay
8721 \family default 
8722 .
8723 \layout Enumerate
8724
8725 Before each figure or paragraph that will appear only on the
8726 \family sans 
8727 Overlay
8728 \family default 
8729 , insert an
8730 \family sans 
8731 InvisibleText
8732 \family default 
8733  environment.
8734  If necessary, insert a
8735 \family sans 
8736 VisibleText
8737 \family default 
8738  environment after the
8739 \family sans 
8740 Overlay
8741 \family default 
8742 -only text.
8743 \layout Enumerate
8744
8745 Start an
8746 \family sans 
8747 Overlay
8748 \family default 
8749  immediately following the
8750 \family sans 
8751 Slide
8752 \family default 
8753 .
8754 \layout Enumerate
8755
8756 Copy the contents of this
8757 \family sans 
8758 Slide
8759 \family default 
8760  into the
8761 \family sans 
8762 Overlay
8763 \family default 
8764 .
8765 \layout Enumerate
8766
8767 Within the
8768 \family sans 
8769 Overlay
8770 \family default 
8771 , change all of the
8772 \family sans 
8773 InvisibleText
8774 \family default 
8775  lines to
8776 \family sans 
8777 VisibleText
8778 \family default 
8779  and vice-versa.
8780 \layout Standard
8781
8782 That's it.
8783  You've just made an
8784 \family sans 
8785 Overlay
8786 \family default 
8787 .
8788 \layout Standard
8789
8790 There's one problem with the way I've designed the LyX
8791 \family sans 
8792 slides
8793 \family default 
8794  class: you can't make text in the middle of a paragraph invisible, nor
8795  make text in the middle of an invisible paragraph visible again.
8796  To accomplish this feat, you'll need to use some inlined LaTeX codes.
8797 \begin_inset Foot
8798 collapsed true
8799
8800 \layout Standard
8801
8802 The commands of interest are:
8803 \layout Itemize
8804
8805
8806 \family typewriter 
8807 {
8808 \backslash 
8809 invisible \SpecialChar \ldots{}
8810  }
8811 \layout Itemize
8812
8813
8814 \family typewriter 
8815 {
8816 \backslash 
8817 visible \SpecialChar \ldots{}
8818  }
8819 \layout Standard
8820
8821 \SpecialChar \ldots{}
8822 and need to be marked as TeX.
8823  The text whose
8824 \begin_inset Quotes eld
8825 \end_inset 
8826
8827 visibility
8828 \begin_inset Quotes erd
8829 \end_inset 
8830
8831  you wish to change goes in between the brackets [and after the
8832 \family typewriter 
8833
8834 \backslash 
8835 invisible
8836 \family default 
8837  or
8838 \family typewriter 
8839
8840 \backslash 
8841 visible
8842 \family default 
8843  command].
8844  If you don't know how to mark text as TeX, see the apprpriate section of
8845  the
8846 \emph on 
8847 User's Guide
8848 \emph default 
8849 .
8850 \end_inset 
8851
8852 Using
8853 \family sans 
8854 Note
8855 \family default 
8856  with
8857 \family sans 
8858 Slide
8859 \family default 
8860
8861 \begin_inset LatexCommand \label{sec:slideNote}
8862
8863 \end_inset 
8864
8865
8866 \layout Standard
8867
8868 Like an
8869 \family sans 
8870 Overlay
8871 \family default 
8872 , a
8873 \family sans 
8874 Note
8875 \family default 
8876  is associated with a
8877 \begin_inset Quotes eld
8878 \end_inset 
8879
8880 parent
8881 \begin_inset Quotes erd
8882 \end_inset 
8883
8884
8885 \family sans 
8886 Slide
8887 \family default 
8888 .
8889  Here, too, the LyX
8890 \family sans 
8891 slides
8892 \family default 
8893  class provides visual cues.
8894  The label for a
8895 \family sans 
8896 Note
8897 \family default 
8898  is shorter than that of a
8899 \family sans 
8900 Slide
8901 \family default 
8902  [yet longer than that of an
8903 \family sans 
8904 Overlay
8905 \family default 
8906 ] and, like the label of an
8907 \family sans 
8908 Overlay
8909 \family default 
8910  is shockingly magenta.
8911  Additionally, the printed
8912 \family sans 
8913 Note
8914 \family default 
8915  has the page number of its
8916 \begin_inset Quotes eld
8917 \end_inset 
8918
8919 parent
8920 \begin_inset Quotes erd
8921 \end_inset 
8922
8923
8924 \family sans 
8925 Slide
8926 \family default 
8927 , appended by
8928 \begin_inset Quotes eld
8929 \end_inset 
8930
8931
8932 \family typewriter 
8933 -
8934 \family default 
8935 1
8936 \begin_inset Quotes erd
8937 \end_inset 
8938
8939 ,
8940 \begin_inset Quotes eld
8941 \end_inset 
8942
8943
8944 \family typewriter 
8945 -
8946 \family default 
8947 2
8948 \begin_inset Quotes erd
8949 \end_inset 
8950
8951 ,
8952 \begin_inset Quotes eld
8953 \end_inset 
8954
8955
8956 \family typewriter 
8957 -
8958 \family default 
8959 3
8960 \begin_inset Quotes erd
8961 \end_inset 
8962
8963 , etc.
8964  You can have multiple
8965 \family sans 
8966 Note
8967 \family default 
8968 s associated with a single
8969 \family sans 
8970 Slide
8971 \family default 
8972 , and, as with
8973 \family sans 
8974 Slide
8975 \family default 
8976  and
8977 \family sans 
8978 Overlay
8979 \family default 
8980 , you'll probably want to break up long
8981 \family sans 
8982 Note
8983 \family default 
8984 s so that they fit on a single sheet of paper.
8985 \layout Standard
8986
8987 The purpose of a
8988 \family sans 
8989 Note
8990 \family default 
8991  is obvious: it contains anything additional you might want to say about
8992  a
8993 \family sans 
8994 Slide
8995 \family default 
8996 .
8997  It could also be used as a sheet of reminders for a particular
8998 \family sans 
8999 Slide
9000 \family default 
9001 .
9002  In the case of the latter, you might want to make use of time markers.
9003  Currently, the LyX
9004 \family sans 
9005 slides
9006 \family default 
9007  class has no
9008 \begin_inset Quotes eld
9009 \end_inset 
9010
9011 native
9012 \begin_inset Quotes erd
9013 \end_inset 
9014
9015  support for time markers, a
9016 \noun on 
9017 Sli
9018 \noun default 
9019 TeX feature.
9020  So, you'll have to resort to using the LaTeX codes.
9021 \layout Standard
9022
9023 To use time markers, you'll need to specify the extra class option
9024 \begin_inset Quotes eld
9025 \end_inset 
9026
9027
9028 \family typewriter 
9029 clock
9030 \family default 
9031
9032 \begin_inset Quotes erd
9033 \end_inset 
9034
9035  [see section\SpecialChar ~
9036
9037 \begin_inset LatexCommand \ref{sec:slidesetup}
9038
9039 \end_inset 
9040
9041 ].
9042  This option turns on timing marks, which will appear in the lower-left-hand
9043  corner of every
9044 \family sans 
9045 Note
9046 \family default 
9047  you generate.
9048  To set what appears in the time marker, you use the LaTeX commands
9049 \begin_inset Quotes eld
9050 \end_inset 
9051
9052
9053 \family typewriter 
9054
9055 \backslash 
9056 settime{}
9057 \family default 
9058
9059 \begin_inset Quotes erd
9060 \end_inset 
9061
9062  and
9063 \begin_inset Quotes eld
9064 \end_inset 
9065
9066
9067 \family typewriter 
9068
9069 \backslash 
9070 addtime{}
9071 \family default 
9072
9073 \begin_inset Quotes erd
9074 \end_inset 
9075
9076 .
9077  The arguments of both commands are time measured in seconds.
9078 \begin_inset Quotes eld
9079 \end_inset 
9080
9081
9082 \family typewriter 
9083
9084 \backslash 
9085 settime{}
9086 \family default 
9087
9088 \begin_inset Quotes erd
9089 \end_inset 
9090
9091  sets the time marker to a given time.
9092 \begin_inset Quotes eld
9093 \end_inset 
9094
9095
9096 \family typewriter 
9097
9098 \backslash 
9099 addtime{}
9100 \family default 
9101
9102 \begin_inset Quotes erd
9103 \end_inset 
9104
9105  increments the time marker by the specified amount.
9106  Using time markers and
9107 \family sans 
9108 Note
9109 \family default 
9110 s in this fashion, you can remind yourself how much time to spend on a particula
9111 r
9112 \family sans 
9113 Slide
9114 \family default 
9115 .
9116 \layout Standard
9117
9118 There's one last feature to describe.
9119  Clearly, you'd like to print out all of your
9120 \family sans 
9121 Slide
9122 \family default 
9123 s and
9124 \family sans 
9125 Overlay
9126 \family default 
9127 s on transparencies while printing all of your
9128 \family sans 
9129 Note
9130 \family default 
9131 s on plain paper.
9132  However, a
9133 \family sans 
9134 Note
9135 \family default 
9136 \emph on 
9137 must
9138 \emph default 
9139  follow the
9140 \family sans 
9141 Slide
9142 \family default 
9143  with which it is associated.
9144  What's a person to do?
9145 \layout Standard
9146
9147 Luckily, there are two LaTeX commands that allow you to select what to print
9148  out.
9149  Both must be placed into the preamble of your document.
9150  The command
9151 \begin_inset Quotes eld
9152 \end_inset 
9153
9154
9155 \family typewriter 
9156
9157 \backslash 
9158 onlyslides{
9159 \backslash 
9160 slides}
9161 \family default 
9162
9163 \begin_inset Quotes erd
9164 \end_inset 
9165
9166  will cause the output to contain only the
9167 \family sans 
9168 Slide
9169 \family default 
9170 s and
9171 \family sans 
9172 Overlay
9173 \family default 
9174 s.
9175  Correspondingly, the command
9176 \begin_inset Quotes eld
9177 \end_inset 
9178
9179
9180 \family typewriter 
9181
9182 \backslash 
9183 onlynotes{
9184 \backslash 
9185 notes}
9186 \family default 
9187
9188 \begin_inset Quotes erd
9189 \end_inset 
9190
9191  prevents the output of anything but
9192 \family sans 
9193 Note
9194 \family default 
9195 s.
9196  I'd advise placing both commands in the preamble and initially comment
9197  both out.
9198  You can then preview your entire presentation as you write.
9199  When you're done writing, you can then uncomment one of the two to select
9200  what you want to print.
9201  I like to uncomment
9202 \begin_inset Quotes eld
9203 \end_inset 
9204
9205
9206 \family typewriter 
9207
9208 \backslash 
9209 onlyslides{
9210 \backslash 
9211 slides}
9212 \family default 
9213
9214 \begin_inset Quotes erd
9215 \end_inset 
9216
9217  , print to a file with
9218 \begin_inset Quotes eld
9219 \end_inset 
9220
9221
9222 \family typewriter 
9223 -slides
9224 \family default 
9225
9226 \begin_inset Quotes erd
9227 \end_inset 
9228
9229  in its name, comment it back out, then uncomment
9230 \begin_inset Quotes eld
9231 \end_inset 
9232
9233
9234 \family typewriter 
9235
9236 \backslash 
9237 onlynotes{
9238 \backslash 
9239 notes}
9240 \family default 
9241
9242 \begin_inset Quotes erd
9243 \end_inset 
9244
9245  and print to a
9246 \begin_inset Quotes eld
9247 \end_inset 
9248
9249
9250 \family typewriter 
9251 *-notes.ps
9252 \family default 
9253
9254 \begin_inset Quotes erd
9255 \end_inset 
9256
9257  file.
9258  I can then send either file to a printer, loading transparencies or plain
9259  paper as appropriate.
9260 \layout Standard
9261
9262 You can also provide other arguments to the
9263 \begin_inset Quotes eld
9264 \end_inset 
9265
9266
9267 \family typewriter 
9268
9269 \backslash 
9270 onlyslides{}
9271 \family default 
9272
9273 \begin_inset Quotes erd
9274 \end_inset 
9275
9276  and
9277 \begin_inset Quotes eld
9278 \end_inset 
9279
9280
9281 \family typewriter 
9282
9283 \backslash 
9284 onlynotes{}
9285 \family default 
9286
9287 \begin_inset Quotes erd
9288 \end_inset 
9289
9290  commands.
9291  See a good LaTeX book for details.
9292 \layout Subsection
9293
9294 Plik szablonu klasy
9295 \family sans 
9296  Slides
9297 \layout Standard
9298
9299 Wraz z klas±
9300 \family sans 
9301  Slides
9302 \family default 
9303  dostarczy³em tak¿e plik szablonu
9304 \family typewriter 
9305  slides.lyx
9306 \family default 
9307 .
9308  Aby go u¿yæ zacznij Twoj± now± prezentacjê przez
9309 \family sans 
9310 \bar under 
9311  P
9312 \bar default 
9313 lik\SpecialChar \menuseparator
9314 Nowy z
9315 \bar under 
9316  S
9317 \bar default 
9318 zablonu
9319 \family default 
9320 .
9321  Twój nowy plik prezentacji bêdzie zawiera³ jako przyk³ad trójkê
9322 \family sans 
9323  Slide
9324 \family default 
9325  --
9326 \family sans 
9327  Overlay
9328 \family default 
9329  --
9330 \family sans 
9331  Note
9332 \family default 
9333 .
9334
9335 \family sans 
9336  Slide
9337 \family default 
9338  i
9339 \family sans 
9340  Overlay
9341 \family default 
9342  dodatkowo zawieraj± jako przyk³ad u¿ycia tekst niewidzialny (
9343 \family sans 
9344 InvisibleText
9345 \family default 
9346 ) i widzialny (
9347 \family sans 
9348 VisibleText
9349 \family default 
9350 ).
9351  Na koniec zawarto¶æ preambu³y:
9352 \layout LyX-Code
9353
9354 % Uncomment to print out only slides and overlays
9355 \layout LyX-Code
9356
9357 %
9358 \layout LyX-Code
9359
9360 %
9361 \backslash 
9362 onlyslides{
9363 \backslash 
9364 slides}
9365 \newline 
9366
9367 \layout LyX-Code
9368
9369 % Uncomment to print out only notes
9370 \layout LyX-Code
9371
9372 %
9373 \layout LyX-Code
9374
9375 %
9376 \backslash 
9377 onlynotes{
9378 \backslash 
9379 notes}
9380 \layout Standard
9381
9382 I ostatnia rzecz: utworzy³em tê klasê LyX-a do obs³ugi klasy LaTeX2e ,,
9383 \noun on 
9384 Sli
9385 \noun default 
9386 TeX emulation'', one of the built-in LaTeX2e classes.
9387  Neither I nor the rest of the LyX Team endorse or oppose the use of this
9388  built-in slide class.
9389  It's here if you want it or need it.
9390  Istniej± inne klasy LaTeX2e do tworzenia prezentacji, takie jak: 
9391 \family sans 
9392 Foils
9393 \family default 
9394  [zobacz\SpecialChar ~
9395
9396 \begin_inset LatexCommand \ref{sec:foiltex}
9397
9398 \end_inset 
9399
9400 ] lub pakiet ,,
9401 \family typewriter 
9402 seminar
9403 \family default 
9404 '' [znajduj±cy siê w wielu dystrybucjach TeX-a].
9405  Ten ostatni nie jest jeszcze obs³ugiwany przez LyX-a
9406 \begin_inset Foot
9407 collapsed true
9408
9409 \layout Standard
9410
9411 Aktualnie znajduje siê plik uk³adu 
9412 \family typewriter 
9413 seminar.layout
9414 \family default 
9415  ale nie ma jeszcze pliku szablonu i dokumentacji jak z niego skorzystaæ
9416 \end_inset 
9417
9418 .
9419  Try them out to see what sort of alternative they provide.
9420 \layout Section
9421
9422 Foils [aka
9423 \family sans 
9424 Foil
9425 \family default 
9426 \noun on 
9427 TeX
9428 \noun default 
9429 ]
9430 \begin_inset LatexCommand \label{sec:foiltex}
9431
9432 \end_inset 
9433
9434
9435 \layout Standard
9436
9437 by
9438 \noun on 
9439  Allan Rae
9440 \layout Subsection
9441
9442 Wprowadzenie
9443 \layout Standard
9444
9445 W tej sekcji opisujemy jak u¿yæ LyX-a do przygotowania slajdów do rzutników.
9446  Istniej± dwie klasy dokumentów, które mo¿na do tego celu zastosowaæ: domy¶lnie
9447 \family sans 
9448  Slide
9449 \family default 
9450  i
9451 \family sans 
9452  Foil
9453 \family default 
9454 TeX.
9455  W tej sekcji opisano tê drug± klasê.
9456 \layout Standard
9457
9458 Powiem to jeszcze raz, jasno, aby nie by³o nieporozumieñ:
9459 \layout Standard
9460 \added_space_top bigskip \added_space_bottom bigskip \align center 
9461
9462 \size large 
9463 Ta sekcja dokumentu opisuje 
9464 \emph on 
9465 tylko
9466 \emph default 
9467  klasê
9468 \family sans 
9469  ,,slides (FoilTeX)
9470 \family default 
9471 ''.
9472 \layout Standard
9473
9474 Je¶li szukasz dokumentacji do
9475 \family sans 
9476  ,,slides (default
9477 \family default 
9478 )'', zajrzyj do sekcji\SpecialChar ~
9479
9480 \begin_inset LatexCommand \ref{sec:slitex}
9481
9482 \end_inset 
9483
9484 .
9485  Je¶li w Twoim systemie nie masz zainstalowanej klasy 
9486 \family sans 
9487 foils
9488 \family default 
9489  [,,
9490 \family sans 
9491 slides (FoilTeX)
9492 \family default 
9493 ''], to prawdopodobnie musisz u¿yæ domy¶lnej klasy 
9494 \family sans 
9495 slides
9496 \family default 
9497 , która nie jest tak dobra jak 
9498 \family sans 
9499 foils.
9500 \layout Standard
9501
9502 Klasa 
9503 \family sans 
9504 foils
9505 \family default 
9506  jest zaprojektowana do u¿ycia z wersj± 2.1 LaTeX-owej klasy 
9507 \family sans 
9508 foils.cls
9509 \family default 
9510 , która jest teraz integraln± czê¶ci± LaTeX2e.
9511 \layout Subsection
9512
9513 Zaczynamy
9514 \layout Standard
9515
9516 Oczywi¶cie, aby u¿yæ tej klasy dokumentu, potrzebujesz wybraæ klasê
9517 \family sans 
9518  ,,slides (FoilTeX)
9519 \family default 
9520 '' z listy
9521 \family sans 
9522 \bar under 
9523  C
9524 \bar default 
9525 lass
9526 \family default 
9527  w oknie
9528 \family sans 
9529  Styl dokumentu
9530 \family default 
9531 .
9532  Jest kilka ustawieñ w oknie 
9533 \family sans 
9534 Styl Dokumentu
9535 \family default 
9536  i powiniene¶ znaæ ich specyfikê w tej klasie:
9537 \layout Itemize
9538
9539 Nie zmieniaj opcji 
9540 \family sans 
9541 Strony i Page cols
9542 \family default 
9543  w oknie 
9544 \family sans 
9545 Styl dokumentu
9546 \family default 
9547 .
9548  Nie s± one obs³ugiwane przez klasê 
9549 \family sans 
9550 foils
9551 \family default 
9552 .
9553 \layout Itemize
9554
9555 Domy¶ln± wielko¶ci± czcionki jest 20pt, inne to 17pt, 25pt i 30pt.
9556 \layout Itemize
9557
9558 Domy¶ln± rodzin± jest czcionka 
9559 \family sans 
9560 bezszeryfowa
9561 \family default 
9562  ale równania matematyczne s± sk³adane zwyk³± czcionk± szeryfow±.
9563 \layout Itemize
9564
9565
9566 \family sans 
9567 Foil
9568 \family default 
9569 TeX obs³uguje formaty papieru A4 i Letter, a tak¿e specjalny rozmiar do
9570  pracy z 35mm slajdami.
9571  Nie obs³uguje formatów: A5, B5, legal i executive.
9572 \layout Itemize
9573
9574 Nie zmieniaj ustawieñ
9575 \family sans 
9576  Pozycja wstawki
9577 \family default 
9578 , poniewa¿ s± one ignorowane.
9579  Wszystkie wstawki pojawiaj± siê w miejscu gdzie zosta³y umieszczone w tek¶cie.
9580 \layout Itemize
9581
9582 Ustawienia 
9583 \family sans 
9584 \bar under 
9585 P
9586 \bar default 
9587 agestyle
9588 \family default 
9589  zachowuj± siê troszkê inaczej w tej klasie.
9590  
9591 \family sans 
9592 Foil
9593 \family default 
9594 TeX dostarcza rozszerzone mo¿liwo¶ci nag³ówków i stopek w³±czaj± w to logo
9595  u¿ytkownika.
9596  Zobacz sekcjê\SpecialChar ~
9597
9598 \begin_inset LatexCommand \ref{sec:foilfoot}
9599
9600 \end_inset 
9601
9602  aby poznaæ wiêcej szczegó³ów.
9603  Strona tytu³owa jest traktowana inaczej ni¿ inne strony dokumentu: 
9604 \emph on 
9605 zawsze
9606 \emph default 
9607  jest nienumerowana i 
9608 \emph on 
9609 zawsze
9610 \emph default 
9611  logo jest wycentrowane u do³u strony (je¶li je zdefiniowano).
9612  Mo¿liwe do wyboru style strony:
9613 \begin_deeper 
9614 \layout List
9615 \labelwidthstring MMMMMMM
9616
9617
9618 \family sans 
9619 \series bold 
9620 empty
9621 \family default 
9622 \series default 
9623  Nie jest dodawany numer ani inne nag³ówki i stopki,
9624 \layout List
9625 \labelwidthstring MMMMMMM
9626
9627
9628 \family sans 
9629 \series bold 
9630 plain
9631 \family default 
9632 \series default 
9633  Na dole w ¶rodku slajdu umieszczony zostanie numer slajdu.
9634  bez innych nag³ówków i stopek (innych ni¿ przypisy).
9635 \layout List
9636 \labelwidthstring MMMMMMM
9637
9638
9639 \series bold 
9640 foilheadings
9641 \series default 
9642  W prawym dolnym naro¿niku slajdu umieszczony zostanie numer slajdu.
9643  Dodatkowe nag³ówki i stopki zostan± wy¶wietlone.
9644  To jest styl domy¶lny.
9645 \layout List
9646 \labelwidthstring MMMMMMM
9647
9648
9649 \series bold 
9650 fancy
9651 \series default 
9652  Umo¿liwia skorzystanie z pakietu 
9653 \family sans 
9654 fancyheadings
9655 \family default 
9656  mimo, ¿e jego u¿ycie z 
9657 \family sans 
9658 Foil
9659 \family default 
9660 TeX nie jest polecane przez autorów pakietu 
9661 \family sans 
9662 Foil
9663 \family default 
9664 TeX z powodu kilku mo¿liwych rozjechañ siê uk³adu strony.
9665 \end_deeper 
9666 \layout Subsubsection
9667
9668 Opcje dodatkowe
9669 \layout Standard
9670
9671 Nastêpuj±ce opcje mog± byæ u¿yte w polu 
9672 \family sans 
9673 Opcje dodatkowe
9674 \family default 
9675  w oknie 
9676 \family sans 
9677 Styl Dokumentu
9678 \family default 
9679 :
9680 \layout List
9681 \labelwidthstring MMMMMMx
9682
9683
9684 \series bold 
9685 35mmSlide
9686 \series default 
9687  Ustawia rozmiar strony 7.33 cale na 11 cali.
9688  Taki rozmiar ma identyczne proporcje jak 35mm slajd.
9689  To ustawienie u³atwia pracê z tym medium,
9690 \layout List
9691 \labelwidthstring MMMMMMx
9692
9693
9694 \series bold 
9695 headrule
9696 \series default 
9697  Umieszcza poziom± liniê poni¿ej nag³ówka na ka¿dej stronie z wyj±tkiem
9698  strony tytu³owej,
9699 \layout List
9700 \labelwidthstring MMMMMMx
9701
9702
9703 \series bold 
9704 footrule
9705 \series default 
9706  Umieszcza poziom± liniê powy¿ej stopki na ka¿dej stronie z wyj±tkiem strony
9707  tytu³owej,
9708 \layout List
9709 \labelwidthstring MMMMMMx
9710
9711
9712 \series bold 
9713 dvips
9714 \series default 
9715  Ta opcja jest automatycznie w³±czona
9716 \begin_inset Foot
9717 collapsed true
9718
9719 \layout Standard
9720
9721 Przyp.
9722  t³um.
9723  Bez tej opcji mo¿esz korzystaæ wprost z pdfLaTeX-a
9724 \end_inset 
9725
9726 , gdy tworzysz nowy dokument w tej klasie.
9727  Opcja ta mówi 
9728 \family sans 
9729 Foil
9730 \family default 
9731 TeX-owi aby u¿y³ jako sterownika programu dvips do obrotu tych stron, które
9732  ustawiono jako poziome,
9733 \layout List
9734 \labelwidthstring MMMMMMx
9735
9736
9737 \series bold 
9738 landscape
9739 \series default 
9740  Po prostu zmienia uk³ad strony na poziomy, ale nie dokonuje obrotu.
9741  Dla tego je¶li chcesz u¿ywaæ tej opcji potrzebujesz u¿yæ zewnêtrznego programu
9742  do obrotu ka¿dej strony lub w³ó¿ papier do drukarki poziomo.
9743  Uwaga ta opcja zamienia role ¶rodowisk 
9744 \family sans 
9745 Foilhead
9746 \family default 
9747  i 
9748 \family sans 
9749 Rotatefoilhead
9750 \family default 
9751  (nie przejmuj siê jest to opisane w nastêpnej sekcji),
9752 \layout List
9753 \labelwidthstring MMMMMMx
9754
9755
9756 \series bold 
9757 leqno
9758 \series default 
9759  Numeracja równañ po lewej stronie równania,
9760 \layout List
9761 \labelwidthstring MMMMMMx
9762
9763
9764 \series bold 
9765 fleqn
9766 \series default 
9767  Wyrównuje równania do lewej.
9768 \layout Subsection
9769
9770 Obs³ugiwane ¶rodowiska
9771 \layout Standard
9772
9773 Wiêkszo¶æ zwyk³ych ¶rodowisk wystêpuj±cych w innych klasach jest tak¿e obs³ugiwa
9774 nych w klasie 
9775 \family sans 
9776 foils
9777 \family default 
9778 .
9779  Jest kilka dodatkowych ¶rodowisk dostarczanych przez
9780 \family sans 
9781  Foil
9782 \family default 
9783 TeX a tak¿e kilka dodanych przez LyX-a.
9784  Poni¿ej podano standardowe ¶rodowiska wystêpuj±ce równie¿ w innych klasach:
9785 \layout Standard
9786
9787
9788 \begin_inset ERT
9789 status Collapsed
9790
9791 \layout Standard
9792
9793 \backslash 
9794 begin{multicols}{2}
9795 \end_inset 
9796
9797
9798 \layout Itemize
9799
9800
9801 \family sans 
9802 Standard
9803 \layout Itemize
9804
9805
9806 \family sans 
9807 Itemize
9808 \layout Itemize
9809
9810
9811 \family sans 
9812 Enumerate
9813 \layout Itemize
9814
9815
9816 \family sans 
9817 Description
9818 \layout Itemize
9819
9820
9821 \family sans 
9822 List
9823 \layout Itemize
9824
9825
9826 \family sans 
9827 LaTeX
9828 \layout Itemize
9829
9830
9831 \family sans 
9832 LyX-Code
9833 \layout Itemize
9834
9835
9836 \family sans 
9837 Verse
9838 \layout Itemize
9839
9840
9841 \family sans 
9842 Quote
9843 \layout Itemize
9844
9845
9846 \family sans 
9847 Quotation
9848 \layout Itemize
9849
9850
9851 \family sans 
9852 Title
9853 \layout Itemize
9854
9855
9856 \family sans 
9857 Author
9858 \layout Itemize
9859
9860
9861 \family sans 
9862 Date
9863 \layout Itemize
9864
9865
9866 \family sans 
9867 Abstract
9868 \layout Itemize
9869
9870
9871 \family sans 
9872 Bibliography
9873 \layout Itemize
9874
9875
9876 \family sans 
9877 Address
9878 \layout Itemize
9879
9880
9881 \family sans 
9882 RightAddress
9883 \layout Itemize
9884
9885
9886 \family sans 
9887 Caption
9888 \layout Itemize
9889
9890
9891 \family sans 
9892 Comment
9893 \layout Standard
9894
9895
9896 \begin_inset ERT
9897 status Collapsed
9898
9899 \layout Standard
9900
9901 \backslash 
9902 end{multicols}
9903 \end_inset 
9904
9905
9906 \layout Standard
9907
9908 Nastêpne s± g³ówne ¶rodowiska niezale¿nie od ¶rodowisk strukturyzuj±cych
9909  tekst.
9910  Folie s± w³a¶ciwie samodzielnymi sekcjami posiadaj±cymi tytu³ i tre¶æ.
9911  
9912 \family sans 
9913 Foil
9914 \family default 
9915 TeX dostarcza specyficznych poleceñ rozpoczynaj±cych now± foliê, s± to:
9916 \layout Itemize
9917
9918
9919 \family sans 
9920 Foilhead
9921 \layout Itemize
9922
9923
9924 \family sans 
9925 Rotatefoilhead
9926 \layout Standard
9927
9928 LyX dostarcza tak¿e lekko zmodyfikowane wersje powy¿szych ¶rodowisk o nazwach:
9929 \layout Itemize
9930
9931
9932 \family sans 
9933 ShortFoilhead
9934 \layout Itemize
9935
9936
9937 \family sans 
9938 ShortRotatefoilhead
9939 \layout Standard
9940
9941 ró¿nice pomiêdzy nimi s± wyja¶nione w nastêpnej sekcji.
9942 \layout Standard
9943
9944 Folie s± czêsto u¿ywane do prezentacji pomys³ów lub nowych teorii i tak¿e
9945  
9946 \family sans 
9947 Foil
9948 \family default 
9949 TeX dostarcza szeroki wachlarz narzêdzi do ich prezentacji:
9950 \layout Standard
9951
9952
9953 \begin_inset ERT
9954 status Collapsed
9955
9956 \layout Standard
9957
9958 \backslash 
9959 begin{multicols}{2}
9960 \end_inset 
9961
9962
9963 \layout Itemize
9964
9965
9966 \family sans 
9967 Theorem
9968 \layout Itemize
9969
9970
9971 \family sans 
9972 Lemma
9973 \layout Itemize
9974
9975
9976 \family sans 
9977 Corollary
9978 \layout Itemize
9979
9980
9981 \family sans 
9982 Proposition
9983 \layout Itemize
9984
9985
9986 \family sans 
9987 Definition
9988 \layout Itemize
9989
9990
9991 \family sans 
9992 Proof
9993 \layout Itemize
9994
9995
9996 \family sans 
9997 Theorem*
9998 \layout Itemize
9999
10000
10001 \family sans 
10002 Lemma*
10003 \layout Itemize
10004
10005
10006 \family sans 
10007 Corollary*
10008 \layout Itemize
10009
10010
10011 \family sans 
10012 Proposition*
10013 \layout Itemize
10014
10015
10016 \family sans 
10017 Definition*
10018 \layout Standard
10019
10020
10021 \begin_inset ERT
10022 status Collapsed
10023
10024 \layout Standard
10025
10026 \backslash 
10027 end{multicols}
10028 \end_inset 
10029
10030
10031 \layout Standard
10032
10033 Wersje z gwiazdk± s± ¶rodowiskami nienumerowanymi, a bez gwiazdki s± numerowane.
10034  S± jeszcze dwa ¶rodowiska list dodane przez LyX i s± to:
10035 \layout Itemize
10036
10037
10038 \family sans 
10039 TickList
10040 \layout Itemize
10041
10042
10043 \family sans 
10044 CrossList
10045 \layout Standard
10046
10047 Jest jeszcze kilka poleceñ
10048 \family sans 
10049  Foil
10050 \family default 
10051 TeX-a, które nie s± obs³ugiwane przez LyX.
10052  Wspomnimy o nich i ich przeznaczeniu w sekcji\SpecialChar ~
10053
10054 \begin_inset LatexCommand \ref{sec:unsuppfoils}
10055
10056 \end_inset 
10057
10058 .
10059 \layout Subsection
10060
10061 Tworzenie folii
10062 \layout Standard
10063
10064 W tej sekcji podamy proste wprowadzenie jak korzystaæ z ró¿nych ¶rodowisk
10065  aby utworzyæ foliê.
10066  Je¶li chcesz zobaczyæ przyk³ad folii zobacz plik
10067 \family typewriter 
10068  Foils.lyx
10069 \family default 
10070  dostêpny z menu
10071 \family sans 
10072 \bar under 
10073  P
10074 \bar default 
10075 lik\SpecialChar \menuseparator
10076
10077 \bar under 
10078 O
10079 \bar default 
10080 twórz\SpecialChar \ldots{}
10081
10082 \family default 
10083  i naci¶nij przycisk 
10084 \family sans 
10085 Examples
10086 \family default 
10087 .
10088 \layout Subsubsection
10089
10090 Strona tytu³owa
10091 \layout Standard
10092
10093 Nie tak jak inne klasy dostarczaj±ce ¶rodowisk 
10094 \family sans 
10095 Title
10096 \family default 
10097 ,
10098 \family sans 
10099  Author
10100 \family default 
10101 ,
10102 \family sans 
10103  Date
10104 \family default 
10105  i 
10106 \family sans 
10107 Abstract
10108 \family default 
10109  , 
10110 \family sans 
10111 foils
10112 \family default 
10113  tworzy tytu³ na w³asnej stronie.
10114  Je¶li opu¶cisz ¶rodowisko 
10115 \family sans 
10116 Date
10117 \family default 
10118 , to LaTeX w zastêpstwie wstawi bie¿±c± datê (aktualizowan± przy ka¿dym
10119  podgl±dzie).
10120 \layout Subsubsection
10121
10122 Rozpoczêcie nowej folii
10123 \layout Standard
10124
10125 Jak wspomnia³em wcze¶niej, mamy cztery sposoby na utworzenie nowej folii.
10126  Dla folii pionowych powiniene¶ u¿yæ
10127 \family sans 
10128  Foilhead
10129 \family default 
10130  lub 
10131 \family sans 
10132 ShortFoilhead.
10133
10134 \family default 
10135  Ró¿nica pomiêdzy tymi ¶rodowiskami polega na wielko¶ci odstêpu pomiêdzy
10136  tytu³em a tre¶ci±.
10137 \layout Standard
10138
10139 Folie poziome tworzymy za pomoc± ¶rodowisk
10140 \family sans 
10141  Rotatefoilhead
10142 \family default 
10143  i 
10144 \family sans 
10145 ShortRotatefoilhead
10146 \family default 
10147 .
10148  Znów ró¿nica miedzy nimi polega na odstêpie pomiêdzy tytu³em a tre¶ci±.
10149  W obu skróconych wersjach mamy o pó³ cala mniejszy odstêp.
10150 \layout Standard
10151
10152 Jednym problemem z obs³ug± poziomych slajdów jest wymóg u¿ycia sterownika
10153  
10154 \family typewriter 
10155 dvips
10156 \family default 
10157  do utworzenia pliku PostScript®, w przeciwnym razie folia nie zostanie
10158  obrócona.
10159  Jest mo¿liwo¶æ uzyskania poziomych folii nawet je¶li nie masz programu
10160  
10161 \family typewriter 
10162 dvips
10163 \family default 
10164 , po prostu musisz w³o¿yæ folie poziomo do drukarki;-)
10165 \layout Subsubsection
10166
10167 Theorems, Lemmas, Proofs i wiêcej
10168 \layout Standard
10169
10170 Z powodu ma³ego b³êdu w LyX-ie nie mo¿na umie¶ciæ dwóch ¶rodowisk tego samego
10171  typu bezpo¶rednio jedno po drugim.
10172  Musza one byæ czymkolwiek rozdzielone.
10173  Je¶li spróbujesz , bêdziesz móg³ rozci±gn±æ poprzednie ¶rodowisko, tak
10174  aby¶ mia³ po³±czone dwa ¶rodowiska razem.
10175  A jak rozwi±zaæ ten problem? Najprostszym rozwi±zaniem jest wstawienie
10176  tekstu pomiêdzy dwa ¶rodowiska lub wstawienie wstawki 
10177 \family sans 
10178 LaTeX
10179 \family default 
10180  pomiêdzy te ¶rodowiska zawieraj±cej znak komentarza ,,
10181 \family typewriter 
10182 %
10183 \family default 
10184 ''.
10185  To wymusi na LyX-ie utworzenie dwóch oddzielnych ¶rodowisk i da poprawny
10186  wynik.
10187  Przyk³ad jest zawarty w dostarczonym pliku w dystrybucji LyX-a.
10188  pamiêtaj, problem pojawia siê tylko je¶li próbujesz umie¶ciæ dwa ¶rodowiska
10189  takie jak Theorem bezpo¶rednio jedno za drugim.
10190 \layout Subsubsection
10191
10192 Listy
10193 \layout Standard
10194
10195 Mo¿esz korzystaæ ze wszystkich obs³ugiwanych i wystêpuj±cych w innych klasach,
10196  ¶rodowisk list, a tak¿e z dwóch nowych.
10197  Tutaj opiszê tylko te nowe.
10198  Je¶li chcesz znale¼æ wiêcej informacji o innych ¶rodowiskach list zajrzyj
10199  do 
10200 \emph on 
10201 Podrêcznika U¿ytkownika
10202 \emph default 
10203 .
10204  Je¶li zamierzasz korzystaæ z wyliczeñ powiniene¶ tak¿e przeczytaæ sekcjê
10205  
10206 \begin_inset LatexCommand \ref{sec:bullet}
10207
10208 \end_inset 
10209
10210  
10211 \family sans 
10212 Wybór znaku wyliczenia
10213 \family default 
10214 .
10215 \layout Standard
10216
10217 Dwa nowe style list 
10218 \family sans 
10219 TickList
10220 \family default 
10221  i 
10222 \family sans 
10223 CrossList
10224 \family default 
10225 , zaprojektowano aby u³atwiæ Ci tworzenie list czynno¶ci wykonanych i nie
10226  lub co jest w porz±dku lub z³e, przez dostarczenie dedykowanych ¶rodowisk,
10227  które u¿ywaj± haczyka (akceptacji) lub krzy¿yka (negacji) jako znaku wyliczenia.
10228  Te listy s± w rzeczywisto¶ci dedykowanymi wariantami ¶rodowiska 
10229 \family sans 
10230 Itemize
10231 \family default 
10232 .
10233  Wymagaj± one jednak zainstalowanego pakietu 
10234 \family typewriter 
10235 psnfss
10236 \family default 
10237 .
10238 \layout Subsubsection
10239
10240 Rysunki i Tabele
10241 \layout Standard
10242
10243
10244 \family sans 
10245 Foil
10246 \family default 
10247 TeX redefiniuje wstawki tabel i rysunków tak, aby pojawi³y siê dok³adnie
10248  w miejscu ich wyst±pienia w tek¶cie.
10249  W rzeczywisto¶ci zmiany pozycji wstawki s± ignorowane.
10250 \layout Subsubsection
10251
10252 Nag³ówki i stopki
10253 \begin_inset LatexCommand \label{sec:foilfoot}
10254
10255 \end_inset 
10256
10257
10258 \layout Standard
10259
10260 Polecenia 
10261 \family typewriter 
10262
10263 \backslash 
10264 MyLogo{}
10265 \family default 
10266  i 
10267 \family typewriter 
10268
10269 \backslash 
10270 Restriction{}
10271 \family default 
10272  s± przeznaczone do sterowania lew± stopk±.
10273  Pierwsze pozwala na do³±czenie
10274 \begin_inset Foot
10275 collapsed true
10276
10277 \layout Standard
10278
10279 Przyp.
10280  t³um.
10281  Aby do³±czyæ logo graficzne to nale¿y jako argument polecenia 
10282 \family typewriter 
10283
10284 \backslash 
10285 MyLogo{}
10286 \family default 
10287  wpisaæ:
10288 \newline 
10289
10290 \family typewriter 
10291
10292 \backslash 
10293 includegraphics{nazwapliku}
10294 \family default 
10295  oraz umie¶ciæ w preambule polecenie:
10296 \newline 
10297
10298 \family typewriter 
10299
10300 \backslash 
10301 usepackage{graphicx}
10302 \family default 
10303  albo 
10304 \family typewriter 
10305
10306 \backslash 
10307 usepackage{graphics}
10308 \end_inset 
10309
10310  logo graficznego do folii, a domy¶lnie wpisuje ,,--Typeset by FoilTeX--''.
10311  Drugie polecenie pozwala na wprowadzenie klasyfikacji dostêpno¶ci, np.
10312  
10313 \emph on 
10314 Poufne
10315 \emph default 
10316 .
10317  Domy¶lnie jest puste.
10318 \layout Standard
10319
10320 Pozosta³e naro¿niki mo¿na wype³niæ poleceniami
10321 \family sans 
10322  Right\SpecialChar ~
10323 Footer
10324 \family default 
10325  (domy¶lnie numer folii), 
10326 \family sans 
10327 Right\SpecialChar ~
10328 Header
10329 \family default 
10330  (prawy górny) i 
10331 \family sans 
10332 Left\SpecialChar ~
10333 Header
10334 \family default 
10335  (lewy górny).
10336 \layout Subsection
10337
10338 Nieobs³ugiwane funkcje 
10339 \family sans 
10340 Foil
10341 \family default 
10342 TeX-a
10343 \begin_inset LatexCommand \label{sec:unsuppfoils}
10344
10345 \end_inset 
10346
10347
10348 \layout Standard
10349
10350 Wszystkie polecenia wyja¶nione poni¿ej nale¿y wstawiaæ w ¶rodowisku 
10351 \family sans 
10352 LaTeX
10353 \family default 
10354  lub jako 
10355 \family sans 
10356 TeX
10357 \family default 
10358  wewn±trz innych ¶rodowisk.
10359 \layout Subsubsection
10360
10361 D³ugo¶ci
10362 \layout Standard
10363
10364 Wszystkie d³ugo¶ci s± ustawiane poleceniem
10365 \family typewriter 
10366  
10367 \family default 
10368
10369 \newline 
10370
10371 \family typewriter 
10372
10373 \backslash 
10374 setlength{
10375 \family default 
10376 \emph on 
10377 lengthname
10378 \family typewriter 
10379 \emph default 
10380 }{
10381 \family default 
10382 \emph on 
10383 newlength
10384 \family typewriter 
10385 \emph default 
10386 }
10387 \family default 
10388  
10389 \newline 
10390 gdzie
10391 \emph on 
10392  lengthname
10393 \emph default 
10394  powinno byæ zast±pione nazw± d³ugo¶ci, która chcesz zmieniæ, a
10395 \emph on 
10396  newlength
10397 \emph default 
10398  przez warto¶æ.
10399  Dla wszystkich d³ugo¶ci nale¿y podaæ jednostkê, np.
10400  cale (
10401 \family typewriter 
10402 in
10403 \family default 
10404 ), milimetry (
10405 \family typewriter 
10406 mm
10407 \family default 
10408 ) lub punkty (
10409 \family typewriter 
10410 pt
10411 \family default 
10412 ) lub jednostki wzglêdne w dokumencie lub d³ugo¶ci odnosz±ce siê do wielko¶ci
10413  czcionek takie jak
10414 \family typewriter 
10415  
10416 \backslash 
10417 textwidth
10418 \family default 
10419 .
10420 \layout Standard
10421
10422 Mo¿na zmieniaæ odstêp pomiêdzy tytu³em folii a tre¶ci±, przez zmianê d³ugo¶ci
10423 \family typewriter 
10424  
10425 \backslash 
10426 foilheadskip
10427 \family default 
10428 .
10429  Na przyk³ad, aby na 
10430 \emph on 
10431 wszystkich
10432 \emph default 
10433  foliach tytu³y by³y bli¿ej tre¶ci o pó³ cala, to wpisz do preambu³y:
10434 \family typewriter 
10435  
10436 \family default 
10437
10438 \newline 
10439
10440 \family typewriter 
10441
10442 \backslash 
10443 setlength{
10444 \backslash 
10445 foilheadskip}{-0.5in}
10446 \layout Standard
10447
10448 Odstêpy wokó³ wstawek mog± byæ ustawiane przez zmianê nastêpuj±cych d³ugo¶ci:
10449 \layout List
10450 \labelwidthstring MMMMMMMMMMM
10451
10452
10453 \family typewriter 
10454
10455 \backslash 
10456 abovefloatskip
10457 \family default 
10458  odstêp pomiêdzy tekstem a gór± wstawki,
10459 \layout List
10460 \labelwidthstring MMMMMMMMMMM
10461
10462
10463 \family typewriter 
10464
10465 \backslash 
10466 abovecaptionskip
10467 \family default 
10468  odstêp pomiêdzy wstawk± a podpisem,
10469 \layout List
10470 \labelwidthstring MMMMMMMMMMM
10471
10472
10473 \family typewriter 
10474
10475 \backslash 
10476 belowcaptionskip
10477 \family default 
10478  odstêp pomiêdzy podpisem a dalszym tekstem,
10479 \layout List
10480 \labelwidthstring MMMMMMMMMMM
10481
10482
10483 \family typewriter 
10484
10485 \backslash 
10486 captionwidth
10487 \family default 
10488  Mo¿esz zadaæ wê¿szy podpis wstawki ni¿ otaczaj±cy tekst przez ustawienie
10489  tej d³ugo¶ci.
10490  Najlepiej odnosiæ siê do d³ugo¶ci
10491 \family typewriter 
10492  
10493 \backslash 
10494 textwidth
10495 \family default 
10496 .
10497 \layout Standard
10498
10499 Jest jeszcze kilka d³ugo¶ci zwi±zanymi ze strona tytu³owa, które mog± byæ
10500  u¿yteczne je¶li masz d³ugie tytu³y lub kilku autorów:
10501 \layout List
10502 \labelwidthstring MMMMMMMMMMM
10503
10504
10505 \family typewriter 
10506
10507 \backslash 
10508 abovetitleskip
10509 \family default 
10510  odstêp pomiêdzy nag³ówkiem a
10511 \family sans 
10512  Title
10513 \family default 
10514 ,
10515 \layout List
10516 \labelwidthstring MMMMMMMMMMM
10517
10518
10519 \family typewriter 
10520
10521 \backslash 
10522 titleauthorskip
10523 \family default 
10524  odstêp pomiêdzy ¶rodowiskami
10525 \family sans 
10526  Title
10527 \family default 
10528  a
10529 \family sans 
10530  Author
10531 \family default 
10532 ,
10533 \layout List
10534 \labelwidthstring MMMMMMMMMMM
10535
10536
10537 \family typewriter 
10538
10539 \backslash 
10540 authorauthorskip
10541 \family default 
10542  odstêp pomiêdzy wielokrotnymi wierszami ¶rodowiska
10543 \family sans 
10544  Author
10545 \family default 
10546 ,
10547 \layout List
10548 \labelwidthstring MMMMMMMMMMM
10549
10550
10551 \family typewriter 
10552
10553 \backslash 
10554 authordateskip
10555 \family default 
10556  odstêp pomiêdzy ¶rodowiskami
10557 \family sans 
10558  Author
10559 \family default 
10560  i
10561 \family sans 
10562  Date
10563 \family default 
10564 ,
10565 \layout List
10566 \labelwidthstring MMMMMMMMMMM
10567
10568
10569 \family typewriter 
10570
10571 \backslash 
10572 dateabstractskip
10573 \family default 
10574  odstêp pomiêdzy ¶rodowiskami
10575 \family sans 
10576  Date
10577 \family default 
10578  i
10579 \family sans 
10580  Abstract
10581 \family default 
10582 .
10583 \layout Standard
10584
10585 Ostatnia d³ugo¶æ odnosi siê do wszystkich ¶rodowisk list.
10586  Je¶li umie¶cisz 
10587 \family typewriter 
10588
10589 \backslash 
10590 zerolistvertdimens
10591 \family default 
10592 \emph on 
10593  wewn±trz
10594 \emph default 
10595  ¶rodowiska listy, wtedy wszystkie odstêpy pionowe pomiêdzy elementami listy
10596  zostan± usuniête.
10597  Uwaga -- to jest polecenie, a nie d³ugo¶æ i nie wymaga 
10598 \family typewriter 
10599
10600 \backslash 
10601 setlength
10602 \family default 
10603  tak jak wspomniane powy¿ej d³ugo¶ci.
10604 \layout Subsubsection
10605
10606 Nag³ówki i stopki
10607 \begin_inset LatexCommand \label{sec:foilfoot}
10608
10609 \end_inset 
10610
10611
10612 \layout Standard
10613
10614 Polecenia 
10615 \family typewriter 
10616
10617 \backslash 
10618 LogoOn
10619 \family default 
10620  i 
10621 \family typewriter 
10622
10623 \backslash 
10624 LogoOff
10625 \family default 
10626  steruj± wy¶wietlaniem na danym slajdzie logo zdefiniowanym poleceniem 
10627 \family typewriter 
10628
10629 \backslash 
10630 MyLogo
10631 \family default 
10632 .
10633  Je¶li wpiszesz polecenie
10634 \family typewriter 
10635  
10636 \backslash 
10637 LogoOff
10638 \family default 
10639  do preambu³y, to wówczas na ¿adnej folii nie pojawi siê logo.
10640  Je¶li nie chcesz aby pojawi³o siê logo na jednej z folii, to umie¶æ na
10641  niej polecenie 
10642 \family typewriter 
10643
10644 \backslash 
10645 LogoOff
10646 \family default 
10647  tu¿ po tytule strony, a nastêpnie umie¶æ polecenie 
10648 \family typewriter 
10649
10650 \backslash 
10651 LogoOn
10652 \family default 
10653  po tytule nastêpnej folii.
10654 \layout Standard
10655
10656 Pozosta³e polecenia steruj±ce:
10657 \layout List
10658 \labelwidthstring MMMMMMMMM
10659
10660
10661 \family typewriter 
10662
10663 \backslash 
10664 rightfooter{}
10665 \family default 
10666  prawa stopka, domy¶lnie zawiera numer strony
10667 \layout List
10668 \labelwidthstring MMMMMMMMM
10669
10670
10671 \family typewriter 
10672
10673 \backslash 
10674 rightheader{}
10675 \family default 
10676  prawy nag³ówek
10677 \layout List
10678 \labelwidthstring MMMMMMMMM
10679
10680
10681 \family typewriter 
10682
10683 \backslash 
10684 leftheader{}
10685 \family default 
10686  lewy nag³ówek
10687 \layout Standard
10688
10689 Je¶li zdecydujesz siê u¿yæ styl strony 
10690 \family sans 
10691 fancy
10692 \family default 
10693  w oknie 
10694 \family sans 
10695 Styl dokumentu
10696 \family default 
10697 , prawdopodobnie powiniene¶ dodaæ 
10698 \newline 
10699
10700 \family typewriter 
10701
10702 \backslash 
10703 let
10704 \backslash 
10705 headwidth
10706 \backslash 
10707 textwidth
10708 \family default 
10709  
10710 \newline 
10711 do preambu³y, tak aby nag³ówki i stopki by³y w³a¶ciwie umieszczone na poziomych
10712  stronach.
10713  Jest to spowodowane niezgodno¶ci± uk³adów stron dostarczanych przez pakiet
10714  
10715 \family sans 
10716 fancyheadings
10717 \family default 
10718  i klasê 
10719 \family sans 
10720 foils
10721 \family default 
10722 .
10723 \layout Section
10724
10725 Latex8 (Dokumenty konferencyjne IEEE )
10726 \layout Standard
10727
10728 by
10729 \noun on 
10730  Allan Rae
10731 \layout Subsection
10732
10733 Wprowadzenie
10734 \layout Standard
10735
10736 Since this class is specifically for writing submissions to IEEE sponsored
10737  conferences I strongly recommend that you get a copy of their Authors Kit.
10738  The 
10739 \family sans 
10740 latex.sty
10741 \family default 
10742  package and associated bibliography style file is included in the kit.
10743  The Authors Kit is usually sent out by email once your initial submission
10744  has been accepted.
10745  There is a lot of useful information in the Authors Kit explaining formatting
10746  restrictions and so on and I will assume you have read this since that
10747  means I don't have to repeat it all here.
10748 \layout Subsection
10749
10750 Zaczynamy
10751 \layout Standard
10752
10753 [AR.
10754  more to come]
10755 \layout Subsection
10756
10757 Obs³ugiwane ¶rodowiska
10758 \layout Itemize
10759
10760 Standard
10761 \layout Itemize
10762
10763 Title
10764 \layout Itemize
10765
10766 Author
10767 \layout Itemize
10768
10769 E-mail
10770 \layout Itemize
10771
10772 Affiliation
10773 \layout Itemize
10774
10775 Abstract
10776 \layout Itemize
10777
10778 Section
10779 \layout Itemize
10780
10781 SubSection
10782 \layout Itemize
10783
10784 Caption
10785 \layout Subsection
10786
10787 Ró¿nice pomiêdzy ekranem a dokumentem
10788 \layout Standard
10789
10790 There are slight differences in appearance mainly with the presentation
10791  of section counters.
10792  On screen the trailing period of the section counter is missing but it
10793  will appear in the output so don't let this worry you.
10794 \layout Section
10795
10796 Hollywood (Hollywood spec scripts)
10797 \layout Standard
10798
10799 by
10800 \shape smallcaps 
10801  Garst Reese
10802 \layout Subsection
10803
10804 Wprowadzenie
10805 \layout Standard
10806
10807 Getting the format of a Hollywood script right is a ,,rite of passage''.
10808  Zosta³ zaprojektowany do czytania ze zwróceniem uwagi na tre¶æ oraz aby
10809  byæ ³atwym i przyjaznym w czytaniu dla aktorów.
10810  Ka¿da strona scenariusza powinna byæ jedn± minut± filmu.
10811  Nie pisz tego czego nie mo¿esz zobaczyæ lub us³yszeæ na ekranie.
10812  W ca³ym dokumencie powinna byæ stosowana czcionka Courier 12pkt, bez kursywy.
10813 \layout Subsection
10814
10815 Specjalne problemy
10816 \layout Standard
10817
10818 Tekst mówcy nie powinien byæ NIGDY ³amany w po³owie zdania.
10819  Je¶li tekst mówcy jest kontynuowany na nastêpnej stronie, powtórz 
10820 \family sans 
10821 Nazwê
10822 \family default 
10823  mówcy przez 
10824 \family sans 
10825 Cont'd
10826 \family default 
10827 .
10828 \layout Subsection
10829
10830 Specjalne funkcje
10831 \layout Standard
10832
10833 Wstaw nazwê mówcy (
10834 \family sans 
10835 Speaker
10836 \family default 
10837 ) jako etykietê, a dalej wykorzystuj j± przez odno¶niki wewnêtrzne.
10838  Okno odno¶ników bêdzie wy¶wietla³o obsadê.
10839  Odno¶niki mo¿esz u¿ywaæ do wstawiania nazwy mówcy równie¿ w tek¶cie narratora.
10840 \layout Subsection
10841
10842 Rozmiar papieru i marginesy
10843 \layout Standard
10844
10845 USLetter, lewy 1.6in, prawy 0.75in, górny 0.5in, dolny 0.75in
10846 \layout Subsection
10847
10848 ¦rodowiska
10849 \layout Standard
10850
10851 Dostêpne s± nastêpuj±ce ¶rodowiska.
10852  Mo¿esz u¿yæ uk³adu hollywood.bind aby uzyskaæ skróty klawiszowe jak poni¿ej.
10853 \layout Itemize
10854
10855
10856 \family sans 
10857 Standard
10858 \newline 
10859
10860 \family default 
10861 U¿yj gdzie nic innego nie pasuje.
10862  Próbuj nie korzystaæ z niego.
10863 \layout Itemize
10864
10865
10866 \family sans 
10867 Narrative
10868 \hfill 
10869 M-z n
10870 \newline 
10871
10872 \family default 
10873 Used to describe stage setting and the action.
10874  Pierwsze u¿ycie nazwy aktora napisz kapitalikiem.
10875 \layout Itemize
10876
10877
10878 \family sans 
10879 FADE\SpecialChar ~
10880 IN
10881 \family default 
10882 :
10883 \hfill 
10884
10885 \family sans 
10886 M-z S-I
10887 \family default 
10888
10889 \newline 
10890 Usually followed by something like ,,on Sally waking up''.
10891 \layout Itemize
10892
10893
10894 \family sans 
10895 INT:
10896 \hfill 
10897 M-z i
10898 \newline 
10899
10900 \family default 
10901 Introduces a new INTERIOR camera set-up.
10902  Always followed by DAY or NIGHT, or something similar to define the lighting
10903  required.
10904  Pisz zawsze du¿ymi literami.
10905 \layout Itemize
10906
10907
10908 \family sans 
10909 EXT:
10910 \hfill 
10911 M-z e
10912 \newline 
10913
10914 \family default 
10915 Introduces a new EXTERIOR camera set-up.
10916  Pisz zawsze du¿ymi literami.
10917 \layout Itemize
10918
10919
10920 \family sans 
10921 Speaker
10922 \hfill 
10923 M-z s
10924 \newline 
10925
10926 \family default 
10927 The character speaking.
10928 \layout Itemize
10929
10930
10931 \family sans 
10932 Parenthetical
10933 \hfill 
10934 M-z p
10935 \newline 
10936
10937 \family default 
10938 Instrukcje dla mówcy.
10939  Nawiasy ,,()'' s± wstawiane automatycznie i wy¶wietlane s± tylko w LyX-ie,
10940  ale zawsze bêda drukowane.
10941 \layout Itemize
10942
10943
10944 \family sans 
10945 Dialogue
10946 \hfill 
10947 M-z d
10948 \newline 
10949
10950 \family default 
10951 Co mówca (
10952 \family sans 
10953 Speaker
10954 \family default 
10955 ) mówi.
10956 \layout Itemize
10957
10958
10959 \family sans 
10960 Transition
10961 \hfill 
10962 M-z t
10963 \newline 
10964
10965 \family default 
10966 Instrukcja przemieszczania dla kamery, np.
10967  CUT TO:
10968 \layout Itemize
10969
10970
10971 \family sans 
10972 FADE\SpecialChar ~
10973 OUT:
10974 \hfill 
10975 M-z S-I
10976 \layout Itemize
10977
10978
10979 \family sans 
10980 Author
10981 \hfill 
10982 M-z S-A
10983 \layout Itemize
10984
10985
10986 \family sans 
10987 Title
10988 \hfill 
10989 M-z S-T
10990 \layout Itemize
10991
10992
10993 \family sans 
10994 Right\SpecialChar ~
10995 Address
10996 \hfill 
10997 M-z r
10998 \layout Subsection
10999
11000 ¯argon scenariusza
11001 \layout Itemize
11002
11003 (O.S) --- off screen
11004 \layout Itemize
11005
11006 (V.0) --- voice over
11007 \layout Itemize
11008
11009 b.g.
11010  --- t³o
11011 \layout Itemize
11012
11013 C.U.
11014  --- close-up
11015 \layout Itemize
11016
11017 PAN --- przesuniêcie kamery
11018 \layout Itemize
11019
11020 INSERT --- cut to close-up of
11021 \layout Section
11022
11023 Broadway
11024 \layout Standard
11025
11026 by
11027 \shape smallcaps 
11028 Garst Reese
11029 \layout Subsection
11030
11031 Wprowadzenie
11032 \layout Standard
11033
11034 Klasa Broadway jest przeznaczona dla pisz±cych scenariusze teatralne.
11035  Ten format jest bardziej dekoracyjny i o wiele mniej ustandaryzowany.
11036  Ten format powinien byæ odpowiedni dla workshopów.
11037 \layout Subsection
11038
11039 Specjalne problemy
11040 \layout Standard
11041
11042 Podobnie jak format Hollywood.
11043 \layout Subsection
11044
11045 Specjalne funkcje
11046 \layout Standard
11047
11048 Wstaw nazwê mówcy (
11049 \family sans 
11050 Speaker
11051 \family default 
11052 ) jako etykietê, a dalej wykorzystuj j± przez odno¶niki wewnêtrzne.
11053  Okno odno¶ników wewnêtrznych bêdzie wy¶wietlaæ aktualn± obsadê.
11054 \layout Subsection
11055
11056 Rozmiar papieru i marginesy
11057 \layout Standard
11058
11059 USLetter, lewy 1.6in, prawy 0.75in, górny 0.5in, dolny 0.75in
11060 \layout Subsection
11061
11062 ¦rodowiska
11063 \layout Standard
11064
11065 Dostêpne s± nastêpuj±ce ¶rodowiska.
11066  Mo¿esz u¿yæ uk³adu broadway.bind aby uzyskaæ skróty klawiszowe jak poni¿ej.
11067 \layout Itemize
11068
11069
11070 \family sans 
11071 Standard
11072 \newline 
11073
11074 \family default 
11075 Nie powiniene¶ go u¿ywaæ, ale jest je¶li inne nie bêd± Ci odpowiadaæ.
11076 \layout Itemize
11077
11078
11079 \family sans 
11080 Narrative
11081 \hfill 
11082 M-z n
11083 \newline 
11084
11085 \family default 
11086 Used to describe stage setting and the action.
11087  Pierwsze u¿ycie nazwy aktora napisz kapitalikiem.
11088 \layout Itemize
11089
11090
11091 \family sans 
11092 ACT
11093 \hfill 
11094 M-z a
11095 \newline 
11096
11097 \family default 
11098 Automatycznie numerowane.
11099  Na ekranie bêdzie numeracja liczbami arabskimi, a na wydruku rzymskimi.
11100 \layout Itemize
11101
11102
11103 \family sans 
11104 ACT*
11105 \hfill 
11106 M-z S at
11107 \newline 
11108 Podtytu³ ACT.
11109 \family default 
11110 Tekst jest centrowany.
11111 \layout Itemize
11112
11113
11114 \family sans 
11115 SCENE
11116 \hfill 
11117 M-z S-S
11118 \newline 
11119
11120 \family default 
11121 Nie jest numerowane automatycznie.
11122  Ty podajesz numer.
11123  This is because I couldn't figure out how.
11124 \layout Itemize
11125
11126
11127 \family sans 
11128 AT\SpecialChar ~
11129 RISE:
11130 \hfill 
11131 M-z S-R
11132 \newline 
11133
11134 \family default 
11135 A special case of Narrative to describe the setting and action as the curtain
11136  rises.
11137 \layout Itemize
11138
11139
11140 \family sans 
11141 Speaker
11142 \hfill 
11143 M-z s
11144 \newline 
11145
11146 \family default 
11147 Nazwa mówcy (aktora), wy¶rodkowana napisana bêdzie kapitalikiem.
11148 \layout Itemize
11149
11150
11151 \family sans 
11152 Parenthetical
11153 \hfill 
11154 M-z p
11155 \newline 
11156
11157 \family default 
11158 Instrukcje dla mówcy.
11159  Nawiasy ,,()'' s± wstawiane automatycznie, ale wy¶wietlane s± tylko w LyX-ie,
11160  ale zawsze bêda drukowane.
11161  To ¶rodowisko jest u¿ywane tylko wewn±trz ¶rodowiska 
11162 \family sans 
11163 Dialogue
11164 \family default 
11165 .
11166 \layout Itemize
11167
11168
11169 \family sans 
11170 Dialogue
11171 \hfill 
11172 M-z d
11173 \newline 
11174
11175 \family default 
11176 Co mówi mówca.
11177 \layout Itemize
11178
11179
11180 \family sans 
11181 CURTAIN
11182 \hfill 
11183 M-z S-C
11184 \newline 
11185
11186 \family default 
11187 Opuszczenie kurtyny.
11188 \layout Itemize
11189
11190
11191 \family sans 
11192 Title
11193 \hfill 
11194 M-z S-T
11195 \layout Itemize
11196
11197
11198 \family sans 
11199 Author
11200 \hfill 
11201 M-z S-A
11202 \layout Itemize
11203
11204
11205 \family sans 
11206 Right_Address
11207 \hfill 
11208 M-z r
11209 \layout Standard
11210
11211 Hello there.
11212 \layout Section
11213
11214 RevTeX4
11215 \layout Standard
11216
11217 by
11218 \noun on 
11219  Amir Karge
11220 \layout Standard
11221
11222 Klasa dokumentu 
11223 \family sans 
11224 Revtex\SpecialChar ~
11225 4
11226 \family default 
11227  wspó³pracuje z klas± RevTeX 4.0 (wydanie 
11228 \begin_inset Formula $\beta$
11229 \end_inset 
11230
11231  z maja 1999 roku) American Physical Society.
11232  LyX ma klasê dokumentu 
11233 \family sans 
11234 Revtex
11235 \family default 
11236 , która wspó³pracuje z RevTeX 3.1.
11237  Jednak wersja 3.1 jest generalnie przestarza³a jako wspó³pracuj±ca z LaTeX2.09,
11238  co oznacza, ¿e wspó³praca z LyX-em nie jest najlepsza., poniewa¿ LyX wymaga
11239  LaTeX2e.
11240  Since RevTeX 4.0 has been designed to work much more cleanly with LaTeX2e,
11241  LyX with 
11242 \family sans 
11243 RevTeX\SpecialChar ~
11244 4
11245 \family default 
11246  textclass should also be pretty easy to use.
11247 \layout Standard
11248
11249 These documents are supposed to be used in
11250 \emph on 
11251  addition
11252 \emph default 
11253  to the RevTeX 4.0 documents, so we don't describe any of the special RevTeX
11254  macros, and assume you'll know what to put in the preamble if necessary.
11255 \layout Subsection
11256
11257 Instalacja
11258 \layout Standard
11259
11260 All you need to do is install RevTeX 4, as described in the package's README
11261  file.
11262  the package can be found at
11263 \begin_inset LatexCommand \url[The RevTeX 4 Web Site]{http://publish.aps.org/revtex4/}
11264
11265 \end_inset 
11266
11267 .
11268  Install it somewhere that LaTeX can see it.
11269  Test it by trying to LaTeX a short RevTeX 4 document in some random directory
11270  (i.e., not the directory where you installed the class file.) Then, if you
11271  reconfigure LyX, it will find the class file and let you use the RevTeX4
11272  textclass.
11273 \layout Standard
11274
11275 Probably the easiest way to get started is either to import a RevTeX 4 document
11276  using
11277 \family typewriter 
11278 reLyX
11279 \family default 
11280 , or to use the
11281 \family sans 
11282 Revtex\SpecialChar ~
11283 4
11284 \family default 
11285  template, found in the templates directory.
11286 \layout Subsection
11287
11288 Preambu³a Matter
11289 \layout Standard
11290
11291 Optional arguments to
11292 \family typewriter 
11293
11294 \backslash 
11295 documentclass
11296 \family default 
11297 , like ,,preprint'' and ,,aps'', go in the
11298 \family sans 
11299  E
11300 \bar under 
11301 x
11302 \bar default 
11303 tra Options
11304 \family default 
11305  field in the
11306 \family sans 
11307  Document Layout
11308 \family default 
11309  popup, as usual.
11310  Remember that in RevTeX, at least one optional argument is required!
11311 \layout Standard
11312
11313 Other preamble matter, like
11314 \family typewriter 
11315  
11316 \backslash 
11317 draft
11318 \family default 
11319  etc.
11320  goes in the
11321 \family sans 
11322  Latex Preamble
11323 \family default 
11324  popup, also as usual.
11325 \layout Subsection
11326
11327 Uk³ad
11328 \layout Standard
11329
11330 The layouts basically correspond to the commands in RevTeX4.0.
11331  For example, the Email layout corresponds to
11332 \family typewriter 
11333
11334 \backslash 
11335 email{}
11336 \family default 
11337 .
11338  Note that (at least as of RevTeX 4.0 Beta), the
11339 \family sans 
11340 Address
11341 \family default 
11342  and
11343 \family sans 
11344 Affiliation
11345 \family default 
11346  layouts are exactly equivalent, so you shouldn't need to use both.
11347 \begin_inset Foot
11348 collapsed false
11349
11350 \layout Standard
11351
11352 In case you're curious, both were included so that
11353 \family typewriter 
11354 reLyX
11355 \family default 
11356  would be able to translate both
11357 \family typewriter 
11358
11359 \backslash 
11360 address
11361 \family default 
11362  and
11363 \family typewriter 
11364
11365 \backslash 
11366 affiliation
11367 \family default 
11368 .
11369 \end_inset 
11370
11371 Wa¿ne uwagi
11372 \layout Standard
11373
11374 There are a couple of important unique aspects of RevTeX 4 which might cause
11375  bugs that will be even more confusing in LyX.
11376 \layout Standard
11377
11378 In RevTeX, the
11379 \family typewriter 
11380
11381 \backslash 
11382 thanks
11383 \family default 
11384  command goes
11385 \emph on 
11386 outside
11387 \emph default 
11388  the
11389 \family typewriter 
11390  
11391 \backslash 
11392 author
11393 \family default 
11394  command.
11395  The LyX equivalent is that there is a separate Thanks layout.
11396  Do
11397 \emph on 
11398 not
11399 \emph default 
11400  write footnotes in the
11401 \family sans 
11402 Author
11403 \family default 
11404  layout, or weird things may happen.
11405  See the RevTeX 4 documentation for more details.
11406 \layout Standard
11407
11408 Also, the
11409 \family sans 
11410  Author\SpecialChar ~
11411 Email
11412 \family default 
11413 ,
11414 \family sans 
11415 Author\SpecialChar ~
11416 URL
11417 \family default 
11418 , and
11419 \family sans 
11420  Thanks
11421 \family default 
11422  layouts must be placed
11423 \emph on 
11424  in between
11425 \emph default 
11426  the
11427 \family sans 
11428 Author
11429 \family default 
11430  layout and the corresponding
11431 \family sans 
11432  Address
11433 \family default 
11434  (or equivalent
11435 \family sans 
11436  Affiliation
11437 \family default 
11438 ) layout.
11439  If you put the
11440 \family sans 
11441  Thanks
11442 \family default 
11443  after the
11444 \family sans 
11445  Address
11446 \family default 
11447 , the LaTeX won't compile.
11448 \layout Subsection
11449
11450 Drawbacks
11451 \layout Standard
11452
11453 The main problem with this layout is that you can't use the optional arguments
11454  to layouts like Email and Title.
11455  (The problem is not unique to this layout; in LyX 1.0, you can't use optional
11456  arguments to the Section layouts.) This means that after you export that
11457  file to LaTeX (which you'll need to do eventually to send it in to APS),
11458  you'll need to edit the LaTeX file with a text editor to add the optional
11459  arguments to set, e.g., the running title for the page headers.
11460  Lacking these layouts makes the
11461 \family typewriter 
11462
11463 \backslash 
11464 altaffiliation
11465 \family default 
11466  (and the equivalent
11467 \family typewriter 
11468
11469 \backslash 
11470 altaddress
11471 \family default 
11472 ) useless, so the corresponding layouts don't exist, and will have to be
11473  added by hand.
11474  This drawback will be fixed in LyX 1.2.
11475 \layout Section
11476
11477 article (mwart), book (mwbk) i report (mwrep)
11478 \layout Standard
11479
11480 by 
11481 \noun on 
11482 Tomasz £uczak
11483 \layout Standard
11484
11485 Klasy dokumentu
11486 \emph on 
11487  article (mwart)
11488 \emph default 
11489 ,
11490 \emph on 
11491  report (mwrep)
11492 \emph default 
11493  i
11494 \emph on 
11495  book (mwbk)
11496 \emph default 
11497  autorstwa marcina Woliñskiego odpowiadaj± klasom LateX-a odpowiednio:
11498 \family typewriter 
11499  mwart.cls
11500 \family default 
11501 ,
11502 \family typewriter 
11503  mwbk.cls
11504 \family default 
11505  i
11506 \family typewriter 
11507  mwrep.cls
11508 \family default 
11509 .
11510  Zastêpuj± one standardowe klasy:
11511 \family typewriter 
11512  article.cls
11513 \family default 
11514 ,
11515 \family typewriter 
11516  book.cls
11517 \family default 
11518  i
11519 \family typewriter 
11520  report.cls
11521 \family default 
11522 .
11523  S± one zgodne z polskimi zwyczajami typograficznymi.
11524 \layout Standard
11525
11526 Podstawowe ró¿nice:
11527 \layout Itemize
11528
11529 Nienumerowane tytularia ( z gwiazdk±) s± dopisywane do spisu tre¶ci.
11530 \layout Itemize
11531
11532 Dodatkowe style strony:
11533 \begin_deeper 
11534 \layout Description
11535
11536 uheadings pagina górna z lini± oddzielaj±c±,
11537 \layout Description
11538
11539 myheadings pagina górna z zadawan± tre¶ci± poleceniami: 
11540 \family typewriter 
11541
11542 \backslash 
11543 markright
11544 \family default 
11545  i 
11546 \family typewriter 
11547
11548 \backslash 
11549 markboth
11550 \family default 
11551 ,
11552 \layout Description
11553
11554 myuheadings pagina górna z zadawan± tre¶ci± z lini± oddzielaj±c±,
11555 \layout Description
11556
11557 outer paginacja w stopce od strony zewnêtrznego marginesu
11558 \end_deeper 
11559 \layout Itemize
11560
11561 Opcje 
11562 \begin_deeper 
11563 \layout Description
11564
11565 rmheadings szeryfowe tytularia -- opcja domy¶lna
11566 \layout Description
11567
11568 sfheadings bezszeryfowe tytularia
11569 \layout Description
11570
11571 authortitle najpierw autor poni¿ej tytu³ -- opcja domy¶lna
11572 \layout Description
11573
11574 titleauthor najpierw tytu³ poni¿ej autor
11575 \layout Description
11576
11577 withmarginpar rezerwuje miejsce na marginalia
11578 \end_deeper 
11579 \layout Chapter
11580
11581 Import i eksport innych formatów plików
11582 \layout Section
11583
11584 Wprowadzenie
11585 \layout Standard
11586
11587 Zagadnienie importu i eksportu z/do innych formatów plików zosta³o wspomniane
11588  w 
11589 \emph on 
11590 Podrêczniku U¿ytkownika
11591 \emph default 
11592 .
11593  W tym rozdziale jest opisane wiêcej szczegó³ów potrzebnych do zrozumienia
11594  tego co siê dzieje po naci¶niêciu polecenia
11595 \family sans 
11596 \bar under 
11597  P
11598 \bar default 
11599 lik\SpecialChar \menuseparator
11600
11601 \bar under 
11602 I
11603 \bar default 
11604 mportuj
11605 \family default 
11606  i
11607 \family sans 
11608 \bar under 
11609  P
11610 \bar default 
11611 lik\SpecialChar \menuseparator
11612 E
11613 \bar under 
11614 x
11615 \bar default 
11616 portuj
11617 \family default 
11618 .
11619 \layout Section
11620
11621 Import z innych formatów
11622 \layout Subsection
11623
11624 LaTeX
11625 \layout Standard
11626
11627 T³umaczenie z LaTeX-a do LyX-a jest dokonywane przez Perl za pomoc± skryptów
11628  wywo³ywanych przez reLyX.
11629  Ponadto jest to samodzielny program, który mo¿e byæ wywo³ywany z wiersza
11630  poleceñ.
11631  LyX wywo³uje go automatycznie podczas importu pliku LaTeX-a.
11632  Zobacz sekcjê
11633 \begin_inset LatexCommand \ref{sec:reLyX}
11634
11635 \end_inset 
11636
11637  dla pe³niejszego opisu.
11638  Nie ma parametrów do ustawiania przez u¿ytkownika.
11639 \layout Subsection
11640
11641 ASCII
11642 \layout Standard
11643
11644 S± dwie metody importu plików tekstowych ASCII.
11645  Import ,,jako wiersze'' zachowuje wszystkie koñce wierszy z pliku ASCII
11646  do LyX-a, wówczas ka¿dy wiersz jest oddzielnym akapitem.
11647  Podczas importu ,,jako akapit'' kolejne wiersze ³±czone s± w jeden akapit.
11648  Pusty wiersz traktowany jest jako separator akapitów.
11649 \layout Subsection
11650
11651 Noweb
11652 \layout Standard
11653
11654
11655 \emph on 
11656 [Editor's note: Needs to be written, obviously - any volunteers? --- mer]
11657 \layout Section
11658
11659 Eksport do innych formatów
11660 \layout Subsection
11661
11662 LaTeX
11663 \layout Standard
11664
11665 LyX tworzy dwa typy plików LaTeX-owych: pliki do normalnego przetwarzania
11666  (do podgl±du DVI itp.), które nie s± nigdy ogl±dane oraz pliki o formie
11667  czytelnej dla ludzi.
11668  Jedyn± mo¿liw± do ustawienia jest dyrektywa
11669 \family typewriter 
11670
11671 \backslash 
11672 ascii_linelen
11673 \family default 
11674  okre¶laj±ca maksymaln± d³ugo¶æ wiersza pliku, domy¶ln± warto¶ci± jest 75
11675  znaków.
11676  Plik wynikowy jest poprawnym plikiem LaTeX-a, lecz preambu³a mo¿e wygl±daæ
11677  trochê przera¿aj±co poniewa¿ zawiera kilka definicji u¿ywanych przez LyX-a,
11678  które nie wygl±daj± na utworzone przez cz³owieka.
11679 \layout Subsection
11680
11681 DVI
11682 \layout Standard
11683
11684 Plik DVI (skrót od
11685 \family sans 
11686  D
11687 \family default 
11688 e
11689 \family sans 
11690 V
11691 \family default 
11692 ice
11693 \family sans 
11694  I
11695 \family default 
11696 ndependent -- ,,sprzêtowo niezale¿ne'') s± tworzone podczas przetwarzania
11697  Twojego dokumentu przez LaTeX.
11698  Nie ma ¿adnych opcji do ustawienia przez u¿ytkownika.
11699 \layout Subsection
11700
11701 PostScript
11702 \layout Standard
11703
11704 Nastêpny krokiem w ³añcuchu konwersji jest konwersja pliku DVI do PostScript.
11705  Najczê¶ciej u¿ywanym do tego celu programem jest program
11706 \family typewriter 
11707  dvips
11708 \family default 
11709 .
11710  Wybrany program nale¿y podaæ w pliku
11711 \family typewriter 
11712  lyxrc
11713 \family default 
11714  w dyrektywie
11715 \family typewriter 
11716  
11717 \backslash 
11718 print_command
11719 \family default 
11720 .
11721  Argumenty wiersza poleceñ, np.
11722  dla dvips polecenia druku w odwrotnej kolejno¶ci (
11723 \family typewriter 
11724 -r
11725 \family default 
11726 ) mo¿na podaæ w dyrektywie
11727 \family typewriter 
11728  
11729 \backslash 
11730 print_extra_options
11731 \family default 
11732 .
11733 \layout Subsection
11734
11735 ASCII
11736 \layout Standard
11737
11738 Eksport do ASCII próbuje zachowaæ ,,kszta³t'' dokumentu jak to mo¿liwe,
11739  ale takie elementy jak centrowanie i wciêcia s± odrzucane, a akapity s±
11740  rozdzielane pustym wierszem.
11741  Numeracja sekcji i odno¶ników jest wykonana poprawnie, tak ¿e w efekcie
11742  plik jest do¶æ przejrzysty.
11743  Jedyn± mo¿liw± do ustawienia jest dyrektywa
11744 \family typewriter 
11745  
11746 \backslash 
11747 ascii_linelen
11748 \family default 
11749  okre¶laj±ca maksymaln± d³ugo¶æ wiersza pliku ASCII.
11750 \layout Subsection
11751
11752 HTML
11753 \layout Standard
11754
11755 Dokumenty LyX-a mog± byæ konwertowane do formatu hipertekstowego, zwykle
11756  najpierw dokonywana jest konwersja do LaTeX-a, który konwertuje do formatu
11757  HTML.
11758 \layout Standard
11759
11760 Aktualnie s± dostêpne dla LyX-a trzy konwertery LaTeX
11761 \begin_inset Formula $\rightarrow$
11762 \end_inset 
11763
11764 HTML:
11765 \family typewriter 
11766  tth
11767 \family default 
11768 ,
11769 \family typewriter 
11770  latex2html
11771 \family default 
11772  i
11773 \family typewriter 
11774  hevea
11775 \family default 
11776 .
11777  S± one wykrywane automatycznie, jednak mo¿na wymusiæ wybór jednego z nich
11778  dyrektyw± w pliku konfiguracyjnym
11779 \family typewriter 
11780  
11781 \backslash 
11782 html_command
11783 \family default 
11784 .
11785  W tej dyrektywie mo¿na tak¿e do³±czyæ argumenty wiersza poleceñ.
11786  Czytaj komentarze w pliku
11787 \family typewriter 
11788  lyxrc
11789 \family default 
11790 , które zawieraj± najbardziej aktualne informacje dotycz±ce szczegó³ów u¿ycia
11791  poszczególnych dyrektyw.
11792 \layout Subsection
11793
11794 PDF
11795 \layout Standard
11796
11797 by
11798 \noun on 
11799  Dekel Tsur
11800 \noun default 
11801  (mostly)
11802 \layout Standard
11803
11804 Najszybsz± drog± do tworzenia plików PDF (bez znaczników, linków itp.) w
11805  dowolnej wersji LyX-a jest zapisanie dokumentu w formacie PostScript, a
11806  nastêpnie uruchomienie polecenia
11807 \family typewriter 
11808  ps2pdf
11809 \family default 
11810 .
11811  Pocz±wszy od wersji 1.1.6 dostêpna jest pozycja menu
11812 \family sans 
11813 \bar under 
11814  P
11815 \bar default 
11816 lik\SpecialChar \menuseparator
11817 Exportuj\SpecialChar \menuseparator
11818 PDF
11819 \family default 
11820 .
11821  Od wersji 1.1.6 jest to najlepsza droga do uzyskania porz±dnych plików PDF.
11822  Jest trochê k³opotów z czcionkami, na które powiniene¶ uwa¿aæ -- zobacz
11823 \begin_inset LatexCommand \ref{sec:badfonts}
11824
11825 \end_inset 
11826
11827 .
11828 \layout Subsubsection
11829
11830 U¿ycie pdfLaTeX
11831 \layout Standard
11832
11833 Korzystaj±c z pdfLaTeX potrzebujesz skonwertowaæ swoje obrazki EPS do formatu
11834  PDF (zobacz
11835 \begin_inset LatexCommand \ref{sec:pdfeps}
11836
11837 \end_inset 
11838
11839 ) i nie mo¿esz u¿ywaæ pstricks.
11840  Z drugiej strony, korzystaj±c z pdfLaTeX mo¿na wstawiaæ wprost rysunki
11841  w formatach JPEG lub PNG, u¿ywaæ czcionek TrueType i wiele innych.
11842 \layout Subsubsection
11843
11844 Dlaczego tekst wygl±da ma³o czytelnie przy podgl±dzie za pomoc± Acrobat
11845  Reader?
11846 \begin_inset LatexCommand \label{sec:badfonts}
11847
11848 \end_inset 
11849
11850
11851 \layout Standard
11852
11853 ¬ród³em k³opotów s± czcionki bitmapowe brzydko wy¶wietlane przez Acrobat
11854  Reader.
11855  Podczas tworzenia pliku PDF z pliku LyX-a potrzebujesz czcionek obwiedniowych
11856  zamiast bitmapowych (w rzeczywisto¶ci powiniene¶ tak¿e u¿ywaæ czcionek
11857  obwiedniowych w plikach postscriptowych).
11858 \layout Standard
11859
11860 Ostatnie dystrybucje LaTeX-a posiadaj± standardowe czcionki CM (Computer
11861  Modern) PostScript Type 1.
11862  PdfLaTeX u¿ywa tych czcionek domy¶lnie.
11863  Dvips nie u¿ywa ich domy¶lnie, dla ich u¿ycia nale¿y dopisaæ do pliku
11864 \family typewriter 
11865  ~/.dvipsrc
11866 \family default 
11867  nastêpuj±ce wiersze
11868 \layout LyX-Code
11869
11870 p+ psfonts.cmz
11871 \layout LyX-Code
11872
11873 p+ psfonts.amz
11874 \layout Standard
11875
11876 Je¶li u¿ywane jest domy¶lne kodowanie LaTeX-a (OT1), to nie trzeba robiæ
11877  nic wiêcej.
11878  Ale je¶li u¿ywane jest kodowanie T1 to LaTeX u¿ywa nowych czcionek EC,
11879  dla których nie ma wersji Type1.
11880  Rozwi±zaniem jest u¿ycie pakietu ae, który emuluje kodowanie T1 u¿ywaj±c
11881  czcionek CM.
11882  Nale¿y wówczas w preambule dopisaæ
11883 \family typewriter 
11884  
11885 \backslash 
11886 usepackage{ae,aecompl}
11887 \family default 
11888 .
11889  Jednak niektórych znaków brakuje w czcionkach CM (np.
11890  eth, thorn) i s± one pobierane z czcionek EC.
11891  Dlatego pobierane s± znaki jako bitmapy.
11892 \layout Standard
11893
11894 Uwaga: LyX u¿ywa domy¶lnie kodowania T1.
11895  Je¶li chcesz stosowaæ domy¶lne kodowanie (co nie jest zalecane chyba ¿e
11896  piszesz tylko w jêzyku angielskim), dodaj wiersz
11897 \family typewriter 
11898  
11899 \backslash 
11900 font_encoding default
11901 \family default 
11902  do pliku
11903 \family typewriter 
11904  ~/.lyx/lyxrc
11905 \family default 
11906 .
11907  
11908 \begin_inset Foot
11909 collapsed false
11910
11911 \layout Standard
11912
11913 Dla sk³adu w jêzyku polskim zaleca siê stosowaæ kodowanie OT4 oraz pakiet
11914  
11915 \family typewriter 
11916 polski
11917 \family default 
11918  zamiast pakietu 
11919 \family typewriter 
11920 babel
11921 \family default 
11922 .
11923  Pakiet 
11924 \family typewriter 
11925 polski
11926 \family default 
11927  w³±cza spolonizowane czcionki CM w uk³adzie OT4 zwane
11928 \family sans 
11929  
11930 \family default 
11931 czcionkami PL.
11932  Czcionki PL wystêpuj± równie¿ w wersji obwiedniowej co rozwi±zuje problemy
11933  z Acrobat Readerem.
11934  Przyp.
11935  t³um.
11936 \end_inset 
11937
11938  Alternatyw± jest u¿ycie standardowych czcionek postscriptowych zamiast
11939  czcionek CM.
11940  Do tego potrzebujesz wybraæ pslatex jako globaln± czcionkê w oknie uk³adu
11941  dokumentu.
11942  Gdy u¿ywamy czcionek postsciptowych to pliki PDF s± mniejsze o czcionki
11943  nie do³±czone do pliku.
11944  Ponadto czcionki postscriptowe do³±czaj± wszystkie krzywe T1.
11945  Z drugiej za¶ strony czcionki postscriptowe nie posiadaj± pó³grubych czcionek
11946  symboli i musz± byæ u¿yte pmb (poor man's bold, zobacz
11947 \begin_inset LatexCommand \ref{sec:pdfbold}
11948
11949 \end_inset 
11950
11951 ).
11952  Czcionki postscriptowe tak¿e wygl±daj± inaczej z zestawu czcionek CM.
11953 \layout Standard
11954
11955 Podsumowuj±c czcionki postscriptowe i Computer Modern daj± dobre rezultaty
11956  (z kilkoma wyj±tkami).
11957  Decyzja których u¿ywaæ jest kwesti± gustu.
11958 \layout Subsubsection
11959
11960 Jak mogê u¿yæ pdfLaTeX z obrazkami w formacie EPS?
11961 \begin_inset LatexCommand \label{sec:pdfeps}
11962
11963 \end_inset 
11964
11965
11966 \layout Standard
11967
11968 PdfLaTeX nie obs³uguje w³±czania plików EPS, ale obs³uguje w³±czanie plików
11969  PDF.
11970  Je¶li masz dokumenty z w³±czonymi rysunkami EPS, np.
11971  plik
11972 \family typewriter 
11973  foo.eps
11974 \family default 
11975 , to powiniene¶:
11976 \layout Enumerate
11977
11978 Skonwertuj
11979 \family typewriter 
11980  foo.eps
11981 \family default 
11982  do PDF za pomoc±
11983 \family typewriter 
11984  epstopdf foo.eps
11985 \layout Enumerate
11986
11987 Kiedy wstawiasz rysunek w dokumencie nie podawaj rozszerzenia nazwy pliku:
11988  na przyk³ad, wstawiaj±c plik
11989 \family typewriter 
11990  foo.eps
11991 \family default 
11992  wystarczy wpisaæ tylko
11993 \family typewriter 
11994  foo
11995 \family default 
11996  w oknie dialogowym.
11997 \layout Standard
11998
11999 Uwaga: W LyX 1.2.0 bêdzie mo¿liwe wstawianie ró¿nych rodzajów rysunków ze
12000  wszystkimi niezbêdnymi transformacjami.
12001  Czê¶ciowo funkcjonalne wstawianie istnieje w wersji 1.1.6, do u¿ycia nale¿y
12002  wpisaæ
12003 \family typewriter 
12004  M-x graphics-insert
12005 \family default 
12006 .
12007 \layout Subsubsection
12008
12009 Dlaczego polecenie 
12010 \backslash 
12011 boldsymbol{} nie dzia³a gdy u¿ywam pslatex?
12012 \begin_inset LatexCommand \label{sec:pdfbold}
12013
12014 \end_inset 
12015
12016
12017 \layout Standard
12018
12019 Czcionki PostScript nie posiadaj± symboli pó³grubych.
12020  Rozwi±zaniem jest u¿ycie polecenia
12021 \family typewriter 
12022  
12023 \backslash 
12024 pmb{}
12025 \family default 
12026  (poor man's bold).
12027 \layout Standard
12028
12029 Jest to mo¿liwe przez przedefiniowanie polecenia
12030 \family typewriter 
12031  
12032 \backslash 
12033 boldsymbol
12034 \family default 
12035  do u¿ycia
12036 \family typewriter 
12037  
12038 \backslash 
12039 pmb
12040 \family default 
12041  przez:
12042 \layout LyX-Code
12043
12044
12045 \backslash 
12046 renewcommand{
12047 \backslash 
12048 boldsymbol}[1]{
12049 \backslash 
12050 pmb{#1}}
12051 \layout Standard
12052
12053 w preambule.
12054 \layout Subsubsection
12055
12056 Czy jest mo¿liwe zapisanie kodu przetwarzanego tylko przez pdfLaTeX-a?
12057 \layout Standard
12058
12059 Tak.
12060  Oto przyk³ad:
12061 \layout LyX-Code
12062
12063
12064 \backslash 
12065 newif
12066 \backslash 
12067 ifpdf
12068 \layout LyX-Code
12069
12070
12071 \backslash 
12072 ifx
12073 \backslash 
12074 pdfoutput
12075 \backslash 
12076 undefined
12077 \layout LyX-Code
12078
12079
12080 \backslash 
12081 pdffalse
12082 \layout LyX-Code
12083
12084
12085 \backslash 
12086 else
12087 \layout LyX-Code
12088
12089
12090 \backslash 
12091 pdftrue
12092 \layout LyX-Code
12093
12094
12095 \backslash 
12096 fi
12097 \layout LyX-Code
12098
12099 \layout LyX-Code
12100
12101
12102 \backslash 
12103 ifpdf
12104 \layout LyX-Code
12105
12106
12107 \backslash 
12108 pdfinfo { /Author (your name and e-mail address)
12109 \layout LyX-Code
12110
12111       /Title (official title -- i.e., title element)
12112 \layout LyX-Code
12113
12114       /Subject (one line description of the document)
12115 \layout LyX-Code
12116
12117    }
12118 \layout LyX-Code
12119
12120
12121 \backslash 
12122 pdfcatalog { /PageMode (/UseNone)
12123 \layout LyX-Code
12124
12125    % /OpenAction (fitbh)
12126 \layout LyX-Code
12127
12128    }
12129 \layout LyX-Code
12130
12131
12132 \backslash 
12133 usepackage[pdftex]{hyperref}
12134 \layout LyX-Code
12135
12136
12137 \backslash 
12138 else
12139 \layout LyX-Code
12140
12141
12142 \backslash 
12143 usepackage[ps2pdf]{hyperref}
12144 \layout LyX-Code
12145
12146
12147 \backslash 
12148 fi
12149 \layout Subsection
12150
12151 Eksport u¿ytkownika
12152 \layout Standard
12153
12154 Eksport u¿ytkownika jest mo¿liwy je¶li masz dziwny format do którego chcesz
12155  konwertowaæ, zak³adaj±c, ¿e masz odpowiedni konwerter.
12156  Format pliku wej¶ciowego jest podany w dyrektywie
12157 \family typewriter 
12158  
12159 \backslash 
12160 custom_export_format
12161 \family default 
12162 .
12163  LyX bêdzie automatycznie konwertowa³ plik do tego miejsca, a wtedy zostanie
12164  on przekazany do Twojego konwertera.
12165  Mo¿liwymi warto¶ciami s±:
12166 \family typewriter 
12167  lyx
12168 \family default 
12169 ,
12170 \family typewriter 
12171  dvi
12172 \family default 
12173 ,
12174 \family typewriter 
12175  tex
12176 \family default 
12177 ,
12178 \family typewriter 
12179  ps
12180 \family default 
12181  i
12182 \family typewriter 
12183  ascii
12184 \family default 
12185 .
12186 \layout Standard
12187
12188 Polecenie wywo³ania konwertera jest podane w dyrektywie
12189 \family typewriter 
12190  
12191 \backslash 
12192 custom_export_command
12193 \family default 
12194 .
12195  To powinno byæ kompletne polecenie wiersza poleceñ, które wykorzystuje
12196  zmienn± ¶rodowiska
12197 \family typewriter 
12198  $$FNAME
12199 \family default 
12200  do przekazania nazwy pliku g³ównego.
12201 \layout Standard
12202
12203 Mo¿e bêdziesz musia³ trochê poprawiæ podan± sekwencjê, dla zgodno¶ci z twoj±
12204  pow³ok±.
12205 \layout Standard
12206
12207 Omawiany sposób eksportu ustawia siê w domy¶lnym lokalnym pliku
12208 \family typewriter 
12209  lyxrc
12210 \family default 
12211 .
12212  Gdy wybierzesz polecenie
12213 \family sans 
12214 \bar under 
12215  P
12216 \bar default 
12217 lik\SpecialChar \menuseparator
12218
12219 \bar under 
12220  E
12221 \bar default 
12222 ksportuj\SpecialChar \menuseparator
12223
12224 \bar under 
12225  C
12226 \bar default 
12227 ustom
12228 \family default 
12229 , pojawi siê okno, w którym mo¿na zmieniæ dowoln± warto¶æ.
12230 \layout Section
12231
12232 Pe³ny opis reLyX
12233 \begin_inset LatexCommand \label{sec:reLyX}
12234
12235 \end_inset 
12236
12237
12238 \layout Subsection
12239
12240 Synopsis
12241 \layout Standard
12242
12243 Najprostszym sposobem u¿ycia reLyX-a jest u¿ycie polecenia 
12244 \family sans 
12245 Plik\SpecialChar \menuseparator
12246 Importuj
12247 \family default 
12248  (polecenie jest dostêpne w LyX-ie pocz±wszy od wersji 1.0.0).
12249  Polecenie uruchamia reLyX i podaje mu plik wej¶ciowy, a nastêpnie wczytuje
12250  rezultat do LyX-a.
12251  Ten sposób powiniene¶ spróbowaæ jako pierwszy, a korzystaæ z wywo³ania
12252  z wiersza poleceñ tylko, je¶li potrzebujesz bardziej skomplikowanych opcji.
12253 \layout Standard
12254
12255
12256 \series bold 
12257 reLyX
12258 \series default 
12259  [
12260 \series bold 
12261 -c
12262 \series default 
12263 \shape italic 
12264  textclass
12265 \shape default 
12266  ] [
12267 \series bold 
12268 -df
12269 \series default 
12270  ] [
12271 \series bold 
12272 -o
12273 \series default 
12274 \shape italic 
12275  outputdir
12276 \shape default 
12277  ] [
12278 \series bold 
12279 -r
12280 \series default 
12281 \shape italic 
12282  renv1
12283 \shape default 
12284 [,
12285 \shape italic 
12286 renv2
12287 \shape default 
12288 ...]] [
12289 \series bold 
12290 -s
12291 \series default 
12292 \shape italic 
12293  sfile1
12294 \shape default 
12295 [,
12296 \shape italic 
12297 sfile2
12298 \shape default 
12299 ...]]
12300 \emph on 
12301  inputfile
12302 \layout Standard
12303
12304
12305 \series bold 
12306 reLyX -p -c
12307 \series default 
12308 \shape italic 
12309  textclass
12310 \shape default 
12311  [
12312 \series bold 
12313 -df
12314 \series default 
12315  ] [
12316 \series bold 
12317 -o
12318 \series default 
12319 \shape italic 
12320  outputdir
12321 \shape default 
12322  ] [
12323 \series bold 
12324 -r
12325 \series default 
12326 \shape italic 
12327  renv1
12328 \shape default 
12329 [,
12330 \shape italic 
12331 renv2
12332 \shape default 
12333 ...]] [
12334 \series bold 
12335 -s
12336 \series default 
12337 \shape italic 
12338  sfile1
12339 \shape default 
12340 [,
12341 \shape italic 
12342 sfile2
12343 \shape default 
12344 ...]]
12345 \emph on 
12346  inputfiles
12347 \layout Standard
12348
12349
12350 \series bold 
12351 reLyX -h
12352 \layout Subsection
12353
12354 Opcje
12355 \layout Description
12356
12357 -c Klasa (class).
12358  Domy¶lnie, gdy reLyX zobaczy polecenie 
12359 \family typewriter 
12360
12361 \backslash 
12362 documentclass{foo}
12363 \family default 
12364 , tworzy plik klasy ,,foo'' i wczytuje plik uk³adu LyX-a dla tej klasy (zwykle
12365  /usr/share/lyx/layouts/foo.layout lub
12366 \series bold 
12367  ~
12368 \series default 
12369 /.lyx/layouts/foo.layout).
12370   U¿yj opcji
12371 \series bold 
12372  -c
12373 \series default 
12374  aby zadeklarowaæ inn± klasê dokumentu (i wczytaæ inny plik uk³adu).
12375 \layout Description
12376
12377 -d Diagnostyka (debug).
12378  Domy¶lnie, reLyX rzadko daje wyj¶cie i usuwa pliki tymczasowe utworzone
12379  podczas konwersji.
12380  U¿ycie parametru 
12381 \series bold 
12382 -d
12383 \series default 
12384  utworzy wiele wiêcej informacji wyj¶ciowych (do stdout i stderr) i pozostawia
12385  pliki tymczasowe.
12386 \layout Description
12387
12388 -f (force).
12389  reLyX nie uruchamia siê je¶li plik .lyx, który ma zostaæ utworzony istnieje.
12390  U¿yj (ostro¿nie) opcji 
12391 \series bold 
12392 -f
12393 \series default 
12394  aby zast±piæ istniej±ce pliki.
12395 \layout Description
12396
12397 -h Pomoc (help).
12398  Drukuje informacje o sposobie u¿ycia i koñczy pracê.
12399 \layout Description
12400
12401 -o Katalog wyj¶ciowy (output directory).
12402  W przypadku u¿ycia tej opcji, wszystkie pliki tymczasowe i wyj¶ciowe LyX-a
12403  (dla podanego pliku wej¶ciowego lub dla dowolnych plików czê¶ciowych podanych
12404  z parametrem 
12405 \series bold 
12406 -p
12407 \series default 
12408 ) zostan± umieszczone w katalogu
12409 \shape italic 
12410  outputdir
12411 \shape default 
12412 .
12413  W innym przypadku, dla ka¿dego pliku
12414 \emph on 
12415  dir/foo.tex
12416 \emph default 
12417 , pliki tymczasowe i pliki wyj¶ciowe LyX-a zostan± umieszczone w katalogu
12418 \emph on 
12419  dir
12420 \emph default 
12421 .
12422  To mo¿e byæ u¿yteczne je¶li w³±czasz pliki z innych katalogów, a które
12423  chcesz umie¶ciæ we wspólnym folderze lub nie masz praw zapisu w ich folderach
12424  ¼ród³owych.
12425 \layout Description
12426
12427 -p Plik czê¶ciowy (partial).
12428  Wej¶ciem jest fragment pliku LaTeX-a bez preambu³y lub bez polecenia
12429 \family typewriter 
12430  
12431 \backslash 
12432 begin{document}
12433 \family default 
12434 .
12435  Ta opcja wymaga parametru
12436 \series bold 
12437  -c
12438 \series default 
12439 , poniewa¿ plik ¼ród³owy nie posiada preambu³y z deklaracj± klasy:
12440 \family typewriter 
12441  
12442 \backslash 
12443 documentclass
12444 \family default 
12445 .
12446  Gdy u¿ywasz tej opcji, to mo¿esz konwertowaæ wiêcej ni¿ jeden plik, dopóki
12447  wszystkie pliki s± tej samej klasy.
12448  Pliki LyX-a utworzone przez reLyX mog± byæ do³±czane do istniej±cych plików
12449  LyX-a za pomoc± polecenia 
12450 \family sans 
12451 Wstaw\SpecialChar \menuseparator
12452  Do³±cz Plik
12453 \family default 
12454 .
12455 \layout Description
12456
12457 -r ¦rodowiska regularne (regular environments) (zobacz sekcjê
12458 \shape italic 
12459  Pliki sk³adni
12460 \shape default 
12461 ).
12462   Je¶li podajesz wiêcej ni¿ jedno ¶rodowisko, to rozdzielaj je przecinkiem
12463  (bez spacji).
12464  Bêdziesz prawdopodobnie potrzebowa³ listê ¶rodowisk umie¶ciæ w cudzys³owie,
12465  szczególnie gdy umie¶ci³e¶ na li¶cie ¶rodowiska z gwiazdk± (foo*).
12466  Je¶li czêsto u¿ywasz tego parametru, to rozwa¿ utworzenie osobistego pliku
12467  sk³adni.
12468 \layout Description
12469
12470 -s Plik sk³adni (syntax file).
12471  Dodatkowe pliki sk³adni (umieszczaj w cudzys³owie, rozdzielaj przecinkiem)
12472  do wczytania (zobacz sekcjê
12473 \shape italic 
12474  Pliki sk³adni
12475 \shape default 
12476  aby poznaæ szczegó³y).
12477 \layout Subsection
12478
12479 Opis
12480 \layout Subsubsection
12481
12482 Wprowadzenie
12483 \layout Standard
12484
12485 reLyX tworzy plik LyX-a 
12486 \emph on 
12487 dir/foo.lyx
12488 \emph default 
12489  na podstawie pliku LaTeX-a 
12490 \emph on 
12491 dir/foo.tex
12492 \emph default 
12493  (je¶li nie podano opcji
12494 \series bold 
12495  -o
12496 \series default 
12497 ).
12498 \layout Standard
12499
12500 Rozszerzenia plików .tex, .ltx i .latex s± obs³ugiwane.
12501  Je¶li 
12502 \emph on 
12503 plikwejsciowy
12504 \emph default 
12505  nie istnieje lub nie posiada ¿adnego z podanych rozszerzeñ, to reLyX próbuje
12506  wczytaæ 
12507 \emph on 
12508 plikwejsciowy.tex
12509 \emph default 
12510  (zachowuje siê podobnie jak LaTeX.)
12511 \layout Standard
12512
12513 Przeznaczeniem reLyX jest translacja 
12514 \shape italic 
12515 dobrze zachowuj±ca
12516 \shape default 
12517  z LaTeX2e do LyX-a.
12518  Je¶li twój plik LaTeX nie kompiluje siê lub robi dziwne rzeczy, jak przedefinio
12519 wywanie standardowych poleceñ LaTeX -- it may choke.
12520  Pliki LaTeX209 s± konwertowane poprawnie, ale bez gwarancji.
12521 \layout Standard
12522
12523 reLyX ma kilka b³êdów i brak mu kilku funkcji.
12524  Jednak g³ównymi celami s±:
12525 \layout Itemize
12526
12527 Uporaæ siê z plikiem LaTeX2e bez upadku,
12528 \layout Itemize
12529
12530 Translacja wielu takich plików,
12531 \layout Itemize
12532
12533 Lokalizacja czê¶ci, które nie mog± byæ t³umaczone i kopiowanie ich w trybie
12534  TeX.
12535 \layout Standard
12536
12537 Te g³ówne cele s± osi±gane dla wiêkszo¶ci plików.
12538 \layout Standard
12539
12540 Istnieje wiele ulepszeñ, które mog± byæ i bêd± wprowadzone do reLyX-a w
12541  przysz³o¶ci.
12542  Jednak, my chcemy korzystaæ z reLyX jak najwcze¶niej, aby u³atwiæ nowym
12543  u¿ytkownikom LyX wczytywanie ich istniej±cych plików LaTeX-a.
12544 \layout Subsubsection
12545
12546 U¿ycie
12547 \layout Standard
12548
12549 Tutaj znajduje siê d³u¿szy opis co powiniene¶ zrobiæ, aby skonwertowaæ dokument
12550  LaTeX do dokumentu LyX-a.
12551 \layout Itemize
12552
12553 Uruchom reLyX.
12554 \begin_deeper 
12555 \layout Standard
12556
12557 reLyX bêdzie informowa³ Ciebie o postêpach i wysy³a³ ostrze¿enia do stderr,
12558  je¶li nie chcesz ¿adnych informacji spróbuj ,,
12559 \family typewriter 
12560 reLyX foo.tex > /dev/null
12561 \family default 
12562 ''.
12563  Nie powiniene¶ przekierowywaæ standardowego wyj¶cia do 
12564 \emph on 
12565 foo.lyx
12566 \emph default 
12567 .
12568 \end_deeper 
12569 \layout Itemize
12570
12571 Uruchom LyX (wersja 0.12 lub pó¼niejsza) z wynikowym plikiem .lyx.
12572 \begin_deeper 
12573 \layout Standard
12574
12575 Teoretycznie wiêkszo¶æ pliku zostanie przet³umaczona, a je¶li co¶ nie zostanie
12576  przet³umaczone, to zostanie zaznaczone na czerwono (tryb TeX).
12577  Teoretycznie LyX potrafi wczytaæ plik i utworzyæ dokument na jego podstawie,
12578  poniewa¿ wszystkie nieprzet³umaczone rzeczy zostan± wstawione w trybie
12579  all that untranslated red stuff will be passed directly back to LaTeX,
12580  which LyX  uses as a backend.
12581  Niestety rzeczywisto¶æ nie zawsze jest odzwierciedla teoriê.
12582  Je¶li reLyX przewraca siê lub LyX nie potrafi wczytaæ utworzonego pliku
12583  zobacz wpis 
12584 \family typewriter 
12585 BUGS
12586 \family default 
12587  gdzie¶ w tym dokumencie lub w pliku 
12588 \emph on 
12589 BUGS
12590 \emph default 
12591 .
12592 \end_deeper 
12593 \layout Itemize
12594
12595 Zmieñ pod¶wietlone na czerwono (tryb TeX) rzeczy rêcznie w LyX-ie.
12596 \begin_deeper 
12597 \layout Standard
12598
12599 Jak wspomnia³em powy¿ej, powiniene¶ móc wydrukowaæ plik LyX bez robienia
12600  tego.
12601  Jednak zmiany poleceñ z trybu TeX na odpowiednie obiekty LyX-a pozwol±
12602  na bardziej zaawansowan± edycjê w trybie WYSIWYM.
12603 \layout Standard
12604
12605 reLyX nie gwarantuje utworzenia pliku LyX, który utworzy dok³adnie identyczny
12606  wydruk jak z pliku LaTeX, ale powinien byæ zbli¿ony.
12607  reLyX will generally err on the side of translating less to ensure that
12608  dvi or ps files are accurate, even though this leads to more
12609 \begin_inset Quotes eld
12610 \end_inset 
12611
12612 evil red text
12613 \begin_inset Quotes erd
12614 \end_inset 
12615
12616  and less WYSIWYM.
12617 \end_deeper 
12618 \layout Itemize
12619
12620 Dokonaj KOREKTY dokumentu!
12621 \begin_deeper 
12622 \layout Standard
12623
12624 I'm sure you were planning on doing this anyway, but it's particularly important
12625  after translating a LaTeX document.
12626  reLyX is, at least now, better at
12627 \begin_inset Quotes eld
12628 \end_inset 
12629
12630 macro-translating
12631 \begin_inset Quotes erd
12632 \end_inset 
12633
12634  (translating the whole document) than 
12635 \begin_inset Quotes eld
12636 \end_inset 
12637
12638 micro-translating
12639 \begin_inset Quotes erd
12640 \end_inset 
12641
12642  (translating every little detail).
12643  For example, you may see extra spaces or deleted spaces.
12644  Space handling has improved, but it's not perfect.
12645 \end_deeper 
12646 \layout Subsubsection
12647
12648 Co reLyX mo¿e przechwyciæ
12649 \layout Standard
12650
12651 reLyX rozumie wiele poleceñ LaTeX-a.
12652  Zostan± skonwertowane:
12653 \layout Itemize
12654
12655 zwyk³y tekst, w³±czaj±c minipolecenia takie jak: ~, '',
12656 \family typewriter 
12657
12658 \backslash 
12659 @
12660 \family default 
12661 ,
12662 \family typewriter 
12663
12664 \backslash 
12665 TeX
12666 \family default 
12667 , a tak¿e akcentowane znaki takie jak
12668 \family typewriter 
12669  
12670 \backslash 
12671 '{a}
12672 \family default 
12673  i przypadki specjalne ?` i !`
12674 \layout Itemize
12675
12676 polecenia strony tytu³owej takie jak 
12677 \family typewriter 
12678
12679 \backslash 
12680 author
12681 \family default 
12682
12683 \family typewriter 
12684
12685 \backslash 
12686 date
12687 \family default 
12688
12689 \family typewriter 
12690
12691 \backslash 
12692 title
12693 \family default 
12694
12695 \family typewriter 
12696
12697 \backslash 
12698 thanks
12699 \family default 
12700  i 
12701 \family typewriter 
12702
12703 \backslash 
12704 abstract
12705 \layout Itemize
12706
12707 polecenia struktury tekstu takie jak
12708 \family typewriter 
12709  
12710 \backslash 
12711 section
12712 \family default 
12713  w³±czaj±c polecenia z gwiazdk± (np.
12714  
12715 \family typewriter 
12716
12717 \backslash 
12718 section*
12719 \family default 
12720 )
12721 \layout Itemize
12722
12723 ¦rodowiska: 
12724 \family typewriter 
12725 quote
12726 \family default 
12727
12728 \family typewriter 
12729 quotation
12730 \family default 
12731  i
12732 \family typewriter 
12733  verse
12734 \family default 
12735
12736 \family typewriter 
12737 center
12738 \family default 
12739
12740 \family typewriter 
12741 flushright
12742 \family default 
12743  i 
12744 \family typewriter 
12745 flushleft
12746 \layout Itemize
12747
12748 ¦rodowiska: 
12749 \family typewriter 
12750 itemize
12751 \family default 
12752
12753 \family typewriter 
12754 enumerate
12755 \family default 
12756  i 
12757 \family typewriter 
12758 description
12759 \family default 
12760  oraz ich polecenia 
12761 \family typewriter 
12762
12763 \backslash 
12764 item
12765 \family default 
12766 .
12767  Równie¿ zagnie¿d¿one listy
12768 \layout Itemize
12769
12770 polecenia odno¶ników:
12771 \family typewriter 
12772  
12773 \backslash 
12774 ref
12775 \family default 
12776 ,
12777 \family typewriter 
12778  
12779 \backslash 
12780 pageref
12781 \family default 
12782 ,
12783 \family typewriter 
12784  
12785 \backslash 
12786 label
12787 \family default 
12788  i 
12789 \family typewriter 
12790
12791 \backslash 
12792 cite
12793 \layout Itemize
12794
12795
12796 \family typewriter 
12797
12798 \backslash 
12799 footnote
12800 \family default 
12801  i 
12802 \family typewriter 
12803
12804 \backslash 
12805 margin
12806 \layout Itemize
12807
12808 polecenia zmiany czcionki w³±czaj±c 
12809 \family typewriter 
12810
12811 \backslash 
12812 em
12813 \family default 
12814
12815 \family typewriter 
12816
12817 \backslash 
12818 emph
12819 \family default 
12820
12821 \family typewriter 
12822
12823 \backslash 
12824 textit
12825 \family default 
12826  i odpowiednie polecenia do zmiany rodziny, grubo¶ci, odmiany i wielko¶ci
12827 \layout Itemize
12828
12829
12830 \family typewriter 
12831
12832 \backslash 
12833 input{foo}
12834 \family default 
12835  (lub 
12836 \family typewriter 
12837
12838 \backslash 
12839 input{foo.blah}
12840 \family default 
12841 ) i 
12842 \family typewriter 
12843
12844 \backslash 
12845 include{foo}
12846 \family default 
12847 .
12848  Polecenia Plain TeX
12849 \family typewriter 
12850  
12851 \backslash 
12852 input
12853 \family default 
12854  (,,
12855 \family typewriter 
12856
12857 \backslash 
12858 input foo.tex
12859 \family default 
12860 '') s± równie¿ obs³ugiwane
12861 \layout Itemize
12862
12863 ¦rodowisko 
12864 \family typewriter 
12865 tabular
12866 \family default 
12867  i jego polecenia takie jak 
12868 \family typewriter 
12869
12870 \backslash 
12871 hline
12872 \family default 
12873
12874 \family typewriter 
12875
12876 \backslash 
12877 cline
12878 \family default 
12879  i 
12880 \family typewriter 
12881
12882 \backslash 
12883 multicolumn
12884 \family default 
12885  (ale zobacz dalej)
12886 \layout Itemize
12887
12888 ¶rodowiska wstawek 
12889 \family typewriter 
12890 table
12891 \family default 
12892  i 
12893 \family typewriter 
12894 table*
12895 \family default 
12896 , a tak¿e polecenie 
12897 \family typewriter 
12898
12899 \backslash 
12900 caption
12901 \layout Itemize
12902
12903 ¶rodowisko
12904 \family typewriter 
12905  thebibliography
12906 \family default 
12907  i polecenie 
12908 \family typewriter 
12909
12910 \backslash 
12911 bibitem
12912 \family default 
12913 , a tak¿e polecenia BibTeX-a 
12914 \family typewriter 
12915
12916 \backslash 
12917 bibliography
12918 \family default 
12919  i 
12920 \family typewriter 
12921
12922 \backslash 
12923 bibliographystyle
12924 \layout Itemize
12925
12926 ró¿ne polecenia: 
12927 \family typewriter 
12928
12929 \backslash 
12930 hfill
12931 \family default 
12932 ,
12933 \family typewriter 
12934
12935 \backslash 
12936
12937 \backslash 
12938
12939 \family default 
12940 ,
12941 \family typewriter 
12942
12943 \backslash 
12944 noindent
12945 \family default 
12946 ,
12947 \family typewriter 
12948
12949 \backslash 
12950 ldots
12951 \family default 
12952 \SpecialChar \ldots{}
12953
12954 \layout Itemize
12955
12956 ¶rodowiska specyficzne dla klasy dokumentu (i trochê poleceñ), które mog±
12957  byæ konwertowane do pliku uk³adu LyX-a
12958 \layout Itemize
12959
12960 argumenty pewnych niekonwertowalnych poleceñ (np.
12961  
12962 \family typewriter 
12963
12964 \backslash 
12965 mbox
12966 \family default 
12967 )
12968 \layout Standard
12969
12970 Niektóre z nich mog± nie byæ jeszcze wspierane w 100%.
12971  Zobacz poni¿ej szczegó³y
12972 \layout Standard
12973
12974 reLyX kopiuje matematykê (prawie) wprost z twojego pliku LaTeX-a.
12975  Szczê¶liwie wczytuje matematykê LaTeX-a (prawie), która jest obs³ugiwana
12976  przez LyX-a i dzia³a ¶wietnie.
12977  Niektóre polecenia matematyczne, które nie s± obs³ugiwane przez LyX-a zostan±
12978  zast±pione ich ekwiwalentami, np.
12979  
12980 \family typewriter 
12981
12982 \backslash 
12983 to
12984 \family default 
12985  bêdzie skonwertowane do 
12986 \family typewriter 
12987
12988 \backslash 
12989 rightarrow
12990 \family default 
12991 .
12992  Zobacz sekcjê
12993 \shape italic 
12994  Pliki sk³adni
12995 \shape default 
12996  aby poznaæ wiêcej szczegó³ów.
12997 \layout Standard
12998
12999 reLyX tak¿e kopiuje polecenia preambu³y (np.
13000  cokolwiek przed 
13001 \family typewriter 
13002
13003 \backslash 
13004 begin{document}
13005 \family default 
13006 ), so fancy stuff you've got in your preamble should be conserved in dvi
13007  and printed documents, although it will not of course show up in the LyX
13008  window.
13009  Sprawd¼ 
13010 \family sans 
13011 \bar under 
13012 F
13013 \bar default 
13014 ormatowanie\SpecialChar \menuseparator
13015  Preambu³a
13016 \family default 
13017  aby byæ pewnym.
13018 \layout Subsubsection
13019
13020 Czego reLyX nie mo¿e przechwyciæ -- ale jest OK
13021 \layout Itemize
13022
13023 Rysunki i tabele 
13024 \family typewriter 
13025 tabular*
13026 \family default 
13027  
13028 \layout Itemize
13029
13030 ministrony
13031 \layout Itemize
13032
13033 polecenia odstêpów (
13034 \family typewriter 
13035
13036 \backslash 
13037 vspace
13038 \family default 
13039 ,
13040 \family typewriter 
13041
13042 \backslash 
13043 pagebreak
13044 \family default 
13045 ,
13046 \family typewriter 
13047
13048 \backslash 
13049 par
13050 \family default 
13051 )
13052 \layout Itemize
13053
13054
13055 \family typewriter 
13056
13057 \backslash 
13058 centering
13059 \family default 
13060 ,
13061 \family typewriter 
13062
13063 \backslash 
13064 raggedleft
13065 \family default 
13066 ,
13067 \family typewriter 
13068
13069 \backslash 
13070 raggedright
13071 \layout Itemize
13072
13073 ¶rodowiska 
13074 \family typewriter 
13075
13076 \backslash 
13077 verb
13078 \family default 
13079  i 
13080 \family typewriter 
13081 verbatim
13082 \family default 
13083 .
13084  reLyX kopiuje je ostro¿nie i 
13085 \shape italic 
13086 dok³adnie
13087 \shape default 
13088 , w³±czaj±c komentarze i bia³e spacje.
13089 \layout Itemize
13090
13091 nieznane (np.
13092  utworzone przez u¿ytkownika) ¶rodowiska i polecenia
13093 \layout Standard
13094
13095 reLyX kopiuje nieznane polecenia wraz z ich argumentami dos³ownie do pliku
13096  LyX-a.
13097  Ponadto, je¶li zobaczy 
13098 \family typewriter 
13099
13100 \backslash 
13101 begin{foo}
13102 \family default 
13103  gdzie nie rozpozna ¶rodowiska ,,foo'', skopiuje dos³ownie a¿ do 
13104 \family typewriter 
13105
13106 \backslash 
13107 end{foo}
13108 \family default 
13109  (bez u¿ycia parametru
13110 \series bold 
13111  -r
13112 \series default 
13113 ).
13114  Hopefully, then, most of these unknown commands won't cause reLyX to break;
13115  they'll merely require you to do some editing once you've loaded the file
13116  up in LyX.
13117   That should be less painful than editing either the .tex or the .lyx file
13118  using a text editor.
13119 \layout Subsubsection
13120
13121 Co reLyX przechwytuje niepoprawnie -- s± b³êdy
13122 \layout Standard
13123
13124 reLyX jest wzglêdnie nowy i ma kilka problemów.
13125  As it matures, these bugs will be squished.
13126  Listê b³êdów i brakuj±cych cech mo¿na znale¼æ w LyX bug tracker 
13127 \begin_inset LatexCommand \url[LyX Bugzilla]{http://bugzilla.lyx.org/}
13128
13129 \end_inset 
13130
13131 .
13132 \layout Standard
13133
13134 If reLyX is choking on something lub LyX nie potrafi wczytaæ go po konwersji
13135  przez reLyX, to najlepsz± rzecz± do zrobienia jest wstawienie poleceñ 
13136 \family typewriter 
13137
13138 \backslash 
13139 begin{reLyXskip}
13140 \family default 
13141  przed podejrzany tekst i 
13142 \family typewriter 
13143
13144 \backslash 
13145 end{reLyXskip}
13146 \family default 
13147  po nim.
13148  Ja nazywam to ,,skip'' blok.
13149  reLyX bêdzie kopiowa³ ten blok dok³adnie w trybie TeX.
13150  Nastêpnie wyedytuj wynikowy plik LyX i przet³umacz nieznane rzeczy rêcznie.
13151  ¦rodowisko 
13152 \family typewriter 
13153 reLyXskip
13154 \family default 
13155  jest magiczne; polecenia 
13156 \family typewriter 
13157
13158 \backslash 
13159 begin
13160 \family default 
13161  i 
13162 \family typewriter 
13163
13164 \backslash 
13165 end
13166 \family default 
13167  nie bêd± wstawione do pliku LyX.
13168 \layout Itemize
13169
13170 ,,Dok³adne'' kopiowanie nieznanych ¶rodowisk i poleceñ nie jest zupe³nie
13171  dok³adne.
13172  Wyszczególniaj±c, komentarze i nowe wiersze mog± zostaæ utracone.
13173  To bêdzie dawaæ z siebie brzydkiego LyX-a, ale w prawie wszystkich przypadkach
13174  wynik bêdzie taki sam.
13175  Mimo to, pewne czê¶ci pliku bêd± kopiowane perfekcyjnie z bia³ymi spacjami
13176  i komentarzami w³±cznie.
13177  W³±czaj±c w to: preambu³ê LaTeX-a, ¶rodowisko 
13178 \family typewriter 
13179 verbatim
13180 \family default 
13181 , polecenie 
13182 \family typewriter 
13183
13184 \backslash 
13185 verb
13186 \family default 
13187  i blok skip.
13188 \layout Itemize
13189
13190 reLyX konwertuje tylko kilka opcji polecenia 
13191 \family typewriter 
13192
13193 \backslash 
13194 documentclass
13195 \family default 
13196  (Wyszczególniaj±c: 1[012]pt, [letter|legal|executive|a4|a5|b5]paper, [one|two]s
13197 ide, landscape i [one|two]column.) Inne opcje s± umieszczane w polu 
13198 \family sans 
13199 Opcje dodatkowe
13200 \family default 
13201  w oknie 
13202 \family sans 
13203 \bar under 
13204 F
13205 \bar default 
13206 ormatowanie\SpecialChar \menuseparator
13207  
13208 \bar under 
13209 D
13210 \bar default 
13211 okument
13212 \family default 
13213 .
13214 \begin_deeper 
13215 \layout Standard
13216
13217 Co wa¿niejsze, reLyX nie t³umaczy polecenia 
13218 \family typewriter 
13219
13220 \backslash 
13221 usepackage
13222 \family default 
13223 , poleceñ marginesów,
13224 \family typewriter 
13225
13226 \backslash 
13227 newcommand
13228 \family default 
13229 , w rzeczywisto¶ci niczego w preambule.
13230  Po prostu kopiuje je do preambu³y LaTeX w dokumencie LyX-a.
13231  Je¶li masz polecenie marginesu w preambule, to plik LyX-a bêdzie generowa³
13232  prawy margines.
13233  jednak te marginesy bêd± zast±pione prze marginesy ustawione w oknie 
13234 \family sans 
13235 \bar under 
13236 S
13237 \bar default 
13238 tyl dokumentu
13239 \family default 
13240  zak³adka 
13241 \family sans 
13242 Papier
13243 \family default 
13244 .
13245  Tak ¿e powiniene¶ usun±æ te opcje z preambu³y (
13246 \family sans 
13247 \bar under 
13248 F
13249 \bar default 
13250 ormatowanie-Preambu³a
13251 \family default 
13252 ) aby siê zabezpieczyæ.
13253  Podobnie dzieje siê z wyborem jêzyka przez babel, 
13254 \family typewriter 
13255
13256 \backslash 
13257 inputencoding
13258 \family default 
13259
13260 \family typewriter 
13261
13262 \backslash 
13263 pagestyle
13264 \family default 
13265 , itp.
13266 \end_deeper 
13267 \layout Itemize
13268
13269 Klasa foil ma parê b³êdów.
13270  reLyX may do weird things z opcjonalnymi argumentami polecenia 
13271 \family typewriter 
13272
13273 \backslash 
13274 foilhead
13275 \family default 
13276 .
13277  Tak¿e ¶rodowisko 
13278 \family typewriter 
13279
13280 \backslash 
13281 begin{dinglist}
13282 \family default 
13283  mo¿e byæ obs³u¿one niepoprawnie (although the stuff in the environment
13284  should translate normally).
13285 \layout Standard
13286
13287 Wiêcej znacz±cych b³êdów mo¿esz znale¼æ w pliku
13288 \emph on 
13289  BUGS
13290 \emph default 
13291 .
13292 \layout Standard
13293
13294 reLyX is hopefully rather robust.
13295  Jak wspomnia³em powy¿ej, mo¿e on nie konwertowaæ twojego pliku perfekcyjnie,
13296  ale nie powinien siê przewracaæ.
13297  Je¶li jednak siê przewraca -- i problemem nie jest jednym ze wspomnianych
13298  powy¿ej lub w pliku 
13299 \emph on 
13300 BUGS
13301 \emph default 
13302  -- zobacz sekcjê
13303 \shape italic 
13304  Zg³aszanie b³êdów
13305 \shape default 
13306 .
13307 \layout Subsubsection
13308
13309 Czego reLyX nie potrafi przechwyciæ
13310 \layout Standard
13311
13312 LyX wewnêtrznie nie obs³uguje paru rzeczy, tak ¿e gdyby reLyX przet³umaczy³
13313  to perfekcyjnie, LyX mia³by problem wczytaæ je.
13314  Je¶li na pewno potrzebujesz tych cech, to mo¿esz po ukoñczeniu pracy nad
13315  dokumentem wyeksportowaæ go do LaTeX-a i wstawiæ je tam z powrotem.
13316  Zobacz 
13317 \emph on 
13318 B³êdy
13319 \emph default 
13320  aby poznaæ wiêcej szczegó³ów odno¶nie b³êdów.
13321 \layout Itemize
13322
13323 Dla kilku poleceñ LyX nie obs³uguje argumentów opcjonalnych.
13324  Na przyk³ad zawartych w 
13325 \family typewriter 
13326
13327 \backslash 
13328 sqrt
13329 \family default 
13330 ,
13331 \family typewriter 
13332  
13333 \backslash 
13334 chapter
13335 \family default 
13336  (i inne polecenia struktury tekstu) i 
13337 \family typewriter 
13338
13339 \backslash 
13340
13341 \backslash 
13342
13343 \family default 
13344 .
13345  reLyX bêdzie automatycznie pomija³ opcjonalne argumenty i wysy³a³ ostrze¿enie
13346  do stdout.
13347   LyX tak¿e ignoruje argument width w ¶rodowisku 
13348 \family typewriter 
13349 thebibliography
13350 \family default 
13351 .
13352 \layout Itemize
13353
13354 ¦rodkowanie (lub wyrównanie do lewej lub prawej) dzia³a na pe³nych akapitach.
13355 \layout Itemize
13356
13357 Obs³uga tabel przez LyX-a nie jest perfekcyjna.
13358  Dla skomplikowanych tabel u¿yj bloku ,,skip'', tak ¿e one zostan± skopiowane
13359  w trybie TeX-a.
13360 \layout Itemize
13361
13362 Edytor wyra¿eñ matematycznych LyX-a nie obs³uguje ¶rodowisk AMS-LaTeX takich
13363  jak align, split itd.
13364  Te ¶rodowiska zostan± skopiowane w trybie TeX.
13365  Mo¿esz zmieniæ ¶rodowisko 
13366 \family typewriter 
13367 equation*
13368 \family default 
13369  do dok³adnego odpowiednika 
13370 \family typewriter 
13371 displaymath
13372 \family default 
13373 , a wówczas konwersja bêdzie poprawna.
13374 \layout Subsubsection
13375
13376 Przysz³o¶æ reLyX-a
13377 \layout Standard
13378
13379 W przysz³o¶ci wiêcej poleceñ i ¶rodowisk bêdzie obs³ugiwanych przez reLyX.
13380  B³êdy zostan± wyeliminowane.
13381 \layout Standard
13382
13383 Zobacz plik TODO dla poznania szczegó³ów.
13384 \layout Subsection
13385
13386 Przyk³ad
13387 \layout Standard
13388
13389
13390 \family typewriter 
13391 reLyX -df -o
13392 \begin_inset Quotes eld
13393 \end_inset 
13394
13395 my/dir
13396 \begin_inset Quotes erd
13397 \end_inset 
13398
13399  -r
13400 \begin_inset Quotes eld
13401 \end_inset 
13402
13403 myenv
13404 \begin_inset Quotes erd
13405 \end_inset 
13406
13407  foo.tex > foo.debug
13408 \layout Standard
13409
13410 Powy¿sze polecenie utworzy plik 
13411 \family typewriter 
13412 my/dir/foo.lyx
13413 \family default 
13414  na podstawie 
13415 \family typewriter 
13416 foo.tex
13417 \family default 
13418 , zastêpuj±c istniej±cy je¶li istnieje.
13419   Gdy napotka blok
13420 \family typewriter 
13421  
13422 \backslash 
13423 begin{myenv} ...
13424  
13425 \backslash 
13426 end{myenv}
13427 \family default 
13428 , skonwertuje zawarto¶æ bloku, ale polecenia 
13429 \family typewriter 
13430
13431 \backslash 
13432 begin
13433 \family default 
13434  i 
13435 \family typewriter 
13436
13437 \backslash 
13438 end
13439 \family default 
13440  skopiuje w trybie TeX-a.
13441  Koñcz±c, zachowa pliki tymczasowe (znajduj± siê one w 
13442 \family typewriter 
13443 my/dir/
13444 \family default 
13445 ) i zapisze du¿o informacji diagnostycznych do pliku 
13446 \family typewriter 
13447 foo.debug
13448 \family default 
13449 .
13450 \layout Subsection
13451
13452 Uwagi
13453 \layout Subsubsection
13454
13455 Zg³aszanie b³êdów
13456 \layout Standard
13457
13458 If reLyX is crashing or otherwise acting strangely---in ways other than
13459  those described in the section on
13460 \shape italic 
13461 BUGS
13462 \shape default 
13463  or the
13464 \emph on 
13465 BUGS
13466 \emph default 
13467  file---then please run reLyX
13468 \series bold 
13469  -d
13470 \series default 
13471 .
13472   That will allow you to figure out where in the reLyXing process it crashed.
13473  That, in turn, will allow you to write a better bug report, which will
13474  allow the developers to fix it more quickly and easily.
13475 \layout Standard
13476
13477 Bug reports should be sent to the LyX developers' mailing list.
13478  Its address is currently lyx-devel@lists.lyx.org, but you can check the LyX
13479  home page, http://www.lyx.org if that bounces.
13480  If you are running reLyX on a huge file, please do not send all of the
13481  output in your bug report.
13482  Just include the last ten or twenty lines of output, along with the piece
13483  of the LaTeX file it crashed on.
13484   Or, even better, attach a small but complete file which causes the same
13485  problem as your original file.
13486 \layout Subsubsection
13487
13488 Szczegó³y implementacji
13489 \layout Standard
13490
13491 reLyX wykonuje kilka ,,przebiegów'' w celu konwersji pliku LaTeX-a.
13492  W ka¿dym przebiegu tworzony jest jeden lub dwa pliku.
13493 \layout Description
13494
13495 Przebieg\SpecialChar ~
13496 0 \SpecialChar ~
13497
13498 \newline 
13499 Zanim zrobi cokolwiek, wczytuje plik (lub pliki) sk³adni .
13500 \layout Description
13501
13502 Przebieg\SpecialChar ~
13503 1a \SpecialChar ~
13504
13505 \newline 
13506 Oddziela preambu³ê (cokolwiek przed poleceniem 
13507 \family typewriter 
13508
13509 \backslash 
13510 begin{document}
13511 \family default 
13512 ) z reszty pliku.
13513  Zapisuje dwie czê¶ci w oddzielnych plikach.
13514  To jest niezbêdne, poniewa¿ w preambule mog± byæ dziwne rzeczy.
13515  Tak¿e ignoruje cokolwiek jest za poleceniem 
13516 \family typewriter 
13517
13518 \backslash 
13519 end{document}
13520 \family default 
13521 , zak³adaj±c ¿e to nie jest LaTeX.
13522 \layout Description
13523
13524 Przebieg\SpecialChar ~
13525 1b \SpecialChar ~
13526
13527 \newline 
13528 Konwertuje preambu³ê.
13529  Aktualnie oznacza to konwersjê polecenia 
13530 \family typewriter 
13531
13532 \backslash 
13533 documentclass
13534 \family default 
13535  i dok³adne skopiowanie reszty do preambu³y LyX-e.
13536 \begin_deeper 
13537 \layout Standard
13538
13539 Jak pozna klasê dokumentu, to wczytuje plik uk³adu LyX-a dla tej klasy.
13540 \end_deeper 
13541 \layout Description
13542
13543 Przebieg\SpecialChar ~
13544 2 \SpecialChar ~
13545
13546 \newline 
13547 ,,Czy¶ci'' plik TeX, generuj±c nieznacznie dok³adniej LaTeX-a.
13548  W to wchodzi:
13549 \begin_deeper 
13550 \layout Itemize
13551
13552 Zamiana, np: x^2 na ekwiwalent, ale przejrzystszy x^{2}
13553 \layout Itemize
13554
13555 Usuwa opcjonalne argumenty, których LyX nie obs³uguje (np.
13556  z 
13557 \family typewriter 
13558
13559 \backslash 
13560 sqrt
13561 \family default 
13562 )
13563 \layout Itemize
13564
13565 Zamienia 
13566 \family typewriter 
13567 {
13568 \backslash 
13569 em foo}
13570 \family default 
13571  na 
13572 \family typewriter 
13573
13574 \backslash 
13575 emph{foo}
13576 \family default 
13577 , itd.
13578  To jest konieczne, poniewa¿ w innym wypadku LyX zawsze zapisuje jako nielokalne.
13579  This should very rarely make a difference.
13580 \end_deeper 
13581 \layout Description
13582
13583 Przebieg\SpecialChar ~
13584 3 \SpecialChar ~
13585
13586 \newline 
13587 Konwertuje tekst LaTeX-a, polecenia i ¶rodowiska do LyX-a.
13588 \layout Description
13589
13590 Przebieg\SpecialChar ~
13591 4 \SpecialChar ~
13592
13593 \newline 
13594 Sk³ada obie czê¶ci razem i wykonuje some final tweaking, aby utworzyæ plik
13595  LyX.
13596 \layout Standard
13597
13598 Je¶li s± jakie¶ polecenia
13599 \family typewriter 
13600  
13601 \backslash 
13602 input
13603 \family default 
13604  lub 
13605 \family typewriter 
13606
13607 \backslash 
13608 include
13609 \family default 
13610 , reLyX zacznie przetwarzaæ tak¿e do³±czane pliki.
13611  Zak³ada on, ¿e do³±czane pliki s± tej samej klasy co dokument g³ówny i
13612  nie posiadaj± preambu³y.
13613  (Je¶li ma polecenie 
13614 \family typewriter 
13615
13616 \backslash 
13617 input
13618 \family default 
13619  w preambule pliku, to polecenia zostan± dok³adnie skopiowane do LaTeX-owej
13620  czê¶ci preambu³y pliku LyX, a do³±czane pliki nie bêd± konwertowane).
13621  Podczas konwersji do³±czonych plików pomijany jest przebieg 0 i 1.
13622 \layout Standard
13623
13624 Je¶li reLyX nie znajdzie plików, które chcia³e¶ do³±czyæ, wy¶le Ci ostrze¿enie
13625  ale bêdzie kontynuowa³ konwersjê pozosta³ych znalezionych plików.
13626 \layout Subsubsection
13627
13628 Pliki szablonów
13629 \layout Standard
13630
13631 reLyX wczytuje plik uk³adu LyX-a aby wiedzieæ jak obs³ugiwaæ ¶rodowiska
13632  LaTeX-a i polecenia, które bêd± konwertowane do uk³adu LyX-a.
13633  Ten plik do³±cza wszystkie ,,normalne'' niematematyczne ¶rodowiska (np.
13634  w³±czaj±c w to quote i itemize, ale nie tabular, minipage i kilka ¶rodowisk
13635  fancy) i polecenia takie jak
13636 \family typewriter 
13637  
13638 \backslash 
13639 section
13640 \family default 
13641  i
13642 \family typewriter 
13643  
13644 \backslash 
13645 title
13646 \family default 
13647 .
13648  je¶li chcesz konwertowaæ reLyX-em klasê, dla której nie istniej plik uk³adu
13649  LyX-a, to bêdziesz musia³ najpierw go utworzyæ.
13650  Tak czy owak bêdziesz musia³ to zrobiæ, z powodu pliku LyX, poniewa¿ zale¿y
13651  on od pliku uk³adu, w którym podany jest sposób jego wy¶wietlania i przetwarzan
13652 ia w LyX-ie.
13653  Sprawd¼ dokumentacjê LyX-a dla pomocy w tym zadaniu (które mo¿e byæ trudne
13654  lub ³atwe, w zale¿no¶ci od klasy, dla której chcesz utworzyæ plik uk³adu).
13655  je¶li Twoja klasa jest zupe³nie podobna do klasy, dla której istnieje plik
13656  uk³adu, to rozwa¿ u¿ycie opcji 
13657 \series bold 
13658 -c
13659 \series default 
13660 .
13661 \layout Subsubsection
13662
13663 Pliki sk³adni
13664 \layout Standard
13665
13666 reLyX zawsze wczytuje co najmniej jeden plik sk³adni, zwany domy¶lnym plikiem
13667  sk³adni.
13668  reLyX wczytuje twój osobisty plik sk³adni je¶li istnieje, je¶li nie istnieje
13669  to wczytuje plik systemowy.
13670  reLyX wczytuje tak¿e dodatkowe pliki sk³adni wyspecyfikowane w opcji 
13671 \series bold 
13672 -s
13673 \series default 
13674  (These extra files should have the same format as the default file, but
13675  will tend to be shorter, since they only have to specify extra commands
13676  not found in the default file).
13677  A syntax file tells reLyX a few things.
13678 \layout Standard
13679
13680 First, it describes the syntax of each command, that is, how many required
13681  arguments and how many optional arguments the command takes.
13682  Knowing this makes it easier for reLyX to copy (in TeX mode) commands that
13683  it doesn't know how to translate.
13684  The syntax file simply has a command, followed by braces or brackets describing
13685  its arguments in the correct order.
13686  For example, a syntax file entry
13687 \family typewriter 
13688  
13689 \backslash 
13690 bibitem[]{}
13691 \family default 
13692  means that the
13693 \family typewriter 
13694  
13695 \backslash 
13696 bibitem
13697 \family default 
13698  command takes an optional argument followed by a required one, while the
13699  entry
13700 \family typewriter 
13701
13702 \backslash 
13703 bf
13704 \family default 
13705  means that the
13706 \family typewriter 
13707
13708 \backslash 
13709 bf
13710 \family default 
13711  command takes no arguments at all.
13712   When reLyX encounters a token that it doesn't know how to translate into
13713  LyX, it will copy the token---along with the correct number of arguments---exac
13714 tly.
13715   If the token is not in the syntax file, then reLyX just copies as many
13716  arguments as it finds.
13717   This means that it may copy too much.
13718  But since the user can specify additional syntax files, that shouldn't
13719  happen often.
13720 \layout Standard
13721
13722 Some commands that cannot be translated to LyX, like
13723 \family typewriter 
13724
13725 \backslash 
13726 mbox
13727 \family default 
13728 , have as one of their arguments regular LaTeX text.
13729  If the string
13730 \begin_inset Quotes eld
13731 \end_inset 
13732
13733 translate
13734 \begin_inset Quotes erd
13735 \end_inset 
13736
13737  is put into an argument of an (untranslatable) command in the syntax file,
13738  then reLyX will translate that argument instead of copying it verbatim.
13739  So, for example, the default syntax file has
13740 \family typewriter 
13741
13742 \backslash 
13743 raisebox{}[][]{translate}
13744 \family default 
13745 .
13746  This means that the
13747 \family typewriter 
13748
13749 \backslash 
13750 raisebox
13751 \family default 
13752  command and the first argument (and optional arguments if they exist) are
13753  copied in TeX mode, but the last argument (which may contain math, complicated
13754  LaTeX, other untranslatable commands, etc.) will be translated into LyX.
13755  You can't use
13756 \begin_inset Quotes eld
13757 \end_inset 
13758
13759 translate
13760 \begin_inset Quotes erd
13761 \end_inset 
13762
13763  on optional arguments.
13764 \layout Standard
13765
13766 User-defined syntax files are allowed to define new commands and their syntax,
13767  or override the number of arguments for a command given in the default
13768  syntax file.
13769  (E.g., if you're using a style that gives an extra argument to some command...)
13770  However, this will only be useful for commands copied in TeX mode.
13771  Commands which are actually translated by reLyX (like
13772 \family typewriter 
13773
13774 \backslash 
13775 item
13776 \family default 
13777 ) have their argument syntax hard-coded.
13778  The hard-coded commands are identified in the default syntax file.
13779 \layout Standard
13780
13781 Second, the syntax file describes any
13782 \begin_inset Quotes eld
13783 \end_inset 
13784
13785 regular environments
13786 \begin_inset Quotes erd
13787 \end_inset 
13788
13789 .
13790   Usually, an entire unknown environment will be copied in TeX mode.
13791  If you define a regular environment
13792 \begin_inset Quotes eld
13793 \end_inset 
13794
13795 foo
13796 \begin_inset Quotes erd
13797 \end_inset 
13798
13799 , though, then only the
13800 \family typewriter 
13801
13802 \backslash 
13803 begin{foo}
13804 \family default 
13805  and
13806 \family typewriter 
13807
13808 \backslash 
13809 end{foo}
13810 \family default 
13811  commands will be copied in TeX mode; the text within the environment will
13812  be treated (i.e., translated) by reLyX as regular LaTeX, rather than being
13813  copied into TeX mode.
13814  Don't try to declare
13815 \family typewriter 
13816 tabbing
13817 \family default 
13818  and
13819 \family typewriter 
13820 picture
13821 \family default 
13822  as regular environments, as the text within those environments will confuse
13823  reLyX; use this capability for new environments you create that have plain
13824  text or math or simple commands in them.
13825  You also can't declare unknown math environments (like
13826 \family typewriter 
13827 equation*
13828 \family default 
13829 ) as regular environments, either, since the LyX math editor won't understand
13830  them.
13831  The names of regular environments appear, whitespace-separated, between
13832 \family typewriter 
13833
13834 \backslash 
13835 begin{reLyXre}
13836 \family default 
13837  and
13838 \family typewriter 
13839
13840 \backslash 
13841 end{reLyXre}
13842 \family default 
13843  statements in the syntax file.
13844  (If you have a regular environment which you won't use very often, you
13845  can use the
13846 \series bold 
13847 -r
13848 \series default 
13849  option rather than writing a syntax file.)
13850 \layout Standard
13851
13852 Third, the syntax file describes a math translation table.
13853  The LyX math editor doesn't support a few commands.
13854  For example,
13855 \family typewriter 
13856 _
13857 \family default 
13858  is supported, but the equivalent
13859 \family typewriter 
13860
13861 \backslash 
13862 sb
13863 \family default 
13864  is not.
13865  Put any commands you'd like translate between
13866 \family typewriter 
13867
13868 \backslash 
13869 begin{reLyXmt}
13870 \family default 
13871  and
13872 \family typewriter 
13873
13874 \backslash 
13875 end{reLyXmt}
13876 \family default 
13877  statements.
13878  The statement
13879 \begin_inset Quotes eld
13880 \end_inset 
13881
13882
13883 \family typewriter 
13884
13885 \backslash 
13886 | {
13887 \backslash 
13888 Vert}
13889 \family default 
13890
13891 \begin_inset Quotes erd
13892 \end_inset 
13893
13894  means that any
13895 \family typewriter 
13896
13897 \backslash 
13898 |
13899 \family default 
13900  in math mode will be converted to
13901 \begin_inset Quotes eld
13902 \end_inset 
13903
13904
13905 \family typewriter 
13906
13907 \backslash 
13908 Vert
13909 \family default 
13910
13911 \begin_inset Quotes erd
13912 \end_inset 
13913
13914 (in cases where a token made up of a backslash and a non-letter is translated
13915  to something with letters at the end, a space is added by reLyX.
13916  That way,
13917 \begin_inset Quotes eld
13918 \end_inset 
13919
13920
13921 \family typewriter 
13922
13923 \backslash 
13924 |a
13925 \family default 
13926
13927 \begin_inset Quotes erd
13928 \end_inset 
13929
13930  is correctly translated to
13931 \begin_inset Quotes eld
13932 \end_inset 
13933
13934
13935 \family typewriter 
13936
13937 \backslash 
13938 Vert a
13939 \family default 
13940
13941 \begin_inset Quotes erd
13942 \end_inset 
13943
13944 ).
13945 \layout Subsubsection
13946
13947 Ró¿ne
13948 \layout Standard
13949
13950 Potrzebujesz Perl-a 5.002 lub nowszego do uruchomienia reLyX-a.
13951  Je¶li nie masz Perl-a to powiniene¶ go ¶ci±gn±æ (
13952 \begin_inset ERT
13953 status Collapsed
13954
13955 \layout Standard
13956
13957 \backslash 
13958 url{http://www.perl.com}
13959 \end_inset 
13960
13961 ), poniewa¿ jest rzeczywi¶cie u¿ytecznym narzêdziem do bardzo wielu rzeczy.
13962 \layout Subsection
13963
13964 Diagnostyka
13965 \layout Standard
13966
13967 reLyX powinien zawsze wyja¶niæ dlaczego nie powiod³o siê t³umaczenie, je¶li
13968  siê nie powiod³o.
13969  Niektóre komunikaty diagnostyczne mog± byæ bardzo techniczne, je¶li pochodz±
13970  one z wnêtrza kodu.
13971  reLyX daje znacznie wiêcej informacji gdy zostanie uruchomiony z opcj±
13972 \series bold 
13973  -d
13974 \series default 
13975 , ale nie powiniene¶ tego potrzebowaæ je¶li nic z³ego siê nie zdarzy³o.
13976 \layout Standard
13977
13978 Gdy zakoñczy pracê, reLyX bêdzie Ciê informowa³ o pomy¶lnym zakoñczeniu
13979  lub o b³êdzie, który spowodowa³ przerwanie przetwarzania.
13980 \layout Subsection
13981
13982 Ostrze¿enia
13983 \layout Standard
13984
13985 Zawsze zachowaj kopiê oryginalnego pliku LaTeX-a pod inn± nazw± lub w innym
13986  katalogu.
13987  Istnieje kilka sposobów, w których u¿ycie LyX-a prowadzi do nadpisania
13988  oryginalnego pliku LaTeX-a.
13989 \layout Standard
13990
13991 Je¶li importujesz plik foo.tex utworzysz foo.lyx, nastêpnie edytujesz plik
13992  foo.lyx i chcesz ponownie wyeksportowaæ go, to zauwa¿, ¿e zast±pisz oryginalny
13993  plik foo.tex (LyX zapyta ciê czy chcesz zast±piæ go).
13994 \layout Standard
13995
13996 Je¶li ustawi³e¶ zmienn± 
13997 \backslash 
13998 use_tempdir na false w swoim pliku lyxrc, wówczas LyX utworzy pliki tymczasowe
13999  w twoim lokalnym katalogu, co oznacza, ¿e Twój oryginalny plik LaTeX mo¿e
14000  zostaæ zast±piony (bez ostrze¿enia ze strony LyX) gdy wykonasz podgl±d
14001  lub wydruk dokumentu LyX-a.
14002 \layout Subsection
14003
14004 Pliki
14005 \layout Description
14006
14007
14008 \emph on 
14009 MY_LYXDIR
14010 \emph default 
14011 /layouts/*.layout \SpecialChar ~
14012
14013 \newline 
14014 Osobiste pliki uk³adów dokumentów
14015 \layout Description
14016
14017
14018 \emph on 
14019 MY_LYXDIR
14020 \emph default 
14021 /reLyX/syntax.default \SpecialChar ~
14022
14023 \newline 
14024 Osobisty plik sk³adni
14025 \layout Description
14026
14027
14028 \emph on 
14029 LIBDIR
14030 \emph default 
14031 /layouts/*.layout \SpecialChar ~
14032
14033 \newline 
14034 Systemowy pliki uk³adów dokumentów
14035 \layout Description
14036
14037
14038 \emph on 
14039 LIBDIR
14040 \emph default 
14041 /reLyX/syntax.default \SpecialChar ~
14042
14043 \newline 
14044 Systemowy plik sk³adni LaTeX-a
14045 \layout Standard
14046
14047
14048 \emph on 
14049 LIBDIR
14050 \emph default 
14051  jest katalogiem instalacyjnym LyX, czêsto /usr/local/share/lyx/.
14052
14053 \emph on 
14054  MY_LYXDIR
14055 \emph default 
14056  jest osobistym katalogiem LyX-a, zwykle nazywa siê .lyx/ i znajduje siê
14057  w Twoim katalogu domowym.
14058 \layout Subsection
14059
14060 Zobacz tak¿e
14061 \layout Standard
14062
14063
14064 \shape italic 
14065 lyx
14066 \shape default 
14067 (1),
14068 \shape italic 
14069 latex
14070 \shape default 
14071 (1)
14072 \layout Subsection
14073
14074 Autorzy
14075 \layout Standard
14076
14077 Copyright (c) 1998-9 Amir Karger (karger@voth.chem.utah.edu)
14078 \layout Standard
14079
14080 Wspó³twórcy kodu:
14081 \layout Itemize
14082
14083 John Weiss napisa³ oryginalny CleanTeX pass.
14084 \layout Itemize
14085
14086 Etienne Grossmann
14087 \layout Itemize
14088
14089 Jos\i \'{e}
14090  Ab\i \'{\i}
14091 lio Oliveira Matos
14092 \layout Itemize
14093
14094 David Suarez de Lis
14095 \layout Standard
14096
14097 Inni wspó³pracownicy:
14098 \layout Itemize
14099
14100 Jean-Marc Lasgouttes worked on the wrapper script and offered lots of bug
14101  reports, advice, and feature suggestions.
14102 \layout Itemize
14103
14104 Asger K.
14105  Alstrup Nielsen i Marc Pavese doradzaj±cy.
14106 \layout Itemize
14107
14108 Ró¿ni cz³onkowie list dyskusyjnych LyX developers' i users' dostarczaj±cy
14109  raporty o b³êdach i sugerowanie nowych cech.
14110 \layout Standard
14111
14112 reLyX u¿ywa zmodyfikowanej wersji Perl-owego parsera TeX -- pakiet Text::TeX
14113  napisanego przez Ilya Zakharevich (ilya@math.ohio-state.edu), dostêpnego
14114  na CPAN.
14115 \layout Chapter
14116
14117 Funkcje LyX-a wymagaj±ce zewnêtrznych programów
14118 \layout Section
14119
14120 Zastosowanie LyX-a z SGML-Tools (aka LinuxDoc)
14121 \layout Standard
14122
14123 by
14124 \noun on 
14125  Paul Evans
14126 \layout Subsection
14127
14128 Wprowadzenie
14129 \layout Standard
14130
14131 LinuxDoc jest klas± dokumentu dostêpn± w LyX-ie.
14132  Mo¿esz jej u¿yæ do wydania dokumentu zwanego Standardized General Mark-up
14133  Language (SGML) w specyficznym formacie stosowanym w Linux Documentation
14134  Project.
14135  Jest to oczywi¶cie pomoc je¶li wspó³pracujesz przy projekcie.
14136  Mo¿esz u¿yæ formatu SGML z pakietem (
14137 \family typewriter 
14138 sgml-tools
14139 \family default 
14140 ) skryptów i programów (do tworzenia innych formatów, w³±czaj±c LaTeX, HTML,
14141  zwyk³y tekst, podrêczniki man i \SpecialChar \ldots{}
14142 ).
14143  Zatem mo¿esz preferowaæ u¿ycie tej klasy dokumentu je¶li chcesz pisaæ dokumenty
14144  z mo¿liwo¶ci± ³atwego przenoszenia do innych formatów.
14145 \layout Standard
14146
14147 Klasa LinuxDoc posiada mniej opcji uk³adu ni¿ inne klasy LyX-a.
14148  G³ównie dlatego, ¿e translacja do innego formatu ma wówczas szanse na bardziej
14149  sensownie wykonanie.
14150 \layout Standard
14151
14152 W tej sekcji opisujemy:
14153 \layout Itemize
14154
14155 jak skonfigurowaæ i u¿yæ dokument w LinuxDoc
14156 \layout Itemize
14157
14158 jak u¿ywaæ znaczników LinuxDoc w uk³adzie Twojego dokumentu
14159 \layout Itemize
14160
14161 jak u¿ywaæ pakietu SGML do tworzenia ró¿nych formatów
14162 \layout Itemize
14163
14164 how to sort out some problems.
14165 \layout Subsection
14166
14167 Przygotowanie i u¿ycie dokumentów LinuxDoc
14168 \layout Subsubsection
14169
14170 Zaczynamy
14171 \layout Standard
14172
14173 Zaczynamy od wyboru klasy LinuxDoc w oknie 
14174 \family sans 
14175 Styl Dokumentu
14176 \family default 
14177 .
14178  ¦rodowisk jest mniej ni¿ w wielu innych klasach.
14179  Mo¿esz je zobaczyæ na rozwijalnej li¶cie po lewej stronie paska narzêdzi.
14180  Jak je u¿ywaæ opisano w\SpecialChar ~
14181
14182 \begin_inset LatexCommand \ref{sec:sgmlparas}
14183
14184 \end_inset 
14185
14186 .
14187 \layout Standard
14188
14189
14190 \emph on 
14191 Musisz
14192 \emph default 
14193  wpisaæ tytu³ dokumentu, a nastêpnie autora, wybieraj±c dla ka¿dego wpisu
14194  odpowiednie ¶rodowisko.
14195  Je¶li tego nie zrobisz, to pojawi± siê b³êdy przy próbie wydruku.
14196  Mo¿esz wpisaæ datê i streszczenie.
14197  W³a¶ciwy dokument powinien zaczynaæ siê ¶rodowiskiem 
14198 \family sans 
14199 Section
14200 \family default 
14201  ni¿ 
14202 \family sans 
14203 Standard
14204 \family default 
14205 .
14206 \layout Standard
14207
14208 Nastêpnie mo¿esz przygotowaæ dokument jak zwykle korzystaj±c ze ¶rodowisk.
14209  Zobacz sekcjê\SpecialChar ~
14210
14211 \begin_inset LatexCommand \ref{sec:sgmlparas}
14212
14213 \end_inset 
14214
14215  z pe³n± ich list± i zastosowaniem.
14216 \layout Subsubsection
14217
14218 Wydruk z LinuxDoc
14219 \layout Standard
14220
14221 Dokument mo¿esz drukowaæ i zapisywaæ normaln± drog±.
14222  Do u¿ycia innych mo¿liwo¶ci pakietu SGML potrzeba zapisaæ dokument jako
14223  LinuxDoc; to jest format, do którego dokument jest t³umaczony na podstawowy
14224  sgml.
14225  U¿yj polecenia 
14226 \family sans 
14227 \bar under 
14228 P
14229 \bar default 
14230 lik\SpecialChar \menuseparator
14231
14232 \bar under 
14233 E
14234 \bar default 
14235 ksportuj\SpecialChar \menuseparator
14236 LinuxDoc.
14237
14238 \family default 
14239  Otrzymasz plik o takiej samej nazwie jak dokument z rozszerzeniem 
14240 \family typewriter 
14241 .sgml
14242 \family default 
14243 .
14244  Zobacz w\SpecialChar ~
14245
14246 \begin_inset LatexCommand \ref{sec:sgmloperate}
14247
14248 \end_inset 
14249
14250  jak mo¿na wykorzystaæ ten plik.
14251 \layout Subsection
14252
14253 U¿ycie ¶rodowisk w LinuxDoc
14254 \layout Subsubsection
14255
14256 Struktura dokumentu LinuxDoc
14257 \layout Standard
14258
14259 Istnieje formalna struktura dla LinuxDoc która ogranicza umieszczanie znaczników.
14260  Wszystkie dokumenty sk³adaj± siê z dwóch czê¶ci:
14261 \layout Description
14262
14263 Nag³ówek wszystko co znajduje siê przed znacznikiem pierwszej sekcji.
14264  Mo¿esz wstawiæ tytu³, autora, datê, streszczenie i spis tre¶ci, ale dwa
14265  pierwsze znaczniki s± obowi±zkowe.
14266 \layout Description
14267
14268 Tre¶æ zaczyna siê od pierwszej sekcji.
14269  Dopuszczalne s± wszystkie inne znaczniki.
14270 \layout Subsubsection
14271
14272 ¦rodowiska LinuxDoc
14273 \layout Standard
14274
14275
14276 \begin_inset LatexCommand \label{sec:sgmlparas}
14277
14278 \end_inset 
14279
14280 Tutaj znajduje siê lista wszystkich znaczników, które s± dostêpne z menu
14281  rozwijalnego:
14282 \layout Itemize
14283
14284
14285 \family sans 
14286 Standard:
14287 \family default 
14288  dzia³a jak opisano w [cross reference]
14289 \layout Itemize
14290
14291
14292 \family sans 
14293 Title
14294 \family default 
14295 : Pojawia siê w lewym górnym rogu drukowanego dokumentu, nad grub± poziom±
14296  lini±, której nie zobaczysz na ekranie LyX-a.
14297 \layout Itemize
14298
14299
14300 \family sans 
14301 Section, Subsection, Subsubsection, Paragraph 
14302 \family default 
14303 i
14304 \family sans 
14305  Subparagraph:
14306 \family default 
14307  wszystko czego mo¿esz siê spodziewaæ w zwyk³ej kolejno¶ci.
14308  Czy tytularia s± numerowane czy nie mo¿esz ustawiæ w 
14309 \family sans 
14310 G³êboko¶ci rozdzia³ów
14311 \family default 
14312  (menu 
14313 \family sans 
14314 Formatowanie\SpecialChar \menuseparator
14315  Dokument
14316 \family default 
14317  zak³adka 
14318 \family sans 
14319 Inne
14320 \family default 
14321 ).
14322  Nie mo¿na korzystaæ z nienumerowanych odpowiedników (
14323 \family sans 
14324 Section*
14325 \family default 
14326  itp.) poniewa¿ nie istniej±.
14327 \layout Itemize
14328
14329
14330 \family sans 
14331 Enumerate:
14332 \family default 
14333  Jak zwykle tworzy numerowane listy ze wciêciem opisu, co opisano w 
14334 \emph on 
14335 Podrêczniku U¿ytkownika
14336 \emph default 
14337 .
14338 \layout Itemize
14339
14340
14341 \family sans 
14342 Itemize:
14343 \family default 
14344  Wyliczenie podobne jak w innych klasach, zobacz 
14345 \emph on 
14346 Podrêcznik U¿ytkownika
14347 \emph default 
14348 .
14349 \layout Itemize
14350
14351
14352 \family sans 
14353 Description
14354 \family default 
14355 : Wyja¶niono w 
14356 \emph on 
14357 Podrêczniku U¿ytkownika
14358 \emph default 
14359 .
14360  Pamiêtaj, ¿e je¶li chcesz aby w tytule opisu by³o wiêcej ni¿ jedno s³owo
14361  to musisz je po³±czyæ twardymi spacjami.
14362 \layout Itemize
14363
14364
14365 \family sans 
14366 Verbatim:
14367 \family default 
14368  jak zwykle.
14369 \layout Itemize
14370
14371
14372 \family sans 
14373 Code: podobnie jak ¶rodowisko LyX-Code
14374 \layout Itemize
14375
14376
14377 \family sans 
14378 Author
14379 \family default 
14380 : Twój znak, który pojawi siê na lewo od tytu³u dokumentu pod grub± kresk±.
14381 \layout Itemize
14382
14383
14384 \family sans 
14385 Date:
14386 \family default 
14387  Twój znak, który pojawi siê na lewo od tytu³u dokumentu pod grub± kresk±.
14388  You do not have to make this a date.
14389  Mo¿na wstawiæ dowolny tekst, np.
14390  numer wersji.
14391 \layout Itemize
14392
14393
14394 \family sans 
14395 Abstract
14396 \family default 
14397 : Tworzy oddzielny akapit po autorze i dacie, przed pierwsz± sekcj±.
14398  Dopuszczalny jest tylko jeden akapit.
14399 \begin_inset Foot
14400 collapsed false
14401
14402 \layout Standard
14403
14404
14405 \emph on 
14406 Uwaga autora.
14407
14408 \emph default 
14409  To trzeba sprawdziæ --
14410 \emph on 
14411 pe.
14412 \end_inset 
14413
14414
14415 \layout Itemize
14416
14417
14418 \family sans 
14419 Displaymath
14420 \family default 
14421 :
14422 \begin_inset Foot
14423 collapsed false
14424
14425 \layout Standard
14426
14427
14428 \emph on 
14429 Uwaga autora:
14430 \emph default 
14431  Jeszcze tego nie sprawdzi³em --
14432 \emph on 
14433 pe.
14434 \end_inset 
14435
14436
14437 \layout Subsubsection
14438
14439 Inne cechy dokumentu
14440 \layout Standard
14441
14442 Mo¿esz tak¿e u¿ywaæ menu 
14443 \family sans 
14444 Character Layout
14445 \family default 
14446  do wyboru fontów lub wyró¿nieñ wyrazów.
14447  Tak¿e mo¿esz u¿yæ jak zwykle spis tre¶ci; zobacz odpowiedni± sekcjê w 
14448 \emph on 
14449 Podrêczniku U¿ytkownika
14450 \emph default 
14451 .
14452  Oprócz tego znajdziesz tam trochê funkcji menu, np.
14453  przypisy.
14454  Istniej± drobne w±tpliwo¶ci czy to dzia³a poprawnie
14455 \begin_inset Foot
14456 collapsed false
14457
14458 \layout Standard
14459
14460
14461 \emph on 
14462 Author's note:
14463 \emph default 
14464 Again still checking to see whether this is my system
14465 \emph on 
14466  ---pe.
14467 \end_inset 
14468
14469 .
14470 \layout Subsubsection
14471
14472 Odno¶niki i HTML
14473 \layout Standard
14474
14475 W menu
14476 \family sans 
14477  Wstaw
14478 \family default 
14479  mo¿esz znale¼æ dwa polecenia do wstawiania adresów URL.
14480  Je¶li u¿yjesz którego¶ z nich, to zauwa¿ysz kod TeX-a wstawiony do dokumentu
14481  w trzech oddzielnych blokach ze spacjami pomiêdzy nimi.
14482  Oto przyk³ad:
14483 \layout Quote
14484
14485
14486 \family typewriter 
14487
14488 \backslash 
14489 htmlurl{
14490 \family default 
14491  lub
14492 \family typewriter 
14493  
14494 \backslash 
14495 url{
14496 \family default 
14497
14498 \hfill 
14499 space
14500 \family typewriter 
14501
14502 \hfill 
14503 }{
14504 \family default 
14505
14506 \hfill 
14507 space
14508 \hfill 
14509
14510 \family typewriter 
14511 }
14512 \layout Standard
14513
14514 Wstaw pe³ny znacznik HTML pomiêdzy pierwszy i drugi blok.
14515  To mo¿e byæ 
14516 \begin_inset LatexCommand \url{http://any.address}
14517
14518 \end_inset 
14519
14520  lub inny poprawny znacznik taki jak 
14521 \begin_inset LatexCommand \url{mailto:me@my.address}
14522
14523 \end_inset 
14524
14525
14526 \family typewriter 
14527 .
14528
14529 \family default 
14530  Mo¿esz wstawiæ opis pomiêdzy drugi i trzeci blok.
14531  Ró¿nice pomiêdzy poleceniami:
14532 \layout Itemize
14533
14534
14535 \family sans 
14536 URL:
14537 \family default 
14538  w dokumencie pojawi siê znacznik HTML i opis,
14539 \layout Itemize
14540
14541
14542 \family sans 
14543 HTML_URL:
14544 \family default 
14545  w drukowanej wersji pojawi siê tylko opis.
14546 \layout Subsection
14547
14548 U¿ycie skryptu SGML w LinuxDoc
14549 \layout Standard
14550
14551
14552 \begin_inset LatexCommand \label{sec:sgmloperate}
14553
14554 \end_inset 
14555
14556 Mo¿esz u¿ywaæ LinuxDoc jako klasy tekstowej bez ¿adnych dodatkowych skryptów
14557  czy programów, ale istnieje niewiele powodów do robienia tego.
14558  Wszystko co bêdziesz u¿ywa³ w dokumencie bêdzie wygl±da³o tak jak
14559 \emph on 
14560  Linux Documentation Project Howto
14561 \family sans 
14562 \emph default 
14563 .
14564
14565 \family default 
14566  Do t³umaczenia dokumentu potrzebujesz zainstalowanego pakietu 
14567 \family typewriter 
14568 sgml-tools-1.0.x.tar.gz
14569 \family default 
14570  (z 
14571 \begin_inset Formula $x\geq3$
14572 \end_inset 
14573
14574 ) dostêpnego na stronie www SGML-Tools pod adresem 
14575 \begin_inset LatexCommand \url{http://pobox.com/~cg/sgmltools}
14576
14577 \end_inset 
14578
14579 .
14580 \layout Standard
14581
14582 Alternatywnie, mo¿esz i¶æ do archiwum
14583 \family typewriter 
14584  sunsite
14585 \family default 
14586  pod adresem
14587 \begin_inset Foot
14588 collapsed false
14589
14590 \layout Standard
14591
14592 Note that, at the time of this writing (01/1998), version 1.0.3 of sgml-tools
14593  has not yet been made available at
14594 \family typewriter 
14595 sunsite
14596 \family default 
14597 .
14598 \end_inset 
14599
14600
14601 \begin_inset LatexCommand \url{ftp://sunsite.unc.edu/pub/Linux/utils/text/sgml-tools-1.0.x.tar.gz}
14602
14603 \end_inset 
14604
14605
14606 \layout Standard
14607
14608 Plik 
14609 \family typewriter 
14610 sgml-tools-1.0.x.tar.gz
14611 \family default 
14612  zawiera wszystko co potrzebujesz do pisania dokumentów SGML i konwersji
14613  ich przez groff, LaTeX, HTML, GNU info, LyX i RTF\SpecialChar \@.
14614
14615 \layout Standard
14616
14617 Ten pakiet zmieni³ nazwê w styczniu 1997 roku z 
14618 \family typewriter 
14619 linuxdoc-sgml-1.5.tar.gz
14620 \family default 
14621 .
14622 \layout Standard
14623
14624 Zainstaluj i u¿ywaj pakiet zgodnie z instrukcj± w nim zawart±.
14625  Wszystko to musi byæ wykonane poza LyX-em, zanim u¿yjesz polecenia 
14626 \family sans 
14627 \bar under 
14628 P
14629 \bar default 
14630 lik\SpecialChar \menuseparator
14631
14632 \bar under 
14633  E
14634 \bar default 
14635 ksportuj\SpecialChar \menuseparator
14636  LinuxDoc
14637 \family default 
14638 .
14639 \layout Subsection
14640
14641 Rozwi±zywanie problemów LinuxDoc
14642 \layout Standard
14643
14644 Gdy chcesz drukowaæ lub podejrzeæ dokument LinuxDoc wykonywana jest kontrola
14645  znaczników przed uruchomieniem LaTeX.
14646  Some errors are trapped here, especially those concerning the structure
14647  of the document.
14648  LyX mo¿e tworzyæ komunikaty b³êdów, ale nie zostawia w dokumencie znaczników,
14649  które mo¿na otworzyæ.
14650  Musisz zajrzeæ wprost do pliku aby stwierdziæ co jest nie tak.
14651  Wiêkszo¶æ problemów zdaje siê pochodziæ od opcji, które nie s± w pe³ni
14652  dostêpne w tej klasie dokumentu.
14653 \layout Section
14654
14655 Faksowanie
14656 \layout Standard
14657
14658 by
14659 \noun on 
14660  Jürgen Vigna
14661 \layout Subsection
14662
14663 Wysy³anie faksów wprost z LyX-a
14664 \layout Standard
14665
14666 Przede wszystkim musimy wspomnieæ, ¿e LyX potrafi wysy³aæ faksy pod warunkiem,
14667  ¿e masz zainstalowane i dzia³aj±ce oprogramowanie do wysy³ania faksów (np.
14668  HylaFax, efax, mgetty+sendfax, \SpecialChar \ldots{}
14669 ).
14670  LyX pracuje tylko jako graficzny interfejs (front end) do tych programów!
14671 \layout Standard
14672
14673 W zale¿no¶ci od u¿ywanego oprogramowania faksowego musisz ustawiæ kilka
14674  poleceñ w pliku
14675 \family typewriter 
14676  lyxrc
14677 \family default 
14678 .
14679  Oto te polecenia:
14680 \layout Description
14681
14682
14683 \family typewriter 
14684
14685 \backslash 
14686 fax_command:
14687 \family default 
14688  Tutaj nale¿y podaæ polecenie, które ma wywo³aæ LyX aby wys³aæ faks.
14689  Polecenie powinno byæ zdolne przetworzyæ plik PostScript, wytworzony przez
14690  LyX-a.
14691  £añcuch polecenia mo¿e zawieraæ nastêpuj±ce zmienne:
14692 \begin_deeper 
14693 \layout Description
14694
14695
14696 \family typewriter 
14697 $$Host:
14698 \family default 
14699  zastêpuje nazwê zmiennej ¶rodowiska FAX_SERVER
14700 \layout Description
14701
14702
14703 \family typewriter 
14704 $$Comment:
14705 \family default 
14706  zastêpuje zawarto¶æ pola komentarz
14707 \layout Description
14708
14709
14710 \family typewriter 
14711 $$Enterprise:
14712 \family default 
14713  zastêpuje zawarto¶æ pola Firma
14714 \layout Description
14715
14716
14717 \family typewriter 
14718 $$Name:
14719 \family default 
14720  zastêpuje zawarto¶æ pola nazwa
14721 \layout Description
14722
14723
14724 \family typewriter 
14725 $$Phone:
14726 \family default 
14727  zastêpuje zawarto¶æ pola numer faksu
14728 \layout Description
14729
14730
14731 \family typewriter 
14732 $$FName:
14733 \family default 
14734  zastêpuje nazwê pliku, który ma zostaæ wys³any
14735 \end_deeper 
14736 \layout Paragraph
14737
14738 Przyk³ady:
14739 \layout Standard
14740
14741 Przyjmujemy, ¿e nazwa³e¶ plik ,,
14742 \family typewriter 
14743 newfile.lyx
14744 \family default 
14745 '' i chcia³by¶ wys³aæ go wprost do faksu nie opuszczaj±c LyX-a.
14746  Masz zainstalowane oprogramowanie HylaFax i twoja zmienna ¶rodowiska
14747 \family typewriter 
14748  FAX_SERVER
14749 \family default 
14750  ma warto¶æ ,,
14751 \family typewriter 
14752 faxhost.mydomain
14753 \family default 
14754 '' i poda³e¶ te warto¶ci w oknie faksowania:
14755 \layout List
14756 \labelwidthstring 00.00.0000
14757
14758
14759 \family sans 
14760 Fax.\SpecialChar ~
14761 no:
14762 \family default 
14763  +39-2-444666
14764 \layout List
14765 \labelwidthstring 00.00.0000
14766
14767
14768 \family sans 
14769 Dest.\SpecialChar ~
14770 Name:
14771 \family default 
14772  Someone
14773 \layout List
14774 \labelwidthstring 00.00.0000
14775
14776
14777 \family sans 
14778 Enterprise:
14779 \family default 
14780  Startrek
14781 \layout List
14782 \labelwidthstring 00.00.0000
14783
14784
14785 \family sans 
14786 Comment:
14787 \family default 
14788  This comment string
14789 \layout Standard
14790
14791 Z podanymi ni¿ej ustawieniami:
14792 \layout LyX-Code
14793
14794
14795 \backslash 
14796 fax_command
14797 \begin_inset Quotes eld
14798 \end_inset 
14799
14800 sendfax -n -h '$$Host' -c '$$Comment'
14801 \layout LyX-Code
14802
14803 -x '$$Enterprise' -d '$$Name'@'$$Phone' '$$FName'
14804 \begin_inset Quotes erd
14805 \end_inset 
14806
14807
14808 \layout Standard
14809
14810 zostanie wykonane polecenie:
14811 \layout LyX-Code
14812
14813 sendfax -n -h faxhost.mydomain -c 'This comment string'
14814 \layout LyX-Code
14815
14816 -x 'Startrek' -d 'Someone'@'+39-2-444666'
14817 \layout LyX-Code
14818
14819 <tempfile-path>/newfile.ps
14820 \layout Description
14821
14822
14823 \family typewriter 
14824
14825 \backslash 
14826 phone_book:
14827 \family default 
14828  Zawiera nazwê pliku ksi±¿ki telefonicznej, któr± mo¿esz utworzyæ w oknie
14829  formularza faksu.
14830  Domy¶ln± warto¶ci± jest
14831 \family typewriter 
14832  $HOME/.lyx/phonebook.
14833 \layout Paragraph
14834
14835 Przyk³ady:
14836 \layout LyX-Code
14837
14838
14839 \backslash 
14840 phone_book myphonebook
14841 \layout Standard
14842
14843 zapisuje i czyta plik ksi±¿ki telefonicznej z pliku
14844 \family typewriter 
14845  $HOME/.lyx/myphonebook
14846 \layout LyX-Code
14847
14848
14849 \backslash 
14850 phone_book /var/lib/phonebook
14851 \layout Standard
14852
14853 zapisuje i czyta plik ksi±¿ki telefonicznej
14854 \family typewriter 
14855  /var/lib/phonebook
14856 \layout Description
14857
14858
14859 \family typewriter 
14860
14861 \backslash 
14862 fax_program:
14863 \family default 
14864  W tym miejscu podajesz program, który LyX wywo³a jako zewnêtrzny program
14865  do wys³ania Twojego faksu (np.
14866  tkhylafax), zamiast wbudowanego formularza faksu.
14867  Dopuszczalna jest tylko zmienna
14868 \family typewriter 
14869  $$FName
14870 \family default 
14871 .
14872 \layout Paragraph
14873
14874 Przyk³ady:
14875 \layout LyX-Code
14876
14877
14878 \backslash 
14879 fax_program
14880 \begin_inset Quotes eld
14881 \end_inset 
14882
14883 tkhylafax '$$Fname'
14884 \begin_inset Quotes erd
14885 \end_inset 
14886
14887
14888 \layout Standard
14889
14890 Przy powy¿szych za³o¿eniach zostanie wykonane nastêpuj±ce polecenie:
14891 \layout LyX-Code
14892
14893 tkhylafax <tempfile-path>/newfile.ps
14894 \layout Section
14895
14896 Check TeX
14897 \layout Standard
14898
14899 by Asger
14900 \noun on 
14901  Alstrup
14902 \layout Subsection
14903
14904 Wprowadzenie
14905 \layout Standard
14906
14907 W menu
14908 \family sans 
14909  Edycja
14910 \family default 
14911  mo¿esz znale¼æ polecenie
14912 \family sans 
14913  C
14914 \bar under 
14915 h
14916 \bar default 
14917 eck\SpecialChar ~
14918 TeX
14919 \family default 
14920 .
14921  Ta funkcja LyX-a wymaga posiadania zainstalowanego zewnêtrznego programu
14922 \family typewriter 
14923  chktex
14924 \family default 
14925  i jest wygaszone je¶li go nie posiadasz.
14926  Mo¿esz go pobraæ z archiwów CTAN lub z
14927 \begin_inset LatexCommand \url{http://www.ifi.uio.no/~jensthi/chktex/}
14928
14929 \end_inset 
14930
14931 .
14932 \layout Standard
14933
14934 Pakiet
14935 \family sans 
14936  ChkTeX
14937 \family default 
14938  jest programem napisanym przez sfrustrowanego
14939 \noun on 
14940  Jens T.
14941  Berger Thielemann
14942 \noun default 
14943 , poniewa¿ wiele konstrukcji LaTeX-a czasami jest nieintuicyjnych i ³atwych
14944  do zapomnienia.
14945  Program przetwarzaj±c Twój plik LaTeX-a sprawdza integralno¶æ pliku i zaznacza
14946  b³êdy.
14947  W jêzyku technicznym jest to
14948 \family typewriter 
14949  Lint
14950 \family default 
14951  dla LaTeX-a.
14952 \layout Standard
14953
14954 Czy CheckTeX jest kontrolerem sk³adni, którego u¿ycie zapewni poprawne pliki
14955  LateX-a? Odpowied¼ jest prosta: Tak jak
14956 \family typewriter 
14957  Lint
14958 \family default 
14959  nie tylko sprawdza sk³adniê programów w jêzyku C, semantykê, wy³apuje wiele
14960  typowych b³êdów typograficznych.
14961
14962 \family sans 
14963  ChkTeX
14964 \family default 
14965  potrafi wykryæ wiele podstawowych b³êdów, takich jak:
14966 \layout Itemize
14967
14968 Ellipsis detection:
14969 \newline 
14970 Use \SpecialChar \ldots{}
14971  instead of ...
14972 \layout Itemize
14973
14974 No space in front of/after parenthesis:
14975 \newline 
14976 ( wrong spacing )
14977 \layout Itemize
14978
14979 Enforcement of normal space after common abbreviations:
14980 \newline 
14981 e.
14982  g.
14983  is too wide spacing.
14984 \layout Itemize
14985
14986 Enforcement of end-of-sentence space when the last sentence ends with a
14987  capital letter:
14988 \newline 
14989 This is a TEST.
14990  And this is wrong spacing.
14991 \layout Itemize
14992
14993 Space in front of labels and similar commands:
14994 \newline 
14995 The label should stick right up to the text to avoid falling to a wrong
14996  page.
14997 \begin_inset LatexCommand \label{sec:chktex}
14998
14999 \end_inset 
15000
15001
15002 \begin_inset Foot
15003 collapsed true
15004
15005 \layout Standard
15006
15007 This footnote is in danger of falling off to a wrong page
15008 \end_inset 
15009
15010
15011 \layout Itemize
15012
15013 Space in front of references, instead of hard spaces:
15014 \newline 
15015 In you are in bad luck, the text will break right between the referenced
15016  text and reference number, and that's a pity.
15017  See section
15018 \begin_inset LatexCommand \ref{sec:chktex}
15019
15020 \end_inset 
15021
15022 .
15023 \layout Itemize
15024
15025 Use of ,,x'' instead of
15026 \begin_inset Formula $\times$
15027 \end_inset 
15028
15029  between numbers:
15030 \newline 
15031 2x2 looks cheap compared to
15032 \begin_inset Formula $2\times2$
15033 \end_inset 
15034
15035 .
15036 \layout Standard
15037
15038 i inne \SpecialChar \ldots{}
15039  To jest nieocenione narzêdzie gdy ,,zakoñczyli¶my'' pracê nad dokumentem.
15040  Przed wydrukowaniem powinni¶my sprawdziæ obligatoryjnie pisowniê i uruchomiæ
15041  CheckTeX-a.
15042 \layout Subsection
15043
15044 Jak u¿yæ
15045 \layout Standard
15046
15047 Je¶li masz zainstalowany program
15048 \family typewriter 
15049  checktex
15050 \family default 
15051 , po prostu wybierz z menu polecenie
15052 \family sans 
15053 \bar under 
15054  E
15055 \bar default 
15056 dycja\SpecialChar \menuseparator
15057  C
15058 \bar under 
15059 h
15060 \bar default 
15061 eck TeX
15062 \family default 
15063 .
15064  To spowoduje utworzenie pliku LaTeX-a na podstawie Twojego dokumentu, sprawdzen
15065 ie go przez
15066 \family sans 
15067  CheckTeX
15068 \family default 
15069  i wstawienie ,,okienek b³êdów'' do dokumentu z ostrze¿eniami
15070 \family sans 
15071  CheckTeX
15072 \family default 
15073 , je¶li jakie¶ znalaz³.
15074  Ostrze¿enia zostan± umieszczone blisko miejsca wyst±pienia b³êdu, które
15075  mo¿esz szybko odnale¼æ za pomoc± polecenia z menu
15076 \family sans 
15077 \bar under 
15078  N
15079 \bar default 
15080 awigacja\SpecialChar \menuseparator
15081  B³±d
15082 \family default 
15083  lub za pomoc± skótu klawiszowego
15084 \family sans 
15085  C-g
15086 \family default 
15087  w domy¶lnym pliku bind
15088 \family typewriter 
15089 cua
15090 \family default 
15091 .
15092  Okienko b³êdu otwiera siê przez klikniêcie na nim myszk± lub domy¶lnym
15093  skrótem
15094 \family sans 
15095  C-i
15096 \family default 
15097  albo skrótem z pliku bind
15098 \family typewriter 
15099  emacs
15100 \family sans 
15101  C-o
15102 \family default 
15103 .
15104  Przeczytaj uwagi i popraw b³êdy je¶li s±.
15105  Je¶li masz k³opoty ze zrozumieniem co oznaczaj± ostrze¿enia, mo¿esz spokojnie
15106  je zignorowaæ.
15107  Remember that there is a hidden layer between the document on screen and
15108  the technical details in invoking
15109 \family sans 
15110  CheckTeX
15111 \family default 
15112 , and this gap can make some warnings seem arcane or just right down plain
15113  silly.
15114 \layout Standard
15115
15116 This document is an excellent testing bed for the feature, and it should
15117  provide quite a few warnings for you to fiddle with.
15118  Since computers are only so smart, expect most of the warnings to be false
15119  alarms, though.
15120 \layout Subsection
15121
15122 Jak dopasowaæ
15123 \layout Standard
15124
15125 Sometimes, you'll find that
15126 \family sans 
15127 ChkTeX
15128 \family default 
15129  makes more noise than suits your mood.
15130  Then you can choose not to use it, wait until your mood changes, or try
15131  to customize 
15132 \family sans 
15133 ChkTeX
15134 \family default 
15135  to get better along with you.
15136  Another choice in the most desperate situations is to use 
15137 \family sans 
15138 \bar under 
15139 E
15140 \bar default 
15141 dycja\SpecialChar \menuseparator
15142  
15143 \bar under 
15144 U
15145 \bar default 
15146 suñ wszystkie okienka b³êdów
15147 \family default 
15148 , which will get rid of all warnings instantly.
15149 \layout Standard
15150
15151 Mimo to 
15152 \family sans 
15153 ChkTeX
15154 \family default 
15155 \emph on 
15156  jest
15157 \emph default 
15158  bardzo konfigurowalny i extensible, nie powiniene¶ spodziewaæ siê rozwi±zania
15159  wszystkich problemów przez 
15160 \family sans 
15161 ChkTeX
15162 \family default 
15163  w LyX-ie t± drog±.
15164  Since LyX has to generate a somewhat special LaTeX file to be able to match
15165  the line numbers from 
15166 \family sans 
15167 ChkTeX
15168 \family default 
15169  output
15170 \begin_inset Foot
15171 collapsed true
15172
15173 \layout Standard
15174
15175 You can inspect the specific output from
15176 \family sans 
15177 chktex
15178 \family default 
15179  by using
15180 \family sans 
15181 Edit\SpecialChar \menuseparator
15182 View\SpecialChar ~
15183 LaTeX\SpecialChar ~
15184 Log
15185 \family default 
15186  right after a
15187 \family sans 
15188 chktex
15189 \family default 
15190  run.
15191 \end_inset 
15192
15193  to appear correctly.
15194  S± dwie rzeczy, które mo¿esz wykonaæ :
15195 \layout Itemize
15196
15197 Dopasuj polecenia wywo³ania 
15198 \family sans 
15199 ChkTeX
15200 \family default 
15201  w swoim pliku 
15202 \family typewriter 
15203 lyxrc
15204 \family default 
15205  lub w globalnym pliku konfiguracyjnym instalacji 
15206 \family sans 
15207 ChkTeX
15208 \family default 
15209  (zwykle jest to plik 
15210 \family typewriter 
15211 /usr/local/share/chktexrc
15212 \family default 
15213 ).
15214  Zobacz poni¿ej jak mo¿na w³±czaæ i wy³±czaæ ostrze¿enia w wierszu poleceñ.
15215 \layout Itemize
15216
15217 Wyeksportuj swoj dokument do LaTeX-a za pomoc± polecenia 
15218 \family sans 
15219 \bar under 
15220 P
15221 \bar default 
15222 lik\SpecialChar \menuseparator
15223
15224 \bar under 
15225 E
15226 \bar default 
15227 ksportuj\SpecialChar \menuseparator
15228  
15229 \bar under 
15230 L
15231 \bar default 
15232 aTeX
15233 \family default 
15234  i uruchom 
15235 \family typewriter 
15236 chktex
15237 \family default 
15238  rêcznie.
15239  Invoked in this way, it can be a hassle to find the corresponding place
15240  in the document inside LyX, but with a little patience, you should be able
15241  to do it.
15242 \layout Standard
15243
15244 Poni¿sze komunikaty ostrze¿eñ mog± byæ aktywowane lub wy³±czone za pomoc±
15245  odpowiednich wpisów w dyrektywie 
15246 \family typewriter 
15247
15248 \backslash 
15249 chktex_command
15250 \family default 
15251  w Twoim pliku 
15252 \family typewriter 
15253 lyxrc
15254 \family default 
15255 .
15256  U¿yj 
15257 \family typewriter 
15258 -n#
15259 \family default 
15260  aby wy³±czyæ ostrze¿enie i 
15261 \family typewriter 
15262 -w#
15263 \family default 
15264  aby je uaktywniæ.
15265  Ostrze¿enia napisane kursyw± s± domy¶lnie wy³±czone, przez domy¶lny wpis
15266  w dyrektywie "
15267 \family typewriter 
15268 chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38
15269 \family default 
15270 ".
15271 \layout Standard
15272
15273 Notice that you should only use the options that enable and disable warnings,
15274  because LyX relies on some of the other command line parameters to be set
15275  in a specific way to have a chance to communicate with 
15276 \family typewriter 
15277 chktex
15278 \family default 
15279 .
15280 \layout Enumerate
15281
15282
15283 \size small 
15284 \emph on 
15285 Command terminated with space.
15286 \layout Enumerate
15287
15288
15289 \size small 
15290 Non-breaking space (,,
15291 \family typewriter 
15292 ~
15293 \family default 
15294 '') should have been used.
15295 \layout Enumerate
15296
15297
15298 \size small 
15299 \emph on 
15300 You should enclose the previous parenthesis with ,,
15301 \family typewriter 
15302 {}
15303 \family default 
15304 ''.
15305 \layout Enumerate
15306
15307
15308 \size small 
15309 Italic correction (,,
15310 \family typewriter 
15311
15312 \backslash 
15313 /
15314 \family default 
15315 '') found in non-italic buffer.
15316 \layout Enumerate
15317
15318
15319 \size small 
15320 Italic correction (,,
15321 \family typewriter 
15322
15323 \backslash 
15324 /
15325 \family default 
15326 '') found more than once.
15327 \layout Enumerate
15328
15329
15330 \size small 
15331 \emph on 
15332 No italic correction (,,
15333 \family typewriter 
15334
15335 \backslash 
15336 /
15337 \family default 
15338 '') found.
15339 \layout Enumerate
15340
15341
15342 \size small 
15343 Accent command ,,
15344 \family typewriter 
15345 cmd
15346 \family default 
15347 '' needs use of ,,
15348 \family typewriter 
15349 cmd
15350 \family default 
15351 ''.
15352 \layout Enumerate
15353
15354
15355 \size small 
15356 Wrong length of dash may have been used.
15357 \layout Enumerate
15358
15359
15360 \size small 
15361 \emph on 
15362 ,,
15363 \family typewriter 
15364 %s
15365 \family default 
15366 '' expected, found ,,
15367 \family typewriter 
15368 %s
15369 \family default 
15370 ''.
15371 \layout Enumerate
15372
15373
15374 \size small 
15375 Solo ,,
15376 \family typewriter 
15377 %s
15378 \family default 
15379 '' found.
15380 \layout Enumerate
15381
15382
15383 \size small 
15384 You should use ,,
15385 \family typewriter 
15386 %s
15387 \family default 
15388 '' to achieve an ellipsis.
15389 \layout Enumerate
15390
15391
15392 \size small 
15393 Inter-word spacing (,,
15394 \family typewriter 
15395
15396 \backslash 
15397
15398 \family default 
15399 '') should perhaps be used.
15400 \layout Enumerate
15401
15402
15403 \size small 
15404 Inter-sentence spacing (,,
15405 \family typewriter 
15406
15407 \backslash 
15408 @
15409 \family default 
15410 '') should perhaps be used.
15411 \layout Enumerate
15412
15413
15414 \size small 
15415 Could not find argument for command.
15416 \layout Enumerate
15417
15418
15419 \size small 
15420 No match found for ,,
15421 \family typewriter 
15422 %s
15423 \family default 
15424 ''.
15425 \layout Enumerate
15426
15427
15428 \size small 
15429 Math mode still on at end of LaTeX file.
15430 \layout Enumerate
15431
15432
15433 \size small 
15434 Number of ,,
15435 \family typewriter 
15436 char
15437 \family default 
15438 '' doesn't match the number of ,,
15439 \family typewriter 
15440 char
15441 \family default 
15442 ''.
15443 \layout Enumerate
15444
15445
15446 \size small 
15447 You should use either
15448 \family typewriter 
15449  ,,
15450 \family default 
15451  or
15452 \family typewriter 
15453  ''
15454 \family default 
15455  as an alternative to ,,
15456 \family typewriter 
15457 "
15458 \family default 
15459 ''.
15460 \layout Enumerate
15461
15462
15463 \size small 
15464 You should use ,,
15465 \family typewriter 
15466 '
15467 \family default 
15468 '' (ASCII 39) instead of ,,
15469 \family typewriter 
15470 ´
15471 \family default 
15472 '' (ASCII 180).
15473 \layout Enumerate
15474
15475
15476 \size small 
15477 User-specified pattern found.
15478 \layout Enumerate
15479
15480
15481 \size small 
15482 This command might not be intended.
15483 \layout Enumerate
15484
15485
15486 \size small 
15487 \emph on 
15488 Comment displayed.
15489 \layout Enumerate
15490
15491
15492 \size small 
15493 Either
15494 \family typewriter 
15495  ''
15496 \backslash 
15497 ,'
15498 \family default 
15499  or
15500 \family typewriter 
15501  '
15502 \backslash 
15503 ,''
15504 \family default 
15505  will look better.
15506 \layout Enumerate
15507
15508
15509 \size small 
15510 Delete this space to maintain correct page references.
15511 \layout Enumerate
15512
15513
15514 \size small 
15515 \emph on 
15516 You might wish to put this between a pair of ,,
15517 \family typewriter 
15518 {}
15519 \family default 
15520 ''.
15521 \layout Enumerate
15522
15523
15524 \size small 
15525 You ought to remove spaces in front of punctuation.
15526 \layout Enumerate
15527
15528
15529 \size small 
15530 Could not execute LaTeX command.
15531 \layout Enumerate
15532
15533
15534 \size small 
15535 Don't use
15536 \family typewriter 
15537
15538 \backslash 
15539 /
15540 \family default 
15541  in front of small punctuation.
15542 \layout Enumerate
15543
15544
15545 \family typewriter 
15546 \size small 
15547 $
15548 \backslash 
15549 times$
15550 \family default 
15551  may look prettier here.
15552 \layout Enumerate
15553
15554
15555 \size small 
15556 \emph on 
15557 Multiple spaces detected in output.
15558 \layout Enumerate
15559
15560
15561 \size small 
15562 This text may be ignored.
15563 \layout Enumerate
15564
15565
15566 \size small 
15567 Use
15568 \family typewriter 
15569  ,,
15570 \family default 
15571  to begin quotation, not
15572 \family typewriter 
15573  
15574 \family default 
15575 '.
15576 \layout Enumerate
15577
15578
15579 \size small 
15580 Use
15581 \family typewriter 
15582  '
15583 \family default 
15584  to end quotation, not
15585 \family typewriter 
15586  ''
15587 \family default 
15588 .
15589 \layout Enumerate
15590
15591
15592 \size small 
15593 Don't mix quotes.
15594 \layout Enumerate
15595
15596
15597 \size small 
15598 You should perhaps use ,,
15599 \family typewriter 
15600 cmd
15601 \family default 
15602 '' instead.
15603 \layout Enumerate
15604
15605
15606 \size small 
15607 You should put a space in front of/after parenthesis.
15608 \layout Enumerate
15609
15610
15611 \size small 
15612 You should avoid spaces in front of/after parenthesis.
15613 \layout Enumerate
15614
15615
15616 \size small 
15617 \emph on 
15618 You should not use punctuation in front of/after quotes.
15619 \layout Enumerate
15620
15621
15622 \size small 
15623 Double space found.
15624 \layout Enumerate
15625
15626
15627 \size small 
15628 You should put punctuation outside inner/inside display math mode.
15629 \layout Enumerate
15630
15631
15632 \size small 
15633 You ought to not use primitive TeX in LaTeX code.
15634 \layout Enumerate
15635
15636
15637 \size small 
15638 You should remove spaces in front of ,,
15639 \family typewriter 
15640 %s
15641 \family default 
15642 ''
15643 \layout Enumerate
15644
15645
15646 \size small 
15647 ,,
15648 \family typewriter 
15649 %s
15650 \family default 
15651 '' is normally not followed by ,,
15652 \family typewriter 
15653 %c
15654 \family default 
15655 ''.
15656 \layout Standard
15657
15658 Mam nadziejê, ¿e w nastêpnych wersjach LyX-a dostarczymy bardziej kompletny
15659  interfejs dla tego narzêdzia (i jego mniejszego kuzyna
15660 \family typewriter 
15661  lacheck
15662 \family default 
15663 ) dla wykorzystania jego pe³nych mo¿liwo¶ci.
15664  But it's not exactly useless as it is now: go try it on one of your existing
15665  documents of a certain length and be surprised.
15666 \layout Section
15667
15668 Kontrola wersji (RCS) w LyX
15669 \layout Standard
15670
15671 by
15672 \noun on 
15673  Lars Gullik Bjønnes
15674 \layout Subsection
15675
15676 Wprowadzenie
15677 \layout Standard
15678
15679 Moi przyjaciele chcieli u¿yæ LyX-a do projektu grupowego.
15680  Gdy nie znale¼li obs³ugi kontroli wersji ani blokowania plików, porzucili
15681  ten pomys³.
15682  To na tyle mnie zirytowa³o, ¿e postanowi³em zrobiæ obs³ugê dla RCS (z mo¿liwo¶c
15683 i± obs³ugi CVS i/lub SCCS jako przysz³o¶ciowe ulepszenie).
15684  To ju¿ zosta³o zrobione i teraz LyX obs³uguje najbardziej podstawowe polecenia
15685  RCS.
15686 \layout Standard
15687
15688 Je¶li potrzebujesz zrobiæ co¶ bardziej wyszukanego to bêdziesz musia³ zrobiæ
15689  to rêcznie w terminalu xterm.
15690 \layout Standard
15691
15692 Zanim zaczniesz u¿ywaæ kontroli wersji w LyX-ie powiniene¶ wpierw przeczytaæ
15693 \emph on 
15694  rcsintro
15695 \emph default 
15696  (plik man:
15697 \family typewriter 
15698  man rcsintro
15699 \family default 
15700 ).
15701  W tym pliku s± opisane wszystkie podstawowe funkcje RCS.
15702  Powiniene¶ zwróciæ szczególn± uwagê na katalog RCS oraz na plik g³ówny
15703  RCS (zakoñczony v)
15704 \layout Standard
15705
15706 W LyX-ie dokonano implementacji dla ostatniej wersji pakietu GNU RCS --
15707  nie gwarantujemy wykonania dla starszych wersji.
15708 \layout Subsection
15709
15710 Polecenia RCS w LyX
15711 \layout Standard
15712
15713 W dalszych sekcjach opisano polecenia RCS obs³ugiwane przez LyX-a.
15714  Mo¿esz je znale¼æ w menu
15715 \family sans 
15716 \bar under 
15717  P
15718 \bar default 
15719 lik\SpecialChar \menuseparator
15720
15721 \bar under 
15722 K
15723 \bar default 
15724 ontrola wersji
15725 \family default 
15726 .
15727 \layout Subsubsection
15728
15729
15730 \family sans 
15731 Rejestruj
15732 \layout Standard
15733
15734 Je¶li dokument nie jest objêty kontrol± wersji, to wy¶wietlone jest tylko
15735  to polecenie menu.
15736  A je¶li dokument jest objêty kontrol± wersji, to te polecenie jest wy³±czone.
15737 \layout Standard
15738
15739 To polecenie rejestruje dokument w RCS.
15740  Zostaniesz zapytany o pocz±tkowy opis dokumentu.
15741  Dokument jest teraz w trybie TylkoDoOdczytu i aby dokonaæ jego edycji musisz
15742  wybraæ polecenie
15743 \family sans 
15744  Odblokuj i edytuj
15745 \family default 
15746 .
15747  Dokument objêty kontrol± wersji ma oznaczenie w buforze: [RCS:<version>
15748  <locker>].
15749 \layout Standard
15750
15751 Polecenie RCS:
15752 \family typewriter 
15753 ci -q -u -i -t-"<initial description>" <file-name>
15754 \layout Standard
15755
15756 Przeczytaj
15757 \family typewriter 
15758  man ci
15759 \family default 
15760  aby poznaæ parametry wywo³ania polecenia.
15761 \layout Subsubsection
15762
15763 Zwolnij
15764 \layout Standard
15765
15766 Gdy skoñczy³e¶ edycjê pliku wprowad¼ zmianê do RCS.
15767  Gdy to zrobisz, zostaniesz zapytany o opis zmian, który zostanie zapisany
15768  w historii dokumentu.
15769  Numer wersji zostanie zwiêkszony, a twoje zmiany dopisane do g³ównego pliku
15770  RCS.
15771  Dokument jest odblokowany i ustawiony w tryb TylkoDoOdczytu.
15772 \layout Standard
15773
15774 Polecenie RCS:
15775 \family typewriter 
15776 ci -q -u -m"<description>" <file-name>
15777 \layout Subsubsection
15778
15779 Zablokuj i edytuj
15780 \layout Standard
15781
15782 Za pomoc± tego polecenia blokujemy dokument dla siebie i mo¿emy go edytowaæ.
15783  Polecenie ustawia plik w tryb ZapisOdczyt tylko dla Ciebie.
15784  Mo¿esz kontynuowaæ edycjê do czasu, a¿ do wydania polecenia
15785 \family sans 
15786  Zwolnij
15787 \family default 
15788 .
15789  W wierszu statusowym zaznaczone jest ¿e plik zosta³ zablokowany.
15790 \layout Standard
15791
15792 Polecenie RCS:
15793 \family typewriter 
15794 co -q -l <file-name>
15795 \layout Subsubsection
15796
15797 Wróæ do ostatniej wersji
15798 \layout Standard
15799
15800 Polecenie usuwa wszystkie wprowadzone zmiany do dokumentu od czasu ostatniej
15801  rewizji (zwolnienia).
15802  Zostaniesz przedtem ostrze¿ony.
15803 \layout Standard
15804
15805 RCS command:is
15806 \family typewriter 
15807 co -f -u<version> <file-name>
15808 \layout Subsubsection
15809
15810 Usuñ ostatnio wprowadzone zmiany
15811 \layout Standard
15812
15813 Wynikiem polecenia jest jak gdyby ostatnia rewizja siê nie zdarzy³a.
15814  W dokumencie LyX-a nie s± dokonywane ¿adne zmiany, ale ostatnia wersja
15815  jest usuwana z g³ównego pliku RCS.
15816 \layout Standard
15817
15818 RCS command:
15819 \family typewriter 
15820 rcs -o<version> <file-name>
15821 \family default 
15822 umum
15823 \layout Subsubsection
15824
15825 Poka¿ historiê zmian
15826 \layout Standard
15827
15828 Polecenie wy¶wietla pe³n± historiê dokumentu.
15829  Wy¶wietlony zostaje
15830 \family typewriter 
15831  rlog <file-name>
15832 \family default 
15833  w przegl±darce.
15834  Przeczytaj man
15835 \family typewriter 
15836  rlog
15837 \family default 
15838  aby poznaæ wiêcej informacji.
15839 \layout Section
15840
15841 Literate Programming
15842 \layout Standard
15843
15844 By
15845 \noun on 
15846  Edmar Wienskoski Jr.
15847
15848 \noun default 
15849  (edmar-w-jr@technologist.com)
15850 \layout Subsection
15851
15852 Wprowadzenie
15853 \layout Standard
15854
15855 The main purpose of this documentation is to show you how to use LyX for
15856  literate programming.
15857  Where it is assumed that you are familiar with this programming technique,
15858  and know what
15859 \begin_inset Quotes eld
15860 \end_inset 
15861
15862 tangling
15863 \begin_inset Quotes erd
15864 \end_inset 
15865
15866  and
15867 \begin_inset Quotes eld
15868 \end_inset 
15869
15870 weaving
15871 \begin_inset Quotes erd
15872 \end_inset 
15873
15874  means.
15875  If that is not the case, please follow the web links provided in the following
15876  sections.
15877  There is a lot of good documentation out there covering old development
15878  history to the latest tools tips.
15879 \layout Standard
15880
15881 It is also assumed that you are familiar with LyX itself to a point that
15882  you are comfortable changing your
15883 \family typewriter 
15884 lyxrc
15885 \family default 
15886  file, and X resources file.
15887  If that is not the case please refer to other LyX documentation to cover
15888  your specific needs.
15889 \layout Subsection
15890
15891 Literate Programming
15892 \layout Standard
15893
15894 From the Literate Programming FAQ :
15895 \layout Quotation
15896
15897 Literate programming is the combination of documentation and source together
15898  in a fashion suited for reading by human beings.
15899  In fact, literate programs should be enjoyable reading, even inviting!
15900  (Sorry Bob, I couldn't resist!) In general, literate programs combine source
15901  and documentation in a single file.
15902  Literate programming tools then parse the file to produce either readable
15903  documentation or compilable source.
15904  The WEB style of literate programming was created by D.E.
15905  Knuth during the development of his TeX typesetting software.
15906 \layout Standard
15907
15908 Another excerpt says:
15909 \layout Quotation
15910
15911
15912 \emph on 
15913 How is literate programming different from verbose commenting?
15914 \layout Quotation
15915
15916 There are three distinguishing characteristics.
15917  In order of importance, they are:
15918 \begin_deeper 
15919 \layout Itemize
15920
15921 flexible order of elaboration
15922 \layout Itemize
15923
15924 automatic support for browsing
15925 \layout Itemize
15926
15927 typeset documentation, especially diagrams and mathematics
15928 \end_deeper 
15929 \layout Standard
15930
15931 Now that I sparked your curiosity, take a look in the references.
15932 \layout Subsubsection
15933
15934 References
15935 \layout Standard
15936
15937 The complete Literate Programming FAQ can be found at:
15938 \layout Quote
15939
15940 http://shelob.ce.ttu.edu/daves/faq.html
15941 \layout Standard
15942
15943 The FAQ lists 23 (twenty three !) different literate programming tools.
15944  Where some are specialized or
15945 \begin_inset Quotes eld
15946 \end_inset 
15947
15948 tailored
15949 \begin_inset Quotes erd
15950 \end_inset 
15951
15952  for particular programming languages, while other have general scope.
15953  I selected 
15954 \noun on 
15955 Noweb
15956 \noun default 
15957  for my own use for several reasons:
15958 \layout Itemize
15959
15960 It can generate the documentation either in latex or html.
15961 \layout Itemize
15962
15963 It has a open architecture, i.e., it is easy to plug in new filters and to
15964  perform special processing that you may need.
15965 \layout Itemize
15966
15967 There is a good selection of filters available already (the html is one
15968  of them).
15969 \layout Itemize
15970
15971 It is free.
15972 \layout Standard
15973
15974 The Noweb web page can be found at:
15975 \layout Quote
15976
15977 http://www.cs.virginia.edu/~nr/noweb
15978 \layout Standard
15979
15980 Starting from there you can reach many other interesting links and even
15981  some literate program examples.
15982 \layout Subsection
15983
15984 LyX and Literate Programming
15985 \layout Standard
15986
15987 Some changes to LyX were required to enable it to interact with Noweb.
15988  Those changes were rather simple, and were done in a
15989 \begin_inset Quotes eld
15990 \end_inset 
15991
15992 Noweb independent
15993 \begin_inset Quotes erd
15994 \end_inset 
15995
15996  way, i.e., I expect that you will be able to use this new LyX feature with
15997  some other literate programming tool of your choice by just re-configuring
15998  your lyxrc file.
15999 \layout Subsubsection
16000
16001 Generowanie dokumentów i kodu (weaving and tangling)
16002 \layout Paragraph
16003
16004 Wybor klasy dokumentu
16005 \layout Standard
16006
16007 If you have installed Noweb and LyX successfully, whenever you open a new
16008  document or try to change the document class of an existing one, you will
16009  find that there are three new document classes available:
16010 \layout Itemize
16011
16012 Article (Noweb)
16013 \layout Itemize
16014
16015 Book (Noweb)
16016 \layout Itemize
16017
16018 Report (Noweb)
16019 \layout Standard
16020
16021 You must select one of them to create your literate documents from.
16022 \layout Standard
16023
16024 Note that literate documents are not limited to these three classes.
16025  New classes can be generated from other styles like letter or in combination
16026  with other class variations like Article (AMS).
16027  I have limited the choice to these three because I didn't want to clog
16028  the list of options with all possible variations.
16029  If you have special needs that cannot be covered by one of the existing
16030  classes, let me know and I will arrange to insert a new entry, or teach
16031  you how to do it.
16032 \begin_inset Foot
16033 collapsed true
16034
16035 \layout Standard
16036
16037 It is very simple, it involves the creation of a file with four lines, and
16038  re-running of the auto configuration.
16039 \end_inset 
16040
16041  a new set of document classes for it.
16042 \layout Paragraph
16043
16044 Wpisywanie kodu
16045 \layout Standard
16046
16047 LyX enables you to write code with a layout named
16048 \noun on 
16049 Scrap
16050 \noun default 
16051 .
16052 \begin_inset Foot
16053 collapsed true
16054
16055 \layout Standard
16056
16057 The equivalent Noweb term is
16058 \begin_inset Quotes eld
16059 \end_inset 
16060
16061 Chunk
16062 \begin_inset Quotes erd
16063 \end_inset 
16064
16065 .
16066  For historical reasons, I got used to the term
16067 \begin_inset Quotes eld
16068 \end_inset 
16069
16070 scrap
16071 \begin_inset Quotes erd
16072 \end_inset 
16073
16074  introduced by other literate tool named Nuweb, which I used for many years
16075  before rendering myself to Noweb.
16076 \end_inset 
16077
16078
16079 \layout LyX-Code
16080
16081 <<My scrap>>=
16082 \layout LyX-Code
16083
16084   code
16085 \layout LyX-Code
16086
16087   more code
16088 \layout LyX-Code
16089
16090   even more code
16091 \layout LyX-Code
16092
16093   @
16094 \layout Standard
16095
16096 The problem is that whatever is written in between the << and the
16097 \family typewriter 
16098 @
16099 \family default 
16100  must be taken literally, i.e., LyX should be prevented from making any special
16101  interpretation of what has been written.
16102  For that reason, I defined a new layout named Scrap, that works like a
16103  LaTeX paragraph but has a free spacing capability.
16104  In other words, it is a combination of the LaTeX and the LyX-Code layouts.
16105 \layout Standard
16106
16107 The down side of this
16108 \begin_inset Quotes eld
16109 \end_inset 
16110
16111 semi-hack
16112 \begin_inset Quotes erd
16113 \end_inset 
16114
16115  is that consecutive paragraphs of code will be spaced with one empty line
16116  in the source code and also in the printed documentation.
16117  Of course I don't want this.
16118  The work around is to enter each line of code within a single Scrap, with
16119  a newline (ctrl-return).
16120  The example above will look like this:
16121 \begin_inset Foot
16122 collapsed true
16123
16124 \layout Standard
16125
16126 If you have a printed version of this document you will not see any difference
16127  between the previous example and this one.
16128 \end_inset 
16129
16130 <<My scrap>>=
16131 \newline 
16132   code
16133 \newline 
16134   more code
16135 \newline 
16136   even more code
16137 \newline 
16138   @
16139 \layout Standard
16140
16141 This layout works fine.
16142  The only real inconvenience is that you have to type ctrl-return instead
16143  of a plain return.
16144 \begin_inset Foot
16145 collapsed true
16146
16147 \layout Standard
16148
16149 It is in my list of
16150 \begin_inset Quotes eld
16151 \end_inset 
16152
16153 improvements
16154 \begin_inset Quotes erd
16155 \end_inset 
16156
16157  to fix that.
16158 \end_inset 
16159
16160 e to enter a blank character.
16161  I believe these problems are a small price to pay for the benefits LyX
16162  brings to you for typing, compiling, and debugging your literate program.
16163 \layout Paragraph
16164
16165 Generowanie dokumentacji
16166 \layout Standard
16167
16168 At this point you already have a new document file with a proper document
16169  class, and with some code and text on it.
16170  How do I print it ? The answer is simple, you select ,,Update dvi'' or
16171  ,,Update PostScript'' or ,,View dvi'', etc.
16172  Just like you would do for a plain document.
16173  No special procedure is required.
16174 \layout Standard
16175
16176 To help orientate you, I will now explain what happens inside LyX:
16177 \layout Enumerate
16178
16179 When the ,,Update dvi'' menu option is chosen, a latex file is generated.
16180 \begin_deeper 
16181 \layout Standard
16182
16183 If the document is of any literate class the generated file will be named
16184  with an extension name defined by
16185 \family typewriter 
16186  
16187 \backslash 
16188 literate_extension
16189 \family default 
16190 , otherwise the file will have the usual
16191 \family typewriter 
16192  .tex
16193 \family default 
16194  extension.
16195 \end_deeper 
16196 \layout Enumerate
16197
16198 Note that the only difference so far is in the name of the file, no special
16199  processing is required by LyX.
16200  Given that you formatted the code using the Scrap layout that, by itself,
16201  takes care of the business.
16202 \layout Enumerate
16203
16204 If the document is of any literate class LyX will execute:
16205 \begin_deeper 
16206 \layout LyX-Code
16207
16208
16209 \begin_inset Quotes eld
16210 \end_inset 
16211
16212
16213 \backslash 
16214 literate_command
16215 \begin_inset Quotes erd
16216 \end_inset 
16217
16218  <
16219 \emph on 
16220 filename
16221 \emph default 
16222  >
16223 \emph on 
16224  filename
16225 \emph default 
16226 .out
16227 \layout LyX-Code
16228
16229
16230 \begin_inset Quotes eld
16231 \end_inset 
16232
16233
16234 \backslash 
16235 literate_error_filter
16236 \begin_inset Quotes erd
16237 \end_inset 
16238
16239  <
16240 \emph on 
16241 filename
16242 \emph default 
16243 .out >
16244 \emph on 
16245 filename
16246 \emph default 
16247 .log
16248 \layout Standard
16249
16250 Otherwise it will just skip this step.
16251 \end_deeper 
16252 \layout Enumerate
16253
16254 Finally, LaTeX is invoked and the regular post processing continues as in
16255  a plain document.
16256 \layout Standard
16257
16258 The purpose of the
16259 \family typewriter 
16260
16261 \backslash 
16262 literate_command
16263 \family default 
16264 is to transform the newly created
16265 \family typewriter 
16266 .nw
16267 \family default 
16268 file into a
16269 \family typewriter 
16270 .tex
16271 \family default 
16272  file.
16273 \layout Standard
16274
16275 The purpose of the
16276 \family typewriter 
16277
16278 \backslash 
16279 literate_error_filter
16280 \family default 
16281  command is to help LyX display error boxes when the
16282 \family typewriter 
16283
16284 \backslash 
16285 literate_command
16286 \family default 
16287  reports any errors.
16288  This filter can be a C program, a script, or any thing you want.
16289  Its job is to identify error messages from your literate tool, in our case
16290  Noweb, and convert them to a common format that LyX understands.
16291  A separate document,
16292 \family typewriter 
16293 Literate.lyx
16294 \family default 
16295 , in the examples directory (accessed with the
16296 \family sans 
16297 Examples
16298 \family default 
16299  button in the file popup), has a literate C program that can be used to
16300  parse Noweb error messages.
16301  This scheme introduces one more command for the user to configure, but
16302  has the advantage of
16303 \begin_inset Quotes eld
16304 \end_inset 
16305
16306 literate tool
16307 \begin_inset Quotes erd
16308 \end_inset 
16309
16310  independence.
16311  Moreover, if you don't bother to set it, you can still use the system,
16312  you just loose the ability to have a nice display and interaction with
16313  the error messages.
16314 \layout Paragraph
16315
16316 Generowanie kodu
16317 \layout Standard
16318
16319 When the ,,Build Program'' File menu option is chosen or the corresponding
16320  button in the toolbar is pressed, a latex file with extension
16321 \family typewriter 
16322  
16323 \backslash 
16324 literate_extension
16325 \family default 
16326  is generated just like step 1 above.
16327  Then LyX invokes
16328 \family typewriter 
16329  
16330 \backslash 
16331 build_command
16332 \family default 
16333  to generate the code and
16334 \family typewriter 
16335  
16336 \backslash 
16337 build_error_filter
16338 \family default 
16339  to process the compilation error messages, as in step 3 above.
16340 \layout Standard
16341
16342 Note that no special processing is required from LyX.
16343 \layout Standard
16344
16345 Also note that I am assuming that you are familiar with Noweb.
16346  In this case you will know what to do to get an executable file starting
16347  from a noweb file (
16348 \family typewriter 
16349 .nw
16350 \family default 
16351  extension).
16352  It is likely that you will create a makefile for that purpose.
16353  For that reason, after LyX creates the noweb file, it invokes the command
16354  defined by
16355 \family typewriter 
16356
16357 \backslash 
16358 build_program
16359 \family default 
16360 , with a default of
16361 \begin_inset Quotes eld
16362 \end_inset 
16363
16364 make
16365 \begin_inset Quotes erd
16366 \end_inset 
16367
16368 .
16369  In case you want to process your literate file with a script, or some other
16370  program, just insert in your lyxrc file an entry with:
16371 \layout LyX-Code
16372
16373
16374 \backslash 
16375 build_command
16376 \begin_inset Quotes eld
16377 \end_inset 
16378
16379 my_script my_arguments
16380 \begin_inset Quotes erd
16381 \end_inset 
16382
16383
16384 \layout Standard
16385
16386 The
16387 \family typewriter 
16388
16389 \backslash 
16390 build_error_filter
16391 \family default 
16392  differs from the
16393 \family typewriter 
16394
16395 \backslash 
16396 literate_error_filter
16397 \family default 
16398  only in that the former will identify error messages from your compiler.
16399  The same example program mentioned before can also parse gcc, or xlc error
16400  messages.
16401  If you have a different compiler you may want to change this program or
16402  create a new one.
16403  Again, the same comments from the previous section are valid here: this
16404  is optional, you can skip it if you can afford to loose the LyX error handling
16405  feature.
16406 \layout Standard
16407
16408 In summary, the ,,Build Program'' internal function sequence is pretty much
16409  like the ,,Update dvi'' one but involving different commands.
16410  See schematic:
16411 \layout LyX-Code
16412
16413 ,,Update dvi''    -> generate .tex
16414 \layout LyX-Code
16415
16416                   -> invoke -> show latex errors
16417 \layout LyX-Code
16418
16419 on plain doc       file
16420 \backslash 
16421 latex
16422 \layout LyX-Code
16423
16424 \layout LyX-Code
16425
16426 ,,Update dvi''    -> generate same -> invoke
16427 \layout LyX-Code
16428
16429                   -> invoke -> show latex errors
16430 \layout LyX-Code
16431
16432 on literate doc    file with .nw
16433 \backslash 
16434 literate_command
16435 \backslash 
16436
16437 \backslash 
16438 latex
16439 \layout LyX-Code
16440
16441                    extension
16442 \backslash 
16443 _______ -> show literate errors
16444 \layout LyX-Code
16445
16446 \layout LyX-Code
16447
16448 ,,Build Program'' -> generate same -> invoke    
16449 \layout LyX-Code
16450
16451                   -> show compilation error
16452 \layout LyX-Code
16453
16454 on literate doc    file with .nw
16455 \backslash 
16456 build_command
16457 \layout LyX-Code
16458
16459                    extension        ( make )
16460 \layout Subsubsection
16461
16462 Konfiguracja LyXa
16463 \layout Standard
16464
16465 There are five new controls that you can put in your lyxrc file:
16466 \layout Description
16467
16468
16469 \family typewriter 
16470
16471 \backslash 
16472 literate_command
16473 \family default 
16474  specifies which literate tool you are going to use.
16475  During normal LyX configuration, the auto configuration script will try
16476  to find the noweb package for you.
16477  If the search is successful, the default value for this control is set
16478  to:
16479 \begin_deeper 
16480 \layout LyX-Code
16481
16482 noweave -delay -index
16483 \layout Standard
16484
16485 Otherwise the default value is set to
16486 \begin_inset Quotes eld
16487 \end_inset 
16488
16489 none
16490 \begin_inset Quotes erd
16491 \end_inset 
16492
16493 .
16494 \end_deeper 
16495 \layout Description
16496
16497
16498 \family typewriter 
16499
16500 \backslash 
16501 literate_extension
16502 \family default 
16503  specifies the filename extension to be used for literate documents.
16504  Some literate tools requires specific file extension names.
16505  The default is set during configuration as either
16506 \begin_inset Quotes eld
16507 \end_inset 
16508
16509 .nw
16510 \begin_inset Quotes erd
16511 \end_inset 
16512
16513  or
16514 \begin_inset Quotes eld
16515 \end_inset 
16516
16517 none
16518 \begin_inset Quotes erd
16519 \end_inset 
16520
16521 , depending on whether the auto configuration found the noweb package or
16522  not.
16523 \layout Description
16524
16525
16526 \family typewriter 
16527
16528 \backslash 
16529 build_command
16530 \family default 
16531  defaults to
16532 \begin_inset Quotes eld
16533 \end_inset 
16534
16535 make
16536 \begin_inset Quotes erd
16537 \end_inset 
16538
16539 .
16540  You need to create a makefile to do the tangling, compilation, etc.
16541 \begin_deeper 
16542 \layout Standard
16543
16544 Another way is to maintain the makefile or building script itself as part
16545  of the document.
16546  That way every project can be compiled with the same command line:
16547 \layout LyX-Code
16548
16549 notangle -Rbuild-script
16550 \emph on 
16551 filename
16552 \emph default 
16553 .nw | sh
16554 \layout Standard
16555
16556 To use this scheme, create a script named
16557 \family typewriter 
16558 project-build
16559 \family default 
16560  that executes the command above:
16561 \layout LyX-Code
16562
16563 #!/bin/sh
16564 \layout LyX-Code
16565
16566 notangle -Rbuild-script $1 | sh
16567 \layout Standard
16568
16569 Finally set LyX to execute the
16570 \family typewriter 
16571 project-build
16572 \family default 
16573  script:
16574 \layout LyX-Code
16575
16576
16577 \backslash 
16578 build_command project-build
16579 \layout Standard
16580
16581 Every time you start a new project, define a scrap with name
16582 \family typewriter 
16583 build-script
16584 \family default 
16585  that will do the compilation for that project.
16586  Whenever you select
16587 \begin_inset Quotes eld
16588 \end_inset 
16589
16590 Build Program
16591 \begin_inset Quotes erd
16592 \end_inset 
16593
16594 , LyX will extract that scrap (
16595 \family typewriter 
16596 notangle -Rbuild-script...
16597 \family default 
16598 ) and execute it (
16599 \family typewriter 
16600 ...|sh
16601 \family default 
16602 ).
16603 \end_deeper 
16604 \layout Description
16605
16606
16607 \family typewriter 
16608
16609 \backslash 
16610 literate_error_filter
16611 \family default 
16612  defaults to ,,cat''.
16613  If you compile the program given in
16614 \family typewriter 
16615 Literate_example.lyx
16616 \family default 
16617 , you can set:
16618 \begin_deeper 
16619 \layout LyX-Code
16620
16621
16622 \backslash 
16623 literate_error_filter
16624 \begin_inset Quotes eld
16625 \end_inset 
16626
16627 listerrors n
16628 \begin_inset Quotes erd
16629 \end_inset 
16630
16631
16632 \layout Standard
16633
16634 to process Noweb(noweave) error messages
16635 \end_deeper 
16636 \layout Description
16637
16638
16639 \family typewriter 
16640
16641 \backslash 
16642 build_error_filter
16643 \family default 
16644  defaults to
16645 \begin_inset Quotes eld
16646 \end_inset 
16647
16648 cat
16649 \begin_inset Quotes erd
16650 \end_inset 
16651
16652 .
16653  If you compile the program given in
16654 \family typewriter 
16655 Literate_example.lyx
16656 \family default 
16657 , you can set:
16658 \begin_deeper 
16659 \layout LyX-Code
16660
16661
16662 \backslash 
16663 build_error_filter
16664 \begin_inset Quotes eld
16665 \end_inset 
16666
16667 listerrors b
16668 \begin_inset Quotes erd
16669 \end_inset 
16670
16671
16672 \layout Standard
16673
16674 to process both Noweb(notangle) error messages and gcc error messages.
16675 \end_deeper 
16676 \layout Subsubsection
16677
16678 Rozszerzenia diagnostyczne
16679 \layout Standard
16680
16681 There is also a new function implemented in the LyX server, the ,,server-goto-fi
16682 le-row'' function, to be used with ddd/gdb or other debugger.
16683 \layout Standard
16684
16685 When debugging code with ddd/gdb, it is possible to invoke a text editor
16686  at the current execution position with a single key stroke.
16687  The default ddd configuration for that is shift-ctrl-V.
16688  It happens that you can define the editor command line invocation in ddd
16689  by accessing the edit\SpecialChar \menuseparator
16690 preferences\SpecialChar \menuseparator
16691 helpers window and changing the ,,Edit
16692  Sources'' entry.
16693 \layout Standard
16694
16695 I take advantage of the new created LyX server function and this ddd feature,
16696  and set
16697 \begin_inset Quotes eld
16698 \end_inset 
16699
16700 Edit Sources
16701 \begin_inset Quotes erd
16702 \end_inset 
16703
16704  to:
16705 \layout Quote
16706
16707 echo "LYXCMD:monitor:server-goto-file-row:@FILE@ @LINE@" >~/.lyxpipe.in
16708 \layout Standard
16709
16710 With this, whenever you are using ddd and find a point in the program that
16711  you want to edit, you just press shift-ctrl-V (in the ddd window), and
16712  ddd you forward this information to LyX through the LyX server and then
16713  the LyX window will show the same file with the cursor at the same position
16714  ddd was pointing to.
16715  No more guessing or long scrolling to locate a point in the program back
16716  from debugging !
16717 \layout Standard
16718
16719 Note however that you must enable the LyX server to get this feature working
16720  (it is disabled by default).
16721  To enable it, insert in your lyxrc file:
16722 \layout Quote
16723
16724
16725 \backslash 
16726 serverpipe "/home/<your home directory>/.lyxpipe"
16727 \layout Standard
16728
16729 Read the LyX server documentation for further information.
16730 \layout Subsubsection
16731
16732 Rozszerzenia paska narzêdzi
16733 \layout Standard
16734
16735 I created six new buttons that can be added to your LyX toolbar.
16736  Five of these buttons are short cuts to layout styles: Standard, Section,
16737  LaTeX, LyX-Code, and Scrap.
16738  I created those because they are the ones I use most and I was tired of
16739  scrolling the layout menu looking for the one I wanted.
16740  The last one is a short cut to the
16741 \begin_inset Quotes eld
16742 \end_inset 
16743
16744 Build Program
16745 \begin_inset Quotes erd
16746 \end_inset 
16747
16748  File menu entry.
16749 \layout Standard
16750
16751 LyX has a range of buttons that are available for tool bar customization.
16752  In my toolbar I like to combine the six short cuts above with two more:
16753  One for
16754 \begin_inset Quotes eld
16755 \end_inset 
16756
16757 Update dvi
16758 \begin_inset Quotes erd
16759 \end_inset 
16760
16761  and the other for
16762 \begin_inset Quotes eld
16763 \end_inset 
16764
16765 View dvi
16766 \begin_inset Quotes erd
16767 \end_inset 
16768
16769  File menu entries.
16770  Here is how it looks like:
16771 \layout LyX-Code
16772
16773
16774 \backslash 
16775 begin_toolbar
16776 \layout LyX-Code
16777
16778
16779 \backslash 
16780 layouts
16781 \layout LyX-Code
16782
16783
16784 \backslash 
16785 add layout Standard
16786 \layout LyX-Code
16787
16788
16789 \backslash 
16790 add layout Section
16791 \layout LyX-Code
16792
16793
16794 \backslash 
16795 add layout LaTeX
16796 \layout LyX-Code
16797
16798
16799 \backslash 
16800 add layout LyX-Code
16801 \layout LyX-Code
16802
16803
16804 \backslash 
16805 add layout Scrap
16806 \layout LyX-Code
16807
16808
16809 \backslash 
16810 separator
16811 \layout LyX-Code
16812
16813
16814 \backslash 
16815 add buffer-view
16816 \layout LyX-Code
16817
16818
16819 \backslash 
16820 add buffer-typeset
16821 \layout LyX-Code
16822
16823
16824 \backslash 
16825 add build-program
16826 \layout LyX-Code
16827
16828
16829 \backslash 
16830 separator
16831 \layout LyX-Code
16832
16833 .
16834 \layout LyX-Code
16835
16836 .
16837 \layout LyX-Code
16838
16839 .
16840 \layout LyX-Code
16841
16842
16843 \backslash 
16844 end_toolbar
16845 \layout Subsubsection
16846
16847 Dopasowanie kolorów
16848 \layout Standard
16849
16850 There are a number of colors in LyX that can be customized.
16851  For each one there are two ways to do it: either by inserting a line in
16852  your X resource files, or by adding a flag in the LyX command line.
16853 \layout Standard
16854
16855 One of the things that bothers people is the LaTeX font color.
16856  The default color is red, since the scraps uses LaTeX font, and there is
16857  a lot of scraps in literate documents, you may get tired of seeing everything
16858  in red.
16859  Example:
16860 \layout Itemize
16861
16862 In the X resource file:
16863 \begin_deeper 
16864 \layout Quote
16865
16866 lyx*LatexColor: gold
16867 \end_deeper 
16868 \layout Itemize
16869
16870 In the command line:
16871 \begin_deeper 
16872 \layout Quote
16873
16874 lyx -LatexColor gold
16875 \end_deeper 
16876 \layout Standard
16877
16878 The next thing is the visible presence of the newline character in the screen.
16879  You can choose the color of this particular character and make it blend
16880  in the background.
16881  I recommend you choosing a color that is close to the background but not
16882  equal, that way you still can see it is there, but it is not bothering
16883  you anymore.
16884  Example:
16885 \layout Itemize
16886
16887 In the X resource file:
16888 \begin_deeper 
16889 \layout Quote
16890
16891 lyx*BackgroundColor: gray20
16892 \layout Quote
16893
16894 lyx*NewLineColor: gray35
16895 \end_deeper 
16896 \layout Itemize
16897
16898 In the command line:
16899 \begin_deeper 
16900 \layout Quote
16901
16902 lyx -BackgroundColor gray20 -NewLineColor gray35
16903 \end_deeper 
16904 \layout Standard
16905
16906 If you don't like a bright clear background burning your eyes all day long,
16907  you can reverse background and foreground colors with this:
16908 \layout Itemize
16909
16910 In the X resource file:
16911 \begin_deeper 
16912 \layout Quote
16913
16914 lyx*Reverse: 1
16915 \end_deeper 
16916 \layout Itemize
16917
16918 In the command line:
16919 \begin_deeper 
16920 \layout Quote
16921
16922 lyx -Reverse 1
16923 \end_deeper 
16924 \layout Standard
16925
16926 The problem with all those color alterations is that you may need to change
16927  other colors as well to ensure that math, inset, etc, are
16928 \begin_inset Quotes eld
16929 \end_inset 
16930
16931 normal
16932 \begin_inset Quotes erd
16933 \end_inset 
16934
16935  with respect to the rest.
16936  The following is the selection I use in my own X resource file.
16937  It is just a suggestion.
16938  I encourage you to try to find the color set that work best for you.
16939 \layout LyX-Code
16940
16941 lyx*Reverse:            1
16942 \layout LyX-Code
16943
16944 lyx*MathColor:          green
16945 \layout LyX-Code
16946
16947 lyx*LatexColor:         gold
16948 \layout LyX-Code
16949
16950 lyx*OnOffLineColor:     magenta
16951 \layout LyX-Code
16952
16953 lyx*InsetColor:         yellow
16954 \layout LyX-Code
16955
16956 lyx*LightedColor:       gray50
16957 \layout LyX-Code
16958
16959 lyx*NewLineColor:       gray35
16960 \layout LyX-Code
16961
16962 lyx*BackgroundColor:    gray20
16963 \layout Chapter
16964
16965 Sekrety LaTeX-a
16966 \layout Standard
16967
16968 Mimo ¿e LyX jest silnym narzêdziem, to nie mo¿na mieæ nadziei na obs³ugê
16969  wszystkiego co zosta³o zrobione dla TeX-a/LaTeX-a.
16970  Jednak wiele tricków TeX-a i LaTeX-a mo¿e byæ wykonane w LyX-ie, je¶li
16971  nie obawiasz siê u¿yæ przycisku ,,TeX'' z paska narzêdzi lub dokonywaæ
16972  wpisów w preambule LaTeX-a (w menu
16973 \bar under 
16974  U
16975 \family sans 
16976 \bar default 
16977 k³ad\SpecialChar \menuseparator
16978
16979 \family default 
16980 P
16981 \family sans 
16982 reambu³a
16983 \bar under 
16984  L
16985 \bar default 
16986 aTeX
16987 \family default 
16988 ).
16989 \layout Standard
16990
16991 W tym rozdziale opisano kilka sposobów i pomys³ów, aby Twoje dokumenty by³y
16992  trochê sprytniejsze.
16993  Wypróbuj je w domu i zacznij od czego¶ ma³ego i mniej wa¿nego.
16994 \layout Standard
16995
16996 Wiêkszo¶æ pomys³ów tego rozdzia³u wymaga mniej podstawowych plików w Twojej
16997  instalacji LaTeX-a.
16998  Je¶li masz system taki jak teTeX, wiêkszo¶æ bêdzie ju¿ dostêpnych.
16999  Kilka jednak bêdzie trzeba ¶ci±gn±æ z archiwów CTAN.
17000  Czêsto istnieje kilka dróg do wykonania tego samego lub kilka plików stylów
17001  LaTeX-a które robi± te same rzeczy.
17002  Nie chcemy przedk³adaæ jednego pakietu nad inne, po prostu chcemy wykonaæ
17003  okre¶lone zadanie za pomoc± okre¶lonego pliku.
17004 \layout Section
17005
17006 Triki w przypisach i marginaliach
17007 \layout Standard
17008
17009 suggested by Robin
17010 \noun on 
17011  Socha
17012 \layout Subsection
17013
17014 Przypisy
17015 \layout Standard
17016
17017 LyX jeszcze nie potrafi ustawiæ numeracji przypisów z powrotem od 1 po ka¿dej
17018  sekcji w klasie dokumentu ,,article'' lub zmianie stylu licznika.
17019  Aby to osi±gn±æ bêdziesz potrzebowa³ nastêpuj±cych poleceñ LaTeX-a:
17020 \layout Standard
17021
17022
17023 \begin_inset ERT
17024 status Collapsed
17025
17026 \layout Standard
17027
17028 \backslash 
17029 setcounter{footnote}{0}
17030 \end_inset 
17031
17032 Polecenie
17033 \family typewriter 
17034  
17035 \backslash 
17036 setcounter{footnote}{0}
17037 \family default 
17038 ustawi licznik z powrotem na 1
17039 \begin_inset Foot
17040 collapsed true
17041
17042 \layout Standard
17043
17044 Licznik zosta³ ustawiony na 1.
17045 \end_inset 
17046
17047
17048 \layout Standard
17049
17050 Nastêpuj±ce polecenie zmienia numeracjê przypisów na numerowanie ma³ymi
17051  literami.
17052  Zobacz w podgl±dzie jak to wygl±da.
17053 \layout Standard
17054
17055
17056 \begin_inset ERT
17057 status Collapsed
17058
17059 \layout Standard
17060
17061 \backslash 
17062 renewcommand{
17063 \backslash 
17064 thefootnote}{
17065 \backslash 
17066 alph{footnote}}
17067 \end_inset 
17068
17069 :
17070 \begin_inset Foot
17071 collapsed true
17072
17073 \layout Standard
17074
17075 To jest przyk³ad przypisu numerowanego alfabetycznie.
17076 \newline 
17077 U¿yj
17078 \family typewriter 
17079
17080 \backslash 
17081 renewcommand{
17082 \backslash 
17083 thefootnote {
17084 \backslash 
17085 alph{footnote}}
17086 \family default 
17087 aby to uzyskaæ.
17088 \end_inset 
17089
17090  Nastêpne polecenie ustawia styl licznika z powrotem na domy¶lny, np.
17091
17092 \family typewriter 
17093  
17094 \backslash 
17095 arabic 
17096 \family default 
17097
17098 \begin_inset ERT
17099 status Collapsed
17100
17101 \layout Standard
17102
17103 \backslash 
17104 renewcommand {
17105 \backslash 
17106 thefootnote} {
17107 \backslash 
17108 arabic{footnote}}
17109 \end_inset 
17110
17111
17112 \begin_inset Foot
17113 collapsed true
17114
17115 \layout Standard
17116
17117 U¿yj
17118 \family typewriter 
17119
17120 \backslash 
17121 renewcommand{
17122 \backslash 
17123 thefootnote}{
17124 \backslash 
17125 arabic{footnote}}
17126 \family default 
17127 aby przywróciæ styl licznika na domy¶lny -- numeryczny
17128 \backslash 
17129 arabic.
17130 \end_inset 
17131
17132
17133 \layout Standard
17134
17135 Mo¿esz u¿ywaæ
17136 \family typewriter 
17137  
17138 \backslash 
17139 arabic
17140 \family default 
17141 ,
17142 \family typewriter 
17143  
17144 \backslash 
17145 roman
17146 \family default 
17147 ,
17148 \family typewriter 
17149  
17150 \backslash 
17151 Roman
17152 \family default 
17153 ,
17154 \family typewriter 
17155  
17156 \backslash 
17157 alph
17158 \family default 
17159  lub
17160 \family typewriter 
17161  
17162 \backslash 
17163 Alph
17164 \family default 
17165  i innych stylów liczników.
17166 \layout Subsection
17167
17168 Marginalia
17169 \layout Standard
17170
17171 Tutaj znajduj± siê dwa przyk³ady jak wstawiæ marginalia przy u¿yciu poleceñ
17172  LaTeX-a
17173 \layout Standard
17174
17175 Nastêpuj±ce polecenie utworzy poziom± liniê pojawiaj±c± obok tekstu:
17176 \layout Standard
17177
17178
17179 \family typewriter 
17180
17181 \backslash 
17182 marginpar{
17183 \backslash 
17184 rule[-10mm]{30mm}{5mm}}
17185 \family default 
17186 .
17187 \begin_inset ERT
17188 status Collapsed
17189
17190 \layout Standard
17191
17192 \backslash 
17193 marginpar{
17194 \backslash 
17195 rule[-10mm]{30mm}{5mm}}
17196 \end_inset 
17197
17198
17199 \layout Standard
17200
17201 Zobacz na wydruku co robi nastêpuj±ce polecenie.
17202 \layout Standard
17203
17204
17205 \begin_inset ERT
17206 status Collapsed
17207
17208 \layout Standard
17209
17210 \backslash 
17211 reversemarginpar
17212 \end_inset 
17213
17214  Right -- wstawi notkê marginesow± na ,,z³ej'' stronie dwustronnego dokumentu.
17215 \begin_inset Marginal
17216 collapsed true
17217
17218 \layout Standard
17219
17220
17221 \backslash 
17222 reverse
17223 \begin_inset ERT
17224 status Collapsed
17225
17226 \layout Standard
17227
17228 \backslash 
17229 -
17230 \end_inset 
17231
17232 marginpar
17233 \end_inset 
17234
17235
17236 \layout Section
17237
17238 Sk³ad wieloszpaltowy
17239 \layout Standard
17240
17241 by Lars
17242 \noun on 
17243  Gullik Bjønnes
17244 \layout Subsection
17245
17246 Zastosowanie
17247 \layout Standard
17248
17249 Celem tej sekcji
17250 \begin_inset Foot
17251 collapsed true
17252
17253 \layout Standard
17254
17255 Przypis edytora: Oryginalny rozdzia³ Lars'a by³ pe³nym opisem zastosowania
17256  pakietu
17257 \family typewriter 
17258  multicol
17259 \family default 
17260 .
17261  jednak by³ on zbyt d³ugi do w³±czenia go do tego dokumentu.
17262  Dlatego wybra³em najwa¿niejsze tematy (przepraszam Lars); mo¿esz przeczytaæ
17263  oryginalny rozdzia³ w przyk³adowym pliku
17264 \family typewriter 
17265  examples/multicol.lyx
17266 \family default 
17267 .
17268  --- mer
17269 \end_inset 
17270
17271  jest przedstawienie jak mo¿na u¿yæ LaTeX-owy pakiet
17272 \family typewriter 
17273  multicol
17274 \family default 
17275  w dokumencie LyX-a.
17276 \layout Standard
17277
17278 LyX jako taki jeszcze nie obs³uguje pakietu
17279 \family typewriter 
17280  multicol
17281 \family default 
17282  natywnie, ale mamy na to swój sposób.
17283  Po przeczytaniu tej sekcji powiniene¶ umieæ go wykorzystaæ.
17284 \layout Subsection
17285
17286 Ograniczenia
17287 \layout Standard
17288
17289 Pakiet
17290 \family typewriter 
17291  multicol
17292 \family default 
17293  pozwala na prze³±czanie pomiêdzy jedn± a wieloma szpaltami na jednej stronie.
17294  Przypisy s± obs³ugiwane poprawnie (w wiêkszej czê¶ci), ale zostan± umieszczone
17295  u do³u strony i nie pod odpowiedni± kolumn±.
17296  LaTeX-owy mechanizm wstawek jest czê¶ciowo zablokowany w aktualnej implementacj
17297 i.
17298  Od tego momentu tylko wstawki o szeroko¶ci strony mog± byæ u¿ywane wewn±trz
17299  wspomnianego ¶rodowiska.
17300 \layout Subsection
17301
17302 Przyk³ady
17303 \layout Subsubsection
17304
17305 Dwie szpalty
17306 \layout Standard
17307
17308 Je¶li chcesz mieæ dwie szpalty w tek¶cie, u trybie LaTeX-a wstaw polecenie
17309 \family typewriter 
17310  
17311 \backslash 
17312 begin{multicols}{2}
17313 \family default 
17314  w miejscu, od którego chcesz zacz±æ dwie szpalty i wstaw polecenie
17315 \family typewriter 
17316  
17317 \backslash 
17318 end{multicols}
17319 \family default 
17320  w miejscu, gdzie chcesz je zakoñczyæ.
17321  Oto przyk³ad:
17322 \layout Standard
17323
17324
17325 \begin_inset ERT
17326 status Collapsed
17327
17328 \layout Standard
17329
17330 \backslash 
17331 begin{multicols}{2}
17332 \end_inset 
17333
17334
17335 \layout Standard
17336 \noindent 
17337
17338 \series bold 
17339 \size small 
17340 The Adventure of the Empty House
17341 \series default 
17342
17343 \newline 
17344 by
17345 \noun on 
17346  Sir Arthur Conan Doyle
17347 \layout Standard
17348
17349
17350 \size small 
17351 It was in the spring of the year 1894 that all London was interested, and
17352  the fashionable world dismayed, by the murder of the Honourable Ronald
17353  Adair under most unusual and inexplicable circumstances.
17354  The public has already learned those particulars of the crime which came
17355  out in the police investigation, but a good deal was suppressed upon that
17356  occasion, since the case for the prosecution was so overwhelmingly strong
17357  that it was not necessary to bring forward all the facts.
17358  Only now, at the end of nearly ten years, am I allowed to supply those
17359  missing links which make up the whole of that remarkable chain.
17360  The crime was of interest in itself, but that interest was as nothing to
17361  me compared to the inconceivable sequel, which afforded me the greatest
17362  shock and surprise of any event in my adventurous life.
17363  
17364 \layout Standard
17365
17366
17367 \size small 
17368 Even now, after this long interval, I find myself thrilling as I think of
17369  it, and feeling once more that sudden flood of joy, amazement, and incredulity
17370  which utterly submerged my mind.
17371  Let me say to that public, which has shown some interest in those glimpses
17372  which I have occasionally given them of the thoughts and actions of a very
17373  remarkable man, that they are not to blame me if I have not shared my knowledge
17374  with them, for I should have considered it my first duty to do so, had
17375  I not been barred by a positive prohibition from his own lips, which was
17376  only withdrawn upon the third of last month.
17377 \layout Standard
17378
17379
17380 \begin_inset ERT
17381 status Collapsed
17382
17383 \layout Standard
17384
17385 \backslash 
17386 end{multicols}
17387 \end_inset 
17388
17389
17390 \layout Subsubsection
17391
17392 Uk³ad wieloszpaltowy
17393 \layout Standard
17394
17395 Ten sam przepis jest u¿ywany gdy chcesz utworzyæ wiêcej ni¿ dwie szpalty:
17396 \layout Standard
17397
17398
17399 \begin_inset ERT
17400 status Collapsed
17401
17402 \layout Standard
17403
17404 \backslash 
17405 begin{multicols}{3}
17406 \end_inset 
17407
17408
17409 \layout Standard
17410
17411
17412 \size footnotesize 
17413 It can be imagined that my close intimacy with Sherlock Holmes had interested
17414  me deeply in crime, and that after his disappearance I never failed to
17415  read with care the various problems which came before the public.
17416  And I even attempted, more than once, for my own private satisfaction,
17417  to employ his methods in their solution, though with indifferent success.
17418  There was none, however, which appealed to me like this tragedy of Ronald
17419  Adair.
17420  As I read the evidence at the inquest, which led up to a verdict of willful
17421  murder against some person or persons unknown, I realized more clearly
17422  than I had ever done the loss which the community had sustained by the
17423  death of Sherlock Holmes.
17424  There were points about this strange business which would, I was sure,
17425  have specially appealed to him, and the efforts of the police would have
17426  been supplemented, or more probably anticipated, by the trained observation
17427  and the alert mind of the first criminal agent in Europe.
17428  All day, as I drove upon my round, I turned over the case in my mind and
17429  found no explanation which appeared to me to be adequate.
17430  At the risk of telling a twice-told tale, I will recapitulate the facts
17431  as they were known to the public at the conclusion of the inquest.
17432 \layout Standard
17433
17434
17435 \begin_inset ERT
17436 status Collapsed
17437
17438 \layout Standard
17439
17440 \backslash 
17441 end{multicols}
17442 \end_inset 
17443
17444
17445 \layout Standard
17446
17447 Mo¿esz mieæ wiêcej ni¿ trzy szpalty je¶li chcesz, ale to nie bêdzie przyjemne
17448  do czytania.
17449 \layout Subsubsection
17450
17451 Szpalty wewn±trz szpalty
17452 \layout Standard
17453
17454 Mo¿esz umie¶ciæ szpalty wewn±trz szpalty:
17455 \layout Standard
17456
17457
17458 \begin_inset ERT
17459 status Collapsed
17460
17461 \layout Standard
17462
17463 \backslash 
17464 begin{multicols}{2}
17465 \end_inset 
17466
17467
17468 \layout Standard
17469
17470
17471 \size footnotesize 
17472 The Honourable Ronald Adair was the second son of the Earl of Maynooth,
17473  at that time governor of one of the Australian colonies.
17474  Adair's mother had returned from Australia to undergo the operation for
17475  cataract, and she, her son Ronald, and her daughter Hilda were living together
17476  at 427 Park Lane.
17477 \layout Standard
17478
17479
17480 \begin_inset ERT
17481 status Collapsed
17482
17483 \layout Standard
17484
17485 \backslash 
17486 begin{multicols}{2}
17487 \end_inset 
17488
17489
17490 \layout Standard
17491
17492
17493 \size footnotesize 
17494 The youth moved in the best society--had, so far as was known, no enemies
17495  and no particular vices.
17496  He had been engaged to Miss Edith Woodley, of Carstairs, but the engagement
17497  had been broken off by mutual consent some months before, and there was
17498  no sign that it had left any very profound feeling behind it.
17499  For the rest {sic} the man's life moved in a narrow and conventional circle,
17500  for his habits were quiet and his nature unemotional.
17501  
17502 \layout Standard
17503
17504
17505 \begin_inset ERT
17506 status Collapsed
17507
17508 \layout Standard
17509
17510 \backslash 
17511 end{multicols}
17512 \end_inset 
17513
17514
17515 \layout Standard
17516
17517
17518 \size footnotesize 
17519 Yet it was upon this easy-going young aristocrat that death came, in most
17520  strange and unexpected form, between the hours of ten and eleven-twenty
17521  on the night of March 30, 1894.
17522 \layout Standard
17523
17524
17525 \size footnotesize 
17526 Ronald Adair was fond of cards--playing continually, but never for such
17527  stakes as would hurt him.
17528  He was a member of the Baldwin, the Cavendish, and the Bagatelle card clubs.
17529  It was shown that, after dinner on the day of his death, he had played
17530  a rubber of whist at the latter club.
17531  He had also played there in the afternoon.The evidence of those who had
17532  played with him-- Mr.
17533  Murray, Sir John Hardy, and Colonel Moran--showed that the game was whist,
17534  and that there was a fairly equal fall of the cards.
17535  Adair might have lost five pounds, but not more.
17536  His fortune was a considerable one, and such a loss could not in any way
17537  affect him.
17538  He had played nearly every day at one club or other, but he was a cautious
17539  player, and usually rose a winner.
17540  It came out in evidence that, in partnership with Colonel Moran, he had
17541  actually won as much as four hundred and twenty pounds in a sitting, some
17542  weeks before, from Godfrey Milner and Lord Balmoral.
17543  So much for his recent history as it came out at the inquest.
17544 \layout Standard
17545
17546
17547 \begin_inset ERT
17548 status Collapsed
17549
17550 \layout Standard
17551
17552 \backslash 
17553 end{multicols}
17554 \end_inset 
17555
17556
17557 \layout Standard
17558
17559 Proszê przeczytaæ plik
17560 \family typewriter 
17561  examples/multicol.lyx
17562 \family default 
17563  dla poznania bardziej zaawansowanych przyk³adów w³±czania odstêpów pomiêdzy
17564  szpaltami i nag³ówkiem, pionowych linii separuj±cych i innych.
17565 \layout Section
17566
17567 Numeracja w ¶rodowisku wyliczenia akapitów
17568 \layout Standard
17569 \added_space_bottom bigskip 
17570 by John
17571 \noun on 
17572  Weiss
17573 \layout Standard
17574
17575 Domy¶lna numeracja akapitów w ¶rodowisku wyliczenia zaczyna siê od cyfr
17576  arabskich, a koñczy siê na du¿ych literach alfabetu.
17577  Prawdopodobnie jednak bêdziesz chcia³ inaczej numerowaæ akapity.
17578  Oto przyk³ad jak zmieniæ schemat numeracji:
17579 \layout LyX-Code
17580
17581
17582 \backslash 
17583 renewcommand{
17584 \backslash 
17585 labelenumi}{
17586 \backslash 
17587 Roman{enumi}.}
17588 \layout LyX-Code
17589
17590
17591 \backslash 
17592 renewcommand{
17593 \backslash 
17594 labelenumii}{
17595 \backslash 
17596 Alph{enumii}.}
17597 \layout LyX-Code
17598
17599
17600 \backslash 
17601 renewcommand{
17602 \backslash 
17603 labelenumiii}{
17604 \backslash 
17605 arabic{enumiii}.}
17606 \layout LyX-Code
17607
17608
17609 \backslash 
17610 renewcommand{
17611 \backslash 
17612 labelenumiv}{
17613 \backslash 
17614 alph{enumiv}.)}
17615 \layout Standard
17616
17617 \SpecialChar \ldots{}
17618  który zmienia schemat na nastêpuj±cy: cyfry rzymskie, du¿e litery, cyfry
17619  arabskie i ma³e litery.
17620  Ponadto poprzedni przyk³ad tak¿e dodaje kropkê do numeracji.
17621  Na przyk³ad pierwszy akapit pierwszego poziomu bêdzie oznaczony ,,I.''.
17622  Dla lepszej orientacji opiszemy jak wygl±da numeracja z u¿yciem naszego
17623  schematu: <,,I.'', ,,A.'', ,,1.'', ,,a.)''>.
17624 \layout Standard
17625
17626 Mo¿na zobaczyæ w przyk³adzie, gdzie s± polecenia dla ka¿dego zagnie¿d¿onego
17627  poziomu,
17628 \family typewriter 
17629  
17630 \backslash 
17631 labelenumi
17632 \family default 
17633  \SpecialChar \ldots{}
17634
17635 \family typewriter 
17636  
17637 \backslash 
17638 labelenumiv
17639 \family default 
17640 , podobnie jak liczniki,
17641 \family typewriter 
17642  enumi
17643 \family default 
17644  \SpecialChar \ldots{}
17645
17646 \family typewriter 
17647  enumiv
17648 \family default 
17649 .
17650  Znajduje siê tak¿e piêæ poleceñ ,,drukowania numeru'',
17651 \family typewriter 
17652  
17653 \backslash 
17654 arabic{}
17655 \family default 
17656 ,
17657 \family typewriter 
17658  
17659 \backslash 
17660 roman{}
17661 \family default 
17662 ,
17663 \family typewriter 
17664  
17665 \backslash 
17666 Roman{}
17667 \family default 
17668 ,
17669 \family typewriter 
17670  
17671 \backslash 
17672 alph{}
17673 \family default 
17674  i
17675 \family typewriter 
17676  
17677 \backslash 
17678 Alph{}
17679 \family default 
17680 , ka¿dy z nich pobiera jeden licznik jako argument.
17681  Mo¿na dodaæ znaki przed lub po, ale nie ma potrzeby dodawania spacji.
17682 \layout Standard
17683
17684 Mo¿esz rzeczywi¶cie otrzymaæ ozdobny schemat numeracji, na przyk³ad:
17685 \layout LyX-Code
17686
17687
17688 \backslash 
17689 renewcommand{
17690 \backslash 
17691 labelenumi}{
17692 \backslash 
17693 #
17694 \backslash 
17695 Alph{enumi}
17696 \backslash 
17697 #}
17698 \layout LyX-Code
17699
17700
17701 \backslash 
17702 renewcommand{
17703 \backslash 
17704 labelenumii}{
17705 \backslash 
17706 Alph{enumi}.
17707 \backslash 
17708 arabic{enumii}}
17709 \layout LyX-Code
17710
17711
17712 \backslash 
17713 renewcommand{
17714 \backslash 
17715 labelenumiii}{
17716 \backslash 
17717 alph{enumiii}+}
17718 \layout LyX-Code
17719
17720
17721 \backslash 
17722 renewcommand{
17723 \backslash 
17724 labelenumiv}{(
17725 \backslash 
17726 roman{enumiv})}
17727 \layout Standard
17728
17729 Otrzymujemy wówczas nastêpuj±c± numeracjê: <,,#A#'', ,,A.1'', ,,a+'', ,,(i)''>.
17730 \layout Section
17731
17732 Przestrzeñ pomiêdzy wierszami tabel
17733 \layout Standard
17734 \added_space_bottom bigskip 
17735 by Mike
17736 \noun on 
17737  Ressler
17738 \layout Standard
17739
17740 LaTeX pozwala wstawiaæ trochê wolnego miejsca pomiêdzy wierszami tabeli
17741  przez podanie opcjonalnego argumentu koñca wiersza (
17742 \family typewriter 
17743
17744 \backslash 
17745
17746 \backslash 
17747
17748 \family default 
17749 ).
17750  Ta metoda nie jest formalnie zaimplementowana w LyX-ie, ale podajemy dwa
17751  drobne tricki do wykonania tego samego zadania.
17752 \layout Standard
17753
17754 Pierwszy sposób jest bardziej formalny, ale bardziej zawik³any.
17755  W preambule nale¿y dodaæ nastêpuj±c± definicjê polecenia:
17756 \layout Standard
17757
17758
17759 \family typewriter 
17760
17761 \backslash 
17762 newcommand{
17763 \backslash 
17764 extratablespace}[1]{
17765 \backslash 
17766 noalign{vskip#1}}
17767 \layout Standard
17768
17769 To polecenie pobiera pojedynczy argument -- ilo¶æ miejsca, któr± chcesz
17770  wstawiæ.
17771  Wstaw polecenie w pierwszej kolumnie nastêpnego wiersza gdzie chcia³by¶
17772  aby pojawi³o siê wolne miejsce.
17773  Oto przyk³ad (usun±³em wszystkie ramki u¿ywaj±c
17774 \family sans 
17775 \bar under 
17776  U
17777 \bar default 
17778 k³ad\SpecialChar \menuseparator
17779
17780 \bar under 
17781 T
17782 \bar default 
17783 abel
17784 \family default 
17785 a):
17786 \layout Standard
17787 \added_space_top 0.3cm \added_space_bottom 0.3cm \align center 
17788
17789 \begin_inset  Tabular
17790 <lyxtabular version="3" rows="4" columns="3">
17791 <features>
17792 <column alignment="center" valignment="top" width="0pt">
17793 <column alignment="center" valignment="top" width="0pt">
17794 <column alignment="center" valignment="top" width="0pt">
17795 <row>
17796 <cell alignment="center" valignment="top" topline="true" usebox="none">
17797 \begin_inset Text
17798
17799 \layout Standard
17800
17801 Minerals
17802 \end_inset 
17803 </cell>
17804 <cell alignment="center" valignment="top" topline="true" usebox="none">
17805 \begin_inset Text
17806
17807 \layout Standard
17808
17809 Calcite
17810 \end_inset 
17811 </cell>
17812 <cell alignment="center" valignment="top" topline="true" usebox="none">
17813 \begin_inset Text
17814
17815 \layout Standard
17816
17817 Dolomite
17818 \end_inset 
17819 </cell>
17820 </row>
17821 <row>
17822 <cell alignment="center" valignment="top" topline="true" usebox="none">
17823 \begin_inset Text
17824
17825 \layout Standard
17826
17827 \end_inset 
17828 </cell>
17829 <cell alignment="center" valignment="top" topline="true" usebox="none">
17830 \begin_inset Text
17831
17832 \layout Standard
17833
17834 Quartz
17835 \end_inset 
17836 </cell>
17837 <cell alignment="center" valignment="top" topline="true" usebox="none">
17838 \begin_inset Text
17839
17840 \layout Standard
17841
17842 Graphite
17843 \end_inset 
17844 </cell>
17845 </row>
17846 <row>
17847 <cell alignment="center" valignment="top" topline="true" usebox="none">
17848 \begin_inset Text
17849
17850 \layout Standard
17851
17852
17853 \begin_inset ERT
17854 status Collapsed
17855
17856 \layout Standard
17857
17858 \backslash 
17859 extratablespace{2ex}
17860 \end_inset 
17861
17862 Rocks
17863 \end_inset 
17864 </cell>
17865 <cell alignment="center" valignment="top" topline="true" usebox="none">
17866 \begin_inset Text
17867
17868 \layout Standard
17869
17870 Limestone
17871 \end_inset 
17872 </cell>
17873 <cell alignment="center" valignment="top" topline="true" usebox="none">
17874 \begin_inset Text
17875
17876 \layout Standard
17877
17878 Sandstone
17879 \end_inset 
17880 </cell>
17881 </row>
17882 <row>
17883 <cell alignment="center" valignment="top" topline="true" usebox="none">
17884 \begin_inset Text
17885
17886 \layout Standard
17887
17888 \end_inset 
17889 </cell>
17890 <cell alignment="center" valignment="top" topline="true" usebox="none">
17891 \begin_inset Text
17892
17893 \layout Standard
17894
17895 Granite
17896 \end_inset 
17897 </cell>
17898 <cell alignment="center" valignment="top" topline="true" usebox="none">
17899 \begin_inset Text
17900
17901 \layout Standard
17902
17903 Andesite
17904 \end_inset 
17905 </cell>
17906 </row>
17907 </lyxtabular>
17908
17909 \end_inset 
17910
17911 .
17912 \layout Standard
17913
17914 Drugi sposób jest szybszy.
17915  Po prostu umie¶æ w odpowiednim wierszu opcjonalny argument koñca wiersza.
17916  ¯adne eleganckie definicje nie s± potrzebne jak w poprzednim przyk³adzie,
17917  ale dodawane bêdzie wiêcej miejsca, poniewa¿ de facto dodawany jest pusty
17918  wiersz plus odstêp.
17919  Je¶li zbyt du¿o jest dodawanego miejsca to u¿yj liczby ujemnej, jak w przyk³adz
17920 ie:
17921 \layout Standard
17922 \added_space_top 0.3cm \added_space_bottom 0.3cm \align center 
17923
17924 \begin_inset  Tabular
17925 <lyxtabular version="3" rows="4" columns="3">
17926 <features>
17927 <column alignment="center" valignment="top" width="0pt">
17928 <column alignment="center" valignment="top" width="0pt">
17929 <column alignment="center" valignment="top" width="0pt">
17930 <row>
17931 <cell alignment="center" valignment="top" topline="true" usebox="none">
17932 \begin_inset Text
17933
17934 \layout Standard
17935
17936 Minerals
17937 \end_inset 
17938 </cell>
17939 <cell alignment="center" valignment="top" topline="true" usebox="none">
17940 \begin_inset Text
17941
17942 \layout Standard
17943
17944 Calcite
17945 \end_inset 
17946 </cell>
17947 <cell alignment="center" valignment="top" topline="true" usebox="none">
17948 \begin_inset Text
17949
17950 \layout Standard
17951
17952 Dolomite
17953 \end_inset 
17954 </cell>
17955 </row>
17956 <row>
17957 <cell alignment="center" valignment="top" topline="true" usebox="none">
17958 \begin_inset Text
17959
17960 \layout Standard
17961
17962 \end_inset 
17963 </cell>
17964 <cell alignment="center" valignment="top" topline="true" usebox="none">
17965 \begin_inset Text
17966
17967 \layout Standard
17968
17969 Quartz
17970 \end_inset 
17971 </cell>
17972 <cell alignment="center" valignment="top" topline="true" usebox="none">
17973 \begin_inset Text
17974
17975 \layout Standard
17976
17977 Graphite
17978 \end_inset 
17979 </cell>
17980 </row>
17981 <row>
17982 <cell alignment="center" valignment="top" topline="true" usebox="none">
17983 \begin_inset Text
17984
17985 \layout Standard
17986
17987
17988 \begin_inset ERT
17989 status Collapsed
17990
17991 \layout Standard
17992
17993 \backslash 
17994
17995 \backslash 
17996 [-1ex]
17997 \end_inset 
17998
17999  Rocks
18000 \end_inset 
18001 </cell>
18002 <cell alignment="center" valignment="top" topline="true" usebox="none">
18003 \begin_inset Text
18004
18005 \layout Standard
18006
18007 Limestone
18008 \end_inset 
18009 </cell>
18010 <cell alignment="center" valignment="top" topline="true" usebox="none">
18011 \begin_inset Text
18012
18013 \layout Standard
18014
18015 Sandstone
18016 \end_inset 
18017 </cell>
18018 </row>
18019 <row>
18020 <cell alignment="center" valignment="top" topline="true" usebox="none">
18021 \begin_inset Text
18022
18023 \layout Standard
18024
18025 \end_inset 
18026 </cell>
18027 <cell alignment="center" valignment="top" topline="true" usebox="none">
18028 \begin_inset Text
18029
18030 \layout Standard
18031
18032 Granite
18033 \end_inset 
18034 </cell>
18035 <cell alignment="center" valignment="top" topline="true" usebox="none">
18036 \begin_inset Text
18037
18038 \layout Standard
18039
18040 Andesite
18041 \end_inset 
18042 </cell>
18043 </row>
18044 </lyxtabular>
18045
18046 \end_inset 
18047
18048 .
18049 \layout Standard
18050
18051 To pozwala szybko wykonaæ pracê, ale zdarza siê, ¿e brzydko wygl±da.
18052 \layout Section
18053
18054 Inicja³y
18055 \layout Standard
18056 \added_space_bottom bigskip 
18057 by Mike
18058 \noun on 
18059  Ressler
18060 \layout Standard
18061 \noindent 
18062
18063 \begin_inset ERT
18064 status Collapsed
18065
18066 \layout Standard
18067
18068 \backslash 
18069 newfont{
18070 \backslash 
18071 tmpfont}{cmr17 scaled 2500}{
18072 \backslash 
18073 tmpfont C}
18074 \backslash 
18075 vspace*{-8.4ex}
18076 \end_inset 
18077
18078
18079 \layout Standard
18080 \noindent 
18081
18082 \begin_inset ERT
18083 status Collapsed
18084
18085 \layout Standard
18086
18087 \backslash 
18088 hangindent=3.3em
18089 \backslash 
18090 hangafter=-3
18091 \end_inset 
18092
18093  i którzy lubi± styl starych ksi±¿ek prawdopodobnie tak¿e lubi± ,,inicja³y''
18094  --- tê wielk± literê rozpoczynaj±c± ka¿dy nowy rozdzia³ czy sekcjê.
18095  Implementacja tego jest prosta (zak³adaj±c, ¿e znasz trochê plain TeX-a!)
18096  ale nie wymaga wiele pracy i powtórzeñ, co mog³e¶ zobaczyæ na pocz±tku
18097  akapitu w brzydkim trybie TeX-a.
18098 \layout Standard
18099
18100
18101 \begin_inset ERT
18102 status Collapsed
18103
18104 \layout Standard
18105
18106 \backslash 
18107 verb+
18108 \backslash 
18109 bigdrop{-1em}{3}{ptmri}{I}+
18110 \end_inset 
18111
18112 stnieje oczywi¶cie o wiele ³atwiejsza droga.
18113  Pakiet
18114 \family typewriter 
18115  dropcaps
18116 \family default 
18117  (lub nowszy
18118 \family typewriter 
18119  dropping
18120 \family default 
18121 )  z archiwum CTAN pozwala na prostsz± metodê uzyskania inicja³ów w dokumencie.
18122  Od jakiego¶ czasu pakiet ten nie jest standardow± czê¶ci± teTeX-a.
18123  Nie mogê go zademonstrowaæ w tym dokumencie ale je¶li skopiujesz ten akapit
18124  do nowego dokumentu, usuniesz ,,
18125 \family typewriter 
18126
18127 \backslash 
18128 verb
18129 \family default 
18130 '' oraz znaki plus z kodu TeX-a na pocz±tku akapitu i dodasz do preambu³y
18131  polecenie
18132 \family typewriter 
18133  
18134 \backslash 
18135 usepackage{dropcaps}
18136 \family default 
18137  to otrzymasz literê I zapisan± czcionk± Times Roman Italic o wysoko¶ci
18138  trzech wierszy tekstu przesuniêt± o 1 em za margines.
18139  Pierwszym argumentem jest wielko¶æ wciêcia, ujemna warto¶æ powoduje przesuniêci
18140 e inicja³u za margines.
18141  Drugi argument zawiera wysoko¶æ inicja³u, podaje siê j± w wierszach.
18142  Trzeci argument jest nazw± czcionki, czcionki wirtualne posiadaj±ce pliki
18143  tfm powinny dzia³aæ (przebrnij przez katalog
18144 \family typewriter 
18145  .../texmf/fonts/tfm
18146 \family default 
18147  aby sprawdziæ mo¿liwo¶ci).
18148  Moim osobistym faworytem jest
18149 \family sans 
18150  yinit
18151 \family default 
18152 , ozdobna czcionka niemiecka specjalnie zaprojektowana do inicja³ów.
18153  Czwartym argumentem jest litera lub litery, które maj± byæ inicja³em.
18154 \layout Standard
18155
18156
18157 \begin_inset ERT
18158 status Collapsed
18159
18160 \layout Standard
18161
18162 \backslash 
18163 verb+
18164 \backslash 
18165 dropping{2}{P}+
18166 \end_inset 
18167
18168  pakiet
18169 \begin_inset Foot
18170 collapsed true
18171
18172 \layout Standard
18173
18174 Przyp.
18175  t³um.
18176  Aby zobaczyæ wynik pracy pakietu
18177 \family typewriter 
18178  dropping
18179 \family default 
18180  to nale¿y wykonaæ czynno¶ci podobne jak poprzednio, jedynie w preambule
18181  nale¿y wpisaæ
18182 \family typewriter 
18183
18184 \backslash 
18185 usepackage{dropping}
18186 \end_inset 
18187
18188
18189 \family typewriter 
18190  dropping
18191 \family default 
18192  tak¿e oferuje polecenie
18193 \family typewriter 
18194  
18195 \backslash 
18196 bigdrop
18197 \family default 
18198  o identycznej sk³adni jak w pakiecie
18199 \family typewriter 
18200  dropcaps
18201 \family default 
18202 , a tak¿e trochê uproszczone polecenie
18203 \family typewriter 
18204  
18205 \backslash 
18206 dropping o
18207 \family default 
18208  trzech argumentach.
18209  Pierwszy -- opcjonalny -- okre¶la odleg³o¶æ od lewego marginesu -- domy¶lnie
18210  0pt.
18211  Drugi zawiera wysoko¶æ inicja³u podawan± w wierszach.
18212  Trzecim argumentem jest litera lub litery, które maj± byæ inicja³em.
18213 \layout Section
18214
18215 Niestandardowe kszta³ty akapitów
18216 \layout Standard
18217 \added_space_bottom bigskip 
18218 by Mike
18219 \noun on 
18220  Ressler
18221 \layout Standard
18222
18223
18224 \begin_inset ERT
18225 status Open
18226
18227 \layout Standard
18228
18229 \backslash 
18230 begin{sloppypar}
18231 \layout Standard
18232
18233 \backslash 
18234 newdimen
18235 \backslash 
18236 varunit
18237 \newline 
18238
18239 \backslash 
18240 setlength{
18241 \backslash 
18242 varunit}{4.5in}
18243 \end_inset 
18244
18245
18246 \layout Standard
18247 \noindent 
18248
18249 \begin_inset ERT
18250 status Open
18251
18252 \layout Standard
18253
18254 \backslash 
18255 parshape 25 0.45
18256 \backslash 
18257 varunit 0.332
18258 \backslash 
18259 varunit
18260 \newline 
18261 0.40
18262 \backslash 
18263 varunit 0.300
18264 \backslash 
18265 varunit
18266 \newline 
18267 0.35
18268 \backslash 
18269 varunit 0.293
18270 \backslash 
18271 varunit
18272 \newline 
18273 0.30
18274 \backslash 
18275 varunit 0.300
18276 \backslash 
18277 varunit
18278 \newline 
18279 0.25
18280 \backslash 
18281 varunit 0.317
18282 \backslash 
18283 varunit
18284 \newline 
18285 0.20
18286 \backslash 
18287 varunit 0.342
18288 \backslash 
18289 varunit
18290 \newline 
18291 0.15
18292 \backslash 
18293 varunit 0.373
18294 \backslash 
18295 varunit
18296 \newline 
18297 0.10
18298 \backslash 
18299 varunit 0.410
18300 \backslash 
18301 varunit
18302 \newline 
18303 0.05
18304 \backslash 
18305 varunit 0.453
18306 \backslash 
18307 varunit
18308 \newline 
18309 0.00
18310 \backslash 
18311 varunit 0.500
18312 \backslash 
18313 varunit
18314 \newline 
18315 0.05
18316 \backslash 
18317 varunit 0.453
18318 \backslash 
18319 varunit
18320 \newline 
18321 0.10
18322 \backslash 
18323 varunit 0.410
18324 \backslash 
18325 varunit
18326 \newline 
18327 0.15
18328 \backslash 
18329 varunit 0.373
18330 \backslash 
18331 varunit
18332 \newline 
18333 0.20
18334 \backslash 
18335 varunit 0.342
18336 \backslash 
18337 varunit
18338 \newline 
18339 0.25
18340 \backslash 
18341 varunit 0.317
18342 \backslash 
18343 varunit
18344 \newline 
18345 0.30
18346 \backslash 
18347 varunit 0.300
18348 \backslash 
18349 varunit
18350 \newline 
18351 0.35
18352 \backslash 
18353 varunit 0.300
18354 \backslash 
18355 varunit
18356 \newline 
18357 0.40
18358 \backslash 
18359 varunit 0.300
18360 \backslash 
18361 varunit
18362 \newline 
18363 0.45
18364 \backslash 
18365 varunit 0.320
18366 \backslash 
18367 varunit
18368 \newline 
18369 0.50
18370 \backslash 
18371 varunit 0.320
18372 \backslash 
18373 varunit
18374 \newline 
18375 0.55
18376 \backslash 
18377 varunit 0.330
18378 \backslash 
18379 varunit
18380 \newline 
18381 0.60
18382 \backslash 
18383 varunit 0.330
18384 \backslash 
18385 varunit
18386 \newline 
18387 0.65
18388 \backslash 
18389 varunit 0.330
18390 \backslash 
18391 varunit
18392 \newline 
18393 0.70
18394 \backslash 
18395 varunit 0.340
18396 \backslash 
18397 varunit
18398 \newline 
18399 0.75
18400 \backslash 
18401 varunit 0.340
18402 \backslash 
18403 varunit
18404 \newline 
18405
18406 \end_inset 
18407
18408 Oto nadszed³ czas, w\SpecialChar ~
18409 którym musimy obaliæ tyraniê prostok±tnych akapitów.
18410  W tej sytuacji, wywo³amy do tego radosne polecenie plain TeX-a
18411 \family typewriter 
18412  
18413 \backslash 
18414 parshape
18415 \family default 
18416 .
18417  Jak mo¿esz zobaczyæ, w pe³ni dowolny kszta³t mo¿e byæ osi±gniêty przez
18418  odpowiednie ustawienie definicji d³ugo¶ci wiersza.
18419  Ten kszta³t akapitu mo¿e wygl±daæ trochê idiotycznie, chyba ¿e wyobrazimy
18420  sobie sytuacjê tak± jak dok³adnie ustawione inicja³y, oblane tekstem rysunki
18421  o nieregularnym kszta³cie itp.
18422  daj±ce wra¿enie rêcznej pracy.
18423 \layout Standard
18424 \added_space_top bigskip 
18425 Sk³adnia:
18426 \family typewriter 
18427  
18428 \backslash 
18429 parshape numlines #1indent #1length #2indent #2length \SpecialChar \ldots{}
18430  #nindent #nlength
18431 \family default 
18432 , gdzie
18433 \family typewriter 
18434  numlines
18435 \family default 
18436  okre¶la liczbê wierszy tekstu która definiuje akapit.
18437  Je¶li liczba wierszy bêdzie mniejsza od za³o¿onej, to kszta³t zostanie
18438  skrócony.
18439  Je¶li za¶ wierszy bêdzie wiêcej ni¿ za³o¿ono, to kolejne nadmiarowe wiersze
18440  zachowaj± parametry ostatniego definiowanego wiersza.
18441  Dyrektywy
18442 \family typewriter 
18443  #nindent
18444 \family default 
18445  i
18446 \family typewriter 
18447  #nlength
18448 \family default 
18449  okre¶laj± odstêp wiersza od lewego marginesu i d³ugo¶æ wiersza mierzone
18450  w punktach.
18451  Kszta³t dotyczy tylko bie¿±cego akapitu, nastêpny akapit jest formatowany
18452  normalnie.
18453 \layout Standard
18454
18455
18456 \begin_inset ERT
18457 status Open
18458
18459 \layout Standard
18460
18461 \backslash 
18462 end{sloppypar}
18463 \end_inset 
18464
18465
18466 \layout Section
18467
18468 Podsumowanie
18469 \layout Standard
18470
18471 Jak mo¿na zobaczyæ, przyk³ady w tym rozdziale zaczynaj± siê od u¿ytecznych
18472  a¿ do wymy¶lnych.
18473  Nie spodziewam siê aby kto¶ potrzebowa³ kszta³tu akapitu jak ostatnim rozdziale
18474 , ale wa¿ne jest to ¿e mo¿esz zrobiæ prawie wszystko co chcesz w LyX-ie
18475  je¶li bêdziesz mia³ ochotê wyobraziæ sobie jak to zrobiæ w TeX-u i LaTeX-u.
18476 \layout Standard
18477
18478 TeX jest fantastycznym systemem sk³adu i jego mo¿liwo¶ci s± dostêpne dla
18479  Ciebie przez LyX-a wykorzystuj±cego go w tle.
18480  
18481 \layout Standard
18482
18483 Mi³ego LyX-owania!
18484 \the_end