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