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