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