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