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