1 #LyX 1.4.0cvs created this file. For more info see http://www.lyx.org/
8 \newcommand{\extratablespace}[1]{\noalign{\vskip#1}}
10 %\usepackage[colorlinks=true,linkcolor=black]{hyperref}
16 \paperfontsize default
23 \paperorientation portrait
26 \paragraph_separation indent
28 \quotes_language german
31 \paperpagestyle default
32 \tracking_changes false
39 LyX -- Zaawansowane mo¿liwo¶ci
47 \begin_layout Standard
49 Opiekunem tego pliku jest aktualnie
54 Proszê wysy³aæ komentarze i poprawki b³êdów na podany adres.
67 \begin_layout Standard
69 Opiekunem wersji polskiej tego pliku jest aktualnie
74 Proszê wysy³aæ komentarze i poprawki b³êdów na podany adres.
79 przy wspó³pracy Paw³a Dziekoñskiego
86 \begin_layout Standard
97 \begin_layout Standard
98 \begin_inset LatexCommand \tableofcontents{}
105 \begin_layout Chapter
109 \begin_layout Standard
114 , który w³a¶nie czytasz jest w³a¶ciwie drug± czê¶ci±
116 Podrêcznika U¿ytkownika
119 Powód podzia³u jest prosty:
121 Podrêcznik U¿ytkownika
123 jest ju¿ do¶æ obszerny i zawiera opis wszystkich podstawowych funkcji,
124 które trzeba poznaæ do przygotowania wiêkszo¶ci dokumentów.
127 \begin_layout Standard
128 LyX Team ma d³ugoterminowy cel tworzenia rozszerzeñ LyX-a przez ró¿ne pliki
130 To oznacza, ¿e je¶li chcesz obs³ugiwaæ pakiet LaTeX-a
134 , to mo¿esz utworzyæ plik uk³adu dla tego pakietu bez konieczno¶ci dokonywania
135 samodzielnie zmian w LyX-ie.
136 Ju¿ przyczynili¶my siê do powstania kilku nowych funkcji t± drog±.
137 Ten podrêcznik, to jest miejsce, gdzie wszystko to udokumentowano.
140 \begin_layout Standard
141 Ten podrêcznik dokumentuje tak¿e kilka funkcji specjalnych, jak faksowanie,
142 kontrola wersji, obs³uga SGML-u, które wymagaj± dodatkowego oprogramowania
144 Ostatni rozdzia³ traktuje o narzêdziach i sposobach LaTeX-a, które mo¿na
145 zastosowaæ do wykoñczenia Twoich dokumentów u¿ywaj±c funkcji LaTeX-a.
146 Poza tym LyX jest tylko edytorem WYSIWYM i bêdzie zawsze tylko interfejsem
147 do pewnych funkcji LaTeX-a.
148 Oczywi¶cie, z udokumentowanymi wszystkimi funkcjami.
151 \begin_layout Standard
152 Je¶li nie przeczyta³e¶ jeszcze wprowadzenia, to w³a¶nie czytasz niew³a¶ciwy
154 Wprowadzenie jest pierwszym miejscem, od którego powiniene¶ zacz±æ.
155 Opisuje on notacjê i format wszystkich podrêczników.
156 Powiniene¶ gruntownie zaznajomiæ siê z
158 Podrêcznikiem U¿ytkownika
160 i wszystkimi podstawowymi funkcjami LyX-a.
163 \begin_layout Standard
164 Wiele rozdzia³ów w tym dokumencie jest niezale¿nymi artyku³ami napisanymi
165 przez pojedyncze osoby i s± one odpowiednio zaznaczone.
166 Tymi osobami s± generalnie ci, którzy napisali nowy plik uk³adu (layout)
167 dla nowej klasy dokumentu lub pakietu LaTeX-a, lub zaimplementowali jak±¶
169 Je¶li nie wspomniano o autorze w rozdziale lub sekcji to znaczy, ¿e zosta³
170 napisany przez LyX Documentation Team.
173 \begin_layout Standard
174 Pierwszy rozdzia³ stanowi suplement do narzêdzi edycyjnych LyX-a, nie ujêtych
177 Podrêczniku U¿ytkownika
179 i przeznaczony jest dla bardziej zaawansowanych u¿ytkowników.
182 \begin_layout Standard
183 Wszystkie rozdzia³y tego podrêcznika s± w ró¿nym stopniu, ale jednak, opisuj±
184 wspó³pracê LyX-a i LaTeX-a, pierwszy rozdzia³ opisuje wewnêtrzn± pracê
185 LyX-a, jak prosto LyX tworzy kod LaTeX-a je¶li chcesz.
186 To jest oczywiste dla wielu u¿ytkowników LyX-a.
189 \begin_layout Chapter
193 \begin_layout Section
194 Jak LyX u¿ywa LaTeX-a
197 \begin_layout Standard
198 \begin_inset LatexCommand \label{sec:lyxandlatex}
202 To jest rozdzia³ dla TeX-ników i dla ciekawych LaTeX-a.
203 Wyja¶nimy w nim jak pracuj± LyX i LaTeX tworz±c wynikowe dokumenty do druku.
204 Tylko w tym miejscu i tylko w tym podrêczniku zak³adamy Twoj± znajomo¶æ
208 \begin_layout Standard
209 Od jakiego¶ czasu LyX-a nazywamy ,,WYSIWYM frontendem do LaTeX'', ale to
210 nie jest dalej prawd±.
211 Istniej± równie¿ inne frontendy do LaTeX-a.
212 To s± generalnie edytory potrafi±ce uruchomiæ LaTeX-a i zaznaczaæ b³êdy
222 uruchomiæ LaTeX-a, i równie¿ zaznaczaæ b³êdy, i tak¿e wiele, wiele wiêcej.
223 Dziêki koncepcji WYSIWYM
227 \begin_layout Standard
228 What You See Is What You Mean -- dostajesz to o co Ci chodzi
233 , nie musisz znaæ LaTeX-a aby efektywnie u¿ywaæ LyX-a.
234 LyX posiada tak¿e kilka rozszerzeñ do LaTeX-a
238 \begin_layout Standard
239 The Team did this for parsing/coding reasons.
240 The new macros allow LyX to more easily produce LaTeX code and ensure that
241 the resulting code is correct.
242 Nothing that you, the user, need worry about.
248 Spróbuj kiedy¶ wybraæ polecenie
250 Eksportuj\SpecialChar \menuseparator
260 i spójrz na preambu³ê utworzonego pliku
265 Bêdziesz móg³ zauwa¿yæ ró¿ne nowe makra zdefiniowane specjalnie przez LyX-a
269 \begin_layout Standard
270 Trochê historii: kiedy¶ wszystkie makra znajdowa³y siê w pliku
275 Pewnego dnia The Team zdecydowa³, ¿e utworzone pliki
279 powinny byæ bardziej przeno¶ne.
280 Tak teraz makra s± umieszczone w preambule.
286 Jednak to wszystko dzieje siê prze¼roczy¶cie dla u¿ytkownika.
289 \begin_layout Standard
290 Mamy kilka poleceñ, które automatycznie wywo³uj± LaTeX-a.
294 \begin_layout Itemize
297 Podgl±d\SpecialChar \menuseparator
301 \begin_layout Itemize
304 Podgl±d\SpecialChar \menuseparator
308 \begin_layout Itemize
311 Podgl±d\SpecialChar \menuseparator
312 Aktualizuj\SpecialChar \menuseparator
316 \begin_layout Itemize
319 Podgl±d\SpecialChar \menuseparator
320 Aktualizuj\SpecialChar \menuseparator
324 \begin_layout Itemize
327 Plik\SpecialChar \menuseparator
331 \begin_layout Standard
332 Tylko te polecenia wywo³uj± LaTeX-a je¶li dokument siê zmieni³ od czasu
333 ostatniego uruchomienia LaTeX-a
336 \begin_layout Standard
337 Podczas uruchomienia LaTeX-a podczas edycji pliku, LyX wykonuje nastêpuj±ce
341 \begin_layout Enumerate
346 do LaTeX-a i zapisuje plik z rozszerzeniem
353 \begin_layout Enumerate
354 Uruchamia LaTeX-a z plikiem
358 (byæ mo¿e kilka razy).
361 \begin_layout Enumerate
362 Je¶li s± b³êdy , to zaznacza je w dokumencie.
365 \begin_layout Standard
366 Je¶li uruchamiasz LaTeX-a poleceniem podgl±du
379 Je¶li u¿y³e¶ polecenia podgl±du
390 , LyX wykonuje dwa kroki wiêcej:
393 \begin_layout Itemize
398 do konwersji pliku Dvi do pliku postscriptowego:
402 \begin_layout Itemize
407 , plik wyj¶ciowy ma rozszerzenie
412 \begin_layout Itemize
420 , plik wyj¶ciowy ma rozszerzenie
424 , jak mo¿na by³o siê spodziewaæ.
428 \begin_layout Itemize
433 lub wysy³a plik postscriptowy do drukarki.
436 \begin_layout Section
437 ,,Pomocy! LyX utworzy³ nieczytelny plik
444 \begin_layout Standard
445 U¿ytkownicy LaTeX-a bêd± krzyczeæ to przez ca³± noc, gdy deklaracje LyX-a
446 s± nie do wykorzystania --- oni po prostu nie czytali dokumentacji do LyX-a
451 \begin_layout Standard
456 : I know a certain faculty member who actually did complain to me that LyX
457 doesn't generate LaTeX files.
458 Ain't it funny how, sometimes, faculty are the worst at reading instructions?
466 \begin_layout Standard
467 Nale¿y postawiæ sprawê jasno.
468 LyX produkuje dwa rodzaje plików LaTeX-owych.
469 Jedne s± czytelne dla ludzi.
470 Inne s± czytelne dla LyX-a.
471 Za ka¿dym wywo³aniem LaTeX-a przez LyX-a, tworzy on plik LaTeX-a, który
472 mo¿e byæ ³atwo skanowany w celu poszukiwania b³êdów.
477 nie jest czytelny dla ludzi.
478 Nie próbuj go czytaæ.
479 Je¶li chcesz mieæ plik
483 aby móc wys³aæ go koledze, to wybierz polecenie
485 Eksportuj\SpecialChar \menuseparator
498 \begin_layout Standard
499 Powtórzymy to jeszcze raz, specjalnie dla podkre¶lenia :
502 \begin_layout Standard
503 \begin_inset VSpace 0.23cm
514 móc wys³aæ koledze, to wybierz polecenie
516 Eksportuj\SpecialChar \menuseparator
529 \begin_layout Standard
530 \begin_inset VSpace 0.23cm
536 \begin_layout Section
537 Importowanie plików LaTeX-a do LyX-a
540 \begin_layout Standard
541 Mo¿esz importowaæ pliki LaTeX-a do LyX-a za pomoc± polecenia
546 lik\SpecialChar \menuseparator
547 Importuj\SpecialChar \menuseparator
555 Polecenie wywo³uje skrypt Perl-a o nazwie
559 , który na podstawie pliku
567 i otworzy go w LyX-ie.
568 Je¶li import nie powiedzie siê, mo¿esz spróbowaæ uruchomiæ skrypt
576 \begin_layout Standard
577 Podczas instalacji LyX-a, oddzielny plik wykonywalny o nazwie
581 jest umieszczany w tym samym katalogu z binariami co program
594 wymaga interpretera jêzyka Perl (wersja 5.002 jak to napisano).
599 z odpowiednimi parametrami.
602 \begin_layout Standard
607 t³umaczy wiêkszo¶æ konstrukcji LaTeX-a, ale nie wszystkie.
608 Pozostawi rzeczy, których nie rozumie w trybie TeX, aby¶ po konwersji móg³
609 spojrzeæ na zaznaczony na czerwono tekst i rêcznie go poprawiæ.
612 \begin_layout Standard
617 ma w³asn± sekcjê w podrêczniku
619 Zaawansowane Mo¿liwo¶ci
621 (a tak¿e odpowiednik w postaci Unix-owego mana), któr± powiniene¶ przeczytaæ,
622 aby dowiedzieæ siê czego nie interpretuje
626 , b³êdach (oraz jak sobie z nimi poradziæ) i u¿yciu ró¿nych opcji.
629 \begin_layout Standard
630 Je¶li nie mo¿esz u¿yæ do pracy
634 lub je¶li chcesz wstawiæ trochê kodu LaTeX-a do pliku LyX-a, to zajrzyj
636 \begin_inset LatexCommand \ref{sec:latexcodes}
643 \begin_layout Section
644 Wstawianie poleceñ LaTeX-a do dokumentów LyX-a
647 \begin_layout Standard
648 \begin_inset LatexCommand \label{sec:latexcodes}
652 To jest raczej wa¿ny punkt: mo¿esz zawsze wstawiæ kod LaTeX-a do dowolnego
654 LyX po prostu nie mo¿e i prawdopodobnie nigdy nie bêdzie móg³ wy¶wietliæ
655 wszystkich mo¿liwych konstrukcji LaTeX.
656 Je¶li potrzebujesz wstawiæ polecenie LaTeX-a do dokumentu LyX-a, to u¿yj
657 wstawki ERT, któr± mo¿esz wstawiæ do dokumentu poleceniem
662 staw\SpecialChar \menuseparator
670 Wstawka ERT mo¿e wystêpowaæ w trzech formach:
683 Pierwsze dwie formy s± podobne do innych rozwijalnych wstawek (takich jak
685 wstawka przypisu) i s± wygodne do zaznaczenia poleceñ LaTeX-a.
690 wstawki wy¶wietla jej zawarto¶æ, co jest wygodne dla krótkich fragmentów
696 \begin_layout Standard
705 \begin_layout Standard
706 Mo¿esz prze³±czaæ siê pomiêdzy tymi formami przez klikniêcie prawym klawiszem
708 Uwaga je¶li chcesz wiêcej ni¿ jeden wiersz poleceñ LaTeX-a, to nie mo¿esz
716 \begin_layout Standard
717 Tutaj jest przyk³ad wstawienia poleceñ LaTeX-a w dokumencie LyX-a.
721 \begin_layout LyX-Code
730 This is an example for a minipage environment.
733 can put nearly everything in it, even (non-floating)
776 \begin_layout Standard
777 Wstawka ERT zawieraj±ca powy¿szy tekst jest umieszczona bezpo¶rednio po
779 Je¶li czytasz ten podrêcznik w LyX-ie, to zobaczysz tylko przycisk z czerwonym
781 Czytaj±c drukowan± wersjê tego podrêcznika zobaczysz rezultaty:
784 \begin_layout Standard
788 \begin_layout Standard
794 \begin_layout Standard
800 \begin_layout Standard
801 This is an example for a minipage environment.
802 You can put nearly everything in it, even (non-floating) figures and tables.
806 \begin_layout Standard
812 \begin_layout Standard
816 \begin_layout Standard
822 \begin_layout Standard
828 \begin_layout Standard
834 \begin_layout Standard
839 \begin_layout Standard
845 \begin_layout Standard
851 \begin_layout Standard
857 \begin_layout Standard
868 \begin_layout Standard
869 Ponadto mo¿esz utworzyæ oddzielny plik zawieraj±cy skomplikowan± strukturê
870 LaTeX-a i do³±czyæ go poleceniem
875 staw\SpecialChar \menuseparator
882 (powiniene¶ wybraæ opcjê
890 Zalecamy aby¶ do³±cza³ pliki
899 W innym wypadku bêdziesz mia³ sporo zajêcia z wyszukiwaniem b³êdów\SpecialChar \ldots{}
903 \begin_layout Standard
904 Kilka ostatnich uwag o wyró¿nieniu:
907 \begin_layout Itemize
908 Wewn±trz LyX-a, kod LaTeX-a pojawia siê
915 \begin_layout Itemize
920 sprawdza poprawno¶ci Twojego kodu LaTeX-owego,
923 \begin_layout Itemize
924 Staraj siê nie odkrywaæ ko³a na nowo.
927 \begin_layout Standard
928 Na koniec dwie uwagi.
929 Po pierwsze, LyX posiada niewiele funkcji ca³kowicie wbudowanych ale bêdzie
931 B±d¼ pewien, sprawdzaj±c podrêcznik, ¿e danej funkcji LyX nie posiada zanim
932 zaczniesz kodowaæ j± w LaTeX-u
936 \begin_layout Standard
941 -a: I seem to do this an awful lot.
942 Sat down and merrily began coding something to print out labels, only to
943 learn that there were already 2 different LaTeX packages to do this.
944 Worse yet - I had them already!
950 Po drugie istnieje wiele pakietów LaTeX-a pocz±wszy od sk³adu etykiet czy
951 kopert do ³adnych wielostronicowych tabel.
952 Przejrzyj archiwum CTAN aby poznaæ wiêcej szczegó³ów (zobacz sekcjê
953 \begin_inset LatexCommand \ref{sec:ctan}
960 \begin_layout Standard
961 Je¶li potrzebujesz zrobiæ trochê dzikich i ³adnych rzeczy wewn±trz dokumentu,
962 b±d¼ pewien swoich konstrukcji korzystaj±c z dobrej ksi±¿ki o LaTeX-u.
966 \begin_layout Standard
967 Pewna liczba poleceñ LaTeX-a musi byæ umieszczona przed pocz±tkiem tekstu.
968 Powinny one zostaæ umieszczone w preambule co opisano w nastêpnej sekcji.
971 \begin_layout Section
972 Preambu³a LyX-a i LaTeX-a
975 \begin_layout Subsection
979 \begin_layout Standard
980 \begin_inset LatexCommand \label{sec:preamble}
984 Je¶li ju¿ znasz LaTeX-a, to nie potrzebujesz tutaj wyja¶nienia do czego
986 Je¶li nie wiesz, to dajemy Ci kilka porad -- zalecamy aby¶ znów zapozna³
987 siê z ksi±¿k± o LaTeX-u aby poznaæ wiêcej informacji.
988 W innym przypadku powiniene¶ czytaæ poni¿sze sekcje, poniewa¿ w nich jest
989 wyja¶nione co mo¿esz zrobiæ i czego nie musisz zrobiæ w preambule LyX-owego
993 \begin_layout Standard
994 Preambu³a LaTeX-a znajduje siê na samym pocz±tku dokumentu
1002 \begin_layout Itemize
1003 deklaracji klasy dokumentu.
1004 LyX ju¿ wykonuje to za Ciebie.
1008 \begin_layout Standard
1009 Je¶li jeste¶ LaTeX-nikiem i masz ju¿ trochê dopasowanych klas dokumentów,
1010 których chcesz u¿ywaæ, to zajrzyj do podrêcznika
1014 aby dowiedzieæ siê jak wykonaæ do nich interfejs.
1015 Nie zapomnij wys³aæ swoich osi±gniêæ do LyX Team-u aby je w³±czyæ do przysz³ych
1020 \begin_layout Itemize
1021 deklaracji u¿ywanych pakietów.
1022 Pakiety LaTeX-a dostarczaj± specjalne polecenia, które s± dostêpne w dokumencie
1023 tylko je¶li zadeklarujemy pakiet w preambule.
1032 wymusza wcinanie wszystkich akapitów.
1033 istniej± pakiety dla etykiet, kopert, marginesów itd.
1036 \begin_layout Itemize
1037 ustawiania liczników, zmiennych, d³ugo¶ci i szeroko¶ci.
1038 Istnieje kilka liczników LaTeX-a i zmiennych, które
1042 byæ ustawione globalnie z poziomu preambu³y, aby uzyskaæ ¿±dany efekt [istniej±
1043 inne zmienne, które mo¿na ustawiaæ tak¿e wewn±trz dokumentu].
1044 Marginesy s± dobrym przyk³adem czego¶ co musi byæ ustawione w preambule.
1045 Innym przyk³adem jest format nalepek na listy.
1046 Mo¿esz ustawiæ je gdziekolwiek, ale najlepszym miejscem do tego jest preambu³a.
1049 \begin_layout Itemize
1050 deklaracji definiowanych przez u¿ytkownika poleceñ [za pomoc± polecenia
1063 ], g³ównie skrótów dla poleceñ LaTeX-a, które wystêpuj± czêsto w tek¶cie
1065 Mimo to preambu³a jest dobrym miejscem na deklaracje poleceñ, które
1069 byæ deklarowane gdziekolwiek indziej [byleby
1073 ich pierwszym u¿yciem w tek¶cie].
1074 To mo¿e byæ u¿yteczne je¶li mamy wiele kodu LaTeX-a w dokumencie, który
1075 normalnie nie powinien siê zdarzyæ.
1078 \begin_layout Standard
1079 LyX dodaje do preambu³y w³asne definicje podczas tworzenia pliku
1084 To czyni dokumenty LaTeX-a utworzone przez LyX-a przeno¶nymi.
1087 \begin_layout Subsection
1091 \begin_layout Standard
1092 Polecenia, które dodaje LyX do preambu³y s± zafiksowane i nie mo¿esz ich
1093 zmieniæ bez samodzielnego patchowania LyX-a.
1094 Mo¿esz jednak dodaæ w³asne rzeczy do preambu³y.
1095 Mo¿esz to zrobiæ na dwa sposoby:
1098 \begin_layout Enumerate
1114 Otworzy siê wówczas okno, w którym mo¿esz wpisaæ swoje polecenia.
1118 \begin_layout Standard
1119 Edytor preambu³y jest prymitywny, nie spodziewaj siê po nim zbyt wiele.
1123 \begin_layout Enumerate
1124 Utwórz w swoim domy¶lnym szablonie dokumentu (zobacz
1125 \begin_inset LatexCommand \ref{sec:setup}
1129 ) odpowiednie wpisy w preambule.
1130 Wówczas tworz±c nowy dokument na jego podstawie preambu³a bêdzie ju¿ wpisana.
1133 \begin_layout Standard
1134 LyX nie dodaje niczego do Twojej czê¶ci preambu³y.
1135 Zanim dodasz deklaracje do preambu³y powiniene¶ upewniæ siê, ¿e nie jest
1136 ju¿ to wykonane przez LyX-a [czy pamiêtasz co mówili¶my o ponownym wynalezieniu
1140 dokonuj poprawnych wpisów w preambule
1142 -- LyX nie sprawdza jej poprawno¶ci.
1145 \begin_layout Subsection
1149 \begin_layout Standard
1150 Tutaj znajduje siê kilka przyk³adów co mo¿na dodaæ do preambu³y:
1153 \begin_layout Subsubsection
1154 Przyk³ad #1: Przesuniêcie strony
1157 \begin_layout Standard
1158 Istniej± dwie zmienne LaTeX-a do sterowania pozycj± strony:
1171 Ich nazwy s± samoobja¶niaj±ce.
1172 Te zmienne s± u¿yteczne je¶li w tej chwili o etykietach.
1173 Czasami rozmiar medium i obszar medium, na którym bêdziesz drukowaæ nie
1175 Wówczas mamy polecenia
1190 \begin_layout Standard
1191 Domy¶ln± warto¶ci± dla
1203 jest 0 pt, czyli strona nie jest przesuniêta.
1206 \begin_layout Standard
1207 Niestety, niektóre sterowniki DVI wydaj± siê zawsze przesuwaæ stronê.
1208 Nie mamy pomys³u dlaczego lub dlaczego Twój administrator nie poprawi³
1210 Je¶li u¿ywasz LyX-a w systemie, którego osobi¶cie nie nadzorujesz, a którego
1211 administrator to ,,doofus'', to polecenia
1223 mog± zaoszczêdziæ Ci dni.
1224 Na przyk³ad Twoje marginesy lewy i górny s± zawsze o pó³ cala zbyt du¿e.
1225 Nale¿y wówczas dodaæ do preambu³y nastêpuj±ce polecenia:
1228 \begin_layout LyX-Code
1236 \begin_layout LyX-Code
1244 \begin_layout Standard
1245 \SpecialChar \ldots{}
1246 a Twoje marginesy bêd± teraz poprawne.
1249 \begin_layout Subsubsection
1250 Przyk³ad #2: Etykiety
1253 \begin_layout Standard
1254 Mówi±c etykiety mamy na my¶li wydruk etykiet z adresami.
1255 Istnieje mi³y pakiet, dostêpny w najbli¿szym Ci archiwum CTAN, do wydruku
1261 Twój system mo¿e nie mieæ go domy¶lnie zainstalowanego -- zostawiamy Ci
1263 Pewnie bêdziesz chcia³ przeczytaæ dokumentacjê pakietu -- my nie zrobimy
1265 Jednak poni¿szym przyk³adem podpowiadamy Ci jak z niego skorzystaæ.
1268 \begin_layout Standard
1269 Po pierwsze wybierz klasê dokumentu
1274 Nastêpnie wpisz do preambu³y nastêpuj±ce deklaracje:
1277 \begin_layout LyX-Code
1283 \begin_layout LyX-Code
1289 \begin_layout LyX-Code
1295 \begin_layout LyX-Code
1301 \begin_layout LyX-Code
1307 \begin_layout LyX-Code
1313 \begin_layout LyX-Code
1319 \begin_layout Standard
1320 Te ustawienia s± odpowiednie dla arkusza etykiet Avery, nr #5360.
1321 Teraz jeste¶ gotów do wydruku etykiet, ale potrzeba jeszcze wstawiæ polecenia
1322 LaTeX umieszczaj±c polecenia
1334 wokó³ ka¿dego tekstu z tre¶ci± etykiety.
1335 Ta i inne funkcje pakietu
1339 s± wyja¶nione w dokumentacji.
1342 \begin_layout Standard
1343 Byæ mo¿e, ¿e kiedy¶, kto¶ napisze plik uk³adu LyX-a do obs³ugi tego pakietu
1345 Byæ mo¿e to bêdziesz Ty.
1348 \begin_layout Subsubsection
1349 Przyk³ad #3: Wciêcie akapitu
1352 \begin_layout Standard
1353 Amerykanie s± wyæwiczeni we wcinaniu pierwszego wiersza
1358 Tak jak wszystkie inne dziwne quirks, wiêkszo¶æ Amerykanów bêdzie wyæ i
1359 jêczeæ dopóki nie bêd± mieli wcinanych pierwszych wierszy we wszystkich
1364 \begin_layout Standard
1369 : To by³o napisane przez Amerykanina -- przeze
1373 ! Tak postrzegam moich rodaków.
1374 Nieprzerwanie ja nie lubiê tego.
1384 \begin_layout Standard
1395 \begin_layout Standard
1396 Oczywi¶cie takie zachowanie nie jest standardem w typografii.
1397 W ksi±¿kach wcinana jest tylko pierwszy wiersz akapitu je¶li ten akapit
1398 wystêpuje po poprzednim akapicie.
1399 Ide± wcinania pierwszego wiersza akapitu jest wyró¿nienie s±siaduj±cych
1401 Je¶li jednak nie ma poprzedniego akapitu, np.
1402 pod rysunkiem lub na pocz±tku rozdzia³u czy sekcji, pierwszy akapit nie
1403 bêdzie wyró¿niony wciêciem.
1406 \begin_layout Standard
1407 Je¶li jeste¶ amerykaninem, to nie przejmuj siê takimi ezoterycznymi rzeczami,
1408 po prostu chcesz mieæ wciêcia! Dodaj to do preambu³y
1412 \begin_layout Standard
1431 automatycznie wcinaj± wszystkie akapity.
1439 \begin_layout LyX-Code
1442 usepackage{indentfirst}
1445 \begin_layout Standard
1446 Je¶li Twoja dystrybucja TeX-a nie jest pod³a, to bêdziesz mia³ ten pakiet
1447 zainstalowany i wszystkie akapity bêd± wcinane tak jak na to zas³uguj±.
1450 \begin_layout Subsubsection
1451 Przyk³ad #4: Ten dokument
1454 \begin_layout Standard
1455 Mo¿esz tak¿e sprawdziæ jak± preambu³ê posiada ten dokument, aby poznaæ jakie
1456 zaawansowane rzeczy mo¿esz zrobiæ.
1457 Ponadto wiêcej przyk³adów co mo¿na wpisaæ do preambu³y znajdziesz w tym
1461 \begin_layout Section
1462 B³êdy LyX-a i LaTeX-a
1465 \begin_layout Standard
1466 Gdy LyX wywo³uje LaTeX-a, informuje go aby ignorowa³ wszelkie b³êdy i przetwarza
1468 Mo¿na to wykorzystaæ do przejrzenia logu przebiegu LaTeX i wykonania post-morte
1470 Jak wspomnieli¶my wcze¶niej, LyX tworzy dwa rodzaje plików
1474 , jeden z nich jest u¿ywany do lokalizacji b³êdów w dokumencie.
1475 Je¶li pojawi siê b³±d, to LyX umie¶ci prostok±t ze s³owem ,,B³±d'' w odpowiedni
1476 m miejscu w dokumencie
1480 \begin_layout Standard
1481 LyX okazjonalnie nie odgadnie miejsca, w którym zdarzy³ siê b³±d.
1482 To siê zdarza zwykle przy tabelach, rysunkach, matematyce i preambule.
1488 Zostanie tak¿e wy¶wietlony komunikat informuj±cy o fakcie wyst±pienia b³êdów
1491 \begin_layout Standard
1492 Mo¿esz nawigowaæ pomiêdzy b³êdami za pomoc± polecenia
1504 Mo¿esz ,,otwieraæ'' znaczniki b³êdów i podejrzeæ komunikaty LaTeX-a przez
1505 klikniêcie na znaczniku.
1508 \begin_layout Standard
1509 Wiele osób lubi zobaczyæ wprost ca³y log, który jest dostêpny z menu
1515 odgl±d\SpecialChar \menuseparator
1523 Istniej kilka powszechnych komunikatów b³êdów i ostrze¿eñ.
1525 Powiniene¶ zajrzeæ do dobrej ksi±¿ki o LaTeX-u dla zapoznania siê z pe³n±
1529 \begin_layout Itemize
1536 \begin_layout Standard
1537 Komunikat zaczynaj±ce siê tymi s³owy jest komunikatem diagnostycznym LaTeX-a.
1538 Otrzymasz podobne ostrze¿enie gdy dodasz lub zmienisz odno¶nik lub wpis
1539 bibliografii, wówczas LaTeX komunikuje Ci, ¿e powinien zostaæ uruchomiony
1543 \begin_layout Standard
1544 Ostrze¿enie mo¿na w wiêkszo¶ci zignorowaæ.
1548 \begin_layout Itemize
1555 \begin_layout Standard
1556 Inny komunikat ostrzegawczy, tym razem o fontach, których LaTeX nie potrafi³
1558 Reszta komunikatu czêsto informuje jakich fontów u¿y³ LaTeX w zastêpstwie.
1561 \begin_layout Standard
1562 Mo¿esz go bezpiecznie zignorowaæ.
1566 \begin_layout Itemize
1575 \begin_layout Standard
1580 dawaæ takie komunikaty.
1581 Ostrze¿enia dotycz± wierszy, które s± zbyt d³ugie i wystaj± poza prawy
1583 Prawie zawsze jest to niezauwa¿alne na wydruku.
1584 Albo jeden lub dwa znaki przekraczaj± prawy margines.
1585 LaTeX zdaje siê generowaæ co najmniej jeden taki komunikat dla dowolnego
1586 dokumentu jaki napiszesz.
1589 \begin_layout Standard
1590 Mo¿esz ignorowaæ te g³upie komunikaty.
1591 Zobaczysz na w³asne oczy je¶li co¶ bêdzie zbyt szerokie, spójrz na wynik
1596 \begin_layout Itemize
1605 \begin_layout Standard
1606 LaTeX komunikuje nam, ¿e zbyt ma³e wype³nienie wiersza zmusza go do wstawienia
1607 zbyt du¿ych odstêpów miêdzy wyrazami.
1611 \begin_layout Standard
1612 Mo¿esz go tak¿e zignorowaæ.
1616 \begin_layout Itemize
1631 \begin_layout Standard
1632 Ostrze¿enie o k³opotach z ³amaniem stron -- zbyt ma³ych lub zbyt du¿ych
1633 odstêpach pionowych.
1634 Jeszcze raz spójrz na wynik przetwarzania.
1635 Zobaczysz na w³asne oczy je¶li co¶ bêdzie zbyt szerokie.
1639 \begin_layout Itemize
1643 \begin_inset Quotes els
1647 \begin_inset Quotes ers
1654 \begin_layout Standard
1655 Plik ,,Xxxx'' nie jest zainstalowany w systemie.
1656 Ten komunikat pojawia siê czêsto, gdy nie zainstalowa³e¶ pakietów u¿ytych
1658 Je¶li nie dotyka³e¶ preambu³y lub nie u¿ywa³e¶ polecenia
1664 , to znaczy ¿e brakuje jednego z pakietów, które próbuje za³adowaæ LyX.
1670 omoc\SpecialChar \menuseparator
1677 aby zobaczyæ listê pakietów znanych LyX-owi.
1678 Ten plik jest uaktualniany podczas ka¿dej rekonfiguracji LyX-a (polecenie
1686 \SpecialChar \menuseparator
1691 ) i zawiera informacje, które pakiety zosta³y wykryte i do czego s³u¿±.
1694 \begin_layout Standard
1705 i pakiet nie zosta³ zainstalowany, to nale¿y zainstalowaæ go samodzielnie.
1709 \begin_layout Itemize
1712 LaTeX Error: Unknown option
1716 \begin_layout Standard
1717 B³±d pojawia siê gdy podano niezdefiniowan± (lub b³êdn±) opcjê u¿ytego pakietu.
1718 Sprawd¼ dokumentacjê do pakietu.
1722 \begin_layout Itemize
1725 Undefined control sequence
1729 \begin_layout Standard
1730 Je¶li wstawi³e¶ polecenie LaTeX w dokumencie, ale pope³ni³e¶ np.
1731 b³±d literowy, to otrzymasz taki w³a¶nie komunikat b³êdu.
1732 Byæ mo¿e zapomnia³e¶ za³adowaæ jaki¶ pakiet.
1733 W ogólnym przypadku, komunikat b³êdu zwykle oznacza, ¿e u¿y³e¶ niezdefiniowaneg
1738 \begin_layout Standard
1739 Istniej± jeszcze inne komunikaty b³êdów i ostrze¿eñ, a wiele z nich jest
1741 Podane s± czêstymi komunikatami.
1742 Inne s± naprawdê zaszyfrowane.
1743 To s± aktualne komunikaty TeX-a i my na prawdê nie mamy klucza jak je odszyfrow
1747 \begin_layout Standard
1748 Oto ogólny tok postêpowania je¶li zdarzy siê b³±d:
1751 \begin_layout Enumerate
1752 Sprawd¼ poprawno¶æ poleceñ LaTeX-a wstawionych w dokumencie.
1755 \begin_layout Enumerate
1756 Je¶li nie ma b³êdów literowych, to sprawd¼ poprawno¶æ ich u¿ycia.
1759 \begin_layout Enumerate
1760 Je¶li dostaniesz pêk znaczników b³êdów na samym pocz±tku dokumentu, to znaczy,
1761 ¿e jest jaki¶ b³±d w preambule.
1762 Zacznij debugowaæ swoj± preambu³ê.
1765 \begin_layout Enumerate
1766 Je¶li nie doda³e¶ niczego do preambu³y i nie wstawi³e¶ ¿adnych poleceñ LaTeX-a
1767 do dokumentu, to najpierw sprawd¼ swoj± dystrybucjê LaTeX.
1768 Sprawd¼ brakuj±ce pakiety i zainstaluj je.
1771 \begin_layout Enumerate
1772 OK, nie brakuje pakietów.
1773 Czy nie u¿y³e¶ jakie¶ opcji dopasowuj±cej w LyX-ie? Precyzuj±c, czy nie
1774 u¿y³e¶ jej niew³a¶ciwie, jak próba rêcznego wstawienia wielu
1786 s? Czy próbowa³e¶ to kludge co¶ razem z nimi zamiast u¿yæ odpowiednich ¶rodowisk
1790 \begin_layout Enumerate
1791 OK, nie u¿y³e¶ ¿adnej opcji dopasowuj±cej, postêpujesz zgodnie z zasadami.
1792 Czy próbowa³e¶ przeprowadziæ jaki¶ fantastyczny manewr? Czy zrobi³e¶ co¶
1793 wspania³ego w tabeli czy równaniu, jak wstawienie grafiki do komórki tabeli?
1796 \begin_layout Enumerate
1797 Czy nie masz zbyt d³ugich akapitów tekstu gdzie LaTeX nie mo¿e znale¼æ miejsca
1798 na prze³amanie wiersza? Domy¶lnie LaTeX jest dok³adny w dodawaniu ekstra
1799 odstêpów miêdzy wyrazami aby prze³amaæ wiersz.
1800 Proponowane jest przerobienie akapitów aby usun±æ ten problem.
1801 Je¶li to nie jest mo¿liwe, mo¿esz obj±æ swój tekst w
1807 aby obni¿yæ wymagania LaTeX-a przy ³amaniu wierszy.
1810 \begin_layout Enumerate
1811 Czy nie przesadzi³e¶ z zagnie¿d¿aniem? LyX [aktualnie] nie sprawdza czy
1812 nie przekroczy³e¶ limitu zagnie¿d¿enia ¶rodowiska.
1813 Je¶li zagnie¼dzi³e¶ ¶rodowiska a¿ do 17 poziomu, to mo¿e byæ problem.
1816 \begin_layout Enumerate
1817 Nie otrzyma³e¶ ¿adnych komunikatów b³êdów ale wynik ¼le wygl±da.
1818 Je¶li masz tabelê lub rysunek szerszy lub d³u¿szy od strony, to powiniene¶:
1822 \begin_layout Enumerate
1823 przeskalowaæ rysunek do odpowiednich wymiarów,
1826 \begin_layout Enumerate
1827 skróciæ tabelê, tak aby pasowa³a.
1830 \begin_layout Standard
1831 Je¶li dalej jest ¼le z wynikiem i nie próbowa³e¶ przeprowadziæ ¿adnych wspania³y
1832 ch lub kludge opcji dopasowuj±cych, to my nie wiemy co jest nie tak.
1836 \begin_layout Standard
1837 Je¶li to nie pomo¿e, to
1841 znalaz³e¶ b³±d w LyX-ie\SpecialChar \ldots{}
1845 \begin_layout Chapter
1846 Dodatkowe narzêdzia sk³adu dokumentu
1849 \begin_layout Section
1850 Przygotowanie bibliografii za pomoc± BibTeX-a
1853 \begin_layout Standard
1860 \begin_layout Standard
1861 Ressler is to blame for all of Chapter 1 except where noted.
1869 \begin_layout Standard
1870 STOP! je¶li wiesz czym jest BibTeX lub masz dobry pomys³ na jego zastosowanie
1872 u³o¿enie swojej w³asnej bazy bibliograficznej) nie id¼, a biegnij do swojego
1873 egzemplarza drugiego wydania Lamporta
1875 LaTeX: A Document Preparation System
1882 W dalszej dyskusji zak³adamy, ¿e masz utworzony poprawny plik bibliografii
1883 oraz masz poprawnie ustawione wszystkie odpowiednie zmienne ¶rodowiska
1897 ) oraz je¶li jeste¶ odpowiednio zdesperowany powiniene¶ utworzyæ plik LaTeX-a
1905 \begin_layout Standard
1906 Dla tych, którzy nie znaj± BibTeX-a, jest to system do tworzenia wielkich
1907 baz Twoich czêsto u¿ywanych odno¶ników do literatury.
1910 \begin_layout Standard
1911 Dla wszystkich przysz³ych artyku³ów, zapisz tylko potrzebne pozycje literatury
1912 do wstawienia do bazy i oznacz odpowiednim kluczem ka¿dy odno¶nik.
1913 Nawet je¶li piszesz tylko kilka dokumentów z kilkoma odno¶nikami w ka¿dym,
1914 to warto po¶wiêciæ Twój czas na sprawdzenie BibTeX-a i zdecydowaæ czy bêdzie
1915 u¿yteczny dla Ciebie.
1918 \begin_layout Standard
1919 Aby u¿ywaæ BibTeX-a w LyX-ie nale¿y najpierw zapoznaæ siê
1921 Podrêcznikiem U¿ytkownika
1923 , w którym opisano sposób wstawiania cytowañ.
1924 Podstawowy mechanizm wstawiania odno¶ników BibTeX-a jest taki sam.
1925 Umie¶æ kursor na koñcu dokumentu i wybierz
1930 staw\SpecialChar \menuseparator
1935 pisy\SpecialChar \menuseparator
1943 W otwartym oknie dialogowym wype³nij dwa pola:
1946 \begin_layout Description
1948 Danych podaj nazwê pliku
1952 ale BEZ rozszerzenia
1957 Dla wyszukiwania w wielu plikach
1961 nale¿y podaæ ich nazwy rozdzielaj±c je przecinkiem.
1964 \begin_layout Description
1965 Styl podaj nazwê pliku stylu BibTeX-a BEZ rozszerzenia
1970 Domy¶lnym stylem jest
1978 \begin_layout Standard
1979 Dostêpne s± równie¿ style zgodne z polskimi zwyczajami typograficznymi o
2003 (który powinien byæ do³±czony do Twojej dystrybucji LaTeX-a, tak ¿e nie
2004 musisz przejmowaæ siê utworzeniem go).
2007 \begin_layout Standard
2008 Zak³adamy, ¿e dla ka¿dego cytowania ¼ród³o znajduje siê w pliku
2012 , wywo³ujemy polecenie
2017 staw\SpecialChar \menuseparator
2024 w odpowiednim miejscu w tek¶cie i wybierz z listy w³a¶ciwy klucz odno¶nika.
2025 Nie potrzeba nic wiêcej; gdy wywo³ujemy na przyk³ad polecenie
2030 odgl±d\SpecialChar \menuseparator
2037 , powiniene¶ zobaczyæ ¿e BibTeX i LaTeX s± wywo³ywane gdy zachodzi potrzeba,
2038 w³±czaj±c wielokrotne wywo³anie LaTeX-a.
2041 \begin_layout Section
2045 \begin_layout Standard
2046 Dobry indeks jest jedn± z najtrudniejszych rzeczy do zrobienia w d³ugim
2048 LyX pomaga wykonaæ rzeczy trochê pro¶ciej za pomoc± interfejsu do programu
2054 \begin_layout Standard
2055 Dla dokumentów polskojêzycznych powinien byæ wywo³ywany program
2068 , który mo¿na znale¼æ w dystrybucjach.
2071 \begin_layout Standard
2072 Wstawianie indeksu i zaznaczanie s³ów do w³±czenia do indeksu odbywa siê
2073 tak± sam± drog± jak przygotowanie bibliografii opisanej w poprzedniej sekcji.
2076 \begin_layout Standard
2077 Najpierw przejd¼ na koniec swojego dokumentu i wybierz
2082 staw\SpecialChar \menuseparator
2087 pisy\SpecialChar \menuseparator
2095 Nastêpnie, dla ka¿dego s³owa, które chcesz dodaæ do indeksu, umie¶æ kursor
2096 na koñcu tego s³owa i wybierz
2101 staw\SpecialChar \menuseparator
2102 Wstaw poprzedzaj±ce s³owo do indeksu
2105 To spowoduje umieszczenie znacznika pokazuj±cego s³owo, które pojawi siê
2109 \begin_layout Standard
2110 Je¿eli chcesz dok³adnie podaæ co ma pojawiæ siê w indeksie -- na przyk³ad
2111 potrzebujesz mieæ s³owo ,,kot'' w indeksie, które bêdzie odnosi³o siê do
2112 s³ów w tek¶cie ,,kot'' i ,,koty'' to po prostu wybierz polecenie
2114 Wstaw\SpecialChar \menuseparator
2117 i wpisz s³owo ,,kot'' w oknie dialogowym.
2120 \begin_layout Standard
2122 LyX automatycznie wywo³a
2126 i samodzielnie utworzy indeks.
2129 \begin_layout Standard
2130 B±d¼ ostro¿ny i nie wstawiaj spacji pomiêdzy s³owem a znacznikiem indeksu,
2131 poniewa¿ mo¿e siê zdarzyæ utworzenie niew³a¶ciwego numeru strony w indeksie.
2134 \begin_layout Standard
2135 Powiniene¶ zdawaæ sobie sprawê, ¿e istniej± bardziej zaawansowane metody
2140 : spójrz w dokumentacjê do³±czon± do Twojej dystrybucji LaTeX-a i znajd¼
2141 jak wykonaæ zagnie¿d¿one wpisy itp.
2144 \begin_layout Section
2145 Dokumenty wieloczê¶ciowe
2148 \begin_layout Subsection
2152 \begin_layout Standard
2153 Przy pracy z du¿ymi plikami zawieraj±cymi wiele sekcji i rozdzia³ów, czêsto
2154 jest wygodniej podzieliæ dokument na kilka plików lub byæ mo¿e masz ---
2155 perhaps you have something where a table may change from time to time,
2156 but the preceding text does not.
2157 W takim przypadku powiniene¶ na serio rozwa¿yæ u¿ycie dokumentów wieloczê¶ciowy
2159 Na przyk³ad prace naukowe czêsto sk³adaj± siê z piêciu g³ównych czê¶ci:
2160 wprowadzenia, obserwacji, wyników, dyskusji i podsumowania.
2161 Ka¿da z tych czê¶ci mo¿e byæ zapisana w oddzielnym pliku LyX-a, gdzie jeden
2162 plik bêdzie dokumentem g³ównym zawieraj±cym tytu³, autorów, streszczenie,
2164 oraz piêæ do³±czonych plików dokumentów sk³adowych (podrzêdnych).
2165 Nale¿y zwróciæ uwagê, ¿e ka¿dy z plików podrzêdnych w³±czanych do dokumentu
2166 g³ównego stanowi niezale¿ny dokument, który mo¿e byæ formatowany i drukowany
2168 Mo¿na do³±czaæ równie¿ pliki LaTeX-a, ale pliki te nie mog± posiadaæ w³asnej
2169 preambu³y (wszystko przed
2181 musi byæ usuniête) gdy¿ w przeciwnym wypadku LaTeX zg³osi b³±d podczas
2182 przetwarzania dokumentu g³ównego.
2185 \begin_layout Standard
2186 LyX pozwala ³atwo w³±czaæ pliki poleceniem z menu
2191 staw\SpecialChar \menuseparator
2199 Po wybraniu polecenia otwiera siê okno wyboru dokumentu.
2200 Po wybraniu dokumentu do wstawienia/do³±czenia, w bie¿±cej pozycji kursora
2201 wstawiany jest ma³y prostok±t.
2202 Klikniêcie na prostok±cie wy¶wietla okno dialogowe do³±czania dokumentu.
2203 W tym oknie mo¿na wybraæ plik do do³±czenia i metodê do³±czenia.
2204 Wybór pliku powinien byæ ju¿ jasny.
2205 W oknie mamy do wyboru trzy metody do³±czania plików; ,,do³±cz'', ,,wstaw''
2207 Ró¿nica pomiêdzy ,,do³±cz'' a ,,wstaw'' jest w pe³ni jasna tylko dla LaTeX-pert
2209 Praktycznie ró¿nica polega na tym, ¿e pliki ,,do³±czane'' zaczynaj± siê
2210 od nowej strony, a pliki ,,wstawiane'' od miejsca wstawienia.
2213 \begin_layout Standard
2214 Generalnie, plik g³ówny jest konwertowany do formatu LaTeX przed sk³adaniem,
2215 podczas gdy do³±czane pliki s± konwertowane do formatu LaTeX, który nie
2217 Zaznaczenie pola Nie
2221 zabezpiecza przed konwersj±.
2224 \begin_layout Standard
2225 Do³±czanie plików metod± ,,maszynopis'' pozwala na do³±czanie ,,dos³owne''
2226 plików w ¶rodowisku verbatim z czcionk± o sta³ej szeroko¶ci.
2227 Normalnie spacje w pliku s± niewidzialne, dwie kolejne spacje s± zachowywane,
2228 inaczej ni¿ standardowo w LyX-ie.
2233 pozwala na zachowanie spacji lub przywraca standardow± interpretacjê spacji
2237 \begin_layout Subsection
2238 Odno¶niki pomiêdzy plikami
2241 \begin_layout Standard
2242 Jest mo¿liwe ustawienie odno¶ników pomiêdzy ró¿nymi plikami.
2243 Najpierw otwórz wszystkie pliki pomiêdzy którymi chcesz wykonaæ odno¶niki,
2244 na przyk³ad dwa pliki A i B, gdzie plik B jest do³±czony do pliku A.
2245 Wstawili¶my etykietê w pliku A i chcemy odno¶nik do niej w pliku B.
2246 Bêd±c w dokumencie A z menu wybieramy
2251 staw \SpecialChar \menuseparator
2259 Teraz prze³±czamy siê na dokument B bez zamykania okna odno¶nika.
2260 Wstawiamy odno¶nik i ju¿!
2263 \begin_layout Standard
2264 Gdy przegl±dasz plik A wszystko jest poprawnie do³±czone i etykietowane.
2265 Je¶li zamkniesz okno odno¶nika i ponownie otworzysz je w dokumencie B to
2266 zobaczysz tylko etykiety pliku B.
2267 Ta procedura mo¿e nie jest intuicyjna (czasami zdarza siê b³±d) ale dzia³a.
2270 \begin_layout Section
2274 \begin_layout Standard
2277 (z konfiguracji LaTeX)
2280 \begin_layout Standard
2285 jest potrzebny do wydania ,,wstawek algorytmów''.
2286 Jest on u¿yteczny przy umieszczaniu krótkich algorytmów w miejscu z³amania
2287 strony i obs³uguje tak¿e spis algorytmów.
2290 \begin_layout Section
2294 \begin_layout Standard
2297 (z konfiguracji LaTeX)
2300 \begin_layout Standard
2305 jest u¿ywany w LyX-ie podczas wyboru ,,Podrysunek'' w oknie Rysunek.
2306 Kilka rysunków zaznaczonych w ten sposób mo¿e byæ upakowanych w jednej
2307 wstawce w indywidualnymi podpisami.
2310 \begin_layout Section
2311 Ozdobne nag³ówki i stopki
2315 \begin_layout Standard
2316 W³a¶ciwie powinny¶my u¿ywaæ nazw:
2334 \begin_layout Standard
2335 Domy¶lny uk³ad strony jest raczej nieskomplikowany -- plain; dla klasy artyku³
2336 numery stron s± wycentrowane u do³u strony.
2337 Ten dokument jest klasy ksi±¿ka (book) i jest trochê bardziej ozdobny,
2338 ale aby rzeczywi¶cie postawiæ na wygl±d potrzebujesz u¿yæ stylu ,,fancy''
2341 Podrêczniku U¿ytkownika
2344 Ta sekcja opisuje polecenia LaTeX-a, które trzeba wstawiæ w preambule lub
2345 w tek¶cie aby otrzymaæ ¿±dany efekt.
2348 \begin_layout Standard
2349 Nag³ówek i stopka strony s± podzielone na trzy pola okre¶laj±ce lew±, ¶rodkow±
2351 Poleceniami LaTeX-a do ustawiania tych pól w najprostszy sposób s±
2376 przypu¶æmy, ¿e chcesz wstawiæ swoje nazwisko w lewym górnym naro¿niku ka¿dej
2378 Po prostu wstaw nastêpuj±ce polecenie w preambule:
2381 \begin_layout Standard
2390 \begin_layout Standard
2391 Zobaczysz w podgl±dzie swoje nazwisko w lewym górnym naro¿niku ka¿dej strony.
2392 Je¶li pole ma domy¶ln± warto¶æ, której chcesz siê pozbyæ (czêsto numer
2393 strony pojawia siê w centralnej czê¶ci stopki) to po prostu wstaw polecenie
2394 z pustym argumentem, jak w przyk³adzie:
2397 \begin_layout Standard
2405 \begin_layout Standard
2406 Zróbmy rzeczywi¶cie ozdobn± stronê: wstawmy w nag³ówku po lewej nazwê sekcji
2407 wraz ze s³owem ,,Sekcja'' (np.
2408 Sekcja 3) oraz numer strony po prawej (np.
2409 Strona 4), natomiast w stopce po lewej swoje nazwisko i datê po prawej.
2410 Do tego bêd± nam potrzebne nastêpuj±ce polecenia w preambule:
2413 \begin_layout Standard
2423 \begin_layout Standard
2431 \begin_layout Standard
2441 \begin_layout Standard
2450 \begin_layout Standard
2458 \begin_layout Standard
2468 \begin_layout Standard
2481 daj± dostêp do liczników sekcji i stron LaTeX-a, i bêd± wydrukowane w bie¿±cej
2482 sekcji i numerze strony.
2489 wydrukuje bie¿±c± datê.
2492 \begin_layout Standard
2493 Cienk± liniê oddzielaj±c± nag³ówek i stopkê od tre¶ci strony mo¿emy tak¿e
2495 Je¶li nie chcesz linii w nag³ówku to ustal jej grubo¶æ na 0.
2496 Domy¶ln± grubo¶ci± linii nag³ówkowej jest 0.4pt, dla linii stopki za¶ jest
2498 Mo¿esz u¿yæ polecenia
2504 headrulewidth}{0.4pt}
2512 footrulewidth}{0.4pt}
2514 do ustawiania ich grubo¶ci.
2517 \begin_layout Standard
2518 Mo¿esz prze³±czaæ i wy³±czaæ ustawienia nag³ówków/stopek za pomoc± poleceñ:
2522 thispagestyle{empty}
2528 thispagestyle{plain}
2534 thispagestyle{fancy}
2537 Po prostu wstaw je w tek¶cie na stronie, któr± chcesz zmieniæ i zaznacz
2539 Strony tytu³owe s± oznaczone domy¶lnie jako plain, podczas gdy kolejne
2540 strony s± w stylu fancy gdy u¿ywasz globalnego ustawienia fancy.
2543 \begin_layout Standard
2544 Istnieje wiele z³o¿onych poleceñ, które bêd± wstawia³y rzeczy w lewym górnym
2545 naro¿niku na stronach nieparzystych itd.
2546 ale po szczegó³y odsy³amy Ciê do dokumentacji pakietu
2551 Na przyk³ad je¶li masz instalacjê teTeX-a zobacz
2553 /usr/share/texmf/doc/latex/fancyhdr/fancyhdr.dvi
2558 \begin_layout Standard
2559 Koñcowym przyk³adem jest mo¿liwo¶æ wstawienia pliku Encapsulated PostScript
2560 do nag³ówka lub stopki.
2561 Pewnie bêdziesz chcia³ wstawiæ logo firmy do lewego dolnego naro¿nika strony.
2562 Spróbuj wstawiæ nastêpuj±ce polecenie
2565 \begin_layout Standard
2574 includegraphics{logo.eps}}}
2577 \begin_layout Standard
2579 (bêdzie potrzebne w preambule polecenie
2583 usepackage{graphics}
2588 \begin_layout Section
2592 \begin_layout Standard
2593 LaTeX dostarcza mechanizmu do tworzenia strony wewn±trz strony, zwanych
2594 ministronami (minipages).
2595 Wewn±trz ministrony s± dostêpne wszystkie zwyk³e regu³y wcinania, ³amania
2597 LyX tak¿e dostarcza tê mo¿liwo¶æ.
2600 \begin_layout Standard
2601 Ministrony posiadaj± w³asn± wstawkê, aby wstawiæ ministronê wybierz polecenie
2607 staw \SpecialChar \menuseparator
2615 Klikaj±c prawym klawiszem myszy na wstawkê otwiera siê okienko, w którym
2616 mo¿na ustaliæ wyrównianie i szeroko¶æ ministrony.
2619 \begin_layout Standard
2621 Je¶li ministrona jest zbyt d³uga aby zmie¶ciæ siê na stronie, to zostanie
2622 skrócona, a nie wciêta na nastêpnej stronie (nie pojawi siê reszta na nastêpnej
2626 \begin_layout Standard
2627 S± dwie dalsze opcje ministron.
2628 Je¶li umie¶cisz dwie ministrony obok siebie, to mo¿na wstawiæ
2633 staw\SpecialChar \menuseparator
2638 nak specjalny\SpecialChar \menuseparator
2641 do maksymalnego rozsuniêcia ich, który wymuszi pocz±tek pierwszej ministrony
2642 od lewego marginesu a koniec nastêpnej na prawym marginesie.
2643 Sprawd¼ t± opcjê dla drugiej ministrony, nie dla pierwszej.
2646 \begin_layout Standard
2647 \begin_inset Box Frameless
2656 height_special "totalheight"
2659 \begin_layout Standard
2660 To jest ministrona, która nie u¿ywa hfill.
2661 To jest drugie zdanie ministrony, która nie u¿ywa hfill.
2669 \begin_layout Standard
2670 \begin_inset Box Frameless
2679 height_special "totalheight"
2682 \begin_layout Standard
2683 To jest druga ministrona, która nie u¿ywa hfill.
2684 To jest drugie zdanie drugiej ministrony, która nie u¿ywa hfill.
2692 \begin_layout Standard
2693 \begin_inset VSpace medskip
2699 \begin_layout Standard
2700 To jest zwyk³y tekst, który rozdziela dwa przyk³ady
2703 \begin_layout Standard
2704 \begin_inset VSpace medskip
2710 \begin_layout Standard
2711 \begin_inset Box Frameless
2720 height_special "totalheight"
2723 \begin_layout Standard
2724 To jest ministrona, która u¿ywa hfill.
2725 To jest drugie zdanie ministrony, która u¿ywa hfill.
2733 \begin_inset Box Frameless
2742 height_special "totalheight"
2745 \begin_layout Standard
2746 To jest druga ministrona, która u¿ywa hfill.
2747 To jest drugie zdanie drugiej ministrony, która u¿ywa hfill.
2755 \begin_layout Section
2756 Oblewanie rysunku tekstem
2757 \begin_inset LatexCommand \label{sec:floatflt}
2764 \begin_layout Standard
2765 \begin_inset Wrap figure
2770 \begin_layout Standard
2771 \begin_inset Graphics
2782 \begin_layout Caption
2783 Ten rysunek jest oblany tekstem, a to jest ¶liczny podpis
2791 \begin_layout Standard
2792 Czêsto zadawanym pytaniem jest pytanie o mo¿liwo¶æ ,,oblewania'' rysunków
2793 tekstem w ten sposób, ¿e rysunek zajmuje czê¶æ kolumny a reszta jest wype³niona
2795 Je¶li masz zainstalowany pakiet LaTeX-a
2799 (jest czêsto w³±czany do dystrybucji lub dostêpny w archiwach CTAN), to
2803 \begin_layout Standard
2804 Obok znajduje siê rysunek pêtli Moebiusa -- powiniene¶ go ju¿ zobaczyæ w
2806 Podrêczniku U¿ytkownika
2809 Aby oblaæ tekstem rysunek jak ten, nalezy wybrac z menu polecenie
2814 staw\SpecialChar \menuseparator
2819 stawki\SpecialChar \menuseparator
2825 \begin_layout Standard
2826 Uwaga: ten pakiet jest bardzo kruchy
2830 \begin_layout Standard
2831 Kruchy w sensie LaTeX-a.
2839 Dla przyk³adu, maj±c rysunek zbyt blisko koñca strony bêdzie zamieszanie
2840 tre¶ci powy¿ej, gdy bêdziemy mieæ dwa rysunki blisko siebie.
2841 U¿ywaj tego pakietu oszczêdnie i czytaj dokumentacjê zawart± w pakiecie.
2844 \begin_layout Standard
2845 Miejmy nadziejê, ¿e w przysz³o¶ci LyX bêdzie obs³ugiwa³ te funkcje natywnie.
2848 \begin_layout Section
2852 \begin_layout Standard
2853 Standardowy uk³ad tabel bêdzie odpowiedni w 99% wszystkich Twoich tabel,
2854 ale w 1% prawdopodobnie bêdziesz potrzebowa³ tabel specjalnie dostosowanych
2861 k³ad\SpecialChar \menuseparator
2868 otwiera okno formatowania tabeli.
2877 znajduje siê dostêp do kilku poleceñ wyrównywania kolumn.
2880 \begin_layout Standard
2881 Teraz krótkie wspomnienie o LaTeX-u: gdy ustawiamy tabelê w LaTeX-u to dla
2882 ka¿dej kolumny deklarujemy typ wyrównania.
2883 Dla przyk³adu mo¿esz podaæ ,,
2895 '' dla justowania do lewej, wy¶rodkowania i wyrównania kolumny do prawej
2896 (co w LyX-ie objawia siê trzema przyciskami
2909 Czwartym typem jest ,,
2913 '', który deklaruje szeroko¶æ kolumny (w LyX-ie mamy pole
2917 ) co powoduje automatyczne ³amanie wierszy.
2918 Pi±tym typem jest ,,
2922 '' (vertical bar), który raczej s³u¿y do tworzenia pionowych kresek ramek
2923 (w LyX-ie mamy do tego przyciski w polu
2928 Koñcz±c, istnieje typ ,,
2932 '', który pozwala u¿yæ cokolwiek jako separatora kolumn co jest zamkniête
2933 w towarzysz±cych nawiasach w³±czaj±c argument pusty.
2934 Powody robienia tego mog± nie byæ jasne, ale cechy te mog± byæ bardzo u¿yteczne.
2935 Najlepiej to pokazaæ na przyk³adach.
2938 \begin_layout Subsection
2939 Usuwanie dodatkowej przestrzeni tabeli
2942 \begin_layout Standard
2943 Tutaj znajduje siê standardowa tabela:
2946 \begin_layout Standard
2947 \begin_inset VSpace 0.3cm
2953 \begin_layout Standard
2955 \begin_inset Tabular
2956 <lyxtabular version="3" rows="3" columns="2">
2958 <column alignment="left" valignment="top" width="0pt">
2959 <column alignment="left" valignment="top" leftline="true" width="0pt">
2960 <row bottomline="true">
2961 <cell alignment="left" valignment="top" topline="true" usebox="none">
2964 \begin_layout Standard
2970 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
2973 \begin_layout Standard
2981 <cell alignment="left" valignment="top" topline="true" usebox="none">
2984 \begin_layout Standard
2990 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2993 \begin_layout Standard
3001 <cell alignment="center" valignment="top" topline="true" usebox="none">
3004 \begin_layout Standard
3010 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3013 \begin_layout Standard
3027 \begin_layout Standard
3028 \begin_inset VSpace 0.3cm
3034 \begin_layout Standard
3035 Zwróæ uwagê, ¿e poziome kreski wystaj± troszkê z obu strona poza tekst.
3036 Je¶li chcesz aby linie zaczyna³y i koñczy³y siê równo z tekstem, to mo¿na
3037 wstawiæ pusty separator na koñcu aby zwolniæ trochê miejsca dodawanego
3038 domy¶lnie przez LaTeX-a.
3042 \begin_layout Standard
3043 \begin_inset VSpace 0.3cm
3049 \begin_layout Standard
3051 \begin_inset Tabular
3052 <lyxtabular version="3" rows="3" columns="2">
3054 <column alignment="left" valignment="top" width="0pt" special="@{} l">
3055 <column alignment="left" valignment="top" leftline="true" width="0pt" special="l @{}">
3056 <row bottomline="true">
3057 <cell alignment="left" valignment="top" topline="true" usebox="none">
3060 \begin_layout Standard
3066 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
3069 \begin_layout Standard
3077 <cell alignment="left" valignment="top" topline="true" usebox="none">
3080 \begin_layout Standard
3086 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3089 \begin_layout Standard
3097 <cell alignment="center" valignment="top" topline="true" usebox="none">
3100 \begin_layout Standard
3106 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3109 \begin_layout Standard
3123 \begin_layout Standard
3124 \begin_inset VSpace 0.3cm
3130 \begin_layout Standard
3131 W tym przypadku w polu
3139 dla lewej kolumny wpisano ,,
3143 '', natomiast dla prawej wpisano ,,
3147 '', co wstawia puste znaki na koñcach.
3150 \begin_layout Subsection
3151 Zmiana znaku separatora kolumn
3154 \begin_layout Standard
3155 Teraz proponujemy zastosowanie
3156 \begin_inset Formula $\sqrt{\pi}$
3159 z odrobin± miejsca obok jako separatora kolumn tabeli.
3160 Po prostu wy³±cz pionowe ramki i wpisz w polu
3166 Kolumna specjalna ,,
3178 \begin_layout Standard
3179 \begin_inset VSpace 0.3cm
3185 \begin_layout Standard
3188 \begin_inset Tabular
3189 <lyxtabular version="3" rows="3" columns="2">
3191 <column alignment="left" valignment="top" width="0pt">
3192 <column alignment="left" valignment="top" width="0pt" special="@{~$\sqrt{\pi}$~}l">
3193 <row bottomline="true">
3194 <cell alignment="left" valignment="top" topline="true" usebox="none">
3197 \begin_layout Standard
3203 <cell alignment="left" valignment="top" topline="true" usebox="none">
3206 \begin_layout Standard
3214 <cell alignment="left" valignment="top" topline="true" usebox="none">
3217 \begin_layout Standard
3223 <cell alignment="center" valignment="top" topline="true" usebox="none">
3226 \begin_layout Standard
3234 <cell alignment="center" valignment="top" topline="true" usebox="none">
3237 \begin_layout Standard
3243 <cell alignment="center" valignment="top" topline="true" usebox="none">
3246 \begin_layout Standard
3260 \begin_layout Standard
3261 \begin_inset VSpace 0.3cm
3267 \begin_layout Subsection
3268 Wyrównanie kolumny wed³ug cyfr znacz±cych
3271 \begin_layout Standard
3272 Proponujemy wyrównanie kolumny wed³ug cyfr znacz±cych.
3273 Standardowym trickiem LaTeX-a jest podzielenie liczby na dwie kolumny;
3274 w lewej -- przeznaczonej dla czê¶ci ca³kowitej -- wyrównujemy do prawej
3275 strony, a w prawej -- przeznaczonej dla czê¶ci u³amkowej -- wyrównujemy
3276 do lewej, natomiast separator kolumn ustawiamy jako pusty.
3280 \begin_layout Standard
3281 \begin_inset VSpace 0.3cm
3287 \begin_layout Standard
3289 \begin_inset Tabular
3290 <lyxtabular version="3" rows="5" columns="3">
3292 <column alignment="center" valignment="top" width="0pt">
3293 <column alignment="right" valignment="top" leftline="true" width="0pt">
3294 <column alignment="center" valignment="top" width="0pt" special="@{} l">
3295 <row bottomline="true">
3296 <cell alignment="center" valignment="top" topline="true" usebox="none">
3299 \begin_layout Standard
3305 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3308 \begin_layout Standard
3314 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3317 \begin_layout Standard
3325 <cell alignment="center" valignment="top" topline="true" usebox="none">
3328 \begin_layout Standard
3329 \begin_inset Formula $\pi$
3337 <cell alignment="right" valignment="top" topline="true" leftline="true" usebox="none">
3340 \begin_layout Standard
3346 <cell alignment="center" valignment="top" topline="true" usebox="none">
3349 \begin_layout Standard
3357 <cell alignment="center" valignment="top" topline="true" usebox="none">
3360 \begin_layout Standard
3361 \begin_inset Formula $\pi^{\pi}$
3369 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3372 \begin_layout Standard
3378 <cell alignment="center" valignment="top" topline="true" usebox="none">
3381 \begin_layout Standard
3389 <cell alignment="center" valignment="top" topline="true" usebox="none">
3392 \begin_layout Standard
3393 \begin_inset Formula $(\pi^{\pi})^{\pi}$
3401 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3404 \begin_layout Standard
3410 <cell alignment="center" valignment="top" topline="true" usebox="none">
3413 \begin_layout Standard
3421 <cell alignment="center" valignment="top" topline="true" usebox="none">
3424 \begin_layout Standard
3425 \begin_inset Formula $\pi^{\pi^{\pi}}$
3433 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3436 \begin_layout Standard
3442 <cell alignment="center" valignment="top" topline="true" usebox="none">
3445 \begin_layout Standard
3447 \begin_inset Formula $\times10^{18}$
3463 \begin_layout Standard
3464 \begin_inset VSpace 0.3cm
3470 \begin_layout Standard
3471 Mimo ¿e bêdzie to wygl±da³o trochê ¶miesznie w LyX-ie, to na wydruku pojawi±
3472 siê dwukolumnowa tabela, w której prawa kolumna jest wyrównana wed³ug cyfr
3473 znacz±cych, a nag³ówek jest wy¶rodkowany.
3476 \begin_layout Standard
3477 My¶lê, ¿e najlepiej bêdzie jak opiszê jak to zrobi³em: Najpierw utworzy³em
3478 tabelê 3 x 3 i usun±³em wszystkie ramki.
3479 Nastêpnie doda³em ramki pod nag³ówkiem i rozdzielaj±c± pierwsz± i drug±
3481 Pierwsza kolumna jest wy¶rodkowana.
3482 W drugiej kolumnie wpisa³em
3499 , i wyrówna³em tê kolumnê do prawej.
3500 W trzeciej kolumnie wpisa³em
3511 \begin_inset Formula $\times10^{18}$
3516 oraz ustawi³em wyrównanie
3525 w ¶rodkowej kolumnie, pod¶wietli³em je, wyrówna³em do prawej.
3529 \begin_layout Subsection
3530 Lepsze rozwi±zanie wyrównania wed³ug cyfr znacz±cych
3533 \begin_layout Standard
3534 Alternatywnym rozwi±zaniem wyrównania wed³ug cyfr znacz±cych w tabelach
3540 Dodaj nastêpuj±cy tekst do preambu³y LaTeX-a:
3543 \begin_layout LyX-Code
3549 \begin_layout LyX-Code
3552 newcolumntype{d}[1]{D{.}{.}{#1}}
3555 \begin_layout Standard
3556 Aby mieæ kolumny wyrównane wed³ug cyfr znacz±cych wpisz w polu
3560 w oknie formatu tabeli w zak³adce
3567 \begin_layout LyX-Code
3568 d{liczba miejsc dziesiêtnych danych}
3571 \begin_layout LyX-Code
3575 [Przyk³adow± tabelê usuniêto.
3582 w katalogu examples.]
3585 \begin_layout Standard
3586 Do utworzenia dodatkowego miejsca zwiêksz liczbê miejsc dziesiêtnych w
3595 dla pojedynczej komórki niewra¿liwy na wyrównanie wzglêdem cyfr znacz±cych.
3596 Wad± tej metody jest to, ¿e tryb matematyczny nie jest dopuszczalny w kolumnie
3597 z wyrównaniem wzglêdem cyfr znacz±cych z wyj±tkiem je¶li atrybut multicolumn
3601 \begin_layout Standard
3602 Ta metoda oferuje tak± sam± elastyczno¶æ jak pakiet
3607 Mo¿emy, na przyk³ad zmieniæ separator wyrównania i mamy ró¿ne znaki separatorów
3608 dla ró¿nych kolumn przez definicjê typów wielokrotnych kolumn w preambule.
3609 Sk³adnia jest nastêpuj±ca:
3612 \begin_layout LyX-Code
3613 D{separator_wej}{separator_wyj}{liczba_miejsc_dzie¶}
3616 \begin_layout Standard
3617 Zainteresowanym czytelnikom polecamy dokumentacjê do pakietu
3624 \begin_layout Section
3625 Wybór znaku wyliczenia
3626 \begin_inset LatexCommand \label{sec:bullet}
3633 \begin_layout Standard
3639 \begin_layout Subsection
3643 \begin_layout Standard
3644 LyX dostarcza 216 znaków dostêpnych wprost z menu.
3645 U¿ycie tego menu daje Ci mo¿liwo¶æ ³atwego wyboru odpowiedniego znaku dla
3646 ka¿dego poziomu zagnie¿d¿enia wyliczeñ.
3647 Te ustawienia s± globalne dla ca³ego dokumentu i nie mo¿na ustawiæ ró¿nych
3648 znaków w ró¿nych akapitach
3652 \begin_layout Standard
3653 Mo¿na tego dokonaæ tylko rêcznie
3661 \begin_layout Subsection
3665 \begin_layout Standard
3671 k³ad\SpecialChar \menuseparator
3685 W zak³adce wy¶wietlona jest tabela znaków wyliczenia.
3686 Za pomoc± przycisków umieszczonych po lewej stronie okna mamy dostêp do
3687 sze¶ciu zestawów znaków.
3688 Przyciski umieszczone w górnej czê¶ci okna przeznaczone s± do wyboru g³êboko¶ci
3689 zagnie¿d¿enia wyliczenia.
3690 Tekst pod tabel± zestawu znaków wy¶wietla nazwê LaTeX-a aktualnie wybranego
3692 Mo¿na równie¿ w tym miejscu podaæ w³asne definicje znaku wyliczenia.
3693 Je¶li zmodyfikujesz domy¶lne ustawienia to bêdziesz potrzebowa³ podaæ potrzebne
3694 pakiety w preambule.
3695 Znaki podzielone s± na sze¶æ zestawów ze wzglêdu na wymagane pakiety.
3696 Poni¿sza tabela przedstawia przypisanie zestawów do pakietów LaTeX-a.
3699 \begin_layout Standard
3700 \begin_inset VSpace 0.3cm
3706 \begin_layout Standard
3708 \begin_inset Tabular
3709 <lyxtabular version="3" rows="7" columns="2">
3711 <column alignment="center" valignment="top" leftline="true" width="0pt">
3712 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
3713 <row topline="true" bottomline="true">
3714 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3717 \begin_layout Standard
3723 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3726 \begin_layout Standard
3733 <row topline="true">
3734 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3737 \begin_layout Standard
3745 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3748 \begin_layout Standard
3757 <row topline="true">
3758 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3761 \begin_layout Standard
3769 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3772 \begin_layout Standard
3781 <row topline="true">
3782 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3785 \begin_layout Standard
3793 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3796 \begin_layout Standard
3805 <row topline="true">
3806 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3809 \begin_layout Standard
3817 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3820 \begin_layout Standard
3829 <row topline="true">
3830 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3833 \begin_layout Standard
3841 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3844 \begin_layout Standard
3853 <row topline="true" bottomline="true">
3854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3857 \begin_layout Standard
3865 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3868 \begin_layout Standard
3884 \begin_layout Standard
3885 \begin_inset VSpace 0.3cm
3891 \begin_layout Standard
3892 LyX nie zatrzyma Ciê przed u¿yciem znaku z pakietu którego nie masz.
3893 Je¶li otrzymasz komunikat b³êdu LaTeX-a podczas próby podgl±du lub wydruku
3894 bêdzie on oznacza³ brak wymaganego pakietu.
3895 LyX nie bêdzie ogranicza³ u¿ycia przy lokalnej edycji i eksporcie gdziekolwiek.
3898 \begin_layout Subsection
3902 \begin_layout Standard
3903 Wybierz przycisk g³êboko¶ci wyliczenia i nastêpnie wybierz znak i wielko¶æ.
3904 Zmiana nie bêdzie widoczna w LyX-ie, ale bêdzie widoczna w podgl±dzie dokumentu
3905 przy u¿yciu xdvi lub ghostview.
3908 \begin_layout Standard
3909 Mo¿esz przywróciæ domy¶lny znak wyliczenia przez klikniêcie prawym klawiszem
3910 myszy na przycisku poziomu wyliczenia.
3913 \begin_layout Standard
3914 Je¶li rzeczywi¶cie chcesz mieæ wiele uk³adów akapitów z ró¿nymi zestawami
3915 znaków wyliczenia w ka¿dym musisz wykonaæ trochê brudnej roboty.
3916 Okno wyboru znaku wyliczenia mo¿e pomóc w znalezieniu nazwy LaTeX-owej
3918 Aby zrobiæ w³asne akapity musisz mie¶ nastêpuj±c± opcjê:
3921 \begin_layout Standard
3925 \begin_layout Standard
3935 \begin_layout Standard
3939 \begin_layout Standard
3960 \begin_layout Itemize
3961 U¿yj polecenia LaTeX-a
3967 do specyfikacji nowego znaku wyliczenia dla zadanej g³êboko¶ci zagnie¿d¿enia.
3968 To bêdzie tak¿e potrzebne do zapisu bie¿±cego znaku i jego pó¼niejszego
3969 ponownego przywo³ania.
3970 W tym wyliczeniu zosta³y u¿yte nastêpuj±ce kody LaTeX-a do zmiany znaku
3971 wyliczenia w pierwszym poziomie.
3999 Uwaga g³êboko¶æ zagnie¿d¿enia w poleceniu
4005 jest podawana cyframi rzymskimi (podobnie jak numeracja czê¶ci).
4008 \begin_layout Itemize
4012 \begin_layout Standard
4024 Podaj dla ka¿dego indywidualnego wiersza wyliczenia kod znaku zamkniêty
4025 w nawiasy prostok±tne i wpisane w trybie TeX.
4026 Na przyk³ad ten wiersz zaczyna siê znakiem
4039 \begin_layout Itemize
4040 Poczekaj na LyX 1.2.
4041 Nastêpne stabilne wydanie LyX-a powinna mieæ wbudowan± obs³ugê definiowania
4042 dla ka¿dego wyliczenia oddzielnego zestawu znaków.
4045 \begin_layout Standard
4049 \begin_layout Standard
4064 \begin_layout Standard
4065 Je¶li bêdziesz potrzebowa³ przywróciæ z powrotem poprzednie globalne ustawienia
4066 znaków to nale¿y wpisaæ:
4079 \begin_layout Chapter
4080 Specjalne klasy dokumentu
4083 \begin_layout Section
4087 \begin_layout Standard
4093 \begin_layout Standard
4094 \begin_inset VSpace bigskip
4100 \begin_layout Standard
4102 Uk³ad AMS-Math jest zestawem styli zalecanymi dla sk³adu pism matematycznych
4103 przesy³anych do wydawnictwa American Mathematical Society.
4104 Uk³ad nie jest przyciêty do specyfiki pisma, ale mo¿na to ³atwo zrobiæ.
4105 Powiniene¶ przejrzeæ dokumentacjê AMS pod k±tem specyficznych instrukcji
4106 dla ka¿dego pisma (czêsto wymagana jest tylko zmiana w jednym wierszu).
4107 Dokumentacja AMS jest dostêpna w internecie na stronie
4108 \begin_inset LatexCommand \url{http://www.ams.org}
4113 \begin_inset LatexCommand \url{ftp://ftp.ams.org/pub/tex/amslatex/}
4118 Te uk³ady s± odpowiednie i u¿yteczne dla zapisu matematyki.
4119 S± aktualnie dostêpne ró¿ne uk³ady AMS-math:
4122 \begin_layout Enumerate
4123 amsart -- standardowy format artyku³u -- AMS article.
4124 Wszystkie równania i wyra¿enia s± numerowane jako
4125 \begin_inset Formula $(n.m)$
4128 , gdzie pierwsza liczba oznacza sekcjê, a druga odpowiada kolejnemu numerowi
4129 ¶rodowiska (Theorems, Corollaries, Propositions, Definitions, Remarks,
4131 Istnieje tak¿e kilka (ale nie wszystkie) ¶rodowisk nienumerowanych, które
4132 s± u¿ywane okazjonalnie.
4133 Nazwy nienumerowanych ¶rodowisk koñcz± siê znakiem gwiazdki (*).
4136 \begin_layout Enumerate
4137 amsart-seq -- tutaj, twierdzenia, definicje itd.
4138 s± numerowane kolejno, bez odniesienia do numeru sekcji.
4139 Dostêpne s± równie¿ nienumerowane ¶rodowiska (ale nie wszystkie), do okazjonaln
4141 Nazwy nienumerowanych ¶rodowisk koñcz± siê znakiem gwiazdki (*).
4144 \begin_layout Enumerate
4145 amsbook - standardowy format ksi±¿ki -- AMS book (prawdziwe monografie).
4146 Numeracja jest podobna jak w uk³adzie amsart, z wyj±tkiem numeracji wszystkiego
4148 \begin_inset Formula $(n,m,p)$
4151 , gdzie pierwszy numer odnosi siê do numeru rozdzia³u, drugi do sekcji,
4152 a trzeci jest numerem kolejnym wyra¿enia (Theorems, Corollaries, Propositions,
4153 Definitions, Remarks, itd.) w tej sekcji.
4154 Istnieje tak¿e kilka (ale nie wszystkie) ¶rodowisk nienumerowanych, które
4155 s± u¿ywane okazjonalnie.
4156 Nazwy nienumerowanych ¶rodowisk koñcz± siê znakiem gwiazdki (*).
4159 \begin_layout Standard
4160 Dowolne pliki LyX-a ams-* mog± byæ konwertowane do schematu przez prost±
4161 zmianê klasy dokumentu w menu
4166 k³ad\SpecialChar \menuseparator
4176 \begin_layout Subsection
4177 Co daje ten szablon?
4180 \begin_layout Standard
4181 Te uk³ady dostarczaj± d³ug± listê ¶rodowisk.
4182 Najbardziej matematyczne pisma i ksi±¿ki bêd± korzystaæ w wiêkszo¶ci z
4183 tych ¶rodowisk, AMS-LaTeX-u sprzyja definiowaniu nieograniczonej liczby
4184 rozmaitych takich deklaracji.
4185 Jednak zalecane przez AMS ¶rodowiska s± dostêpne w LyX-ie.
4186 Oto lista nowych ¶rodowisk (nie wyliczamy typowych takich jak
4188 sections, bibliography, title, author, date
4193 \begin_layout Description
4194 Theorem This is typically used for the statements of major results.
4199 '' wy¶wietlane jest czcionk± pó³grub±, along with an automatically-determined
4200 number (an unnumbered version,
4204 , is also available).
4205 Tekst jest pochylony.
4208 \begin_layout Description
4209 Corollary This is used for statements which follow fairly directly from
4210 previous statements.
4211 Again, these can be major results.
4219 \begin_layout Description
4220 Lemma These are smaller results needed to prove other statements.
4223 \begin_layout Description
4224 Proposition These are less major results which (hopefully) add to the general
4225 theory being discussed.
4228 \begin_layout Description
4229 Conjecture These are statements provided without justification, which the
4230 author does not know how to prove, but which seem to be true (to the author,
4234 \begin_layout Description
4235 Criterion A required condition.
4238 \begin_layout Description
4239 Algorithm A general procedure to be used.
4242 \begin_layout Description
4243 Axiom This is a property or statement taken as true within the system being
4247 \begin_layout Description
4248 Definition Guess what this is for.
4249 The font, both on-screen and in the output, is different for this environment
4250 than for the previous ones.
4251 The heading (,,definition'') is still set in boldface, along with the number,
4252 if any, but the rest is set upright.
4255 \begin_layout Description
4256 Example Sk³ad jest podobny do Definition.
4259 \begin_layout Description
4263 \begin_layout Description
4267 \begin_layout Description
4271 \begin_layout Description
4272 Remark This environment is also a new type of theorem.
4273 This is set with the word Remark in italics, and the rest upright.
4276 \begin_layout Description
4277 Note Set similarly to the Remark environment.
4280 \begin_layout Description
4284 \begin_layout Description
4288 \begin_layout Description
4292 \begin_layout Description
4296 \begin_layout Description
4297 Case Generally, these are used to break up long arguments, using specific
4298 instances of some condition.
4299 The numbering scheme for cases is on its own, not together with other numbered
4303 \begin_layout Description
4307 \begin_layout Description
4311 \begin_layout Description
4316 '' jest pisane kursyw±, but the rest is set upright.
4317 At the end of this environment (other environments can be nested within
4318 this one, of course) a QED symbol (usually a square, but it can vary with
4319 different styles) is placed.
4322 \begin_layout Description
4323 Address Tu powinien byæ podany sta³y adres autora.
4326 \begin_layout Description
4327 Current\InsetSpace ~
4328 Address Tu powinien byæ podany czasowy adres autora, gdy wysy³a³
4329 dokument, o ile jest ró¿ny od podanego powy¿ej w Address.
4332 \begin_layout Description
4333 Email Adres e-mail autora
4336 \begin_layout Description
4337 URL Adres strony internetowej autora.
4340 \begin_layout Description
4341 Keywords S³owa kluczowe i frazy u¿ywane do identyfikacji specyficznych dyskutowa
4342 nych tematów w prasie.
4345 \begin_layout Description
4346 Subjectclass These refer to the AMS Subject Classifications, published and
4349 Mathematical Reviews
4352 These are also available online at the AMS cites listed above.
4355 \begin_layout Description
4359 \begin_layout Description
4363 \begin_layout Description
4367 \begin_layout Standard
4368 Ponadto, ¶rodowiska automatycznie w³±czaj± pakiety AMS-LaTeX i czcionki
4369 AMS, które musz± byæ dostêpne w Twoim systemie, aby mo¿na by³o u¿ywaæ tych
4373 \begin_layout Section
4377 \begin_layout Standard
4382 mo¿e byæ u¿yta do pisania listów zgodnie z niemieck± konwencj±.
4383 Dla Ciebie w folderze
4385 .../lyx/share/templates
4387 znajduje siê plik przyk³adowy, aby by³o ³atwiej zacz±æ.
4390 \begin_layout Section
4394 \begin_layout Standard
4399 jest alternatyw± dla standardowej klasy
4404 Daje ona podobn± funkcjonalno¶æ, ale mo¿na preferowaæ w tym uk³adzie bezszeryfo
4405 we tytularia i jeszcze wiêcej.
4408 \begin_layout Section
4412 \begin_layout Standard
4422 \begin_layout Subsection
4426 \begin_layout Standard
4427 W tej sekcji opisano jak mo¿na u¿yæ LyX-a do pisania artyku³ów do pism naukowych
4429 Astronomy and Astrophysics
4435 przy u¿yciu klasy dokumentu
4439 z pakietu makr wydawnictwa Springer.
4440 Ten pakiet mo¿e byæ ¶ci±gniêty z serwera ftp Springera
4443 \begin_layout Standard
4444 \begin_inset VSpace medskip
4450 \begin_layout Standard
4452 \begin_inset LatexCommand \url{ftp://ftp.springer.de/pub/tex/latex/aa}
4459 \begin_layout Standard
4460 \begin_inset VSpace medskip
4466 \begin_layout Standard
4467 Instrukcja do A&A Paper jest dostarczana razem z pakietem.
4468 Ten tekst nie ma na celu zast±pienia oryginalnej instrukcji ale jest krótkim
4469 przewodnikiem jak wykorzystaæ ten format.
4472 \begin_layout Subsection
4476 \begin_layout Standard
4477 Aby zacz±æ nowy dokument wybieramy z menu
4482 lik\SpecialChar \menuseparator
4494 lik\SpecialChar \menuseparator
4504 \begin_layout Standard
4505 Zalecamy korzystanie z szablonu.
4506 Either create one yourself, or ask the local system administrator to suply
4507 a site-wide version.
4508 Przyk³adowy szablon jest czê¶ci± standardowej dystrybucji LyX-a.
4516 Je¶li nie u¿y³e¶ szablonu to zwróæ uwagê na nastêpuj±ce ustawienia:
4519 \begin_layout Itemize
4520 Wybierz klasê dokumentu
4538 \begin_layout Itemize
4551 Uk³ad jest zrobiony za pomoc± makr i nie powiniene¶ niczego zmieniaæ.
4554 \begin_layout Itemize
4555 Mo¿esz chcieæ u¿yæ czcionki
4566 , jako sugerowanej przez wydawnictwo Springer dla jednolitego wygl±du tekstu
4570 \begin_layout Subsection
4574 \begin_layout Standard
4575 Pierwsz± rzecz± do wprowadzenia jest dane nag³ówkowe.
4576 Które zawieraj± osiem wpisów, z których kilka jest opcjonalnych.
4580 \begin_layout Itemize
4585 : [wymagane] Zobacz podrêcznik Springera.
4588 \begin_layout Itemize
4596 \begin_layout Itemize
4604 \begin_layout Itemize
4612 \begin_layout Itemize
4620 \begin_layout Itemize
4625 : [opcjonalne] je¶li jest wiêcej ni¿ jeden autor, to komu wys³aæ odbitki.
4628 \begin_layout Itemize
4633 : [opcjonalne] adres e-mail dla kontaktu z autorem.
4636 \begin_layout Itemize
4644 Received: <date> / Accepted <date>
4647 \begin_layout Standard
4648 Nie potrzeba wydawaæ polecenia
4654 , jest to robione automatycznie przez LyX gdy nag³ówek jest zakoñczony.
4655 Although the order of the single header entries doesn't matter it is advised
4656 to keep the above sequence, just to get the best optics and meets the layout
4657 of the real document.
4660 \begin_layout Standard
4661 Je¶li chcesz umie¶ciæ przypis w nag³ówku, np.
4662 dla wskazania twojego aktualnego adresu, mo¿esz u¿yæ standardowego przypisu
4668 staw\SpecialChar \menuseparator
4676 LyX w takim przypadku u¿yje automatycznie okre¶lenia
4685 \begin_layout Standard
4686 In addition to these topics, Springer uses two additional LaTeX commands
4687 that have no counterpart in LyX:
4690 \begin_layout Itemize
4697 do oddzielenia ró¿nych nazw takich jak autorzy, instytucje.
4700 \begin_layout Itemize
4707 to mark corresponding author/institute pairs.
4708 The institutes are numbered sequentially as they appear in the
4712 field, so you have to put a marker to each author.
4715 \begin_layout Standard
4716 In both cases, the appropriate command has to be entered in LyX an marked
4721 \begin_layout Subsection
4725 \begin_layout Standard
4726 Streszczenie powinno siê znajdowaæ bezpo¶rednio za nag³ówkiem.
4729 \begin_layout Standard
4730 The only special thing about the abstract environment is that it should
4731 contain an entry with the keywords.
4732 This is not yet implemented for LyX, therefore you have to enter the LaTeX
4739 by hand and mark it as LaTeX code.
4740 Zobacz przyk³adowy artyku³.
4743 \begin_layout Subsection
4744 Obs³ugiwane ¶rodowiska
4747 \begin_layout Standard
4748 Uk³ad A&A paper obs³uguje nastêpuj±ce ¶rodowiska dla strukturyzacji tekstu:
4751 \begin_layout Itemize
4757 \begin_layout Itemize
4763 \begin_layout Itemize
4769 \begin_layout Itemize
4775 \begin_layout Itemize
4781 \begin_layout Itemize
4787 \begin_layout Itemize
4793 \begin_layout Itemize
4799 \begin_layout Itemize
4805 \begin_layout Itemize
4811 \begin_layout Itemize
4817 \begin_layout Itemize
4823 \begin_layout Subsection
4824 Polecenia nie obs³ugiwane przez LyX
4827 \begin_layout Standard
4828 Kilka poleceñ uk³adu
4832 nie jest jeszcze obs³ugiwane w LyX-ie.
4833 Kilka zosta³o ju¿ omówionych.
4834 Dla kompletno¶ci poni¿ej s± one wszystkie wypisane:
4837 \begin_layout Itemize
4845 \begin_layout Itemize
4853 \begin_layout Itemize
4861 \begin_layout Itemize
4869 \begin_layout Itemize
4877 \begin_layout Itemize
4885 \begin_layout Itemize
4893 \begin_layout Standard
4894 Je¶li chcesz u¿yæ którego¶ z tych poleceñ, to musisz wpisaæ je sam.
4895 I nie zapomnij wpisywaæ je w trybie LaTeX-a!
4898 \begin_layout Subsection
4899 Wstawki -- rysunki i tabele
4902 \begin_layout Standard
4903 LyX obs³uguje niezbêdne ¶rodowiska wstawek
4905 figure, figure*, table
4911 , dlatego nie wspominamy o nich tutaj wiêcej.
4914 Podrêcznika U¿ytkownika
4917 Pamiêtaj, ¿e tabele powinny byæ wyrównane lewostronnie.
4918 Do tego celu wybierz tabelê i zmieñ wyrównanie w
4923 k³ad\SpecialChar \menuseparator
4931 \begin_layout Standard
4932 Jest tylko jedna specjalna rzecz: rysunki z podpisami.
4933 Aby utworzyæ takie rysunki musisz wykonaæ poni¿sze kroki:
4936 \begin_layout Enumerate
4937 Utwórz szerok± wstawkê:
4942 staw\SpecialChar \menuseparator
4947 stawki\SpecialChar \menuseparator
4957 \begin_layout Enumerate
4958 Wpisz tre¶æ podpisu rysunku.
4961 \begin_layout Enumerate
4966 aby przesun±æ kursor powy¿ej podpisu,
4969 \begin_layout Enumerate
4970 Wstaw swój rysunek (eps),
4973 \begin_layout Enumerate
4974 Ustaw kursor za rysunkiem i wstaw odstêp poziomy:
4979 staw\SpecialChar \menuseparator
4986 \SpecialChar \menuseparator
4994 \begin_layout Enumerate
4995 Prze³±cz siê do trybu LaTeX:
5003 \begin_layout Enumerate
5012 Nie zamykaj nawiasu!
5015 \begin_layout Enumerate
5016 Ustaw kursor za podpisem, prze³±cz siê do trybu LaTeX-a i wstaw brakuj±cy
5024 \begin_layout Standard
5025 Zobacz tak¿e rysunek w przyk³adowym artykule.
5028 \begin_layout Subsection
5032 \begin_layout Standard
5033 For submission, the paper has to be formated in a special double-spacing
5035 For this purpose, you have to give the option
5039 to the documentclass.
5040 This must be done using the
5051 Document\InsetSpace ~
5055 Just enter the string
5062 \begin_layout Subsection
5066 \begin_layout Standard
5071 znajduje siê plik przyk³adowy artyku³ napisany w LyX-ie.
5072 To jest przyk³ad z oryginalnago pakietu makr Springera przet³umaczonego
5074 U¿yj go jako inspiracjê i porównanie oryginalnego kodu LaTeX-a z LyX-owym
5078 \begin_layout Section
5082 \begin_layout Standard
5088 \begin_layout Subsection
5092 \begin_layout Standard
5093 AASTeX jest zestawem makr wydanych przez American Astronomical Society dla
5094 u³atwienia wysy³ania elektronicznych manuskryptów do trzech pism wydawanych
5097 Astrophysical Journal
5099 (w³±czaj±c Listy i Suplement),
5101 Astronomical Journal
5105 Publications of the Astronomical Society of the Pacific
5108 LyX wymaga co najmniej wersji 5.0 tych makr.
5109 Wersje starsze od 5.0 s± przeznaczone dla LaTeX2.09 i s± niekompatybilne
5111 Pakiet AASTeX mo¿na pobraæ z serwera ftp AAS
5114 \begin_layout Standard
5115 \begin_inset VSpace medskip
5121 \begin_layout Standard
5123 \begin_inset LatexCommand \url{ftp://ftp.aas.org/pubs}
5130 \begin_layout Standard
5131 \begin_inset VSpace medskip
5137 \begin_layout Standard
5138 A complete user guide is contained in that package and you should familiarize
5139 yourself with it thoroughly before embarking on writing a paper in LyX.
5140 LyX will not reduce the need to figure out all the AASTeX commands, it
5141 will only reduce the drudgery of typing everything in.
5142 It is your responsibility to ensure that the final exported LaTeX document
5143 conforms completely to the requirements of the journal to which you are
5144 submitting your paper.
5147 \begin_layout Subsection
5148 Starting a New Paper
5151 \begin_layout Standard
5152 I strongly suggest that you start with the AASTeX template file.
5155 File\SpecialChar \menuseparator
5158 , enter the new file name, then choose the
5163 This will show the most common fields found in a manuscript.
5164 Simply overwrite the existing text (including the brackets,
5168 ) with the correct information.
5169 Many of the AASTeX commands and environments can be implemented directly
5170 in LyX, but some cannot: most noticeably
5182 , which should stick out like a sore thumb if you actually just opened the
5184 For commands such as these, the LaTeX code must be entered directly and
5186 Such commands are referred to as ERT, or Evil Red Text.
5187 I tried to minimize the amount of ERT needed in an AASTeX document, but
5188 there is still more required than any of us would like.
5191 \begin_layout Subsection
5192 Finishing Your Paper
5195 \begin_layout Standard
5196 When the paper is finished to your satisfaction and previews/prints correctly,
5198 \begin_inset Quotes eld
5202 \begin_inset Quotes erd
5205 actions which need to be done before you submit it to the journals.
5208 \begin_layout Enumerate
5209 Export your paper as a LaTeX file (
5211 File\SpecialChar \menuseparator
5212 Export\SpecialChar \menuseparator
5218 \begin_layout Enumerate
5223 file with your favorite text editor
5227 \begin_layout Enumerate
5228 remove the comment lines before the
5237 \begin_layout Enumerate
5242 usepackage...{fontenc}
5244 line if it appears (usually just after
5259 \begin_layout Enumerate
5260 remove everything between (and including) the
5272 commands, except for any commands you specifically put into the LaTeX preamble
5273 (which should appear immediately after the
5274 \begin_inset Quotes eld
5277 User specified LaTeX commands
5278 \begin_inset Quotes erd
5288 \begin_layout Enumerate
5295 commands and replace
5296 \begin_inset Quotes eld
5304 \begin_inset Quotes erd
5307 with the correct, real file name.
5310 \begin_layout Enumerate
5317 commands, if necessary (see section
5318 \begin_inset LatexCommand \ref{cite}
5326 \begin_layout Enumerate
5327 Run the resulting file through LaTeX to make sure it still processes correctly.
5330 \begin_layout Enumerate
5331 Reread the journal requirements to make sure your filenames and formats
5335 \begin_layout Enumerate
5339 \begin_layout Subsection
5340 Comments On Specific Commands
5343 \begin_layout Standard
5344 I will not describe the detailed usage of the individual AASTeX commands:
5345 the AASTeX User Guide (
5349 ) gives a good description of each.
5350 Thus it's probably easiest for me to go down the list as found in the guide
5351 and offer comments where necessary.
5352 So let's begin \SpecialChar \ldots{}
5356 \begin_layout Subsubsection
5357 Things that work as expected
5360 \begin_layout Standard
5364 \begin_layout Standard
5375 \begin_layout Standard
5376 Because they work as you might expect, I simply list them and the section
5471 begin{thebibliography}
5503 (2.14.4, amongst other places),
5530 \begin_layout Standard
5531 The following style options also work correctly:
5554 Layout\SpecialChar \menuseparator
5560 \begin_layout Standard
5564 \begin_layout Standard
5575 \begin_layout Subsubsection
5576 Things that work, but require more comment
5579 \begin_layout Standard
5580 The following items work, but require a little more discussion:
5583 \begin_layout Itemize
5584 These items are reserved for use by the journal editors, but you can put
5585 them into the LaTeX preamble if you feel compelled to do so:
5618 \begin_layout Itemize
5619 These items may be placed in the LaTeX preamble, and are included as blanks
5620 in the template file:
5641 \begin_layout Itemize
5648 (2.3) -- can only be used
5649 \begin_inset Quotes eld
5653 \begin_inset Quotes erd
5656 , not in the middle of a paragraph.
5657 Use ERT if you need to embed it.
5660 \begin_layout Itemize
5667 (2.3) -- will have extra {} after it.
5668 This should not cause an error.
5671 \begin_layout Itemize
5678 (2.6) -- can only be used
5679 \begin_inset Quotes eld
5683 \begin_inset Quotes erd
5686 , not in the middle of a paragraph.
5687 Use ERT if you need to embed it.
5690 \begin_layout Itemize
5697 (2.8) -- can't insert a cross-reference tag, you must type the tag name
5701 \begin_layout Itemize
5708 (2.8) -- same as for
5715 \begin_layout Itemize
5722 (2.9) -- will have extra {} after it.
5723 This should not cause an error.
5726 \begin_layout Itemize
5733 (2.10) -- will have extra {} after it.
5734 This should not cause an error.
5737 \begin_layout Itemize
5744 (2.13.2) -- you will have to edit the optional argument by hand in the final
5748 \begin_layout Subsubsection
5749 Things not implemented, use ERT
5752 \begin_layout Standard
5756 \begin_layout Standard
5767 \begin_layout Standard
5790 setcounter{equation}
5804 (2.12), Journal name abbreviations (2.12.4),
5840 (2.14.4, insert it as the first element in the lefthand cell after where
5842 Don't use any of LyX's rules in the table),
5854 (2.14.5), most everything in Misc (2.15, except
5893 \begin_layout Standard
5897 \begin_layout Standard
5908 \begin_layout Subsubsection
5909 Things that cannot be implemented
5912 \begin_layout Standard
5913 \SpecialChar \ldots{}
5914 at least in any meaningful sort of way, so I suggest ignoring them.
5915 They are the references environment (2.12.3), and the deluxetable environment
5917 If you really, really need to use deluxetable, I suggest editing it in
5918 a separate file with a text editor, then using
5920 Insert\SpecialChar \menuseparator
5923 to include it in your LyX document.
5928 file to see an example of this.
5931 \begin_layout Subsection
5932 FAQs, Tips, Tricks, and Other Ruminations
5935 \begin_layout Subsubsection
5936 Getting LyX and AASTeX to cooperate
5939 \begin_layout Standard
5940 It can be a bit tricky to get LyX to recognize a new layout and document
5942 When all else fails, do this:
5945 \begin_layout Enumerate
5946 Make certain that LaTeX can find AASTeX.
5947 Copy sample.tex (and perhaps table.tex) from the AASTeX distribution into
5948 a directory completely unrelated to LaTeX or AASTeX and run LaTeX on
5955 \begin_layout Enumerate
5962 /usr/.../share/lyx/layouts
5971 \begin_layout Enumerate
5974 Options\SpecialChar \menuseparator
5977 in LyX, then restart LyX.
5980 \begin_layout Enumerate
5981 Open a regular new file, not from a template.
5982 Does AASTeX appear in
5984 Layout\SpecialChar \menuseparator
5985 Document\SpecialChar \menuseparator
5991 \begin_layout Standard
5992 If you get a warning from an existing AASTeX document about not being able
5993 to find the AASTeX layout or a message about
5994 \begin_inset Quotes eld
5997 You should not mix title layouts with normal ones
5998 \begin_inset Quotes erd
6001 , things haven't been installed correctly.
6004 \begin_layout Subsubsection
6005 LaTeX error processing a table
6008 \begin_layout Standard
6009 LyX, by default, attempts to center the table caption/title.
6010 This seems to produce a bad interaction in AASTeX so you should click somewhere
6011 in the caption/title, then select
6013 Layout\SpecialChar \menuseparator
6025 This took care of it for me.
6028 \begin_layout Subsubsection
6030 \begin_inset LatexCommand \label{cite}
6037 \begin_layout Standard
6038 A few things: 1) I have noticed some funny spacing in the reference entries
6040 When you enter the bibliography item data, make sure their is
6044 space between the last author and the parenthesis setting off the year;
6057 2) I am really unhappy that I can't make
6069 more automatic, but that would require changes to the LyX source code.
6070 For now you can do one of two things: a) enter all your citations using
6073 Insert\SpecialChar \menuseparator
6076 mechanism; at least you can take advantage of the automatic insertions.
6077 Then edit the exported LaTeX file by hand changing the
6083 entries to the appropriate
6095 commands before you submit it (
6101 is currently equivalent to
6107 , so you wouldn't necessarily have to change those).
6108 Or b) you can simply enter all your citations as ERT using the same key
6109 for the argument that you used in the bibliography popup,
6119 Neither choice is pleasant, but until LyX's citation mechanism understands
6123 , we'll have to put up with it.
6124 3) Entering the references at all is not obvious.
6125 The easiest thing is to start typing your first reference at the end of
6126 the document, then mark it as type
6131 That will put a small gray box in front of what you just typed.
6132 Click on the box to fill in the rest of the information.
6133 For new references, go to the end of an existing reference and press return.
6134 That will create a new line with its own box, etc.
6137 \begin_layout Subsubsection
6138 W³±czanie plików EPS
6141 \begin_layout Standard
6142 With all due respect to Chris Biemesderfer and the others who have helped
6143 to write the AASTeX package, the figure handling mechanism smells really
6152 commands as ERT into a Figure Float box, but I never have much luck getting
6154 My advice would be to avoid all EPS inclusions in the manuscript you submit
6155 to the journal, but then use the standard LyX EPS file inclusion mechanism
6156 when you want to make your nicer looking preprints.
6161 usepackage{graphics}
6163 command into the LaTeX preamble and handle the figures in the standard
6165 Anyone who attempts to print your AASTeX 5.0 manuscript must have a LaTeX2e
6166 installation anyway, so why not take advantage of the infinitely better
6167 graphics handling mechanism? If they complain about LaTeX2e or the graphics
6168 package, point out that it appears in the second edition of Lamport (1994),
6169 so it was time to upgrade six years ago.
6172 \begin_layout Subsubsection
6173 Things I could have done, but didn't
6176 \begin_layout Standard
6177 There are a few ,,pretty'' things I could have implemented, but chose not
6179 For instance, I saw no point in double-spacing the text in the LyX window,
6180 even though it is double-spaced in the paper manuscript.
6181 Also, I chose not to make separate layouts for the preprint and preprint2
6183 Since I assume you will spend most of your time in the plain manuscript
6184 mode anyway, I decided not to chew up more disk space with this.
6185 If you feel strongly that I should make such layouts, I will adhere to
6186 the spirit of the rules laid out by the Mudgeeraba Creek Emu-Riding and
6187 Boomerang-Throwing Association:
6190 \begin_layout Quotation
6191 ,,Decisions of the judges will be final unless shouted down by a really
6192 overwhelming majority of the crowd present.
6193 Abusive and obscene language may not be used by contestants when addressing
6194 members of the judging panel, or, conversely, by members of the judging
6195 panel when addressing contestants (unless struck by a boomerang)''.
6198 \begin_layout Subsection
6202 \begin_layout Standard
6203 To mangle the infamous quote by Donald Knuth about a computer algorithm,
6204 ,,I have only proved this to be correct, I have not actually tried it''.
6205 I believe following the above procedures will produce an acceptable AASTeX
6206 document, but as of this update (Jan 25, 2000), I have not yet submitted
6208 Hopefully in the next few months \SpecialChar \ldots{}
6212 \begin_layout Section
6216 \begin_layout Standard
6219 Panayotis Papasotiriou
6222 \begin_layout Subsection
6226 \begin_layout Standard
6227 The ijmpd package is a set of macros that facilitates electronic manuscript
6230 International Journal of Modern Physics D
6232 published by World Scientific.
6233 The name of the document class is
6238 This file, together with instructions for the authors, can be downloaded
6240 \begin_inset LatexCommand \url{http://www.worldscinet.com/ijmpd/mkt/guidelines.shtml}
6245 The ijmpd package is a modified version of the standard
6246 \begin_inset Quotes eld
6250 \begin_inset Quotes erd
6254 Most of its features are supported by LyX.
6255 I have recently used LyX successfully to write an article submitted to
6258 International Journal of Modern Physics D
6263 \begin_layout Subsection
6267 \begin_layout Standard
6268 As usual, the easiest way to write a paper is to start with a template.
6274 ile\SpecialChar \menuseparator
6286 This will give an (almost) empty document that includes the most common
6287 fields found in a manuscript.
6288 Simply overwrite the existing text (including the brackets,
6292 ) with the correct information.
6293 You should keep in mind the following remarks.
6296 \begin_layout Enumerate
6297 LyX won't let you change the font size and the page style of the document,
6298 because the ijmpd package does not allow such modifications.
6301 \begin_layout Enumerate
6302 The ijmpd package requires that the language of the document should not
6304 Before previewing your paper, be sure that the babel package is not used.
6305 To do this, click on
6310 dit\SpecialChar \menuseparator
6325 tab), then deselect the
6343 , if you wish to make this change permanent).
6346 \begin_layout Enumerate
6347 Two new environments, named
6348 \begin_inset Quotes eld
6352 \begin_inset Quotes erd
6356 \begin_inset Quotes eld
6360 \begin_inset Quotes erd
6363 are available (their use is obvious).
6366 \begin_layout Enumerate
6367 Appendices may be added to the paper.
6368 LyX offers a special environment, called
6369 \begin_inset Quotes eld
6373 \begin_inset Quotes erd
6376 which marks the beginning of the appendix.
6377 An appendix can contain normal sections, subsections, or subsubsections.
6380 \begin_layout Enumerate
6381 The ijmpd package implements table captions quite differently than LyX does.
6382 As a result, a table created by LyX is printed correctly, but its caption
6384 If you need table captions, you should implement the whole table float
6389 file, then include this file to the LyX document (
6394 nsert\SpecialChar \menuseparator
6402 Details on how to create an ijmpd table float can be found in the file
6407 , which is included in the ijmpd package.
6410 \begin_layout Subsection
6411 Preparing a paper for submission
6414 \begin_layout Standard
6415 Before you submit your paper you must export the LyX document as a LaTeX
6421 ile\SpecialChar \menuseparator
6426 xport\SpecialChar \menuseparator
6433 ), then make the following changes to the resulting
6440 \begin_layout Enumerate
6441 Remove the comment lines before the
6450 \begin_layout Enumerate
6451 Remove everything between (and including) the
6463 commands, except for any commands you specifically put into the LaTeX preamble.
6466 \begin_layout Standard
6471 file should be saved and processed through LaTeX as many times as necessary.
6472 You may also want to check the resulting
6479 \begin_layout Subsection
6483 \begin_layout Standard
6484 U¿ycie wstawek ERT jest opcjonalne i jest zredukowane do trzech poleceñ,
6485 which affect the look of the page.
6486 If you started writing your paper by using the
6490 template, the ERT needed is already in its place; you usually don't need
6492 You may only change the first ERT to specify the information printed to
6493 the top of odd and even pages (authors' names and short paper's title,
6495 This ERT must have the form
6499 markboth{Authors' Names}{Short Paper's Title}
6504 \begin_layout Section
6508 \begin_layout Standard
6511 Panayotis Papasotiriou
6514 \begin_layout Subsection
6518 \begin_layout Standard
6519 Pakiet Kluwer jest zestawem makr wydanych przez Kluwer Academic Publishers
6520 aby u³atwiæ elektroniczn± wysy³kê manuskryptów do pism wydawanych przez
6522 Najbardziej znane z nich (at least in my domain of interest), to
6524 Astrophysics and Space Science
6530 , ale istnieje wiele innych (zobacz kompletn± listê pod adresem
6531 \begin_inset LatexCommand \url{http://www.wkap.nl/jrnllist.htm/JRNLHOME}
6536 Pakiet Kluwer mo¿na pobraæ z serwisu
6537 \begin_inset LatexCommand \url{http://www.wkap.nl/kaphtml.htm/STYLEFILES}
6542 Kompletna dokumentacja jest zawarta w pakiecie (ale mo¿na pobraæ j± oddzielnie).
6545 \begin_layout Standard
6546 LyX obs³uguje wiele cech pakietu ale nie wszystkie.
6547 Mimo to wstawki ERT s± potrzebne do redukcji ,,osobliwych'' poleceñ pakietu
6549 \begin_inset LatexCommand \ref{subsec:kluwer_peculiarities}
6554 Ja ostatnio napisa³em bez ¿adnych problemów artyku³ wys³any do pisma
6556 Astrophysics and Space Science
6561 \begin_layout Subsection
6565 \begin_layout Standard
6566 Naj³atwiejsz± drog± do napisania nowego artyku³u jest skorzystanie z szablonu.
6567 Wybierz polecenie z menu
6569 Plik\SpecialChar \menuseparator
6572 , a nastêpnie wybierz plik szablonu
6577 Otrzymasz wówczas (prawie) pusty dokument, który zawiera wiêkszo¶æ pól
6578 z manuskryptu z krótkim opisem ich u¿ycia.
6579 I jak w wiêkszo¶ci szablonów zast±p istniej±ce teksty (w³±czaj±c nawiasy
6584 ) poprawnymi informacjami.
6587 \begin_layout Subsection
6588 Przygotowanie artyku³u do wys³ania
6591 \begin_layout Standard
6592 Podobnie jak przy pakiecie AASTeX przed wysy³k± artyku³u do wydawnictwa,
6593 artyku³ nale¿y przetworzyæ, co opisano dalej w kolejnych krokach:
6596 \begin_layout Enumerate
6597 Wyeksportuj artyku³ do pliku LaTeX.
6598 Zrób to przez wybór polecenia z menu
6603 lik\SpecialChar \menuseparator
6608 ksportuj\SpecialChar \menuseparator
6619 \begin_layout Enumerate
6620 Wyedytuj uzyskany plik
6624 w edytorze tekstowym dokonuj±c nastêpuj±cych zmian:
6628 \begin_layout Enumerate
6629 usuñ wiersze komentarza przed poleceniem
6638 \begin_layout Enumerate
6639 usuñ wszystko pomiêdzy dyrektywami
6651 w³±cznie, z wyj±tkiem Twoich specyficznych poleceñ wstawionych do preambu³y.
6654 \begin_layout Standard
6655 Zapisz uzyskany plik
6663 \begin_layout Enumerate
6668 przez LaTeX tyle razy ile potrzeba (zwykle do trzech razy).
6671 \begin_layout Enumerate
6672 Zobacz utworzony plik
6676 korzystaj±c z przegl±darki np.
6681 i sprawd¼ czy wszystko jest ok (tak powinno byæ je¶li nie pope³ni³e¶ b³êdów).
6684 \begin_layout Subsection
6685 ,,Osobliwo¶ci'' pakietu Kluwer
6686 \begin_inset LatexCommand \label{subsec:kluwer_peculiarities}
6693 \begin_layout Standard
6694 Pakiet Kluwer posiada nastêpuj±ce ,,osobliwo¶ci'':
6697 \begin_layout Enumerate
6698 Jest mo¿liwe pisanie wielu artyku³ów w tym samym pliku LaTeX-a
6702 \begin_layout Standard
6703 Nie mogê wyobraziæ sobie innego dobrego powodu aby to zrobiæ
6709 Ka¿dy artyku³ musi byæ zawarty w ¶rodowisku ,,article''.
6710 Niestety, tego ¶rodowiska nie mo¿na pomin±æ, nawet je¶li piszemy tylko
6712 Dlatego ka¿dy artyku³ zaczyna siê poleceniem
6718 i koñczy oczywi¶cie poleceniem
6725 Mimo to mo¿na to zaimplementowaæ w LyX-ie, ale ja nie do³±czam tego, od
6726 czasu jak to wygl±da brzydko i mo¿e peszyæ nowych u¿ytkowników.
6727 Dlatego Ty potrzebujesz wpisaæ te polecenia wprost jako kod LaTeX (jako
6731 \begin_layout Enumerate
6732 Informacje podane na pocz±tku artyku³u (np.: title, subtitle, author, institution
6733 , running title, running author, abstract i keywords) musz± znajdowaæ siê
6735 ¶rodowisku ,,opening''.
6736 Tego nie zaimplementowano w LyX-ie, tak ¿e Ty musisz umie¶ciæ title, subtitle
6738 pomiêdzy dwoma wstawkami ERT (
6753 \begin_layout Enumerate
6754 Wed³ug podrêcznika u¿ytkownika etykieta ka¿dej pozycji bibliografii musi
6778 \begin_layout Standard
6783 zajmuje siê tymi wszystkimi ,,osobliwo¶ciami'' Je¶li zaczynasz z nowym
6784 artyku³em korzystaj±c z tego szablonu, to nie potrzebujesz robiæ nic specjalneg
6789 \begin_layout Enumerate
6790 nie usuwaj wstawek ERT do³±czonych do szablonu i
6793 \begin_layout Enumerate
6794 skopiuj przyk³adow± bibliografiê do³±czona do szablonu i dostosuj j± przez
6795 dopisanie nowych pozycji.
6798 \begin_layout Section
6802 \begin_layout Standard
6808 \begin_layout Subsection
6812 \begin_layout Standard
6813 LyX-owe klasy dokumentu
6815 article (koma-script)
6819 report (koma-script)
6829 odpowiadaj± LaTeX-owym klasom odpowiednio
6845 , z rodziny Koma-Script.
6846 Zastêpuj± one standardowe klasy dokumentu odpowiednio
6862 , i s± bli¿sze europejskim konwencjom typograficznym
6865 \begin_layout Itemize
6866 Standardow± wielko¶ci± czcionki jest 11pt w
6868 article (koma-script)
6872 report (koma-script)
6880 letter (koma-script)
6885 \begin_layout Itemize
6886 Tytularia, etykiety opisu ¶rodowisk i kilka elementów klasy
6888 letter (koma-script)
6890 s± sk³adane czcionk± pó³grub± bezszeryfow±
6894 \begin_layout Standard
6895 Istnieje du¿a ró¿nica pomiêdzy starymi pó³grubymi czcionkami bezszeryfowymi
6896 rodziny cm, a nowymi rodziny ec, szczególnie w wygl±dzie tytulariów.
6897 Dla porównania pó³gruba czcionka bezszeryfowa rodziny ec wygl±da na troszkê
6907 pomaga tworzyæ ,,zwyk³y'' wygl±d przy u¿yciu czcionek ec.
6913 Numeracja tytu³ów rozdzia³ów jest zrobiona tak samo jak numeracja sekcji,
6914 czyli bez wiersza ,,Rozdzia³\SpecialChar \ldots{}
6916 Ponadto wygl±d tytulariów mo¿e byæ zmieniony za pomoc± kilku opcji (w LyX-ie
6917 wprowadza siê je w polach
6926 k³ad\SpecialChar \menuseparator
6936 \begin_layout Itemize
6937 G³ównym zamierzeniem projektowania obszaru pisania klas dokumentu Koma-Script
6946 (w LyX-ie wprowadza siê je w polach
6955 k³ad\SpecialChar \menuseparator
6963 Dziêki nim mamy klarown± mo¿liwo¶æ zmiany szeroko¶ci marginesów jako opcje
6969 k³ad\SpecialChar \menuseparator
6979 \begin_layout Itemize
6980 Klasy LaTeX-owe rodziny Koma-Script definiuj± kilka dodatkowych poleceñ.
6981 Czê¶æ z nich, które maj± sens w LyX-ie s± zaimplementowane w odpowiednich
6985 \begin_layout Standard
6986 Szczegó³owy opis (w jêzyku niemieckim) LaTeX-owych klas dokumentu rodziny
6987 Koma-Script mo¿na znale¼æ w dokumentacji Koma-Script
6993 \begin_layout Standard
6994 Istnieje angielskie t³umaczenie --
6998 , ale nie jest kompletne
7005 Dalsze punkty opisuj± tylko te aspekty, które s± zwi±zane z LyX-em.
7008 \begin_layout Subsection
7009 Klasy article (koma-script), report (koma-script) i book (koma-script)
7012 \begin_layout Standard
7015 article (koma-script)
7019 report (koma-script)
7025 s± zaimplementowane w plikach uk³adu, odpowiednio:
7038 Zawieraj± one wszystkie ¶rodowiska odpowiednich standardowych klas dokumentu
7051 , czê¶ciowo zmienione z wy³±czeniem LyX-owego ¶rodowiska
7055 , które jest zast±pione przez nowe ¶rodowisko
7059 o takiej samej funkcji.
7064 zosta³o dodane do kilku nowych ¶rodowisk, ale nie s± one czê¶ci± klasy
7066 letter (koma-script)
7071 \begin_layout Itemize
7080 : s± odpowiednikami dla
7088 , dodatkowo daj± wpis do spisu tre¶ci.
7093 nie istnieje w klasie
7095 article (koma-script)
7100 \begin_layout Itemize
7109 : zachowuj± siê dok³adnie tak jak
7117 , additionally clearing running heads.
7122 nie istnieje w klasie
7124 article (koma-script)
7129 \begin_layout Itemize
7134 : generuje tytu³ tu¿ nad nastêpnym akapitem w standardowej wielko¶ci czcionki
7135 bez wp³ywu na strukturê dokumentu.
7138 \begin_layout Standard
7139 Nastêpuj±ce ¶rodowiska, razem ze standardowymi:
7151 , tworz± stronê tytu³ow± dokumentu.
7152 Musz± byæ wstawione na pocz±tku pierwszego ,,normalnego'' akapitu
7156 \begin_layout Standard
7157 Odpowiednie polecenia LaTeX musz± pojawiæ siê przed poleceniem
7166 Gdy dane ¶rodowisko jest u¿yte czê¶ciej ni¿ jeden raz, to zostanie uwzglêdnione
7167 tylko ostatnie jego wyst±pienie w tek¶cie.
7168 Te dodatkowe ¶rodowiska, podobnie jak
7180 , nie wp³ywaj± na wygl±d tworzonego dokumentu.
7183 \begin_layout Itemize
7188 : tworzy wy¶rodkowany akapit powy¿ej podstawowego tytu³u (
7200 ) z tematem dokumentu.
7203 \begin_layout Itemize
7208 : tworzy wy¶rodkowany akapit poni¿ej podstawowego tytu³u (
7223 \begin_layout Itemize
7230 report (koma-script)
7236 tworzy wy¶rodkowany akapit z dedykacj± na oddzielnej stronie za stron±
7237 tytu³ow±, a w klasie
7239 article (koma-script)
7241 tworzy wy¶rodkowany akapit z dedykacj± poni¿ej podstawowego tytu³u (
7256 \begin_layout Itemize
7261 : tworzy wyrównany do lewej powy¿ej podstawowego tytu³u (
7273 ) dla nag³ówka dokumentu.
7276 \begin_layout Itemize
7281 : tworzy w druku dwustronnym w klasach
7283 report (koma-script)
7289 na tyle strony tytu³owej u góry wyrównany do lewej akapit, a w przypadku
7290 druku jednostronnego lub klasy
7292 article (koma-script)
7297 \begin_layout Itemize
7302 : tworzy w druku dwustronnym w klasach
7304 report (koma-script)
7310 na tyle strony tytu³owej u do³u wyrównany do lewej akapit, a w przypadku
7311 druku jednostronnego lub klasy
7313 article (koma-script)
7318 \begin_layout Itemize
7323 : tworzy specjaln± ,,brudn±'' stronê na pocz±tku dokumentu zawieraj±c± akapit
7324 bez specjalnego formatowania.
7327 \begin_layout Standard
7328 Pliki uk³adu dla klas dokumentu
7330 article (koma-script)
7334 report (koma-script)
7345 Który jest w³a¶ciwym miejscem do definiowania w³asnych ¶rodowisk.
7350 do swojego osobistego foldera uk³adów i wyedytuj go!
7353 \begin_layout Subsection
7354 Klasa letter (koma-script)
7357 \begin_layout Standard
7361 \begin_layout Standard
7372 \begin_layout Standard
7376 letter (koma-script)
7378 jest zaimplementowana w pliku uk³adu
7383 Zawiera on wszystkie ¶rodowiska odpowiadaj±ce standardowej klasie
7387 , czê¶ciowo zmienione z wy³±czeniem LyX-owych ¶rodowisk
7403 , które s± zast±pione przez nowe ¶rodowisko
7407 o takiej samej funkcji.
7408 Ponadto zawiera, w odró¿nieniu od standardowej klasy, standardowe ¶rodowiska
7425 Dodatkowo jest kilka nowych specyficznych ¶rodowisk.
7428 \begin_layout Standard
7432 \begin_layout Standard
7443 \begin_layout Standard
7444 Wygl±d listu z³o¿onego w tej klasie dokumentu mo¿e byæ sterowany za pomoc±
7445 kilku poleceñ LaTeX-a (w LyX-ie mo¿na je wprowadziæ wybieraj±c z menu
7450 k³ad\SpecialChar \menuseparator
7461 \begin_layout Standard
7462 Na przyk³ad, standardowy wygl±d nag³ówka listu zawieraj±cy nazwê i adres
7463 jest ca³kowicie self-willed.
7464 ,,Podstawowy'' nag³ówek jest tworzony za pomoc± nastêpuj±cych poleceñ w
7468 \begin_layout LyX-Code
7478 \begin_layout LyX-Code
7494 \begin_layout LyX-Code
7504 \begin_layout LyX-Code
7524 Dziêki temu autor listu mo¿e utworzyæ swój w³asny uk³ad.
7525 Szczegó³owy opis (w jêzyku niemieckim) LaTeX-owych klas dokumentu rodziny
7526 Koma-Script mo¿na znale¼æ w dokumentacji Koma-Script
7533 \begin_layout Standard
7542 definiuj± pocz±tek listu i musz± byæ u¿yte w ka¿dym li¶cie.
7543 Dla podkre¶lenia ich w dokumencie, s± zaznaczone literami odpowiednio
7551 na lewym marginesie.
7552 To umo¿liwia napisanie dowolnej liczby listów w jednym pliku.
7557 tworzy nowy list u¿ywaj±c tego samego adresu, a
7578 s± podstawowymi ¶rodowiskami i mog± byæ u¿ywane wielokrotnie w tym samym
7582 \begin_layout Itemize
7587 : tworzy akapit na adres i definiuje pocz±tek listu.
7590 \begin_layout Itemize
7595 : tworzy akapit dla adresu i zaczyna nowy list.
7598 \begin_layout Itemize
7603 : tworzy akapit na tekst zamykaj±cy list.
7606 \begin_layout Itemize
7611 : tworzy akapit na Postscriptum.
7614 \begin_layout Itemize
7619 : tworzy akapit na listê rozdzielnika (Do wiadomo¶ci).
7622 \begin_layout Itemize
7627 : tworzy akapit dla za³±czników.
7630 \begin_layout Standard
7671 wy¶wietlaj± etykiety, dla u³atwienia wpisywania, których zawarto¶æ jest
7672 przetwarzana przez klasê letter (Koma-Script)
7676 \begin_layout Standard
7677 It could be seen as a matter of inconsequence, that the types
7685 described above are not such input types as well.
7686 Because of the special meaning of those types, however, I have implemented
7687 them as ordinary paragraph types with a one letter mark in the left margin.
7688 Moreover, it would affect my feeling of symmetry, if the
7696 type had such a serious different appearance.
7701 Te ¶rodowiska musz± byæ u¿yte na pocz±tku odpowiedniego ¶rodowiska
7708 \begin_layout Standard
7709 Implementacja tych ¶rodowisk w trybie WYSIWYG nie ma sensu, poniewa¿ rzeczywisty
7710 wygl±d z³o¿onego listu zale¿y nie tylko od u¿ycia w³a¶ciwego ¶rodowiska,
7711 ale tak¿e innych czynników.
7712 Na przyk³ad podpis wprowadzony w ¶rodowisku
7716 bêdzie pojawia³ siê tylko w li¶cie, w którym u¿yto ¶rodowiska
7721 Zawarto¶æ ¶rodowiska
7725 standardowo nie bêdzie pojawiaæ siê przy wszystkich z³o¿onych listach.
7726 Mo¿liwo¶æ projektowania wolnych nag³ówków listu jest ju¿ wspomniana w przypisie
7730 \begin_layout Standard
7731 ¦rodowiska mog± byæ tak¿e u¿ywane jako puste akapity.
7742 nie zosta³o w ogóle u¿yte, to standardowo jest zastêpowane zawarto¶ci±
7747 , ale je¶li mamy puste ¶rodowisko
7751 to nie jest niczym zastêpowane.
7754 \begin_layout Standard
7755 Przez u¿ycie ¶rodowisk mo¿na utworzyæ szablon listu, z czê¶ciowo wype³nionymi
7756 polami ¶rodowisk (np.
7760 \begin_layout Itemize
7765 : nazwa nadawcy, standardowo pojawia siê jako wy¶rodkowany akapit w nag³ówku
7767 Tekst pisany jest du¿ymi literami.
7770 \begin_layout Itemize
7775 : podpis nadawcy, standardowo pojawia siê poni¿ej tre¶ci ¶rodowiska
7780 Je¶li nie u¿yto ¶rodowiska
7784 to zamiast niego pojawia siê zawarto¶æ
7791 \begin_layout Itemize
7796 : adres nadawcy, standardowo pojawia siê jako wy¶rodkowany akapit w nag³ówku
7797 listu, poni¿ej nazwy nadawcy.
7800 \begin_layout Itemize
7805 : numer telefonu nadawcy, pojawia siê tylko, gdy jest w³±czona zmienna LaTeX
7814 \begin_layout Itemize
7819 : miejsce napisania listu.
7822 \begin_layout Itemize
7827 : data napisania listu.
7836 standardowo sk³adane s± w wierszu poni¿ej pola adresu nadawcy wyrównane
7842 jest puste, to zawarto¶æ ¶rodowiska
7847 Je¶li nie u¿yto ¶rodowiska
7851 , to domy¶lnie pobierana jest data sk³adu.
7854 \begin_layout Itemize
7859 : adres zwrotny, standardowo sk³adany jest powy¿ej adresu docelowego ma³±
7860 czcionk± bezszeryfow±.
7863 \begin_layout Itemize
7868 : uwagi dla poczty (np.
7869 do r±k w³asnych), standardowo pojawiaj± siê pomiêdzy adresem zwrotnym a
7870 docelowym, i s± podkre¶lone.
7873 \begin_layout Itemize
7878 : dodatkowa informacja, standardowo pojawia siê przy prawym marginesie poni¿ej
7882 \begin_layout Itemize
7887 : tytu³ listu, standardowo pojawia siê z³o¿ony wielk± i pó³grub± czcionk±
7888 bezszeryfow± powy¿ej tematu listu.
7891 \begin_layout Itemize
7896 : temat listu, standard z³o¿ony jest czcionk± pó³grub± powy¿ej akapitu
7903 \begin_layout Standard
7924 tworz± listy firmowe przez z³o¿enie zawarto¶ci tych ¶rodowisk powy¿ej wiersza
7926 Dla pola daty u¿ywana jest zawarto¶æ ¶rodowiska
7931 Je¶li wykorzystane jest choæ jedno ze ¶rodowisk ,,biznesowych'', to zawarto¶æ
7936 nie jest sk³adana, tylko ustawiana jest zmienna LaTeX
7940 \begin_layout Standard
7953 te ¶rodowiska musz± byæ u¿yte przed odpowiednim ¶rodowiskiem
7960 \begin_layout Itemize
7965 : Wasz znak (Your ref.)
7968 \begin_layout Itemize
7973 : Wasz list (Your letter of.)
7976 \begin_layout Itemize
7981 : Nasz znak (Our ref.)
7984 \begin_layout Itemize
7989 : Klient (Customer no.)
7992 \begin_layout Itemize
7997 : Nr faktury (Invoice no.)
8000 \begin_layout Subsection
8004 \begin_layout Standard
8005 Przedstawienie WYSIWYG w LyX-ie dokumentów w klasie Koma-Script powoduje
8009 \begin_layout Itemize
8010 Numery rozdzia³ów ¶rodowisk
8014 s± wy¶wietlane w wierszu powy¿ej tytu³u rozdzia³u.
8015 Taki przypadek jest spowodowany wewnêtrznym przetwarzaniem przez LyX ¶rodowiska
8022 \begin_layout Itemize
8031 s± wstawione tylko do ,,prawdziwego'' LaTeX-owego spisu tre¶ci, a nie s±
8032 wy¶wietlane LyX-owym spisie tre¶ci (
8042 \begin_layout Itemize
8043 Tryb separacji akapitów w dokumencie
8047 wy¶wietlany jest jako odstêp, a nie wciêcie.
8048 To jest standardowe zachowanie, do tego nie potrzeba ¿adnego polecenia
8055 k³ad\SpecialChar \menuseparator
8062 odpowiedni prze³±cznik wskazuje na za³±czony tryb
8077 daje efekt po u¿yciu odpowiedniego polecenia LaTeX-a wstawionego do dokumentu
8078 do wytworzenia odstêpu.
8081 \begin_layout Section
8089 \begin_layout Standard
8095 \begin_layout Subsection
8099 \begin_layout Standard
8100 Tutaj opisujemy klasy i pliki uk³adu u¿ywanych dla niektórych pism wydawanych
8101 przez wydawnictwo Springer Verlag i wymienionych na stronie
8102 \begin_inset LatexCommand \url{http://www.springer.de/author/tex/help-journals.html}
8106 , sk±d powiniene¶ móc pobraæ pliki klasy (tak, oczywi¶cie teraz dla LaTeX2e!).
8107 To jest modularny system: wspólne czê¶ci dla wszystkich pism s± zaimplementowan
8112 , z którego korzystaj± specyficzne dla danego pisma pliki uk³adu (np.:
8123 \begin_layout Standard
8124 Oznacza to, ¿e implementacja wsparcia dla innego pisma wydawnictwa Springer
8125 wymaga napisania w³asnego pliku uk³adu
8141 \begin_layout Standard
8142 Klasa dokumentu LyX-a by³a testowana tylko dla pisma
8155 s± zawarte w standardowej dystrybucji LyX-a.
8156 Zainstaluj pobran± z serwera wydawnictwa Springer odpowiedni± klasê LaTeX-ow±
8157 w odpowiednim katalogu TeX-a, od¶wie¿ bazê pakietów TeX-a (w teTeX-u uruchom
8162 , jako root je¶li jest to niezbêdne), zrekonfiguruj LyX-a i powinno ju¿
8166 \begin_layout Subsection
8170 \begin_layout Standard
8171 Du¿a liczba stylów typu theorem --
8177 \SpecialChar \ldots{}
8183 \begin_layout Standard
8186 Headnote, Dedication, Subtitle, Running_LaTeX_Title, Author_Running, Institute,
8187 Mail, Offprints, Keywords, Acknowledgements, Acknowledgement
8190 Zobacz dokumentacjê do pakietu aby poznaæ szczegó³y.
8193 \begin_layout Subsection
8197 \begin_layout Itemize
8209 \begin_layout Itemize
8212 Probability Theory and Related Fields
8218 -- Jean-Marc Lasgouttes
8221 \begin_layout Standard
8222 Dodaj w³asne -- to nie jest trudne!
8225 \begin_layout Subsection
8229 \begin_layout Standard
8230 Te pliki bazuj± czê¶ciowo na starszym pliku uk³adu
8234 , który bazowa³ na starym stylu LaTeX 2.09 z wydawnictwa Springer.
8240 Jean-Marc Lasgouttes bardzo pomóg³ mi znale¼æ drogê implementacji uk³adu
8244 \begin_layout Subsection
8248 \begin_layout Standard
8250 Ale prawdopodobnie mniej ni¿ w starej klasie
8257 \begin_layout Standard
8258 Ograniczenia np.: nie wy¶wietla numeru ¶rodowisk typu theorem, w tej chwili
8262 \begin_layout Section
8270 \begin_layout Standard
8276 \begin_layout Subsection
8280 \begin_layout Standard
8281 These are the layout files for some of the journals of the American Geophysical
8283 It is assumed that you have both the AGU's own class files and AGUplus
8284 installed (everything to be found at
8285 \begin_inset LatexCommand \url{ftp://ftp.agu.org/journals/latex/journals}
8292 \begin_layout Subsection
8296 \begin_layout Standard
8306 They are still called this in the LyX GUI, though their LaTeX equivalents
8307 in the AGU classes are
8318 \begin_layout Standard
8319 Newly defined styles are
8356 These are mostly manuscript attributes and defined in the AGU class documentati
8360 \begin_layout Standard
8361 I suspect this is still badly incomplete.
8364 \begin_layout Subsection
8368 \begin_layout Standard
8385 \begin_layout Subsection
8389 \begin_layout Itemize
8392 Journal of Geophysical Research
8401 \begin_layout Standard
8402 Add your own, it isn't so hard! Look at the
8413 \begin_layout Section
8421 \begin_layout Standard
8427 \begin_layout Subsection
8431 \begin_layout Standard
8432 This is the layout file for the European Geophysical Society journals.
8437 can be downloaded from the web site of the EGS under
8438 \begin_inset LatexCommand \url{www.copernicus.org}
8445 \begin_layout Subsection
8449 \begin_layout Standard
8452 Right_address, Latex_Title, Affil, Journal, msnumber, FirstAuthor, Received,
8460 The current layout file is unfortunately very unmodular and would benefit
8461 from using the various
8468 \begin_layout Section
8474 \begin_inset LatexCommand \label{sec:slitex}
8481 \begin_layout Standard
8487 \begin_layout Subsection
8491 \begin_layout Standard
8492 W tej sekcji opisujemy jak u¿yæ LyX-a do przygotowania slajdów do rzutników.
8493 Istniej± dwie klasy dokumentów, które mo¿na do tego celu zastosowaæ: domy¶lnie
8502 W tej sekcji opisano pierwsz± z nich.
8505 \begin_layout Standard
8506 Powiem to jeszcze raz, jasno, aby nie bu³o nieporozumieñ:
8509 \begin_layout Standard
8510 \begin_inset VSpace bigskip
8516 \begin_layout Standard
8520 Ta sekcja dokumentu opisuje
8531 \begin_layout Standard
8532 \begin_inset VSpace bigskip
8538 \begin_layout Standard
8539 Je¶li szukasz dokumentacji do
8543 '', zajrzyj do sekcji\InsetSpace ~
8545 \begin_inset LatexCommand \ref{sec:foiltex}
8558 ''] jest aktualnie trochê lepsza ni¿ domy¶lnie klasa
8566 \begin_layout Standard
8567 \SpecialChar \ldots{}
8568 lub tak powtarzam za jej adwokatami.
8569 Nigdy jej nie u¿ywa³em i nie wiem czy to jest prawda czy nie.
8577 \begin_layout Standard
8578 Ta klasa jest ulepszeniem LaTeX2e starego pakietu
8583 Ka¿da dystrybucja LaTeX2e zawiera tê klasê [któr±, od teraz, bêdê nazywa³
8587 ''], tak wiêc jeste¶ zmuszony j± mieæ.
8588 Jak wspomnia³em wcze¶niej istniej± inne klasy, jak np.
8593 , które tak¿e tworz± slajdy do rzutnika i wykonuj± to zadanie lepiej ni¿
8595 Jednak istnieje kilka rzeczy, które klasa
8599 mo¿e zrobiæ, a inne nie, np.
8600 generowanie overlays.
8601 Czytaj dalej aby dowiedzieæ siê wiêcej!
8604 \begin_layout Subsection
8606 \begin_inset LatexCommand \label{sec:slidesetup}
8613 \begin_layout Standard
8614 Oczywi¶cie, aby u¿yæ tej klasy dokumentu, potrzebujesz wybraæ klasê
8630 Jest kilka rzeczy, które powiniene¶ wiedzieæ o tej klasie:
8633 \begin_layout Itemize
8643 Nie s± one obs³ugiwane przez klasê
8650 \begin_layout Itemize
8655 lista styli dostêpna w polu
8662 zachowuje siê troszkê inaczej dla tej klasy.
8663 Dostêpne s± nastepuj±ce style:
8667 \begin_layout Description
8672 W prawym dolnym naro¿niku slajdu umieszony zostanie numer slajdu,
8675 \begin_layout Description
8684 , ale dodatkowo zostana wstawione krzy¿yki w rogach folii dla dok³adnego
8685 pozycjonowania przy nak³adaniu folii jedna na drug±.
8686 To jest styl domy¶lny.
8689 \begin_layout Description
8694 Nie jest dodawany numer, data ani znaczniki wyrównania.
8698 \begin_layout Itemize
8703 posiada dodatkow± opcjê:
8708 Aby j± u¿yæ, wpisz ,,
8728 \begin_layout Standard
8729 U¿ycie tej opcji pozwala dodaæ znacznik daty do
8734 Zobacz sekcjê\InsetSpace ~
8736 \begin_inset LatexCommand \ref{sec:slideNote}
8740 aby poznaæ wiêcej szczegó³ów.
8744 \begin_layout Standard
8745 Mo¿esz u¿yæ szablonu ,,
8749 '' aby automatycznie ustawiæ klasê nowego dokumentu na
8753 [za pomoca polecenia
8758 lik\SpecialChar \menuseparator
8762 aby utworzyæ nowy dokument].
8763 Plik szablonu zawiera tak¿e kilka przyk³adów specjalnych ¶rodowisk akapitów
8765 Bêdzie to opisane dalej.
8768 \begin_layout Subsection
8772 \begin_layout Subsubsection
8773 Obs³ugiwane ¶rodowiska
8776 \begin_layout Standard
8777 Pierwsz± rzecz±, któr± powiniene¶ zauwa¿yæ gdy zaczynasz nowy dokument slajdów
8778 jest rozmiar i typ czcionki: odpowiednio ,,
8782 '' i czcionka bezszeryfowa
8788 This is also what's used in the output.
8790 \begin_inset Quotes eld
8794 \begin_inset Quotes erd
8797 to remind you that this is a slide.
8798 Your final slides will use a larger font; ergo, you'll have less space.
8799 Of course, the larger default screen font isn't WYSIWYG, only a reminder.
8802 \begin_layout Standard
8803 The next thing that becomes obvious is the changes to the paragraph environment
8804 pull-down box [at the far-left end of the toolbar].
8805 Most of the paragraph environments you're used to seeing are missing.
8806 There are also four new ones.
8811 class itself only supports certain paragraph environments:
8814 \begin_layout Itemize
8820 \begin_layout Itemize
8826 \begin_layout Itemize
8832 \begin_layout Itemize
8838 \begin_layout Itemize
8844 \begin_layout Itemize
8850 \begin_layout Itemize
8856 \begin_layout Itemize
8862 \begin_layout Itemize
8868 \begin_layout Itemize
8874 \begin_layout Itemize
8880 \begin_layout Itemize
8886 \begin_layout Standard
8887 Wszystkie inne standardowe ¶rodowiska w³±czaj±c ¶rodowiska sekcji nie s±
8893 Z drugiej za¶ strony zauwa¿ysz nowe ¶rodowiska:
8897 \begin_layout Standard
8898 In prior versions of this class, there was the mandatory
8902 paragraph environment.
8906 is deprecated; it will convert to a
8911 You should probably remove it.
8921 \begin_layout Itemize
8927 \begin_layout Itemize
8933 \begin_layout Itemize
8939 \begin_layout Itemize
8945 \begin_layout Standard
8946 These five are kind of quirky, due to a
8947 \begin_inset Quotes eld
8951 \begin_inset Quotes erd
8955 You see, LyX doesn't permit you to nest any other paragraph environment
8956 into an empty environment.
8957 Now, that's fine and dandy, but it means that you wouldn't be able to start
8958 a slide with anything except plain text.
8959 To deal with this, I've performed a little
8960 \begin_inset Quotes eld
8964 \begin_inset Quotes erd
8970 \begin_layout Subsubsection
8971 Quirks of the New Environments
8972 \begin_inset LatexCommand \label{sec:slideQuirk}
8979 \begin_layout Standard
8980 All five of the new paragraph environments are somewhat quirky due to inherent
8981 limitiations in the current version of LyX.
8982 As I just mentioned, LyX forbids environments that begin with another environme
8984 To get around this, the
8988 environment isn't a paragraph environment as described in the
8995 \begin_layout Standard
9008 to be ,,pseudo-environments''.
9009 They look like a section heading or a
9010 \begin_inset Quotes eld
9018 \begin_inset Quotes erd
9021 but really begin a [and, if necessary, end the previous] paragraph environment.
9031 \begin_inset Quotes eld
9035 \begin_inset Quotes erd
9038 These two perform some action.
9041 \begin_layout Standard
9042 A common feature of all five environments,
9062 , is a rather long-ish label.
9063 The text following this label --- ordinarily the contents of the paragraph
9064 environment --- is utterly irrelevant for
9085 LyX completely ignores it.
9086 In fact, you can leave these five environments completely empty.
9089 \begin_layout Standard
9094 to put any text after the rather long-ish label, you might want to.
9095 This could be a short description of the contents of the
9100 In that case, enter in your descriptive comment and hit
9104 as you normally would.
9107 \begin_layout Standard
9108 If, on the other hand, you don't want to enter in any descriptive text,
9109 you'll hit another LyX quirk.
9110 LyX, like nature, abhors a vacuum, and will not let you start a new paragraph
9111 environment until you put something in the old one.
9115 \begin_layout Itemize
9116 Start entering the text that will
9143 \begin_layout Itemize
9144 Now move to the beginning of that paragraph.
9147 \begin_layout Itemize
9155 \begin_layout Itemize
9156 Finally, change this new, empty paragraph to a
9179 \begin_layout Standard
9180 Some future version of LyX will, hopefully, resolve this quirkiness\SpecialChar \ldots{}
9184 \begin_layout Subsection
9185 Tworzenie prezentacji u¿ywaj±c
9198 \begin_layout Subsubsection
9204 \begin_layout Standard
9205 If you're expecting this section to teach you how to actually make a presentatio
9206 n, you'll be sorely disappointed.
9207 Naturally, I'll describe all of the ways the
9211 class can assist you in preparing the materials for a presentation.
9212 Filling in the contents, however, is up to you.
9217 the LyX philosophy.]
9220 \begin_layout Standard
9225 environment [in the manner described in section\InsetSpace ~
9227 \begin_inset LatexCommand \ref{sec:slideQuirk}
9231 ] tells LyX to begin a new slide [duh].
9232 The label for this environment/
9233 \begin_inset Quotes erd
9237 \begin_inset Quotes erd
9241 \begin_inset Quotes eld
9245 \begin_inset Quotes erd
9248 in cool blue, followed by the label,
9249 \begin_inset Quotes eld
9253 \begin_inset Quotes erd
9257 Any text or paragraph environments that follow this one go on the new slide.
9261 \begin_layout Standard
9262 Slides are probably the only time you'll need to forcibly end pages in LyX.
9263 In fact, you'll want to, once you finish entering the contents of one slide.
9264 If you've entered more text than can physically fit on a slide, the extra
9265 overflows onto a new slide.
9266 I don't recommend doing this, however, since the overflow slide won't have
9267 any page number on it.
9268 Furthermore, it may interfere with any
9272 you've made to accompany the oversized
9279 \begin_layout Standard
9288 environments work the same way as the
9294 \begin_inset Quotes eld
9298 \begin_inset Quotes erd
9301 followed by a label [
9302 \begin_inset Quotes eld
9306 \begin_inset Quotes erd
9310 \begin_inset Quotes eld
9314 \begin_inset Quotes erd
9318 The color is a stunning magenta instead of blue, and the
9319 \begin_inset Quotes eld
9323 \begin_inset Quotes erd
9326 will look different, in style and in length.
9327 The label fonts of all three also differ from one another.
9330 \begin_layout Standard
9335 , if the contents of a
9343 exceed the physical size of a slide or sheet of paper, the extra will overflow
9345 Again, you should avoid this.
9346 It defeats the whole purpose of
9357 \begin_layout Subsubsection
9367 \begin_layout Standard
9372 is a slide that sits atop another slide.
9373 Perhaps you wish to discuss a figure on the main
9377 before displaying the text associated with it.
9378 One way to accomplish this is tape a flap of dark paper over the part of
9383 you want to display later.
9384 This method fails, however, if you wish to overlap one graph with another,
9386 You would then have to fumble while speaking to align the two separate,
9391 s to align the two graphs.
9396 environment in both cases makes life much easier.
9399 \begin_layout Standard
9404 receives the page number of its
9405 \begin_inset Quotes eld
9409 \begin_inset Quotes erd
9417 \begin_inset Quotes eld
9425 \begin_inset Quotes erd
9432 \begin_layout Standard
9433 Presumably, mutliple
9438 \begin_inset Quotes eld
9446 \begin_inset Quotes erd
9450 \begin_inset Quotes eld
9458 \begin_inset Quotes erd
9462 \begin_inset Quotes eld
9470 \begin_inset Quotes erd
9474 appended to the page number of the parent
9491 to each fit on a single physical slide! You should probably consider an
9504 class provides a visual cue for this: the label at the start of an
9508 is shorter than that at the start of a
9513 Lastly, when you generate printable output, you'll find alignment markers
9514 in all four corners of both the
9523 These will assist you in lining up the two physical slides.
9526 \begin_layout Standard
9527 The major problem in overlaying two slides is aligning the contents of the
9529 How much space should you leave for that graph on the second slide? Worse
9530 still, what if you want a graph and a sentence on second slide, but there
9531 is text on the main transparency that goes in between them? You could try
9532 and insert vertical space of the right size.
9533 The better way is to use
9544 \begin_layout Standard
9545 As their names imply,
9553 are two command-like paragraph environments that make all subsequent text
9554 invisible and visible, respectively.
9555 Note from section\InsetSpace ~
9557 \begin_inset LatexCommand \ref{sec:slideQuirk}
9561 that you don't place anything
9565 these two environments, however.
9570 , it inserts a centered, sky-blue label into the page reading
9571 \begin_inset Quotes eld
9574 <Invisible Text Follows>
9575 \begin_inset Quotes erd
9579 For paragraphs following this label, the parts of the
9587 ; it doesn't matter which] where they would be contain instead blank space.
9590 \begin_layout Standard
9595 , the corresponding centered label is
9596 \begin_inset Quotes eld
9599 <Visible Text Follows>
9600 \begin_inset Quotes erd
9604 Paragraphs following this label behave normally.
9605 Note that the beginning of a new
9617 automatically shuts off an
9622 It's therefore not necessary to use
9633 \begin_layout Standard
9634 By now, it should be obvious how to create overlay transparencies using
9635 the proper combination of
9654 \begin_layout Enumerate
9659 , including everything that will appear on it, whether on the main slide
9667 \begin_layout Enumerate
9668 Before each figure or paragraph that will appear only on the
9677 If necessary, insert a
9681 environment after the
9688 \begin_layout Enumerate
9693 immediately following the
9700 \begin_layout Enumerate
9701 Copy the contents of this
9712 \begin_layout Enumerate
9728 \begin_layout Standard
9737 \begin_layout Standard
9738 There's one problem with the way I've designed the LyX
9742 class: you can't make text in the middle of a paragraph invisible, nor
9743 make text in the middle of an invisible paragraph visible again.
9744 To accomplish this feat, you'll need to use some inlined LaTeX codes.
9748 \begin_layout Standard
9749 The commands of interest are:
9752 \begin_layout Itemize
9757 invisible \SpecialChar \ldots{}
9761 \begin_layout Itemize
9766 visible \SpecialChar \ldots{}
9770 \begin_layout Standard
9771 \SpecialChar \ldots{}
9772 and need to be marked as TeX.
9774 \begin_inset Quotes eld
9778 \begin_inset Quotes erd
9781 you wish to change goes in between the brackets [and after the
9794 If you don't know how to mark text as TeX, see the apprpriate section of
9813 \begin_inset LatexCommand \label{sec:slideNote}
9820 \begin_layout Standard
9829 is associated with a
9830 \begin_inset Quotes eld
9834 \begin_inset Quotes erd
9846 class provides visual cues.
9851 is shorter than that of a
9855 [yet longer than that of an
9859 ] and, like the label of an
9863 is shockingly magenta.
9864 Additionally, the printed
9868 has the page number of its
9869 \begin_inset Quotes eld
9873 \begin_inset Quotes erd
9881 \begin_inset Quotes eld
9889 \begin_inset Quotes erd
9893 \begin_inset Quotes eld
9901 \begin_inset Quotes erd
9905 \begin_inset Quotes eld
9913 \begin_inset Quotes erd
9917 You can have multiple
9921 s associated with a single
9933 , you'll probably want to break up long
9937 s so that they fit on a single sheet of paper.
9940 \begin_layout Standard
9945 is obvious: it contains anything additional you might want to say about
9951 It could also be used as a sheet of reminders for a particular
9956 In the case of the latter, you might want to make use of time markers.
9962 \begin_inset Quotes eld
9966 \begin_inset Quotes erd
9969 support for time markers, a
9974 So, you'll have to resort to using the LaTeX codes.
9977 \begin_layout Standard
9978 To use time markers, you'll need to specify the extra class option
9979 \begin_inset Quotes eld
9987 \begin_inset Quotes erd
9990 [see section\InsetSpace ~
9992 \begin_inset LatexCommand \ref{sec:slidesetup}
9997 This option turns on timing marks, which will appear in the lower-left-hand
10003 To set what appears in the time marker, you use the LaTeX commands
10004 \begin_inset Quotes eld
10014 \begin_inset Quotes erd
10018 \begin_inset Quotes eld
10028 \begin_inset Quotes erd
10032 The arguments of both commands are time measured in seconds.
10033 \begin_inset Quotes eld
10043 \begin_inset Quotes erd
10046 sets the time marker to a given time.
10047 \begin_inset Quotes eld
10057 \begin_inset Quotes erd
10060 increments the time marker by the specified amount.
10061 Using time markers and
10065 s in this fashion, you can remind yourself how much time to spend on a particula
10073 \begin_layout Standard
10074 There's one last feature to describe.
10075 Clearly, you'd like to print out all of your
10083 s on transparencies while printing all of your
10099 with which it is associated.
10100 What's a person to do?
10103 \begin_layout Standard
10104 Luckily, there are two LaTeX commands that allow you to select what to print
10106 Both must be placed into the preamble of your document.
10108 \begin_inset Quotes eld
10120 \begin_inset Quotes erd
10123 will cause the output to contain only the
10132 Correspondingly, the command
10133 \begin_inset Quotes eld
10145 \begin_inset Quotes erd
10148 prevents the output of anything but
10153 I'd advise placing both commands in the preamble and initially comment
10155 You can then preview your entire presentation as you write.
10156 When you're done writing, you can then uncomment one of the two to select
10157 what you want to print.
10158 I like to uncomment
10159 \begin_inset Quotes eld
10171 \begin_inset Quotes erd
10174 , print to a file with
10175 \begin_inset Quotes eld
10183 \begin_inset Quotes erd
10186 in its name, comment it back out, then uncomment
10187 \begin_inset Quotes eld
10199 \begin_inset Quotes erd
10203 \begin_inset Quotes eld
10211 \begin_inset Quotes erd
10215 I can then send either file to a printer, loading transparencies or plain
10216 paper as appropriate.
10219 \begin_layout Standard
10220 You can also provide other arguments to the
10221 \begin_inset Quotes eld
10231 \begin_inset Quotes erd
10235 \begin_inset Quotes eld
10245 \begin_inset Quotes erd
10249 See a good LaTeX book for details.
10252 \begin_layout Subsection
10253 Plik szablonu klasy
10258 \begin_layout Standard
10263 dostarczy³em tak¿e plik szablonu
10268 Aby go u¿yæ zacznij Twoj± now± prezentacjê przez
10273 lik\SpecialChar \menuseparator
10281 Twój nowy plik prezentacji bêdzie zawiera³ jako przyk³ad trójkê
10302 dodatkowo zawieraj± jako przyk³ad u¿ycia tekst niewidzialny (
10311 Na koniec zawarto¶æ preambu³y:
10314 \begin_layout LyX-Code
10315 % Uncomment to print out only slides and overlays
10318 \begin_layout LyX-Code
10322 \begin_layout LyX-Code
10332 \begin_layout LyX-Code
10333 % Uncomment to print out only notes
10336 \begin_layout LyX-Code
10340 \begin_layout LyX-Code
10348 \begin_layout Standard
10349 I ostatnia rzecz: utworzy³em tê klasê LyX-a do obs³ugi klasy LaTeX2e ,,
10353 TeX emulation'', one of the built-in LaTeX2e classes.
10354 Neither I nor the rest of the LyX Team endorse or oppose the use of this
10355 built-in slide class.
10356 It's here if you want it or need it.
10357 Istniej± inne klasy LaTeX2e do tworzenia prezentacji, takie jak:
10361 [zobacz\InsetSpace ~
10363 \begin_inset LatexCommand \ref{sec:foiltex}
10371 '' [znajduj±cy siê w wielu dystrybucjach TeX-a].
10372 Ten ostatni nie jest jeszcze obs³ugiwany przez LyX-a
10376 \begin_layout Standard
10377 Aktualnie znajduje siê plik uk³adu
10381 ale nie ma jeszcze pliku szablonu i dokumentacji jak z niego skorzystaæ
10387 Try them out to see what sort of alternative they provide.
10390 \begin_layout Section
10399 \begin_inset LatexCommand \label{sec:foiltex}
10406 \begin_layout Standard
10412 \begin_layout Subsection
10416 \begin_layout Standard
10417 W tej sekcji opisujemy jak u¿yæ LyX-a do przygotowania slajdów do rzutników.
10418 Istniej± dwie klasy dokumentów, które mo¿na do tego celu zastosowaæ: domy¶lnie
10427 W tej sekcji opisano tê drug± klasê.
10430 \begin_layout Standard
10431 Powiem to jeszcze raz, jasno, aby nie by³o nieporozumieñ:
10434 \begin_layout Standard
10435 \begin_inset VSpace bigskip
10441 \begin_layout Standard
10445 Ta sekcja dokumentu opisuje
10456 \begin_layout Standard
10457 \begin_inset VSpace bigskip
10463 \begin_layout Standard
10464 Je¶li szukasz dokumentacji do
10468 )'', zajrzyj do sekcji\InsetSpace ~
10470 \begin_inset LatexCommand \ref{sec:slitex}
10475 Je¶li w Twoim systemie nie masz zainstalowanej klasy
10483 ''], to prawdopodobnie musisz u¿yæ domy¶lnej klasy
10487 , która nie jest tak dobra jak
10492 \begin_layout Standard
10497 jest zaprojektowana do u¿ycia z wersj± 2.1 LaTeX-owej klasy
10501 , która jest teraz integraln± czê¶ci± LaTeX2e.
10504 \begin_layout Subsection
10508 \begin_layout Standard
10509 Oczywi¶cie, aby u¿yæ tej klasy dokumentu, potrzebujesz wybraæ klasê
10525 Jest kilka ustawieñ w oknie
10529 i powiniene¶ znaæ ich specyfikê w tej klasie:
10532 \begin_layout Itemize
10542 Nie s± one obs³ugiwane przez klasê
10549 \begin_layout Itemize
10550 Domy¶ln± wielko¶ci± czcionki jest 20pt, inne to 17pt, 25pt i 30pt.
10553 \begin_layout Itemize
10554 Domy¶ln± rodzin± jest czcionka
10558 ale równania matematyczne s± sk³adane zwyk³± czcionk± szeryfow±.
10561 \begin_layout Itemize
10566 TeX obs³uguje formaty papieru A4 i Letter, a tak¿e specjalny rozmiar do
10567 pracy z 35mm slajdami.
10568 Nie obs³uguje formatów: A5, B5, legal i executive.
10571 \begin_layout Itemize
10572 Nie zmieniaj ustawieñ
10576 , poniewa¿ s± one ignorowane.
10577 Wszystkie wstawki pojawiaj± siê w miejscu gdzie zosta³y umieszczone w tek¶cie.
10580 \begin_layout Itemize
10588 zachowuj± siê troszkê inaczej w tej klasie.
10593 TeX dostarcza rozszerzone mo¿liwo¶ci nag³ówków i stopek w³±czaj± w to logo
10595 Zobacz sekcjê\InsetSpace ~
10597 \begin_inset LatexCommand \ref{sec:foilfoot}
10601 aby poznaæ wiêcej szczegó³ów.
10602 Strona tytu³owa jest traktowana inaczej ni¿ inne strony dokumentu:
10606 jest nienumerowana i
10610 logo jest wycentrowane u do³u strony (je¶li je zdefiniowano).
10611 Mo¿liwe do wyboru style strony:
10616 \labelwidthstring MMMMMMM
10623 Nie jest dodawany numer ani inne nag³ówki i stopki,
10627 \labelwidthstring MMMMMMM
10634 Na dole w ¶rodku slajdu umieszczony zostanie numer slajdu.
10635 bez innych nag³ówków i stopek (innych ni¿ przypisy).
10639 \labelwidthstring MMMMMMM
10644 W prawym dolnym naro¿niku slajdu umieszczony zostanie numer slajdu.
10645 Dodatkowe nag³ówki i stopki zostan± wy¶wietlone.
10646 To jest styl domy¶lny.
10650 \labelwidthstring MMMMMMM
10655 Umo¿liwia skorzystanie z pakietu
10659 mimo, ¿e jego u¿ycie z
10663 TeX nie jest polecane przez autorów pakietu
10667 TeX z powodu kilku mo¿liwych rozjechañ siê uk³adu strony.
10671 \begin_layout Subsubsection
10675 \begin_layout Standard
10676 Nastêpuj±ce opcje mog± byæ u¿yte w polu
10688 \labelwidthstring MMMMMMx
10693 Ustawia rozmiar strony 7.33 cale na 11 cali.
10694 Taki rozmiar ma identyczne proporcje jak 35mm slajd.
10695 To ustawienie u³atwia pracê z tym medium,
10699 \labelwidthstring MMMMMMx
10704 Umieszcza poziom± liniê poni¿ej nag³ówka na ka¿dej stronie z wyj±tkiem
10709 \labelwidthstring MMMMMMx
10714 Umieszcza poziom± liniê powy¿ej stopki na ka¿dej stronie z wyj±tkiem strony
10719 \labelwidthstring MMMMMMx
10724 Ta opcja jest automatycznie w³±czona
10728 \begin_layout Standard
10731 Bez tej opcji mo¿esz korzystaæ wprost z pdfLaTeX-a
10736 , gdy tworzysz nowy dokument w tej klasie.
10741 TeX-owi aby u¿y³ jako sterownika programu dvips do obrotu tych stron, które
10742 ustawiono jako poziome,
10746 \labelwidthstring MMMMMMx
10751 Po prostu zmienia uk³ad strony na poziomy, ale nie dokonuje obrotu.
10752 Dla tego je¶li chcesz u¿ywaæ tej opcji potrzebujesz u¿yæ zewnêtrznego programu
10753 do obrotu ka¿dej strony lub w³ó¿ papier do drukarki poziomo.
10754 Uwaga ta opcja zamienia role ¶rodowisk
10762 (nie przejmuj siê jest to opisane w nastêpnej sekcji),
10766 \labelwidthstring MMMMMMx
10771 Numeracja równañ po lewej stronie równania,
10775 \labelwidthstring MMMMMMx
10780 Wyrównuje równania do lewej.
10783 \begin_layout Subsection
10784 Obs³ugiwane ¶rodowiska
10787 \begin_layout Standard
10788 Wiêkszo¶æ zwyk³ych ¶rodowisk wystêpuj±cych w innych klasach jest tak¿e obs³ugiwa
10794 Jest kilka dodatkowych ¶rodowisk dostarczanych przez
10798 TeX a tak¿e kilka dodanych przez LyX-a.
10799 Poni¿ej podano standardowe ¶rodowiska wystêpuj±ce równie¿ w innych klasach:
10802 \begin_layout Standard
10806 \begin_layout Standard
10809 begin{multicols}{2}
10817 \begin_layout Itemize
10823 \begin_layout Itemize
10829 \begin_layout Itemize
10835 \begin_layout Itemize
10841 \begin_layout Itemize
10847 \begin_layout Itemize
10853 \begin_layout Itemize
10859 \begin_layout Itemize
10865 \begin_layout Itemize
10871 \begin_layout Itemize
10877 \begin_layout Itemize
10883 \begin_layout Itemize
10889 \begin_layout Itemize
10895 \begin_layout Itemize
10901 \begin_layout Itemize
10907 \begin_layout Itemize
10913 \begin_layout Itemize
10919 \begin_layout Itemize
10925 \begin_layout Itemize
10931 \begin_layout Standard
10935 \begin_layout Standard
10946 \begin_layout Standard
10947 Nastêpne s± g³ówne ¶rodowiska niezale¿nie od ¶rodowisk strukturyzuj±cych
10949 Folie s± w³a¶ciwie samodzielnymi sekcjami posiadaj±cymi tytu³ i tre¶æ.
10954 TeX dostarcza specyficznych poleceñ rozpoczynaj±cych now± foliê, s± to:
10957 \begin_layout Itemize
10963 \begin_layout Itemize
10969 \begin_layout Standard
10970 LyX dostarcza tak¿e lekko zmodyfikowane wersje powy¿szych ¶rodowisk o nazwach:
10973 \begin_layout Itemize
10979 \begin_layout Itemize
10982 ShortRotatefoilhead
10985 \begin_layout Standard
10986 ró¿nice pomiêdzy nimi s± wyja¶nione w nastêpnej sekcji.
10989 \begin_layout Standard
10990 Folie s± czêsto u¿ywane do prezentacji pomys³ów lub nowych teorii i tak¿e
10995 TeX dostarcza szeroki wachlarz narzêdzi do ich prezentacji:
10998 \begin_layout Standard
11002 \begin_layout Standard
11005 begin{multicols}{2}
11013 \begin_layout Itemize
11019 \begin_layout Itemize
11025 \begin_layout Itemize
11031 \begin_layout Itemize
11037 \begin_layout Itemize
11043 \begin_layout Itemize
11049 \begin_layout Itemize
11055 \begin_layout Itemize
11061 \begin_layout Itemize
11067 \begin_layout Itemize
11073 \begin_layout Itemize
11079 \begin_layout Standard
11083 \begin_layout Standard
11094 \begin_layout Standard
11095 Wersje z gwiazdk± s± ¶rodowiskami nienumerowanymi, a bez gwiazdki s± numerowane.
11096 S± jeszcze dwa ¶rodowiska list dodane przez LyX i s± to:
11099 \begin_layout Itemize
11105 \begin_layout Itemize
11111 \begin_layout Standard
11112 Jest jeszcze kilka poleceñ
11116 TeX-a, które nie s± obs³ugiwane przez LyX.
11117 Wspomnimy o nich i ich przeznaczeniu w sekcji\InsetSpace ~
11119 \begin_inset LatexCommand \ref{sec:unsuppfoils}
11126 \begin_layout Subsection
11130 \begin_layout Standard
11131 W tej sekcji podamy proste wprowadzenie jak korzystaæ z ró¿nych ¶rodowisk
11132 aby utworzyæ foliê.
11133 Je¶li chcesz zobaczyæ przyk³ad folii zobacz plik
11142 lik\SpecialChar \menuseparator
11147 twórz\SpecialChar \ldots{}
11150 i naci¶nij przycisk
11157 \begin_layout Subsubsection
11161 \begin_layout Standard
11162 Nie tak jak inne klasy dostarczaj±ce ¶rodowisk
11182 tworzy tytu³ na w³asnej stronie.
11183 Je¶li opu¶cisz ¶rodowisko
11187 , to LaTeX w zastêpstwie wstawi bie¿±c± datê (aktualizowan± przy ka¿dym
11191 \begin_layout Subsubsection
11192 Rozpoczêcie nowej folii
11195 \begin_layout Standard
11196 Jak wspomnia³em wcze¶niej, mamy cztery sposoby na utworzenie nowej folii.
11197 Dla folii pionowych powiniene¶ u¿yæ
11206 Ró¿nica pomiêdzy tymi ¶rodowiskami polega na wielko¶ci odstêpu pomiêdzy
11210 \begin_layout Standard
11211 Folie poziome tworzymy za pomoc± ¶rodowisk
11217 ShortRotatefoilhead
11220 Znów ró¿nica miedzy nimi polega na odstêpie pomiêdzy tytu³em a tre¶ci±.
11221 W obu skróconych wersjach mamy o pó³ cala mniejszy odstêp.
11224 \begin_layout Standard
11225 Jednym problemem z obs³ug± poziomych slajdów jest wymóg u¿ycia sterownika
11230 do utworzenia pliku PostScript®, w przeciwnym razie folia nie zostanie
11232 Jest mo¿liwo¶æ uzyskania poziomych folii nawet je¶li nie masz programu
11237 , po prostu musisz w³o¿yæ folie poziomo do drukarki;-)
11240 \begin_layout Subsubsection
11241 Theorems, Lemmas, Proofs i wiêcej
11244 \begin_layout Standard
11245 Z powodu ma³ego b³êdu w LyX-ie nie mo¿na umie¶ciæ dwóch ¶rodowisk tego samego
11246 typu bezpo¶rednio jedno po drugim.
11247 Musza one byæ czymkolwiek rozdzielone.
11248 Je¶li spróbujesz , bêdziesz móg³ rozci±gn±æ poprzednie ¶rodowisko, tak
11249 aby¶ mia³ po³±czone dwa ¶rodowiska razem.
11250 A jak rozwi±zaæ ten problem? Najprostszym rozwi±zaniem jest wstawienie
11251 tekstu pomiêdzy dwa ¶rodowiska lub wstawienie wstawki
11255 pomiêdzy te ¶rodowiska zawieraj±cej znak komentarza ,,
11260 To wymusi na LyX-ie utworzenie dwóch oddzielnych ¶rodowisk i da poprawny
11262 Przyk³ad jest zawarty w dostarczonym pliku w dystrybucji LyX-a.
11263 pamiêtaj, problem pojawia siê tylko je¶li próbujesz umie¶ciæ dwa ¶rodowiska
11264 takie jak Theorem bezpo¶rednio jedno za drugim.
11267 \begin_layout Subsubsection
11271 \begin_layout Standard
11272 Mo¿esz korzystaæ ze wszystkich obs³ugiwanych i wystêpuj±cych w innych klasach,
11273 ¶rodowisk list, a tak¿e z dwóch nowych.
11274 Tutaj opiszê tylko te nowe.
11275 Je¶li chcesz znale¼æ wiêcej informacji o innych ¶rodowiskach list zajrzyj
11278 Podrêcznika U¿ytkownika
11281 Je¶li zamierzasz korzystaæ z wyliczeñ powiniene¶ tak¿e przeczytaæ sekcjê
11283 \begin_inset LatexCommand \ref{sec:bullet}
11289 Wybór znaku wyliczenia
11294 \begin_layout Standard
11295 Dwa nowe style list
11303 , zaprojektowano aby u³atwiæ Ci tworzenie list czynno¶ci wykonanych i nie
11304 lub co jest w porz±dku lub z³e, przez dostarczenie dedykowanych ¶rodowisk,
11305 które u¿ywaj± haczyka (akceptacji) lub krzy¿yka (negacji) jako znaku wyliczenia.
11306 Te listy s± w rzeczywisto¶ci dedykowanymi wariantami ¶rodowiska
11311 Wymagaj± one jednak zainstalowanego pakietu
11318 \begin_layout Subsubsection
11322 \begin_layout Standard
11327 TeX redefiniuje wstawki tabel i rysunków tak, aby pojawi³y siê dok³adnie
11328 w miejscu ich wyst±pienia w tek¶cie.
11329 W rzeczywisto¶ci zmiany pozycji wstawki s± ignorowane.
11332 \begin_layout Subsubsection
11334 \begin_inset LatexCommand \label{sec:foilfoot}
11341 \begin_layout Standard
11354 s± przeznaczone do sterowania lew± stopk±.
11355 Pierwsze pozwala na do³±czenie
11359 \begin_layout Standard
11362 Aby do³±czyæ logo graficzne to nale¿y jako argument polecenia
11374 includegraphics{nazwapliku}
11376 oraz umie¶ciæ w preambule polecenie:
11382 usepackage{graphicx}
11388 usepackage{graphics}
11393 logo graficznego do folii, a domy¶lnie wpisuje ,,--Typeset by FoilTeX--''.
11394 Drugie polecenie pozwala na wprowadzenie klasyfikacji dostêpno¶ci, np.
11400 Domy¶lnie jest puste.
11403 \begin_layout Standard
11404 Pozosta³e naro¿niki mo¿na wype³niæ poleceniami
11409 (domy¶lnie numer folii),
11422 \begin_layout Subsection
11423 Nieobs³ugiwane funkcje
11428 \begin_inset LatexCommand \label{sec:unsuppfoils}
11435 \begin_layout Standard
11436 Wszystkie polecenia wyja¶nione poni¿ej nale¿y wstawiaæ w ¶rodowisku
11444 wewn±trz innych ¶rodowisk.
11447 \begin_layout Subsubsection
11451 \begin_layout Standard
11452 Wszystkie d³ugo¶ci s± ustawiane poleceniem
11482 powinno byæ zast±pione nazw± d³ugo¶ci, która chcesz zmieniæ, a
11487 Dla wszystkich d³ugo¶ci nale¿y podaæ jednostkê, np.
11500 ) lub jednostki wzglêdne w dokumencie lub d³ugo¶ci odnosz±ce siê do wielko¶ci
11510 \begin_layout Standard
11511 Mo¿na zmieniaæ odstêp pomiêdzy tytu³em folii a tre¶ci±, przez zmianê d³ugo¶ci
11518 Na przyk³ad, aby na
11522 foliach tytu³y by³y bli¿ej tre¶ci o pó³ cala, to wpisz do preambu³y:
11534 foilheadskip}{-0.5in}
11537 \begin_layout Standard
11538 Odstêpy wokó³ wstawek mog± byæ ustawiane przez zmianê nastêpuj±cych d³ugo¶ci:
11542 \labelwidthstring MMMMMMMMMMM
11549 odstêp pomiêdzy tekstem a gór± wstawki,
11553 \labelwidthstring MMMMMMMMMMM
11560 odstêp pomiêdzy wstawk± a podpisem,
11564 \labelwidthstring MMMMMMMMMMM
11571 odstêp pomiêdzy podpisem a dalszym tekstem,
11575 \labelwidthstring MMMMMMMMMMM
11582 Mo¿esz zadaæ wê¿szy podpis wstawki ni¿ otaczaj±cy tekst przez ustawienie
11584 Najlepiej odnosiæ siê do d³ugo¶ci
11593 \begin_layout Standard
11594 Jest jeszcze kilka d³ugo¶ci zwi±zanymi ze strona tytu³owa, które mog± byæ
11595 u¿yteczne je¶li masz d³ugie tytu³y lub kilku autorów:
11599 \labelwidthstring MMMMMMMMMMM
11606 odstêp pomiêdzy nag³ówkiem a
11614 \labelwidthstring MMMMMMMMMMM
11621 odstêp pomiêdzy ¶rodowiskami
11633 \labelwidthstring MMMMMMMMMMM
11640 odstêp pomiêdzy wielokrotnymi wierszami ¶rodowiska
11648 \labelwidthstring MMMMMMMMMMM
11655 odstêp pomiêdzy ¶rodowiskami
11667 \labelwidthstring MMMMMMMMMMM
11674 odstêp pomiêdzy ¶rodowiskami
11685 \begin_layout Standard
11686 Ostatnia d³ugo¶æ odnosi siê do wszystkich ¶rodowisk list.
11696 ¶rodowiska listy, wtedy wszystkie odstêpy pionowe pomiêdzy elementami listy
11698 Uwaga -- to jest polecenie, a nie d³ugo¶æ i nie wymaga
11704 tak jak wspomniane powy¿ej d³ugo¶ci.
11707 \begin_layout Subsubsection
11709 \begin_inset LatexCommand \label{sec:foilfoot}
11716 \begin_layout Standard
11729 steruj± wy¶wietlaniem na danym slajdzie logo zdefiniowanym poleceniem
11736 Je¶li wpiszesz polecenie
11742 do preambu³y, to wówczas na ¿adnej folii nie pojawi siê logo.
11743 Je¶li nie chcesz aby pojawi³o siê logo na jednej z folii, to umie¶æ na
11750 tu¿ po tytule strony, a nastêpnie umie¶æ polecenie
11756 po tytule nastêpnej folii.
11759 \begin_layout Standard
11760 Pozosta³e polecenia steruj±ce:
11764 \labelwidthstring MMMMMMMMM
11771 prawa stopka, domy¶lnie zawiera numer strony
11775 \labelwidthstring MMMMMMMMM
11786 \labelwidthstring MMMMMMMMM
11796 \begin_layout Standard
11797 Je¶li zdecydujesz siê u¿yæ styl strony
11805 , prawdopodobnie powiniene¶ dodaæ
11819 do preambu³y, tak aby nag³ówki i stopki by³y w³a¶ciwie umieszczone na poziomych
11821 Jest to spowodowane niezgodno¶ci± uk³adów stron dostarczanych przez pakiet
11833 \begin_layout Section
11834 Latex8 (Dokumenty konferencyjne IEEE )
11837 \begin_layout Standard
11843 \begin_layout Subsection
11847 \begin_layout Standard
11848 Since this class is specifically for writing submissions to IEEE sponsored
11849 conferences I strongly recommend that you get a copy of their Authors Kit.
11854 package and associated bibliography style file is included in the kit.
11855 The Authors Kit is usually sent out by email once your initial submission
11857 There is a lot of useful information in the Authors Kit explaining formatting
11858 restrictions and so on and I will assume you have read this since that
11859 means I don't have to repeat it all here.
11862 \begin_layout Subsection
11866 \begin_layout Standard
11871 \begin_layout Subsection
11872 Obs³ugiwane ¶rodowiska
11875 \begin_layout Itemize
11879 \begin_layout Itemize
11883 \begin_layout Itemize
11887 \begin_layout Itemize
11891 \begin_layout Itemize
11895 \begin_layout Itemize
11899 \begin_layout Itemize
11903 \begin_layout Itemize
11907 \begin_layout Itemize
11911 \begin_layout Subsection
11912 Ró¿nice pomiêdzy ekranem a dokumentem
11915 \begin_layout Standard
11916 There are slight differences in appearance mainly with the presentation
11917 of section counters.
11918 On screen the trailing period of the section counter is missing but it
11919 will appear in the output so don't let this worry you.
11922 \begin_layout Section
11923 Hollywood (Hollywood spec scripts)
11926 \begin_layout Standard
11932 \begin_layout Subsection
11936 \begin_layout Standard
11937 Getting the format of a Hollywood script right is a ,,rite of passage''.
11938 Zosta³ zaprojektowany do czytania ze zwróceniem uwagi na tre¶æ oraz aby
11939 byæ ³atwym i przyjaznym w czytaniu dla aktorów.
11940 Ka¿da strona scenariusza powinna byæ jedn± minut± filmu.
11941 Nie pisz tego czego nie mo¿esz zobaczyæ lub us³yszeæ na ekranie.
11942 W ca³ym dokumencie powinna byæ stosowana czcionka Courier 12pkt, bez kursywy.
11945 \begin_layout Subsection
11949 \begin_layout Standard
11950 Tekst mówcy nie powinien byæ NIGDY ³amany w po³owie zdania.
11951 Je¶li tekst mówcy jest kontynuowany na nastêpnej stronie, powtórz
11962 \begin_layout Subsection
11966 \begin_layout Standard
11967 Wstaw nazwê mówcy (
11971 ) jako etykietê, a dalej wykorzystuj j± przez odno¶niki wewnêtrzne.
11972 Okno odno¶ników bêdzie wy¶wietla³o obsadê.
11973 Odno¶niki mo¿esz u¿ywaæ do wstawiania nazwy mówcy równie¿ w tek¶cie narratora.
11976 \begin_layout Subsection
11977 Rozmiar papieru i marginesy
11980 \begin_layout Standard
11981 USLetter, lewy 1.6in, prawy 0.75in, górny 0.5in, dolny 0.75in
11984 \begin_layout Subsection
11988 \begin_layout Standard
11989 Dostêpne s± nastêpuj±ce ¶rodowiska.
11990 Mo¿esz u¿yæ uk³adu hollywood.bind aby uzyskaæ skróty klawiszowe jak poni¿ej.
11993 \begin_layout Itemize
12000 U¿yj gdzie nic innego nie pasuje.
12001 Próbuj nie korzystaæ z niego.
12004 \begin_layout Itemize
12013 Used to describe stage setting and the action.
12014 Pierwsze u¿ycie nazwy aktora napisz kapitalikiem.
12017 \begin_layout Itemize
12031 Usually followed by something like ,,on Sally waking up''.
12034 \begin_layout Itemize
12043 Introduces a new INTERIOR camera set-up.
12044 Always followed by DAY or NIGHT, or something similar to define the lighting
12046 Pisz zawsze du¿ymi literami.
12049 \begin_layout Itemize
12058 Introduces a new EXTERIOR camera set-up.
12059 Pisz zawsze du¿ymi literami.
12062 \begin_layout Itemize
12071 The character speaking.
12074 \begin_layout Itemize
12083 Instrukcje dla mówcy.
12084 Nawiasy ,,()'' s± wstawiane automatycznie i wy¶wietlane s± tylko w LyX-ie,
12085 ale zawsze bêda drukowane.
12088 \begin_layout Itemize
12104 \begin_layout Itemize
12113 Instrukcja przemieszczania dla kamery, np.
12117 \begin_layout Itemize
12126 \begin_layout Itemize
12134 \begin_layout Itemize
12142 \begin_layout Itemize
12151 \begin_layout Subsection
12155 \begin_layout Itemize
12156 (O.S) --- off screen
12159 \begin_layout Itemize
12160 (V.0) --- voice over
12163 \begin_layout Itemize
12168 \begin_layout Itemize
12173 \begin_layout Itemize
12174 PAN --- przesuniêcie kamery
12177 \begin_layout Itemize
12178 INSERT --- cut to close-up of
12181 \begin_layout Section
12185 \begin_layout Standard
12191 \begin_layout Subsection
12195 \begin_layout Standard
12196 Klasa Broadway jest przeznaczona dla pisz±cych scenariusze teatralne.
12197 Ten format jest bardziej dekoracyjny i o wiele mniej ustandaryzowany.
12198 Ten format powinien byæ odpowiedni dla workshopów.
12201 \begin_layout Subsection
12205 \begin_layout Standard
12206 Podobnie jak format Hollywood.
12209 \begin_layout Subsection
12213 \begin_layout Standard
12214 Wstaw nazwê mówcy (
12218 ) jako etykietê, a dalej wykorzystuj j± przez odno¶niki wewnêtrzne.
12219 Okno odno¶ników wewnêtrznych bêdzie wy¶wietlaæ aktualn± obsadê.
12222 \begin_layout Subsection
12223 Rozmiar papieru i marginesy
12226 \begin_layout Standard
12227 USLetter, lewy 1.6in, prawy 0.75in, górny 0.5in, dolny 0.75in
12230 \begin_layout Subsection
12234 \begin_layout Standard
12235 Dostêpne s± nastêpuj±ce ¶rodowiska.
12236 Mo¿esz u¿yæ uk³adu broadway.bind aby uzyskaæ skróty klawiszowe jak poni¿ej.
12239 \begin_layout Itemize
12246 Nie powiniene¶ go u¿ywaæ, ale jest je¶li inne nie bêd± Ci odpowiadaæ.
12249 \begin_layout Itemize
12258 Used to describe stage setting and the action.
12259 Pierwsze u¿ycie nazwy aktora napisz kapitalikiem.
12262 \begin_layout Itemize
12271 Automatycznie numerowane.
12272 Na ekranie bêdzie numeracja liczbami arabskimi, a na wydruku rzymskimi.
12275 \begin_layout Itemize
12284 Tekst jest centrowany.
12287 \begin_layout Itemize
12296 Nie jest numerowane automatycznie.
12298 This is because I couldn't figure out how.
12301 \begin_layout Itemize
12311 A special case of Narrative to describe the setting and action as the curtain
12315 \begin_layout Itemize
12324 Nazwa mówcy (aktora), wy¶rodkowana napisana bêdzie kapitalikiem.
12327 \begin_layout Itemize
12336 Instrukcje dla mówcy.
12337 Nawiasy ,,()'' s± wstawiane automatycznie, ale wy¶wietlane s± tylko w LyX-ie,
12338 ale zawsze bêda drukowane.
12339 To ¶rodowisko jest u¿ywane tylko wewn±trz ¶rodowiska
12346 \begin_layout Itemize
12358 \begin_layout Itemize
12367 Opuszczenie kurtyny.
12370 \begin_layout Itemize
12378 \begin_layout Itemize
12386 \begin_layout Itemize
12394 \begin_layout Standard
12398 \begin_layout Section
12402 \begin_layout Standard
12408 \begin_layout Standard
12411 Revtex\InsetSpace ~
12414 wspó³pracuje z klas± RevTeX 4.0 (wydanie
12415 \begin_inset Formula $\beta$
12418 z maja 1999 roku) American Physical Society.
12419 LyX ma klasê dokumentu
12423 , która wspó³pracuje z RevTeX 3.1.
12424 Jednak wersja 3.1 jest generalnie przestarza³a jako wspó³pracuj±ca z LaTeX2.09,
12425 co oznacza, ¿e wspó³praca z LyX-em nie jest najlepsza., poniewa¿ LyX wymaga
12427 Since RevTeX 4.0 has been designed to work much more cleanly with LaTeX2e,
12430 RevTeX\InsetSpace ~
12433 textclass should also be pretty easy to use.
12436 \begin_layout Standard
12437 These documents are supposed to be used in
12441 to the RevTeX 4.0 documents, so we don't describe any of the special RevTeX
12442 macros, and assume you'll know what to put in the preamble if necessary.
12445 \begin_layout Subsection
12449 \begin_layout Standard
12450 All you need to do is install RevTeX 4, as described in the package's README
12452 the package can be found at
12453 \begin_inset LatexCommand \url[The RevTeX 4 Web Site]{http://publish.aps.org/revtex4/}
12458 Install it somewhere that LaTeX can see it.
12459 Test it by trying to LaTeX a short RevTeX 4 document in some random directory
12460 (i.e., not the directory where you installed the class file.) Then, if you
12461 reconfigure LyX, it will find the class file and let you use the RevTeX4
12465 \begin_layout Standard
12466 Probably the easiest way to get started is either to import a RevTeX 4 document
12473 Revtex\InsetSpace ~
12476 template, found in the templates directory.
12479 \begin_layout Subsection
12483 \begin_layout Standard
12484 Optional arguments to
12490 , like ,,preprint'' and ,,aps'', go in the
12503 Remember that in RevTeX, at least one optional argument is required!
12506 \begin_layout Standard
12507 Other preamble matter, like
12518 popup, also as usual.
12521 \begin_layout Subsection
12525 \begin_layout Standard
12526 The layouts basically correspond to the commands in RevTeX4.0.
12527 For example, the Email layout corresponds to
12534 Note that (at least as of RevTeX 4.0 Beta), the
12542 layouts are exactly equivalent, so you shouldn't need to use both.
12546 \begin_layout Standard
12547 In case you're curious, both were included so that
12551 would be able to translate both
12571 \begin_layout Standard
12572 There are a couple of important unique aspects of RevTeX 4 which might cause
12573 bugs that will be even more confusing in LyX.
12576 \begin_layout Standard
12594 The LyX equivalent is that there is a separate Thanks layout.
12599 write footnotes in the
12603 layout, or weird things may happen.
12604 See the RevTeX 4 documentation for more details.
12607 \begin_layout Standard
12610 Author\InsetSpace ~
12615 Author\InsetSpace ~
12622 layouts must be placed
12630 layout and the corresponding
12647 , the LaTeX won't compile.
12650 \begin_layout Subsection
12654 \begin_layout Standard
12655 The main problem with this layout is that you can't use the optional arguments
12656 to layouts like Email and Title.
12657 (The problem is not unique to this layout; in LyX 1.0, you can't use optional
12658 arguments to the Section layouts.) This means that after you export that
12659 file to LaTeX (which you'll need to do eventually to send it in to APS),
12660 you'll need to edit the LaTeX file with a text editor to add the optional
12661 arguments to set, e.g., the running title for the page headers.
12662 Lacking these layouts makes the
12668 (and the equivalent
12674 ) useless, so the corresponding layouts don't exist, and will have to be
12676 This drawback will be fixed in LyX 1.2.
12679 \begin_layout Section
12680 article (mwart), book (mwbk) i report (mwrep)
12683 \begin_layout Standard
12689 \begin_layout Standard
12702 autorstwa marcina Woliñskiego odpowiadaj± klasom LateX-a odpowiednio:
12715 Zastêpuj± one standardowe klasy:
12728 S± one zgodne z polskimi zwyczajami typograficznymi.
12731 \begin_layout Standard
12732 Podstawowe ró¿nice:
12735 \begin_layout Itemize
12736 Nienumerowane tytularia ( z gwiazdk±) s± dopisywane do spisu tre¶ci.
12739 \begin_layout Itemize
12740 Dodatkowe style strony:
12744 \begin_layout Description
12745 uheadings pagina górna z lini± oddzielaj±c±,
12748 \begin_layout Description
12749 myheadings pagina górna z zadawan± tre¶ci± poleceniami:
12764 \begin_layout Description
12765 myuheadings pagina górna z zadawan± tre¶ci± z lini± oddzielaj±c±,
12768 \begin_layout Description
12769 outer paginacja w stopce od strony zewnêtrznego marginesu
12773 \begin_layout Itemize
12778 \begin_layout Description
12779 rmheadings szeryfowe tytularia -- opcja domy¶lna
12782 \begin_layout Description
12783 sfheadings bezszeryfowe tytularia
12786 \begin_layout Description
12787 authortitle najpierw autor poni¿ej tytu³ -- opcja domy¶lna
12790 \begin_layout Description
12791 titleauthor najpierw tytu³ poni¿ej autor
12794 \begin_layout Description
12795 withmarginpar rezerwuje miejsce na marginalia
12799 \begin_layout Chapter
12800 Import i eksport innych formatów plików
12803 \begin_layout Section
12807 \begin_layout Standard
12808 Zagadnienie importu i eksportu z/do innych formatów plików zosta³o wspomniane
12811 Podrêczniku U¿ytkownika
12814 W tym rozdziale jest opisane wiêcej szczegó³ów potrzebnych do zrozumienia
12815 tego co siê dzieje po naci¶niêciu polecenia
12820 lik\SpecialChar \menuseparator
12832 lik\SpecialChar \menuseparator
12842 \begin_layout Section
12843 Import z innych formatów
12846 \begin_layout Subsection
12850 \begin_layout Standard
12851 T³umaczenie z LaTeX-a do LyX-a jest dokonywane przez Perl za pomoc± skryptów
12852 wywo³ywanych przez reLyX.
12853 Ponadto jest to samodzielny program, który mo¿e byæ wywo³ywany z wiersza
12855 LyX wywo³uje go automatycznie podczas importu pliku LaTeX-a.
12857 \begin_inset LatexCommand \ref{sec:reLyX}
12861 dla pe³niejszego opisu.
12862 Nie ma parametrów do ustawiania przez u¿ytkownika.
12865 \begin_layout Subsection
12869 \begin_layout Standard
12870 S± dwie metody importu plików tekstowych ASCII.
12871 Import ,,jako wiersze'' zachowuje wszystkie koñce wierszy z pliku ASCII
12872 do LyX-a, wówczas ka¿dy wiersz jest oddzielnym akapitem.
12873 Podczas importu ,,jako akapit'' kolejne wiersze ³±czone s± w jeden akapit.
12874 Pusty wiersz traktowany jest jako separator akapitów.
12877 \begin_layout Subsection
12881 \begin_layout Standard
12884 [Editor's note: Needs to be written, obviously - any volunteers? --- mer]
12887 \begin_layout Section
12888 Eksport do innych formatów
12891 \begin_layout Subsection
12895 \begin_layout Standard
12896 LyX tworzy dwa typy plików LaTeX-owych: pliki do normalnego przetwarzania
12897 (do podgl±du DVI itp.), które nie s± nigdy ogl±dane oraz pliki o formie
12898 czytelnej dla ludzi.
12899 Jedyn± mo¿liw± do ustawienia jest dyrektywa
12905 okre¶laj±ca maksymaln± d³ugo¶æ wiersza pliku, domy¶ln± warto¶ci± jest 75
12907 Plik wynikowy jest poprawnym plikiem LaTeX-a, lecz preambu³a mo¿e wygl±daæ
12908 trochê przera¿aj±co poniewa¿ zawiera kilka definicji u¿ywanych przez LyX-a,
12909 które nie wygl±daj± na utworzone przez cz³owieka.
12912 \begin_layout Subsection
12916 \begin_layout Standard
12929 ndependent -- ,,sprzêtowo niezale¿ne'') s± tworzone podczas przetwarzania
12930 Twojego dokumentu przez LaTeX.
12931 Nie ma ¿adnych opcji do ustawienia przez u¿ytkownika.
12934 \begin_layout Subsection
12938 \begin_layout Standard
12939 Nastêpny krokiem w ³añcuchu konwersji jest konwersja pliku DVI do PostScript.
12940 Najczê¶ciej u¿ywanym do tego celu programem jest program
12945 Wybrany program nale¿y podaæ w pliku
12956 Argumenty wiersza poleceñ, np.
12957 dla dvips polecenia druku w odwrotnej kolejno¶ci (
12961 ) mo¿na podaæ w dyrektywie
12965 print_extra_options
12970 \begin_layout Subsection
12974 \begin_layout Standard
12975 Eksport do ASCII próbuje zachowaæ ,,kszta³t'' dokumentu jak to mo¿liwe,
12976 ale takie elementy jak centrowanie i wciêcia s± odrzucane, a akapity s±
12977 rozdzielane pustym wierszem.
12978 Numeracja sekcji i odno¶ników jest wykonana poprawnie, tak ¿e w efekcie
12979 plik jest do¶æ przejrzysty.
12980 Jedyn± mo¿liw± do ustawienia jest dyrektywa
12986 okre¶laj±ca maksymaln± d³ugo¶æ wiersza pliku ASCII.
12989 \begin_layout Subsection
12993 \begin_layout Standard
12994 Dokumenty LyX-a mog± byæ konwertowane do formatu hipertekstowego, zwykle
12995 najpierw dokonywana jest konwersja do LaTeX-a, który konwertuje do formatu
12999 \begin_layout Standard
13000 Aktualnie s± dostêpne dla LyX-a trzy konwertery LaTeX
13001 \begin_inset Formula $\rightarrow$
13017 S± one wykrywane automatycznie, jednak mo¿na wymusiæ wybór jednego z nich
13018 dyrektyw± w pliku konfiguracyjnym
13025 W tej dyrektywie mo¿na tak¿e do³±czyæ argumenty wiersza poleceñ.
13026 Czytaj komentarze w pliku
13030 , które zawieraj± najbardziej aktualne informacje dotycz±ce szczegó³ów u¿ycia
13031 poszczególnych dyrektyw.
13034 \begin_layout Subsection
13038 \begin_layout Standard
13046 \begin_layout Standard
13047 Najszybsz± drog± do tworzenia plików PDF (bez znaczników, linków itp.) w
13048 dowolnej wersji LyX-a jest zapisanie dokumentu w formacie PostScript, a
13049 nastêpnie uruchomienie polecenia
13054 Pocz±wszy od wersji 1.1.6 dostêpna jest pozycja menu
13059 lik\SpecialChar \menuseparator
13060 Exportuj\SpecialChar \menuseparator
13064 Od wersji 1.1.6 jest to najlepsza droga do uzyskania porz±dnych plików PDF.
13065 Jest trochê k³opotów z czcionkami, na które powiniene¶ uwa¿aæ -- zobacz
13066 \begin_inset LatexCommand \ref{sec:badfonts}
13073 \begin_layout Subsubsection
13077 \begin_layout Standard
13078 Korzystaj±c z pdfLaTeX potrzebujesz skonwertowaæ swoje obrazki EPS do formatu
13080 \begin_inset LatexCommand \ref{sec:pdfeps}
13084 ) i nie mo¿esz u¿ywaæ pstricks.
13085 Z drugiej strony, korzystaj±c z pdfLaTeX mo¿na wstawiaæ wprost rysunki
13086 w formatach JPEG lub PNG, u¿ywaæ czcionek TrueType i wiele innych.
13089 \begin_layout Subsubsection
13090 Dlaczego tekst wygl±da ma³o czytelnie przy podgl±dzie za pomoc± Acrobat
13092 \begin_inset LatexCommand \label{sec:badfonts}
13099 \begin_layout Standard
13100 ¬ród³em k³opotów s± czcionki bitmapowe brzydko wy¶wietlane przez Acrobat
13102 Podczas tworzenia pliku PDF z pliku LyX-a potrzebujesz czcionek obwiedniowych
13103 zamiast bitmapowych (w rzeczywisto¶ci powiniene¶ tak¿e u¿ywaæ czcionek
13104 obwiedniowych w plikach postscriptowych).
13107 \begin_layout Standard
13108 Ostatnie dystrybucje LaTeX-a posiadaj± standardowe czcionki CM (Computer
13109 Modern) PostScript Type 1.
13110 PdfLaTeX u¿ywa tych czcionek domy¶lnie.
13111 Dvips nie u¿ywa ich domy¶lnie, dla ich u¿ycia nale¿y dopisaæ do pliku
13115 nastêpuj±ce wiersze
13118 \begin_layout LyX-Code
13122 \begin_layout LyX-Code
13126 \begin_layout Standard
13127 Je¶li u¿ywane jest domy¶lne kodowanie LaTeX-a (OT1), to nie trzeba robiæ
13129 Ale je¶li u¿ywane jest kodowanie T1 to LaTeX u¿ywa nowych czcionek EC,
13130 dla których nie ma wersji Type1.
13131 Rozwi±zaniem jest u¿ycie pakietu ae, który emuluje kodowanie T1 u¿ywaj±c
13133 Nale¿y wówczas w preambule dopisaæ
13137 usepackage{ae,aecompl}
13140 Jednak niektórych znaków brakuje w czcionkach CM (np.
13141 eth, thorn) i s± one pobierane z czcionek EC.
13142 Dlatego pobierane s± znaki jako bitmapy.
13145 \begin_layout Standard
13146 Uwaga: LyX u¿ywa domy¶lnie kodowania T1.
13147 Je¶li chcesz stosowaæ domy¶lne kodowanie (co nie jest zalecane chyba ¿e
13148 piszesz tylko w jêzyku angielskim), dodaj wiersz
13152 font_encoding default
13163 \begin_layout Standard
13164 Dla sk³adu w jêzyku polskim zaleca siê stosowaæ kodowanie OT4 oraz pakiet
13178 w³±cza spolonizowane czcionki CM w uk³adzie OT4 zwane
13183 Czcionki PL wystêpuj± równie¿ w wersji obwiedniowej co rozwi±zuje problemy
13184 z Acrobat Readerem.
13191 Alternatyw± jest u¿ycie standardowych czcionek postscriptowych zamiast
13193 Do tego potrzebujesz wybraæ pslatex jako globaln± czcionkê w oknie uk³adu
13195 Gdy u¿ywamy czcionek postsciptowych to pliki PDF s± mniejsze o czcionki
13196 nie do³±czone do pliku.
13197 Ponadto czcionki postscriptowe do³±czaj± wszystkie krzywe T1.
13198 Z drugiej za¶ strony czcionki postscriptowe nie posiadaj± pó³grubych czcionek
13199 symboli i musz± byæ u¿yte pmb (poor man's bold, zobacz
13200 \begin_inset LatexCommand \ref{sec:pdfbold}
13205 Czcionki postscriptowe tak¿e wygl±daj± inaczej z zestawu czcionek CM.
13208 \begin_layout Standard
13209 Podsumowuj±c czcionki postscriptowe i Computer Modern daj± dobre rezultaty
13210 (z kilkoma wyj±tkami).
13211 Decyzja których u¿ywaæ jest kwesti± gustu.
13214 \begin_layout Subsubsection
13215 Jak mogê u¿yæ pdfLaTeX z obrazkami w formacie EPS?
13216 \begin_inset LatexCommand \label{sec:pdfeps}
13223 \begin_layout Standard
13224 PdfLaTeX nie obs³uguje w³±czania plików EPS, ale obs³uguje w³±czanie plików
13226 Je¶li masz dokumenty z w³±czonymi rysunkami EPS, np.
13234 \begin_layout Enumerate
13244 \begin_layout Enumerate
13245 Kiedy wstawiasz rysunek w dokumencie nie podawaj rozszerzenia nazwy pliku:
13246 na przyk³ad, wstawiaj±c plik
13250 wystarczy wpisaæ tylko
13254 w oknie dialogowym.
13257 \begin_layout Standard
13258 Uwaga: W LyX 1.2.0 bêdzie mo¿liwe wstawianie ró¿nych rodzajów rysunków ze
13259 wszystkimi niezbêdnymi transformacjami.
13260 Czê¶ciowo funkcjonalne wstawianie istnieje w wersji 1.1.6, do u¿ycia nale¿y
13263 M-x graphics-insert
13268 \begin_layout Subsubsection
13271 boldsymbol{} nie dzia³a gdy u¿ywam pslatex?
13272 \begin_inset LatexCommand \label{sec:pdfbold}
13279 \begin_layout Standard
13280 Czcionki PostScript nie posiadaj± symboli pó³grubych.
13281 Rozwi±zaniem jest u¿ycie polecenia
13290 \begin_layout Standard
13291 Jest to mo¿liwe przez przedefiniowanie polecenia
13306 \begin_layout LyX-Code
13316 \begin_layout Standard
13320 \begin_layout Subsubsection
13321 Czy jest mo¿liwe zapisanie kodu przetwarzanego tylko przez pdfLaTeX-a?
13324 \begin_layout Standard
13329 \begin_layout LyX-Code
13337 \begin_layout LyX-Code
13347 \begin_layout LyX-Code
13353 \begin_layout LyX-Code
13359 \begin_layout LyX-Code
13365 \begin_layout LyX-Code
13371 \begin_layout LyX-Code
13375 \begin_layout LyX-Code
13381 \begin_layout LyX-Code
13384 pdfinfo { /Author (your name and e-mail address)
13387 \begin_layout LyX-Code
13388 /Title (official title -- i.e., title element)
13391 \begin_layout LyX-Code
13392 /Subject (one line description of the document)
13395 \begin_layout LyX-Code
13399 \begin_layout LyX-Code
13402 pdfcatalog { /PageMode (/UseNone)
13405 \begin_layout LyX-Code
13406 % /OpenAction (fitbh)
13409 \begin_layout LyX-Code
13413 \begin_layout LyX-Code
13416 usepackage[pdftex]{hyperref}
13419 \begin_layout LyX-Code
13425 \begin_layout LyX-Code
13428 usepackage[ps2pdf]{hyperref}
13431 \begin_layout LyX-Code
13437 \begin_layout Subsection
13438 Eksport u¿ytkownika
13441 \begin_layout Standard
13442 Eksport u¿ytkownika jest mo¿liwy je¶li masz dziwny format do którego chcesz
13443 konwertowaæ, zak³adaj±c, ¿e masz odpowiedni konwerter.
13444 Format pliku wej¶ciowego jest podany w dyrektywie
13448 custom_export_format
13451 LyX bêdzie automatycznie konwertowa³ plik do tego miejsca, a wtedy zostanie
13452 on przekazany do Twojego konwertera.
13453 Mo¿liwymi warto¶ciami s±:
13476 \begin_layout Standard
13477 Polecenie wywo³ania konwertera jest podane w dyrektywie
13481 custom_export_command
13484 To powinno byæ kompletne polecenie wiersza poleceñ, które wykorzystuje
13489 do przekazania nazwy pliku g³ównego.
13492 \begin_layout Standard
13493 Mo¿e bêdziesz musia³ trochê poprawiæ podan± sekwencjê, dla zgodno¶ci z twoj±
13497 \begin_layout Standard
13498 Omawiany sposób eksportu ustawia siê w domy¶lnym lokalnym pliku
13503 Gdy wybierzesz polecenie
13508 lik\SpecialChar \menuseparator
13513 ksportuj\SpecialChar \menuseparator
13520 , pojawi siê okno, w którym mo¿na zmieniæ dowoln± warto¶æ.
13523 \begin_layout Section
13525 \begin_inset LatexCommand \label{sec:reLyX}
13532 \begin_layout Subsection
13536 \begin_layout Standard
13537 Najprostszym sposobem u¿ycia reLyX-a jest u¿ycie polecenia
13539 Plik\SpecialChar \menuseparator
13542 (polecenie jest dostêpne w LyX-ie pocz±wszy od wersji 1.0.0).
13543 Polecenie uruchamia reLyX i podaje mu plik wej¶ciowy, a nastêpnie wczytuje
13545 Ten sposób powiniene¶ spróbowaæ jako pierwszy, a korzystaæ z wywo³ania
13546 z wiersza poleceñ tylko, je¶li potrzebujesz bardziej skomplikowanych opcji.
13549 \begin_layout Standard
13599 \begin_layout Standard
13645 \begin_layout Standard
13651 \begin_layout Subsection
13655 \begin_layout Description
13657 Domy¶lnie, gdy reLyX zobaczy polecenie
13663 , tworzy plik klasy ,,foo'' i wczytuje plik uk³adu LyX-a dla tej klasy (zwykle
13664 /usr/share/lyx/layouts/foo.layout lub
13668 /.lyx/layouts/foo.layout).
13673 aby zadeklarowaæ inn± klasê dokumentu (i wczytaæ inny plik uk³adu).
13676 \begin_layout Description
13677 -d Diagnostyka (debug).
13678 Domy¶lnie, reLyX rzadko daje wyj¶cie i usuwa pliki tymczasowe utworzone
13684 utworzy wiele wiêcej informacji wyj¶ciowych (do stdout i stderr) i pozostawia
13688 \begin_layout Description
13690 reLyX nie uruchamia siê je¶li plik .lyx, który ma zostaæ utworzony istnieje.
13691 U¿yj (ostro¿nie) opcji
13695 aby zast±piæ istniej±ce pliki.
13698 \begin_layout Description
13700 Drukuje informacje o sposobie u¿ycia i koñczy pracê.
13703 \begin_layout Description
13704 -o Katalog wyj¶ciowy (output directory).
13705 W przypadku u¿ycia tej opcji, wszystkie pliki tymczasowe i wyj¶ciowe LyX-a
13706 (dla podanego pliku wej¶ciowego lub dla dowolnych plików czê¶ciowych podanych
13711 ) zostan± umieszczone w katalogu
13716 W innym przypadku, dla ka¿dego pliku
13720 , pliki tymczasowe i pliki wyj¶ciowe LyX-a zostan± umieszczone w katalogu
13725 To mo¿e byæ u¿yteczne je¶li w³±czasz pliki z innych katalogów, a które
13726 chcesz umie¶ciæ we wspólnym folderze lub nie masz praw zapisu w ich folderach
13730 \begin_layout Description
13731 -p Plik czê¶ciowy (partial).
13732 Wej¶ciem jest fragment pliku LaTeX-a bez preambu³y lub bez polecenia
13739 Ta opcja wymaga parametru
13743 , poniewa¿ plik ¼ród³owy nie posiada preambu³y z deklaracj± klasy:
13750 Gdy u¿ywasz tej opcji, to mo¿esz konwertowaæ wiêcej ni¿ jeden plik, dopóki
13751 wszystkie pliki s± tej samej klasy.
13752 Pliki LyX-a utworzone przez reLyX mog± byæ do³±czane do istniej±cych plików
13753 LyX-a za pomoc± polecenia
13755 Wstaw\SpecialChar \menuseparator
13761 \begin_layout Description
13762 -r ¦rodowiska regularne (regular environments) (zobacz sekcjê
13767 Je¶li podajesz wiêcej ni¿ jedno ¶rodowisko, to rozdzielaj je przecinkiem
13769 Bêdziesz prawdopodobnie potrzebowa³ listê ¶rodowisk umie¶ciæ w cudzys³owie,
13770 szczególnie gdy umie¶ci³e¶ na li¶cie ¶rodowiska z gwiazdk± (foo*).
13771 Je¶li czêsto u¿ywasz tego parametru, to rozwa¿ utworzenie osobistego pliku
13775 \begin_layout Description
13776 -s Plik sk³adni (syntax file).
13777 Dodatkowe pliki sk³adni (umieszczaj w cudzys³owie, rozdzielaj przecinkiem)
13778 do wczytania (zobacz sekcjê
13782 aby poznaæ szczegó³y).
13785 \begin_layout Subsection
13789 \begin_layout Subsubsection
13793 \begin_layout Standard
13794 reLyX tworzy plik LyX-a
13798 na podstawie pliku LaTeX-a
13802 (je¶li nie podano opcji
13809 \begin_layout Standard
13810 Rozszerzenia plików .tex, .ltx i .latex s± obs³ugiwane.
13815 nie istnieje lub nie posiada ¿adnego z podanych rozszerzeñ, to reLyX próbuje
13820 (zachowuje siê podobnie jak LaTeX.)
13823 \begin_layout Standard
13824 Przeznaczeniem reLyX jest translacja
13828 z LaTeX2e do LyX-a.
13829 Je¶li twój plik LaTeX nie kompiluje siê lub robi dziwne rzeczy, jak przedefinio
13830 wywanie standardowych poleceñ LaTeX -- it may choke.
13831 Pliki LaTeX209 s± konwertowane poprawnie, ale bez gwarancji.
13834 \begin_layout Standard
13835 reLyX ma kilka b³êdów i brak mu kilku funkcji.
13836 Jednak g³ównymi celami s±:
13839 \begin_layout Itemize
13840 Uporaæ siê z plikiem LaTeX2e bez upadku,
13843 \begin_layout Itemize
13844 Translacja wielu takich plików,
13847 \begin_layout Itemize
13848 Lokalizacja czê¶ci, które nie mog± byæ t³umaczone i kopiowanie ich w trybie
13852 \begin_layout Standard
13853 Te g³ówne cele s± osi±gane dla wiêkszo¶ci plików.
13856 \begin_layout Standard
13857 Istnieje wiele ulepszeñ, które mog± byæ i bêd± wprowadzone do reLyX-a w
13859 Jednak, my chcemy korzystaæ z reLyX jak najwcze¶niej, aby u³atwiæ nowym
13860 u¿ytkownikom LyX wczytywanie ich istniej±cych plików LaTeX-a.
13863 \begin_layout Subsubsection
13867 \begin_layout Standard
13868 Tutaj znajduje siê d³u¿szy opis co powiniene¶ zrobiæ, aby skonwertowaæ dokument
13869 LaTeX do dokumentu LyX-a.
13872 \begin_layout Itemize
13877 \begin_layout Standard
13878 reLyX bêdzie informowa³ Ciebie o postêpach i wysy³a³ ostrze¿enia do stderr,
13879 je¶li nie chcesz ¿adnych informacji spróbuj ,,
13881 reLyX foo.tex > /dev/null
13884 Nie powiniene¶ przekierowywaæ standardowego wyj¶cia do
13892 \begin_layout Itemize
13893 Uruchom LyX (wersja 0.12 lub pó¼niejsza) z wynikowym plikiem .lyx.
13897 \begin_layout Standard
13898 Teoretycznie wiêkszo¶æ pliku zostanie przet³umaczona, a je¶li co¶ nie zostanie
13899 przet³umaczone, to zostanie zaznaczone na czerwono (tryb TeX).
13900 Teoretycznie LyX potrafi wczytaæ plik i utworzyæ dokument na jego podstawie,
13901 poniewa¿ wszystkie nieprzet³umaczone rzeczy zostan± wstawione w trybie
13902 all that untranslated red stuff will be passed directly back to LaTeX,
13903 which LyX uses as a backend.
13904 Niestety rzeczywisto¶æ nie zawsze jest odzwierciedla teoriê.
13905 Je¶li reLyX przewraca siê lub LyX nie potrafi wczytaæ utworzonego pliku
13910 gdzie¶ w tym dokumencie lub w pliku
13918 \begin_layout Itemize
13919 Zmieñ pod¶wietlone na czerwono (tryb TeX) rzeczy rêcznie w LyX-ie.
13923 \begin_layout Standard
13924 Jak wspomnia³em powy¿ej, powiniene¶ móc wydrukowaæ plik LyX bez robienia
13926 Jednak zmiany poleceñ z trybu TeX na odpowiednie obiekty LyX-a pozwol±
13927 na bardziej zaawansowan± edycjê w trybie WYSIWYM.
13930 \begin_layout Standard
13931 reLyX nie gwarantuje utworzenia pliku LyX, który utworzy dok³adnie identyczny
13932 wydruk jak z pliku LaTeX, ale powinien byæ zbli¿ony.
13933 reLyX will generally err on the side of translating less to ensure that
13934 dvi or ps files are accurate, even though this leads to more
13935 \begin_inset Quotes eld
13939 \begin_inset Quotes erd
13946 \begin_layout Itemize
13947 Dokonaj KOREKTY dokumentu!
13951 \begin_layout Standard
13952 I'm sure you were planning on doing this anyway, but it's particularly important
13953 after translating a LaTeX document.
13954 reLyX is, at least now, better at
13955 \begin_inset Quotes eld
13959 \begin_inset Quotes erd
13962 (translating the whole document) than
13963 \begin_inset Quotes eld
13967 \begin_inset Quotes erd
13970 (translating every little detail).
13971 For example, you may see extra spaces or deleted spaces.
13972 Space handling has improved, but it's not perfect.
13976 \begin_layout Subsubsection
13977 Co reLyX mo¿e przechwyciæ
13980 \begin_layout Standard
13981 reLyX rozumie wiele poleceñ LaTeX-a.
13982 Zostan± skonwertowane:
13985 \begin_layout Itemize
13986 zwyk³y tekst, w³±czaj±c minipolecenia takie jak: ~, '',
13998 , a tak¿e akcentowane znaki takie jak
14004 i przypadki specjalne ?` i !`
14007 \begin_layout Itemize
14008 polecenia strony tytu³owej takie jak
14039 \begin_layout Itemize
14040 polecenia struktury tekstu takie jak
14046 w³±czaj±c polecenia z gwiazdk± (np.
14056 \begin_layout Itemize
14082 \begin_layout Itemize
14102 Równie¿ zagnie¿d¿one listy
14105 \begin_layout Itemize
14106 polecenia odno¶ników:
14131 \begin_layout Itemize
14145 \begin_layout Itemize
14146 polecenia zmiany czcionki w³±czaj±c
14164 i odpowiednie polecenia do zmiany rodziny, grubo¶ci, odmiany i wielko¶ci
14167 \begin_layout Itemize
14187 Polecenia Plain TeX
14199 '') s± równie¿ obs³ugiwane
14202 \begin_layout Itemize
14207 i jego polecenia takie jak
14228 \begin_layout Itemize
14237 , a tak¿e polecenie
14244 \begin_layout Itemize
14255 , a tak¿e polecenia BibTeX-a
14268 \begin_layout Itemize
14295 \SpecialChar \ldots{}
14299 \begin_layout Itemize
14300 ¶rodowiska specyficzne dla klasy dokumentu (i trochê poleceñ), które mog±
14301 byæ konwertowane do pliku uk³adu LyX-a
14304 \begin_layout Itemize
14305 argumenty pewnych niekonwertowalnych poleceñ (np.
14315 \begin_layout Standard
14316 Niektóre z nich mog± nie byæ jeszcze wspierane w 100%.
14317 Zobacz poni¿ej szczegó³y
14320 \begin_layout Standard
14321 reLyX kopiuje matematykê (prawie) wprost z twojego pliku LaTeX-a.
14322 Szczê¶liwie wczytuje matematykê LaTeX-a (prawie), która jest obs³ugiwana
14323 przez LyX-a i dzia³a ¶wietnie.
14324 Niektóre polecenia matematyczne, które nie s± obs³ugiwane przez LyX-a zostan±
14325 zast±pione ich ekwiwalentami, np.
14332 bêdzie skonwertowane do
14343 aby poznaæ wiêcej szczegó³ów.
14346 \begin_layout Standard
14347 reLyX tak¿e kopiuje polecenia preambu³y (np.
14354 ), so fancy stuff you've got in your preamble should be conserved in dvi
14355 and printed documents, although it will not of course show up in the LyX
14362 ormatowanie\SpecialChar \menuseparator
14368 \begin_layout Subsubsection
14369 Czego reLyX nie mo¿e przechwyciæ -- ale jest OK
14372 \begin_layout Itemize
14380 \begin_layout Itemize
14384 \begin_layout Itemize
14385 polecenia odstêpów (
14406 \begin_layout Itemize
14426 \begin_layout Itemize
14438 reLyX kopiuje je ostro¿nie i
14442 , w³±czaj±c komentarze i bia³e spacje.
14445 \begin_layout Itemize
14447 utworzone przez u¿ytkownika) ¶rodowiska i polecenia
14450 \begin_layout Standard
14451 reLyX kopiuje nieznane polecenia wraz z ich argumentami dos³ownie do pliku
14453 Ponadto, je¶li zobaczy
14459 gdzie nie rozpozna ¶rodowiska ,,foo'', skopiuje dos³ownie a¿ do
14465 (bez u¿ycia parametru
14470 Hopefully, then, most of these unknown commands won't cause reLyX to break;
14471 they'll merely require you to do some editing once you've loaded the file
14473 That should be less painful than editing either the .tex or the .lyx file
14474 using a text editor.
14477 \begin_layout Subsubsection
14478 Co reLyX przechwytuje niepoprawnie -- s± b³êdy
14481 \begin_layout Standard
14482 reLyX jest wzglêdnie nowy i ma kilka problemów.
14483 As it matures, these bugs will be squished.
14484 Listê b³êdów i brakuj±cych cech mo¿na znale¼æ w LyX bug tracker
14485 \begin_inset LatexCommand \url[LyX Bugzilla]{http://bugzilla.lyx.org/}
14492 \begin_layout Standard
14493 If reLyX is choking on something lub LyX nie potrafi wczytaæ go po konwersji
14494 przez reLyX, to najlepsz± rzecz± do zrobienia jest wstawienie poleceñ
14500 przed podejrzany tekst i
14507 Ja nazywam to ,,skip'' blok.
14508 reLyX bêdzie kopiowa³ ten blok dok³adnie w trybie TeX.
14509 Nastêpnie wyedytuj wynikowy plik LyX i przet³umacz nieznane rzeczy rêcznie.
14514 jest magiczne; polecenia
14526 nie bêd± wstawione do pliku LyX.
14529 \begin_layout Itemize
14530 ,,Dok³adne'' kopiowanie nieznanych ¶rodowisk i poleceñ nie jest zupe³nie
14532 Wyszczególniaj±c, komentarze i nowe wiersze mog± zostaæ utracone.
14533 To bêdzie dawaæ z siebie brzydkiego LyX-a, ale w prawie wszystkich przypadkach
14534 wynik bêdzie taki sam.
14535 Mimo to, pewne czê¶ci pliku bêd± kopiowane perfekcyjnie z bia³ymi spacjami
14536 i komentarzami w³±cznie.
14537 W³±czaj±c w to: preambu³ê LaTeX-a, ¶rodowisko
14550 \begin_layout Itemize
14551 reLyX konwertuje tylko kilka opcji polecenia
14557 (Wyszczególniaj±c: 1[012]pt, [letter|legal|executive|a4|a5|b5]paper, [one|two]s
14558 ide, landscape i [one|two]column.) Inne opcje s± umieszczane w polu
14567 ormatowanie\SpecialChar \menuseparator
14578 \begin_layout Standard
14579 Co wa¿niejsze, reLyX nie t³umaczy polecenia
14585 , poleceñ marginesów,
14591 , w rzeczywisto¶ci niczego w preambule.
14592 Po prostu kopiuje je do preambu³y LaTeX w dokumencie LyX-a.
14593 Je¶li masz polecenie marginesu w preambule, to plik LyX-a bêdzie generowa³
14595 jednak te marginesy bêd± zast±pione prze marginesy ustawione w oknie
14607 Tak ¿e powiniene¶ usun±æ te opcje z preambu³y (
14612 ormatowanie-Preambu³a
14614 ) aby siê zabezpieczyæ.
14615 Podobnie dzieje siê z wyborem jêzyka przez babel,
14631 \begin_layout Itemize
14632 Klasa foil ma parê b³êdów.
14633 reLyX may do weird things z opcjonalnymi argumentami polecenia
14646 mo¿e byæ obs³u¿one niepoprawnie (although the stuff in the environment
14647 should translate normally).
14650 \begin_layout Standard
14651 Wiêcej znacz±cych b³êdów mo¿esz znale¼æ w pliku
14658 \begin_layout Standard
14659 reLyX is hopefully rather robust.
14660 Jak wspomnia³em powy¿ej, mo¿e on nie konwertowaæ twojego pliku perfekcyjnie,
14661 ale nie powinien siê przewracaæ.
14662 Je¶li jednak siê przewraca -- i problemem nie jest jednym ze wspomnianych
14663 powy¿ej lub w pliku
14674 \begin_layout Subsubsection
14675 Czego reLyX nie potrafi przechwyciæ
14678 \begin_layout Standard
14679 LyX wewnêtrznie nie obs³uguje paru rzeczy, tak ¿e gdyby reLyX przet³umaczy³
14680 to perfekcyjnie, LyX mia³by problem wczytaæ je.
14681 Je¶li na pewno potrzebujesz tych cech, to mo¿esz po ukoñczeniu pracy nad
14682 dokumentem wyeksportowaæ go do LaTeX-a i wstawiæ je tam z powrotem.
14687 aby poznaæ wiêcej szczegó³ów odno¶nie b³êdów.
14690 \begin_layout Itemize
14691 Dla kilku poleceñ LyX nie obs³uguje argumentów opcjonalnych.
14692 Na przyk³ad zawartych w
14704 (i inne polecenia struktury tekstu) i
14713 reLyX bêdzie automatycznie pomija³ opcjonalne argumenty i wysy³a³ ostrze¿enie
14715 LyX tak¿e ignoruje argument width w ¶rodowisku
14722 \begin_layout Itemize
14723 ¦rodkowanie (lub wyrównanie do lewej lub prawej) dzia³a na pe³nych akapitach.
14726 \begin_layout Itemize
14727 Obs³uga tabel przez LyX-a nie jest perfekcyjna.
14728 Dla skomplikowanych tabel u¿yj bloku ,,skip'', tak ¿e one zostan± skopiowane
14732 \begin_layout Itemize
14733 Edytor wyra¿eñ matematycznych LyX-a nie obs³uguje ¶rodowisk AMS-LaTeX takich
14734 jak align, split itd.
14735 Te ¶rodowiska zostan± skopiowane w trybie TeX.
14736 Mo¿esz zmieniæ ¶rodowisko
14740 do dok³adnego odpowiednika
14744 , a wówczas konwersja bêdzie poprawna.
14747 \begin_layout Subsubsection
14751 \begin_layout Standard
14752 W przysz³o¶ci wiêcej poleceñ i ¶rodowisk bêdzie obs³ugiwanych przez reLyX.
14753 B³êdy zostan± wyeliminowane.
14756 \begin_layout Standard
14757 Zobacz plik TODO dla poznania szczegó³ów.
14760 \begin_layout Subsection
14764 \begin_layout Standard
14768 \begin_inset Quotes eld
14772 \begin_inset Quotes erd
14776 \begin_inset Quotes eld
14780 \begin_inset Quotes erd
14783 foo.tex > foo.debug
14786 \begin_layout Standard
14787 Powy¿sze polecenie utworzy plik
14795 , zastêpuj±c istniej±cy je¶li istnieje.
14805 , skonwertuje zawarto¶æ bloku, ale polecenia
14817 skopiuje w trybie TeX-a.
14818 Koñcz±c, zachowa pliki tymczasowe (znajduj± siê one w
14822 ) i zapisze du¿o informacji diagnostycznych do pliku
14829 \begin_layout Subsection
14833 \begin_layout Subsubsection
14837 \begin_layout Standard
14838 If reLyX is crashing or otherwise acting strangely---in ways other than
14839 those described in the section on
14847 file---then please run reLyX
14852 That will allow you to figure out where in the reLyXing process it crashed.
14853 That, in turn, will allow you to write a better bug report, which will
14854 allow the developers to fix it more quickly and easily.
14857 \begin_layout Standard
14858 Bug reports should be sent to the LyX developers' mailing list.
14859 Its address is currently lyx-devel@lists.lyx.org, but you can check the LyX
14860 home page, http://www.lyx.org if that bounces.
14861 If you are running reLyX on a huge file, please do not send all of the
14862 output in your bug report.
14863 Just include the last ten or twenty lines of output, along with the piece
14864 of the LaTeX file it crashed on.
14865 Or, even better, attach a small but complete file which causes the same
14866 problem as your original file.
14869 \begin_layout Subsubsection
14870 Szczegó³y implementacji
14873 \begin_layout Standard
14874 reLyX wykonuje kilka ,,przebiegów'' w celu konwersji pliku LaTeX-a.
14875 W ka¿dym przebiegu tworzony jest jeden lub dwa pliku.
14878 \begin_layout Description
14879 Przebieg\InsetSpace ~
14883 Zanim zrobi cokolwiek, wczytuje plik (lub pliki) sk³adni .
14886 \begin_layout Description
14887 Przebieg\InsetSpace ~
14891 Oddziela preambu³ê (cokolwiek przed poleceniem
14898 Zapisuje dwie czê¶ci w oddzielnych plikach.
14899 To jest niezbêdne, poniewa¿ w preambule mog± byæ dziwne rzeczy.
14900 Tak¿e ignoruje cokolwiek jest za poleceniem
14906 , zak³adaj±c ¿e to nie jest LaTeX.
14909 \begin_layout Description
14910 Przebieg\InsetSpace ~
14914 Konwertuje preambu³ê.
14915 Aktualnie oznacza to konwersjê polecenia
14921 i dok³adne skopiowanie reszty do preambu³y LyX-e.
14925 \begin_layout Standard
14926 Jak pozna klasê dokumentu, to wczytuje plik uk³adu LyX-a dla tej klasy.
14930 \begin_layout Description
14931 Przebieg\InsetSpace ~
14935 ,,Czy¶ci'' plik TeX, generuj±c nieznacznie dok³adniej LaTeX-a.
14940 \begin_layout Itemize
14941 Zamiana, np: x^2 na ekwiwalent, ale przejrzystszy x^{2}
14944 \begin_layout Itemize
14945 Usuwa opcjonalne argumenty, których LyX nie obs³uguje (np.
14955 \begin_layout Itemize
14969 To jest konieczne, poniewa¿ w innym wypadku LyX zawsze zapisuje jako nielokalne.
14970 This should very rarely make a difference.
14974 \begin_layout Description
14975 Przebieg\InsetSpace ~
14979 Konwertuje tekst LaTeX-a, polecenia i ¶rodowiska do LyX-a.
14982 \begin_layout Description
14983 Przebieg\InsetSpace ~
14987 Sk³ada obie czê¶ci razem i wykonuje some final tweaking, aby utworzyæ
14991 \begin_layout Standard
14992 Je¶li s± jakie¶ polecenia
15004 , reLyX zacznie przetwarzaæ tak¿e do³±czane pliki.
15005 Zak³ada on, ¿e do³±czane pliki s± tej samej klasy co dokument g³ówny i
15006 nie posiadaj± preambu³y.
15007 (Je¶li ma polecenie
15013 w preambule pliku, to polecenia zostan± dok³adnie skopiowane do LaTeX-owej
15014 czê¶ci preambu³y pliku LyX, a do³±czane pliki nie bêd± konwertowane).
15015 Podczas konwersji do³±czonych plików pomijany jest przebieg 0 i 1.
15018 \begin_layout Standard
15019 Je¶li reLyX nie znajdzie plików, które chcia³e¶ do³±czyæ, wy¶le Ci ostrze¿enie
15020 ale bêdzie kontynuowa³ konwersjê pozosta³ych znalezionych plików.
15023 \begin_layout Subsubsection
15027 \begin_layout Standard
15028 reLyX wczytuje plik uk³adu LyX-a aby wiedzieæ jak obs³ugiwaæ ¶rodowiska
15029 LaTeX-a i polecenia, które bêd± konwertowane do uk³adu LyX-a.
15030 Ten plik do³±cza wszystkie ,,normalne'' niematematyczne ¶rodowiska (np.
15031 w³±czaj±c w to quote i itemize, ale nie tabular, minipage i kilka ¶rodowisk
15032 fancy) i polecenia takie jak
15045 je¶li chcesz konwertowaæ reLyX-em klasê, dla której nie istniej plik uk³adu
15046 LyX-a, to bêdziesz musia³ najpierw go utworzyæ.
15047 Tak czy owak bêdziesz musia³ to zrobiæ, z powodu pliku LyX, poniewa¿ zale¿y
15048 on od pliku uk³adu, w którym podany jest sposób jego wy¶wietlania i przetwarzan
15050 Sprawd¼ dokumentacjê LyX-a dla pomocy w tym zadaniu (które mo¿e byæ trudne
15051 lub ³atwe, w zale¿no¶ci od klasy, dla której chcesz utworzyæ plik uk³adu).
15052 je¶li Twoja klasa jest zupe³nie podobna do klasy, dla której istnieje plik
15053 uk³adu, to rozwa¿ u¿ycie opcji
15060 \begin_layout Subsubsection
15064 \begin_layout Standard
15065 reLyX zawsze wczytuje co najmniej jeden plik sk³adni, zwany domy¶lnym plikiem
15067 reLyX wczytuje twój osobisty plik sk³adni je¶li istnieje, je¶li nie istnieje
15068 to wczytuje plik systemowy.
15069 reLyX wczytuje tak¿e dodatkowe pliki sk³adni wyspecyfikowane w opcji
15073 (These extra files should have the same format as the default file, but
15074 will tend to be shorter, since they only have to specify extra commands
15075 not found in the default file).
15076 A syntax file tells reLyX a few things.
15079 \begin_layout Standard
15080 First, it describes the syntax of each command, that is, how many required
15081 arguments and how many optional arguments the command takes.
15082 Knowing this makes it easier for reLyX to copy (in TeX mode) commands that
15083 it doesn't know how to translate.
15084 The syntax file simply has a command, followed by braces or brackets describing
15085 its arguments in the correct order.
15086 For example, a syntax file entry
15098 command takes an optional argument followed by a required one, while the
15111 command takes no arguments at all.
15112 When reLyX encounters a token that it doesn't know how to translate into
15113 LyX, it will copy the token---along with the correct number of arguments---exac
15115 If the token is not in the syntax file, then reLyX just copies as many
15116 arguments as it finds.
15117 This means that it may copy too much.
15118 But since the user can specify additional syntax files, that shouldn't
15122 \begin_layout Standard
15123 Some commands that cannot be translated to LyX, like
15129 , have as one of their arguments regular LaTeX text.
15131 \begin_inset Quotes eld
15135 \begin_inset Quotes erd
15138 is put into an argument of an (untranslatable) command in the syntax file,
15139 then reLyX will translate that argument instead of copying it verbatim.
15140 So, for example, the default syntax file has
15144 raisebox{}[][]{translate}
15147 This means that the
15153 command and the first argument (and optional arguments if they exist) are
15154 copied in TeX mode, but the last argument (which may contain math, complicated
15155 LaTeX, other untranslatable commands, etc.) will be translated into LyX.
15157 \begin_inset Quotes eld
15161 \begin_inset Quotes erd
15164 on optional arguments.
15167 \begin_layout Standard
15168 User-defined syntax files are allowed to define new commands and their syntax,
15169 or override the number of arguments for a command given in the default
15171 (E.g., if you're using a style that gives an extra argument to some command...)
15172 However, this will only be useful for commands copied in TeX mode.
15173 Commands which are actually translated by reLyX (like
15179 ) have their argument syntax hard-coded.
15180 The hard-coded commands are identified in the default syntax file.
15183 \begin_layout Standard
15184 Second, the syntax file describes any
15185 \begin_inset Quotes eld
15188 regular environments
15189 \begin_inset Quotes erd
15193 Usually, an entire unknown environment will be copied in TeX mode.
15194 If you define a regular environment
15195 \begin_inset Quotes eld
15199 \begin_inset Quotes erd
15202 , though, then only the
15214 commands will be copied in TeX mode; the text within the environment will
15215 be treated (i.e., translated) by reLyX as regular LaTeX, rather than being
15216 copied into TeX mode.
15217 Don't try to declare
15225 as regular environments, as the text within those environments will confuse
15226 reLyX; use this capability for new environments you create that have plain
15227 text or math or simple commands in them.
15228 You also can't declare unknown math environments (like
15232 ) as regular environments, either, since the LyX math editor won't understand
15234 The names of regular environments appear, whitespace-separated, between
15246 statements in the syntax file.
15247 (If you have a regular environment which you won't use very often, you
15252 option rather than writing a syntax file.)
15255 \begin_layout Standard
15256 Third, the syntax file describes a math translation table.
15257 The LyX math editor doesn't support a few commands.
15262 is supported, but the equivalent
15269 Put any commands you'd like translate between
15283 \begin_inset Quotes eld
15295 \begin_inset Quotes erd
15304 in math mode will be converted to
15305 \begin_inset Quotes eld
15315 \begin_inset Quotes erd
15318 (in cases where a token made up of a backslash and a non-letter is translated
15319 to something with letters at the end, a space is added by reLyX.
15321 \begin_inset Quotes eld
15331 \begin_inset Quotes erd
15334 is correctly translated to
15335 \begin_inset Quotes eld
15345 \begin_inset Quotes erd
15351 \begin_layout Subsubsection
15355 \begin_layout Standard
15356 Potrzebujesz Perl-a 5.002 lub nowszego do uruchomienia reLyX-a.
15357 Je¶li nie masz Perl-a to powiniene¶ go ¶ci±gn±æ (
15361 \begin_layout Standard
15364 url{http://www.perl.com}
15369 ), poniewa¿ jest rzeczywi¶cie u¿ytecznym narzêdziem do bardzo wielu rzeczy.
15372 \begin_layout Subsection
15376 \begin_layout Standard
15377 reLyX powinien zawsze wyja¶niæ dlaczego nie powiod³o siê t³umaczenie, je¶li
15379 Niektóre komunikaty diagnostyczne mog± byæ bardzo techniczne, je¶li pochodz±
15380 one z wnêtrza kodu.
15381 reLyX daje znacznie wiêcej informacji gdy zostanie uruchomiony z opcj±
15385 , ale nie powiniene¶ tego potrzebowaæ je¶li nic z³ego siê nie zdarzy³o.
15388 \begin_layout Standard
15389 Gdy zakoñczy pracê, reLyX bêdzie Ciê informowa³ o pomy¶lnym zakoñczeniu
15390 lub o b³êdzie, który spowodowa³ przerwanie przetwarzania.
15393 \begin_layout Subsection
15397 \begin_layout Standard
15398 Zawsze zachowaj kopiê oryginalnego pliku LaTeX-a pod inn± nazw± lub w innym
15400 Istnieje kilka sposobów, w których u¿ycie LyX-a prowadzi do nadpisania
15401 oryginalnego pliku LaTeX-a.
15404 \begin_layout Standard
15405 Je¶li importujesz plik foo.tex utworzysz foo.lyx, nastêpnie edytujesz plik
15406 foo.lyx i chcesz ponownie wyeksportowaæ go, to zauwa¿, ¿e zast±pisz oryginalny
15407 plik foo.tex (LyX zapyta ciê czy chcesz zast±piæ go).
15410 \begin_layout Standard
15411 Je¶li ustawi³e¶ zmienn±
15413 use_tempdir na false w swoim pliku lyxrc, wówczas LyX utworzy pliki tymczasowe
15414 w twoim lokalnym katalogu, co oznacza, ¿e Twój oryginalny plik LaTeX mo¿e
15415 zostaæ zast±piony (bez ostrze¿enia ze strony LyX) gdy wykonasz podgl±d
15416 lub wydruk dokumentu LyX-a.
15419 \begin_layout Subsection
15423 \begin_layout Description
15428 /layouts/*.layout \InsetSpace ~
15431 Osobiste pliki uk³adów dokumentów
15434 \begin_layout Description
15439 /reLyX/syntax.default \InsetSpace ~
15442 Osobisty plik sk³adni
15445 \begin_layout Description
15450 /layouts/*.layout \InsetSpace ~
15453 Systemowy pliki uk³adów dokumentów
15456 \begin_layout Description
15461 /reLyX/syntax.default \InsetSpace ~
15464 Systemowy plik sk³adni LaTeX-a
15467 \begin_layout Standard
15472 jest katalogiem instalacyjnym LyX, czêsto /usr/local/share/lyx/.
15477 jest osobistym katalogiem LyX-a, zwykle nazywa siê .lyx/ i znajduje siê
15478 w Twoim katalogu domowym.
15481 \begin_layout Subsection
15485 \begin_layout Standard
15497 \begin_layout Subsection
15501 \begin_layout Standard
15502 Copyright (c) 1998-9 Amir Karger (karger@voth.chem.utah.edu)
15505 \begin_layout Standard
15509 \begin_layout Itemize
15510 John Weiss napisa³ oryginalny CleanTeX pass.
15513 \begin_layout Itemize
15517 \begin_layout Itemize
15523 \begin_layout Itemize
15524 David Suarez de Lis
15527 \begin_layout Standard
15528 Inni wspó³pracownicy:
15531 \begin_layout Itemize
15532 Jean-Marc Lasgouttes worked on the wrapper script and offered lots of bug
15533 reports, advice, and feature suggestions.
15536 \begin_layout Itemize
15538 Alstrup Nielsen i Marc Pavese doradzaj±cy.
15541 \begin_layout Itemize
15542 Ró¿ni cz³onkowie list dyskusyjnych LyX developers' i users' dostarczaj±cy
15543 raporty o b³êdach i sugerowanie nowych cech.
15546 \begin_layout Standard
15547 reLyX u¿ywa zmodyfikowanej wersji Perl-owego parsera TeX -- pakiet Text::TeX
15548 napisanego przez Ilya Zakharevich (ilya@math.ohio-state.edu), dostêpnego
15552 \begin_layout Chapter
15553 Funkcje LyX-a wymagaj±ce zewnêtrznych programów
15556 \begin_layout Section
15557 Zastosowanie LyX-a z SGML-Tools (aka LinuxDoc)
15560 \begin_layout Standard
15566 \begin_layout Subsection
15570 \begin_layout Standard
15571 LinuxDoc jest klas± dokumentu dostêpn± w LyX-ie.
15572 Mo¿esz jej u¿yæ do wydania dokumentu zwanego Standardized General Mark-up
15573 Language (SGML) w specyficznym formacie stosowanym w Linux Documentation
15575 Jest to oczywi¶cie pomoc je¶li wspó³pracujesz przy projekcie.
15576 Mo¿esz u¿yæ formatu SGML z pakietem (
15580 ) skryptów i programów (do tworzenia innych formatów, w³±czaj±c LaTeX, HTML,
15581 zwyk³y tekst, podrêczniki man i \SpecialChar \ldots{}
15583 Zatem mo¿esz preferowaæ u¿ycie tej klasy dokumentu je¶li chcesz pisaæ dokumenty
15584 z mo¿liwo¶ci± ³atwego przenoszenia do innych formatów.
15587 \begin_layout Standard
15588 Klasa LinuxDoc posiada mniej opcji uk³adu ni¿ inne klasy LyX-a.
15589 G³ównie dlatego, ¿e translacja do innego formatu ma wówczas szanse na bardziej
15590 sensownie wykonanie.
15593 \begin_layout Standard
15594 W tej sekcji opisujemy:
15597 \begin_layout Itemize
15598 jak skonfigurowaæ i u¿yæ dokument w LinuxDoc
15601 \begin_layout Itemize
15602 jak u¿ywaæ znaczników LinuxDoc w uk³adzie Twojego dokumentu
15605 \begin_layout Itemize
15606 jak u¿ywaæ pakietu SGML do tworzenia ró¿nych formatów
15609 \begin_layout Itemize
15610 how to sort out some problems.
15613 \begin_layout Subsection
15614 Przygotowanie i u¿ycie dokumentów LinuxDoc
15617 \begin_layout Subsubsection
15621 \begin_layout Standard
15622 Zaczynamy od wyboru klasy LinuxDoc w oknie
15627 ¦rodowisk jest mniej ni¿ w wielu innych klasach.
15628 Mo¿esz je zobaczyæ na rozwijalnej li¶cie po lewej stronie paska narzêdzi.
15629 Jak je u¿ywaæ opisano w\InsetSpace ~
15631 \begin_inset LatexCommand \ref{sec:sgmlparas}
15638 \begin_layout Standard
15643 wpisaæ tytu³ dokumentu, a nastêpnie autora, wybieraj±c dla ka¿dego wpisu
15644 odpowiednie ¶rodowisko.
15645 Je¶li tego nie zrobisz, to pojawi± siê b³êdy przy próbie wydruku.
15646 Mo¿esz wpisaæ datê i streszczenie.
15647 W³a¶ciwy dokument powinien zaczynaæ siê ¶rodowiskiem
15658 \begin_layout Standard
15659 Nastêpnie mo¿esz przygotowaæ dokument jak zwykle korzystaj±c ze ¶rodowisk.
15660 Zobacz sekcjê\InsetSpace ~
15662 \begin_inset LatexCommand \ref{sec:sgmlparas}
15666 z pe³n± ich list± i zastosowaniem.
15669 \begin_layout Subsubsection
15673 \begin_layout Standard
15674 Dokument mo¿esz drukowaæ i zapisywaæ normaln± drog±.
15675 Do u¿ycia innych mo¿liwo¶ci pakietu SGML potrzeba zapisaæ dokument jako
15676 LinuxDoc; to jest format, do którego dokument jest t³umaczony na podstawowy
15683 lik\SpecialChar \menuseparator
15688 ksportuj\SpecialChar \menuseparator
15692 Otrzymasz plik o takiej samej nazwie jak dokument z rozszerzeniem
15697 Zobacz w\InsetSpace ~
15699 \begin_inset LatexCommand \ref{sec:sgmloperate}
15703 jak mo¿na wykorzystaæ ten plik.
15706 \begin_layout Subsection
15707 U¿ycie ¶rodowisk w LinuxDoc
15710 \begin_layout Subsubsection
15711 Struktura dokumentu LinuxDoc
15714 \begin_layout Standard
15715 Istnieje formalna struktura dla LinuxDoc która ogranicza umieszczanie znaczników.
15716 Wszystkie dokumenty sk³adaj± siê z dwóch czê¶ci:
15719 \begin_layout Description
15720 Nag³ówek wszystko co znajduje siê przed znacznikiem pierwszej sekcji.
15721 Mo¿esz wstawiæ tytu³, autora, datê, streszczenie i spis tre¶ci, ale dwa
15722 pierwsze znaczniki s± obowi±zkowe.
15725 \begin_layout Description
15726 Tre¶æ zaczyna siê od pierwszej sekcji.
15727 Dopuszczalne s± wszystkie inne znaczniki.
15730 \begin_layout Subsubsection
15731 ¦rodowiska LinuxDoc
15734 \begin_layout Standard
15735 \begin_inset LatexCommand \label{sec:sgmlparas}
15739 Tutaj znajduje siê lista wszystkich znaczników, które s± dostêpne z menu
15743 \begin_layout Itemize
15748 dzia³a jak opisano w [cross reference]
15751 \begin_layout Itemize
15756 : Pojawia siê w lewym górnym rogu drukowanego dokumentu, nad grub± poziom±
15757 lini±, której nie zobaczysz na ekranie LyX-a.
15760 \begin_layout Itemize
15763 Section, Subsection, Subsubsection, Paragraph
15769 wszystko czego mo¿esz siê spodziewaæ w zwyk³ej kolejno¶ci.
15770 Czy tytularia s± numerowane czy nie mo¿esz ustawiæ w
15772 G³êboko¶ci rozdzia³ów
15776 Formatowanie\SpecialChar \menuseparator
15784 Nie mo¿na korzystaæ z nienumerowanych odpowiedników (
15788 itp.) poniewa¿ nie istniej±.
15791 \begin_layout Itemize
15796 Jak zwykle tworzy numerowane listy ze wciêciem opisu, co opisano w
15798 Podrêczniku U¿ytkownika
15803 \begin_layout Itemize
15808 Wyliczenie podobne jak w innych klasach, zobacz
15810 Podrêcznik U¿ytkownika
15815 \begin_layout Itemize
15822 Podrêczniku U¿ytkownika
15825 Pamiêtaj, ¿e je¶li chcesz aby w tytule opisu by³o wiêcej ni¿ jedno s³owo
15826 to musisz je po³±czyæ twardymi spacjami.
15829 \begin_layout Itemize
15837 \begin_layout Itemize
15840 Code: podobnie jak ¶rodowisko LyX-Code
15843 \begin_layout Itemize
15848 : Twój znak, który pojawi siê na lewo od tytu³u dokumentu pod grub± kresk±.
15851 \begin_layout Itemize
15856 Twój znak, który pojawi siê na lewo od tytu³u dokumentu pod grub± kresk±.
15857 You do not have to make this a date.
15858 Mo¿na wstawiæ dowolny tekst, np.
15862 \begin_layout Itemize
15867 : Tworzy oddzielny akapit po autorze i dacie, przed pierwsz± sekcj±.
15868 Dopuszczalny jest tylko jeden akapit.
15872 \begin_layout Standard
15878 To trzeba sprawdziæ --
15888 \begin_layout Itemize
15897 \begin_layout Standard
15902 Jeszcze tego nie sprawdzi³em --
15912 \begin_layout Subsubsection
15913 Inne cechy dokumentu
15916 \begin_layout Standard
15917 Mo¿esz tak¿e u¿ywaæ menu
15921 do wyboru fontów lub wyró¿nieñ wyrazów.
15922 Tak¿e mo¿esz u¿yæ jak zwykle spis tre¶ci; zobacz odpowiedni± sekcjê w
15924 Podrêczniku U¿ytkownika
15927 Oprócz tego znajdziesz tam trochê funkcji menu, np.
15929 Istniej± drobne w±tpliwo¶ci czy to dzia³a poprawnie
15933 \begin_layout Standard
15938 Again still checking to see whether this is my system
15948 \begin_layout Subsubsection
15952 \begin_layout Standard
15957 mo¿esz znale¼æ dwa polecenia do wstawiania adresów URL.
15958 Je¶li u¿yjesz którego¶ z nich, to zauwa¿ysz kod TeX-a wstawiony do dokumentu
15959 w trzech oddzielnych blokach ze spacjami pomiêdzy nimi.
15963 \begin_layout Quote
15993 \begin_layout Standard
15994 Wstaw pe³ny znacznik HTML pomiêdzy pierwszy i drugi blok.
15996 \begin_inset LatexCommand \url{http://any.address}
16000 lub inny poprawny znacznik taki jak
16001 \begin_inset LatexCommand \url{mailto:me@my.address}
16010 Mo¿esz wstawiæ opis pomiêdzy drugi i trzeci blok.
16011 Ró¿nice pomiêdzy poleceniami:
16014 \begin_layout Itemize
16019 w dokumencie pojawi siê znacznik HTML i opis,
16022 \begin_layout Itemize
16027 w drukowanej wersji pojawi siê tylko opis.
16030 \begin_layout Subsection
16031 U¿ycie skryptu SGML w LinuxDoc
16034 \begin_layout Standard
16035 \begin_inset LatexCommand \label{sec:sgmloperate}
16039 Mo¿esz u¿ywaæ LinuxDoc jako klasy tekstowej bez ¿adnych dodatkowych skryptów
16040 czy programów, ale istnieje niewiele powodów do robienia tego.
16041 Wszystko co bêdziesz u¿ywa³ w dokumencie bêdzie wygl±da³o tak jak
16043 Linux Documentation Project Howto
16049 Do t³umaczenia dokumentu potrzebujesz zainstalowanego pakietu
16051 sgml-tools-1.0.x.tar.gz
16054 \begin_inset Formula $x\geq3$
16057 ) dostêpnego na stronie www SGML-Tools pod adresem
16058 \begin_inset LatexCommand \url{http://pobox.com/~cg/sgmltools}
16065 \begin_layout Standard
16066 Alternatywnie, mo¿esz i¶æ do archiwum
16074 \begin_layout Standard
16075 Note that, at the time of this writing (01/1998), version 1.0.3 of sgml-tools
16076 has not yet been made available at
16086 \begin_inset LatexCommand \url{ftp://sunsite.unc.edu/pub/Linux/utils/text/sgml-tools-1.0.x.tar.gz}
16093 \begin_layout Standard
16096 sgml-tools-1.0.x.tar.gz
16098 zawiera wszystko co potrzebujesz do pisania dokumentów SGML i konwersji
16099 ich przez groff, LaTeX, HTML, GNU info, LyX i RTF\SpecialChar \@.
16103 \begin_layout Standard
16104 Ten pakiet zmieni³ nazwê w styczniu 1997 roku z
16106 linuxdoc-sgml-1.5.tar.gz
16111 \begin_layout Standard
16112 Zainstaluj i u¿ywaj pakiet zgodnie z instrukcj± w nim zawart±.
16113 Wszystko to musi byæ wykonane poza LyX-em, zanim u¿yjesz polecenia
16118 lik\SpecialChar \menuseparator
16123 ksportuj\SpecialChar \menuseparator
16129 \begin_layout Subsection
16130 Rozwi±zywanie problemów LinuxDoc
16133 \begin_layout Standard
16134 Gdy chcesz drukowaæ lub podejrzeæ dokument LinuxDoc wykonywana jest kontrola
16135 znaczników przed uruchomieniem LaTeX.
16136 Some errors are trapped here, especially those concerning the structure
16138 LyX mo¿e tworzyæ komunikaty b³êdów, ale nie zostawia w dokumencie znaczników,
16139 które mo¿na otworzyæ.
16140 Musisz zajrzeæ wprost do pliku aby stwierdziæ co jest nie tak.
16141 Wiêkszo¶æ problemów zdaje siê pochodziæ od opcji, które nie s± w pe³ni
16142 dostêpne w tej klasie dokumentu.
16145 \begin_layout Section
16149 \begin_layout Standard
16155 \begin_layout Subsection
16156 Wysy³anie faksów wprost z LyX-a
16159 \begin_layout Standard
16160 Przede wszystkim musimy wspomnieæ, ¿e LyX potrafi wysy³aæ faksy pod warunkiem,
16161 ¿e masz zainstalowane i dzia³aj±ce oprogramowanie do wysy³ania faksów (np.
16162 HylaFax, efax, mgetty+sendfax, \SpecialChar \ldots{}
16164 LyX pracuje tylko jako graficzny interfejs (front end) do tych programów!
16167 \begin_layout Standard
16168 W zale¿no¶ci od u¿ywanego oprogramowania faksowego musisz ustawiæ kilka
16177 \begin_layout Description
16184 Tutaj nale¿y podaæ polecenie, które ma wywo³aæ LyX aby wys³aæ faks.
16185 Polecenie powinno byæ zdolne przetworzyæ plik PostScript, wytworzony przez
16187 £añcuch polecenia mo¿e zawieraæ nastêpuj±ce zmienne:
16191 \begin_layout Description
16196 zastêpuje nazwê zmiennej ¶rodowiska FAX_SERVER
16199 \begin_layout Description
16204 zastêpuje zawarto¶æ pola komentarz
16207 \begin_layout Description
16212 zastêpuje zawarto¶æ pola Firma
16215 \begin_layout Description
16220 zastêpuje zawarto¶æ pola nazwa
16223 \begin_layout Description
16228 zastêpuje zawarto¶æ pola numer faksu
16231 \begin_layout Description
16236 zastêpuje nazwê pliku, który ma zostaæ wys³any
16240 \begin_layout Paragraph
16244 \begin_layout Standard
16245 Przyjmujemy, ¿e nazwa³e¶ plik ,,
16249 '' i chcia³by¶ wys³aæ go wprost do faksu nie opuszczaj±c LyX-a.
16250 Masz zainstalowane oprogramowanie HylaFax i twoja zmienna ¶rodowiska
16258 '' i poda³e¶ te warto¶ci w oknie faksowania:
16262 \labelwidthstring 00.00.0000
16272 \labelwidthstring 00.00.0000
16282 \labelwidthstring 00.00.0000
16291 \labelwidthstring 00.00.0000
16296 This comment string
16299 \begin_layout Standard
16300 Z podanymi ni¿ej ustawieniami:
16303 \begin_layout LyX-Code
16307 \begin_inset Quotes eld
16310 sendfax -n -h '$$Host' -c '$$Comment'
16313 \begin_layout LyX-Code
16314 -x '$$Enterprise' -d '$$Name'@'$$Phone' '$$FName'
16315 \begin_inset Quotes erd
16321 \begin_layout Standard
16322 zostanie wykonane polecenie:
16325 \begin_layout LyX-Code
16326 sendfax -n -h faxhost.mydomain -c 'This comment string'
16329 \begin_layout LyX-Code
16330 -x 'Startrek' -d 'Someone'@'+39-2-444666'
16333 \begin_layout LyX-Code
16334 <tempfile-path>/newfile.ps
16337 \begin_layout Description
16344 Zawiera nazwê pliku ksi±¿ki telefonicznej, któr± mo¿esz utworzyæ w oknie
16346 Domy¶ln± warto¶ci± jest
16348 $HOME/.lyx/phonebook.
16351 \begin_layout Paragraph
16355 \begin_layout LyX-Code
16358 phone_book myphonebook
16361 \begin_layout Standard
16362 zapisuje i czyta plik ksi±¿ki telefonicznej z pliku
16364 $HOME/.lyx/myphonebook
16367 \begin_layout LyX-Code
16370 phone_book /var/lib/phonebook
16373 \begin_layout Standard
16374 zapisuje i czyta plik ksi±¿ki telefonicznej
16379 \begin_layout Description
16386 W tym miejscu podajesz program, który LyX wywo³a jako zewnêtrzny program
16387 do wys³ania Twojego faksu (np.
16388 tkhylafax), zamiast wbudowanego formularza faksu.
16389 Dopuszczalna jest tylko zmienna
16396 \begin_layout Paragraph
16400 \begin_layout LyX-Code
16404 \begin_inset Quotes eld
16407 tkhylafax '$$Fname'
16408 \begin_inset Quotes erd
16414 \begin_layout Standard
16415 Przy powy¿szych za³o¿eniach zostanie wykonane nastêpuj±ce polecenie:
16418 \begin_layout LyX-Code
16419 tkhylafax <tempfile-path>/newfile.ps
16422 \begin_layout Section
16426 \begin_layout Standard
16432 \begin_layout Subsection
16436 \begin_layout Standard
16441 mo¿esz znale¼æ polecenie
16451 Ta funkcja LyX-a wymaga posiadania zainstalowanego zewnêtrznego programu
16455 i jest wygaszone je¶li go nie posiadasz.
16456 Mo¿esz go pobraæ z archiwów CTAN lub z
16457 \begin_inset LatexCommand \url{http://www.ifi.uio.no/~jensthi/chktex/}
16464 \begin_layout Standard
16469 jest programem napisanym przez sfrustrowanego
16474 , poniewa¿ wiele konstrukcji LaTeX-a czasami jest nieintuicyjnych i ³atwych
16476 Program przetwarzaj±c Twój plik LaTeX-a sprawdza integralno¶æ pliku i zaznacza
16478 W jêzyku technicznym jest to
16485 \begin_layout Standard
16486 Czy CheckTeX jest kontrolerem sk³adni, którego u¿ycie zapewni poprawne pliki
16487 LateX-a? Odpowied¼ jest prosta: Tak jak
16491 nie tylko sprawdza sk³adniê programów w jêzyku C, semantykê, wy³apuje wiele
16492 typowych b³êdów typograficznych.
16497 potrafi wykryæ wiele podstawowych b³êdów, takich jak:
16500 \begin_layout Itemize
16501 Ellipsis detection:
16503 Use \SpecialChar \ldots{}
16507 \begin_layout Itemize
16508 No space in front of/after parenthesis:
16513 \begin_layout Itemize
16514 Enforcement of normal space after common abbreviations:
16518 is too wide spacing.
16521 \begin_layout Itemize
16522 Enforcement of end-of-sentence space when the last sentence ends with a
16526 And this is wrong spacing.
16529 \begin_layout Itemize
16530 Space in front of labels and similar commands:
16532 The label should stick right
16533 up to the text to avoid falling to a wrong page.
16534 \begin_inset LatexCommand \label{sec:chktex}
16542 \begin_layout Standard
16543 This footnote is in danger of falling off to a wrong page
16551 \begin_layout Itemize
16552 Space in front of references, instead of hard spaces:
16554 In you are in bad luck,
16555 the text will break right between the referenced text and reference number,
16558 \begin_inset LatexCommand \ref{sec:chktex}
16565 \begin_layout Itemize
16566 Use of ,,x'' instead of
16567 \begin_inset Formula $\times$
16572 2x2 looks cheap compared to
16573 \begin_inset Formula $2\times2$
16579 \begin_layout Standard
16580 i inne \SpecialChar \ldots{}
16581 To jest nieocenione narzêdzie gdy ,,zakoñczyli¶my'' pracê nad dokumentem.
16582 Przed wydrukowaniem powinni¶my sprawdziæ obligatoryjnie pisowniê i uruchomiæ
16586 \begin_layout Subsection
16590 \begin_layout Standard
16591 Je¶li masz zainstalowany program
16595 , po prostu wybierz z menu polecenie
16600 dycja\SpecialChar \menuseparator
16608 To spowoduje utworzenie pliku LaTeX-a na podstawie Twojego dokumentu, sprawdzen
16613 i wstawienie ,,okienek b³êdów'' do dokumentu z ostrze¿eniami
16617 , je¶li jakie¶ znalaz³.
16618 Ostrze¿enia zostan± umieszczone blisko miejsca wyst±pienia b³êdu, które
16619 mo¿esz szybko odnale¼æ za pomoc± polecenia z menu
16624 awigacja\SpecialChar \menuseparator
16627 lub za pomoc± skótu klawiszowego
16631 w domy¶lnym pliku bind
16636 Okienko b³êdu otwiera siê przez klikniêcie na nim myszk± lub domy¶lnym
16641 albo skrótem z pliku bind
16648 Przeczytaj uwagi i popraw b³êdy je¶li s±.
16649 Je¶li masz k³opoty ze zrozumieniem co oznaczaj± ostrze¿enia, mo¿esz spokojnie
16651 Remember that there is a hidden layer between the document on screen and
16652 the technical details in invoking
16656 , and this gap can make some warnings seem arcane or just right down plain
16660 \begin_layout Standard
16661 This document is an excellent testing bed for the feature, and it should
16662 provide quite a few warnings for you to fiddle with.
16663 Since computers are only so smart, expect most of the warnings to be false
16667 \begin_layout Subsection
16671 \begin_layout Standard
16672 Sometimes, you'll find that
16676 makes more noise than suits your mood.
16677 Then you can choose not to use it, wait until your mood changes, or try
16682 to get better along with you.
16683 Another choice in the most desperate situations is to use
16688 dycja\SpecialChar \menuseparator
16693 suñ wszystkie okienka b³êdów
16695 , which will get rid of all warnings instantly.
16698 \begin_layout Standard
16706 bardzo konfigurowalny i extensible, nie powiniene¶ spodziewaæ siê rozwi±zania
16707 wszystkich problemów przez
16712 Since LyX has to generate a somewhat special LaTeX file to be able to match
16713 the line numbers from
16721 \begin_layout Standard
16722 You can inspect the specific output from
16728 Edit\SpecialChar \menuseparator
16742 to appear correctly.
16743 S± dwie rzeczy, które mo¿esz wykonaæ :
16746 \begin_layout Itemize
16747 Dopasuj polecenia wywo³ania
16755 lub w globalnym pliku konfiguracyjnym instalacji
16759 (zwykle jest to plik
16761 /usr/local/share/chktexrc
16764 Zobacz poni¿ej jak mo¿na w³±czaæ i wy³±czaæ ostrze¿enia w wierszu poleceñ.
16767 \begin_layout Itemize
16768 Wyeksportuj swoj dokument do LaTeX-a za pomoc± polecenia
16773 lik\SpecialChar \menuseparator
16778 ksportuj\SpecialChar \menuseparator
16790 Invoked in this way, it can be a hassle to find the corresponding place
16791 in the document inside LyX, but with a little patience, you should be able
16795 \begin_layout Standard
16796 Poni¿sze komunikaty ostrze¿eñ mog± byæ aktywowane lub wy³±czone za pomoc±
16797 odpowiednich wpisów w dyrektywie
16812 aby wy³±czyæ ostrze¿enie i
16817 Ostrze¿enia napisane kursyw± s± domy¶lnie wy³±czone, przez domy¶lny wpis
16820 chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38
16825 \begin_layout Standard
16826 Notice that you should only use the options that enable and disable warnings,
16827 because LyX relies on some of the other command line parameters to be set
16828 in a specific way to have a chance to communicate with
16835 \begin_layout Enumerate
16839 Command terminated with space.
16842 \begin_layout Enumerate
16845 Non-breaking space (,,
16849 '') should have been used.
16852 \begin_layout Enumerate
16856 You should enclose the previous parenthesis with ,,
16863 \begin_layout Enumerate
16866 Italic correction (,,
16872 '') found in non-italic buffer.
16875 \begin_layout Enumerate
16878 Italic correction (,,
16884 '') found more than once.
16887 \begin_layout Enumerate
16891 No italic correction (,,
16900 \begin_layout Enumerate
16914 \begin_layout Enumerate
16917 Wrong length of dash may have been used.
16920 \begin_layout Enumerate
16928 '' expected, found ,,
16935 \begin_layout Enumerate
16945 \begin_layout Enumerate
16952 '' to achieve an ellipsis.
16955 \begin_layout Enumerate
16958 Inter-word spacing (,,
16964 '') should perhaps be used.
16967 \begin_layout Enumerate
16970 Inter-sentence spacing (,,
16976 '') should perhaps be used.
16979 \begin_layout Enumerate
16982 Could not find argument for command.
16985 \begin_layout Enumerate
16988 No match found for ,,
16995 \begin_layout Enumerate
16998 Math mode still on at end of LaTeX file.
17001 \begin_layout Enumerate
17008 '' doesn't match the number of ,,
17015 \begin_layout Enumerate
17018 You should use either
17026 as an alternative to ,,
17033 \begin_layout Enumerate
17040 '' (ASCII 39) instead of ,,
17047 \begin_layout Enumerate
17050 User-specified pattern found.
17053 \begin_layout Enumerate
17056 This command might not be intended.
17059 \begin_layout Enumerate
17066 \begin_layout Enumerate
17084 \begin_layout Enumerate
17087 Delete this space to maintain correct page references.
17090 \begin_layout Enumerate
17094 You might wish to put this between a pair of ,,
17101 \begin_layout Enumerate
17104 You ought to remove spaces in front of punctuation.
17107 \begin_layout Enumerate
17110 Could not execute LaTeX command.
17113 \begin_layout Enumerate
17122 in front of small punctuation.
17125 \begin_layout Enumerate
17133 may look prettier here.
17136 \begin_layout Enumerate
17140 Multiple spaces detected in output.
17143 \begin_layout Enumerate
17146 This text may be ignored.
17149 \begin_layout Enumerate
17156 to begin quotation, not
17163 \begin_layout Enumerate
17170 to end quotation, not
17177 \begin_layout Enumerate
17183 \begin_layout Enumerate
17186 You should perhaps use ,,
17193 \begin_layout Enumerate
17196 You should put a space in front of/after parenthesis.
17199 \begin_layout Enumerate
17202 You should avoid spaces in front of/after parenthesis.
17205 \begin_layout Enumerate
17209 You should not use punctuation in front of/after quotes.
17212 \begin_layout Enumerate
17215 Double space found.
17218 \begin_layout Enumerate
17221 You should put punctuation outside inner/inside display math mode.
17224 \begin_layout Enumerate
17227 You ought to not use primitive TeX in LaTeX code.
17230 \begin_layout Enumerate
17233 You should remove spaces in front of ,,
17240 \begin_layout Enumerate
17247 '' is normally not followed by ,,
17254 \begin_layout Standard
17255 Mam nadziejê, ¿e w nastêpnych wersjach LyX-a dostarczymy bardziej kompletny
17256 interfejs dla tego narzêdzia (i jego mniejszego kuzyna
17260 ) dla wykorzystania jego pe³nych mo¿liwo¶ci.
17261 But it's not exactly useless as it is now: go try it on one of your existing
17262 documents of a certain length and be surprised.
17265 \begin_layout Section
17266 Kontrola wersji (RCS) w LyX
17269 \begin_layout Standard
17272 Lars Gullik Bjønnes
17275 \begin_layout Subsection
17279 \begin_layout Standard
17280 Moi przyjaciele chcieli u¿yæ LyX-a do projektu grupowego.
17281 Gdy nie znale¼li obs³ugi kontroli wersji ani blokowania plików, porzucili
17283 To na tyle mnie zirytowa³o, ¿e postanowi³em zrobiæ obs³ugê dla RCS (z mo¿liwo¶c
17284 i± obs³ugi CVS i/lub SCCS jako przysz³o¶ciowe ulepszenie).
17285 To ju¿ zosta³o zrobione i teraz LyX obs³uguje najbardziej podstawowe polecenia
17289 \begin_layout Standard
17290 Je¶li potrzebujesz zrobiæ co¶ bardziej wyszukanego to bêdziesz musia³ zrobiæ
17291 to rêcznie w terminalu xterm.
17294 \begin_layout Standard
17295 Zanim zaczniesz u¿ywaæ kontroli wersji w LyX-ie powiniene¶ wpierw przeczytaæ
17304 W tym pliku s± opisane wszystkie podstawowe funkcje RCS.
17305 Powiniene¶ zwróciæ szczególn± uwagê na katalog RCS oraz na plik g³ówny
17309 \begin_layout Standard
17310 W LyX-ie dokonano implementacji dla ostatniej wersji pakietu GNU RCS --
17311 nie gwarantujemy wykonania dla starszych wersji.
17314 \begin_layout Subsection
17315 Polecenia RCS w LyX
17318 \begin_layout Standard
17319 W dalszych sekcjach opisano polecenia RCS obs³ugiwane przez LyX-a.
17320 Mo¿esz je znale¼æ w menu
17325 lik\SpecialChar \menuseparator
17335 \begin_layout Subsubsection
17341 \begin_layout Standard
17342 Je¶li dokument nie jest objêty kontrol± wersji, to wy¶wietlone jest tylko
17344 A je¶li dokument jest objêty kontrol± wersji, to te polecenie jest wy³±czone.
17347 \begin_layout Standard
17348 To polecenie rejestruje dokument w RCS.
17349 Zostaniesz zapytany o pocz±tkowy opis dokumentu.
17350 Dokument jest teraz w trybie TylkoDoOdczytu i aby dokonaæ jego edycji musisz
17356 Dokument objêty kontrol± wersji ma oznaczenie w buforze: [RCS:<version>
17360 \begin_layout Standard
17363 ci -q -u -i -t-"<initial description>" <file-name>
17366 \begin_layout Standard
17371 aby poznaæ parametry wywo³ania polecenia.
17374 \begin_layout Subsubsection
17378 \begin_layout Standard
17379 Gdy skoñczy³e¶ edycjê pliku wprowad¼ zmianê do RCS.
17380 Gdy to zrobisz, zostaniesz zapytany o opis zmian, który zostanie zapisany
17381 w historii dokumentu.
17382 Numer wersji zostanie zwiêkszony, a twoje zmiany dopisane do g³ównego pliku
17384 Dokument jest odblokowany i ustawiony w tryb TylkoDoOdczytu.
17387 \begin_layout Standard
17390 ci -q -u -m"<description>" <file-name>
17393 \begin_layout Subsubsection
17397 \begin_layout Standard
17398 Za pomoc± tego polecenia blokujemy dokument dla siebie i mo¿emy go edytowaæ.
17399 Polecenie ustawia plik w tryb ZapisOdczyt tylko dla Ciebie.
17400 Mo¿esz kontynuowaæ edycjê do czasu, a¿ do wydania polecenia
17405 W wierszu statusowym zaznaczone jest ¿e plik zosta³ zablokowany.
17408 \begin_layout Standard
17411 co -q -l <file-name>
17414 \begin_layout Subsubsection
17415 Wróæ do ostatniej wersji
17418 \begin_layout Standard
17419 Polecenie usuwa wszystkie wprowadzone zmiany do dokumentu od czasu ostatniej
17420 rewizji (zwolnienia).
17421 Zostaniesz przedtem ostrze¿ony.
17424 \begin_layout Standard
17427 co -f -u<version> <file-name>
17430 \begin_layout Subsubsection
17431 Usuñ ostatnio wprowadzone zmiany
17434 \begin_layout Standard
17435 Wynikiem polecenia jest jak gdyby ostatnia rewizja siê nie zdarzy³a.
17436 W dokumencie LyX-a nie s± dokonywane ¿adne zmiany, ale ostatnia wersja
17437 jest usuwana z g³ównego pliku RCS.
17440 \begin_layout Standard
17443 rcs -o<version> <file-name>
17448 \begin_layout Subsubsection
17449 Poka¿ historiê zmian
17452 \begin_layout Standard
17453 Polecenie wy¶wietla pe³n± historiê dokumentu.
17454 Wy¶wietlony zostaje
17463 aby poznaæ wiêcej informacji.
17466 \begin_layout Section
17467 Literate Programming
17470 \begin_layout Standard
17473 Edmar Wienskoski Jr.
17476 (edmar-w-jr@technologist.com)
17479 \begin_layout Subsection
17483 \begin_layout Standard
17484 The main purpose of this documentation is to show you how to use LyX for
17485 literate programming.
17486 Where it is assumed that you are familiar with this programming technique,
17488 \begin_inset Quotes eld
17492 \begin_inset Quotes erd
17496 \begin_inset Quotes eld
17500 \begin_inset Quotes erd
17504 If that is not the case, please follow the web links provided in the following
17506 There is a lot of good documentation out there covering old development
17507 history to the latest tools tips.
17510 \begin_layout Standard
17511 It is also assumed that you are familiar with LyX itself to a point that
17512 you are comfortable changing your
17516 file, and X resources file.
17517 If that is not the case please refer to other LyX documentation to cover
17518 your specific needs.
17521 \begin_layout Subsection
17522 Literate Programming
17525 \begin_layout Standard
17526 From the Literate Programming FAQ :
17529 \begin_layout Quotation
17530 Literate programming is the combination of documentation and source together
17531 in a fashion suited for reading by human beings.
17532 In fact, literate programs should be enjoyable reading, even inviting!
17533 (Sorry Bob, I couldn't resist!) In general, literate programs combine source
17534 and documentation in a single file.
17535 Literate programming tools then parse the file to produce either readable
17536 documentation or compilable source.
17537 The WEB style of literate programming was created by D.E.
17538 Knuth during the development of his TeX typesetting software.
17541 \begin_layout Standard
17542 Another excerpt says:
17545 \begin_layout Quotation
17548 How is literate programming different from verbose commenting?
17551 \begin_layout Quotation
17552 There are three distinguishing characteristics.
17553 In order of importance, they are:
17557 \begin_layout Itemize
17558 flexible order of elaboration
17561 \begin_layout Itemize
17562 automatic support for browsing
17565 \begin_layout Itemize
17566 typeset documentation, especially diagrams and mathematics
17570 \begin_layout Standard
17571 Now that I sparked your curiosity, take a look in the references.
17574 \begin_layout Subsubsection
17578 \begin_layout Standard
17579 The complete Literate Programming FAQ can be found at:
17582 \begin_layout Quote
17583 http://shelob.ce.ttu.edu/daves/faq.html
17586 \begin_layout Standard
17587 The FAQ lists 23 (twenty three !) different literate programming tools.
17588 Where some are specialized or
17589 \begin_inset Quotes eld
17593 \begin_inset Quotes erd
17596 for particular programming languages, while other have general scope.
17601 for my own use for several reasons:
17604 \begin_layout Itemize
17605 It can generate the documentation either in latex or html.
17608 \begin_layout Itemize
17609 It has a open architecture, i.e., it is easy to plug in new filters and to
17610 perform special processing that you may need.
17613 \begin_layout Itemize
17614 There is a good selection of filters available already (the html is one
17618 \begin_layout Itemize
17622 \begin_layout Standard
17623 The Noweb web page can be found at:
17626 \begin_layout Quote
17627 http://www.cs.virginia.edu/~nr/noweb
17630 \begin_layout Standard
17631 Starting from there you can reach many other interesting links and even
17632 some literate program examples.
17635 \begin_layout Subsection
17636 LyX and Literate Programming
17639 \begin_layout Standard
17640 Some changes to LyX were required to enable it to interact with Noweb.
17641 Those changes were rather simple, and were done in a
17642 \begin_inset Quotes eld
17646 \begin_inset Quotes erd
17649 way, i.e., I expect that you will be able to use this new LyX feature with
17650 some other literate programming tool of your choice by just re-configuring
17654 \begin_layout Subsubsection
17655 Generowanie dokumentów i kodu (weaving and tangling)
17658 \begin_layout Paragraph
17659 Wybor klasy dokumentu
17662 \begin_layout Standard
17663 If you have installed Noweb and LyX successfully, whenever you open a new
17664 document or try to change the document class of an existing one, you will
17665 find that there are three new document classes available:
17668 \begin_layout Itemize
17672 \begin_layout Itemize
17676 \begin_layout Itemize
17680 \begin_layout Standard
17681 You must select one of them to create your literate documents from.
17684 \begin_layout Standard
17685 Note that literate documents are not limited to these three classes.
17686 New classes can be generated from other styles like letter or in combination
17687 with other class variations like Article (AMS).
17688 I have limited the choice to these three because I didn't want to clog
17689 the list of options with all possible variations.
17690 If you have special needs that cannot be covered by one of the existing
17691 classes, let me know and I will arrange to insert a new entry, or teach
17696 \begin_layout Standard
17697 It is very simple, it involves the creation of a file with four lines, and
17698 re-running of the auto configuration.
17703 a new set of document classes for it.
17706 \begin_layout Paragraph
17710 \begin_layout Standard
17711 LyX enables you to write code with a layout named
17719 \begin_layout Standard
17720 The equivalent Noweb term is
17721 \begin_inset Quotes eld
17725 \begin_inset Quotes erd
17729 For historical reasons, I got used to the term
17730 \begin_inset Quotes eld
17734 \begin_inset Quotes erd
17737 introduced by other literate tool named Nuweb, which I used for many years
17738 before rendering myself to Noweb.
17746 \begin_layout LyX-Code
17750 \begin_layout LyX-Code
17754 \begin_layout LyX-Code
17758 \begin_layout LyX-Code
17762 \begin_layout LyX-Code
17766 \begin_layout Standard
17767 The problem is that whatever is written in between the << and the
17771 must be taken literally, i.e., LyX should be prevented from making any special
17772 interpretation of what has been written.
17773 For that reason, I defined a new layout named Scrap, that works like a
17774 LaTeX paragraph but has a free spacing capability.
17775 In other words, it is a combination of the LaTeX and the LyX-Code layouts.
17778 \begin_layout Standard
17779 The down side of this
17780 \begin_inset Quotes eld
17784 \begin_inset Quotes erd
17787 is that consecutive paragraphs of code will be spaced with one empty line
17788 in the source code and also in the printed documentation.
17789 Of course I don't want this.
17790 The work around is to enter each line of code within a single Scrap, with
17791 a newline (ctrl-return).
17792 The example above will look like this:
17796 \begin_layout Standard
17797 If you have a printed version of this document you will not see any difference
17798 between the previous example and this one.
17814 \begin_layout Standard
17815 This layout works fine.
17816 The only real inconvenience is that you have to type ctrl-return instead
17821 \begin_layout Standard
17822 It is in my list of
17823 \begin_inset Quotes eld
17827 \begin_inset Quotes erd
17835 e to enter a blank character.
17836 I believe these problems are a small price to pay for the benefits LyX
17837 brings to you for typing, compiling, and debugging your literate program.
17840 \begin_layout Paragraph
17841 Generowanie dokumentacji
17844 \begin_layout Standard
17845 At this point you already have a new document file with a proper document
17846 class, and with some code and text on it.
17847 How do I print it ? The answer is simple, you select ,,Update dvi'' or
17848 ,,Update PostScript'' or ,,View dvi'', etc.
17849 Just like you would do for a plain document.
17850 No special procedure is required.
17853 \begin_layout Standard
17854 To help orientate you, I will now explain what happens inside LyX:
17857 \begin_layout Enumerate
17858 When the ,,Update dvi'' menu option is chosen, a latex file is generated.
17862 \begin_layout Standard
17863 If the document is of any literate class the generated file will be named
17864 with an extension name defined by
17870 , otherwise the file will have the usual
17878 \begin_layout Enumerate
17879 Note that the only difference so far is in the name of the file, no special
17880 processing is required by LyX.
17881 Given that you formatted the code using the Scrap layout that, by itself,
17882 takes care of the business.
17885 \begin_layout Enumerate
17886 If the document is of any literate class LyX will execute:
17890 \begin_layout LyX-Code
17891 \begin_inset Quotes eld
17897 \begin_inset Quotes erd
17911 \begin_layout LyX-Code
17912 \begin_inset Quotes eld
17917 literate_error_filter
17918 \begin_inset Quotes erd
17932 \begin_layout Standard
17933 Otherwise it will just skip this step.
17937 \begin_layout Enumerate
17938 Finally, LaTeX is invoked and the regular post processing continues as in
17942 \begin_layout Standard
17949 is to transform the newly created
17960 \begin_layout Standard
17965 literate_error_filter
17967 command is to help LyX display error boxes when the
17973 reports any errors.
17974 This filter can be a C program, a script, or any thing you want.
17975 Its job is to identify error messages from your literate tool, in our case
17976 Noweb, and convert them to a common format that LyX understands.
17977 A separate document,
17981 , in the examples directory (accessed with the
17985 button in the file popup), has a literate C program that can be used to
17986 parse Noweb error messages.
17987 This scheme introduces one more command for the user to configure, but
17988 has the advantage of
17989 \begin_inset Quotes eld
17993 \begin_inset Quotes erd
17997 Moreover, if you don't bother to set it, you can still use the system,
17998 you just loose the ability to have a nice display and interaction with
17999 the error messages.
18002 \begin_layout Paragraph
18006 \begin_layout Standard
18007 When the ,,Build Program'' File menu option is chosen or the corresponding
18008 button in the toolbar is pressed, a latex file with extension
18014 is generated just like step 1 above.
18021 to generate the code and
18027 to process the compilation error messages, as in step 3 above.
18030 \begin_layout Standard
18031 Note that no special processing is required from LyX.
18034 \begin_layout Standard
18035 Also note that I am assuming that you are familiar with Noweb.
18036 In this case you will know what to do to get an executable file starting
18037 from a noweb file (
18042 It is likely that you will create a makefile for that purpose.
18043 For that reason, after LyX creates the noweb file, it invokes the command
18050 , with a default of
18051 \begin_inset Quotes eld
18055 \begin_inset Quotes erd
18059 In case you want to process your literate file with a script, or some other
18060 program, just insert in your lyxrc file an entry with:
18063 \begin_layout LyX-Code
18067 \begin_inset Quotes eld
18070 my_script my_arguments
18071 \begin_inset Quotes erd
18077 \begin_layout Standard
18088 literate_error_filter
18090 only in that the former will identify error messages from your compiler.
18091 The same example program mentioned before can also parse gcc, or xlc error
18093 If you have a different compiler you may want to change this program or
18095 Again, the same comments from the previous section are valid here: this
18096 is optional, you can skip it if you can afford to loose the LyX error handling
18100 \begin_layout Standard
18101 In summary, the ,,Build Program'' internal function sequence is pretty much
18102 like the ,,Update dvi'' one but involving different commands.
18106 \begin_layout LyX-Code
18107 ,,Update dvi'' -> generate .tex
18110 \begin_layout LyX-Code
18111 -> invoke -> show latex errors
18114 \begin_layout LyX-Code
18120 \begin_layout LyX-Code
18124 \begin_layout LyX-Code
18125 ,,Update dvi'' -> generate same -> invoke
18128 \begin_layout LyX-Code
18129 -> invoke -> show latex errors
18132 \begin_layout LyX-Code
18133 on literate doc file with .nw
18142 \begin_layout LyX-Code
18145 _______ -> show literate errors
18148 \begin_layout LyX-Code
18152 \begin_layout LyX-Code
18153 ,,Build Program'' -> generate same -> invoke
18156 \begin_layout LyX-Code
18157 -> show compilation error
18160 \begin_layout LyX-Code
18161 on literate doc file with .nw
18166 \begin_layout LyX-Code
18170 \begin_layout Subsubsection
18174 \begin_layout Standard
18175 There are five new controls that you can put in your lyxrc file:
18178 \begin_layout Description
18185 specifies which literate tool you are going to use.
18186 During normal LyX configuration, the auto configuration script will try
18187 to find the noweb package for you.
18188 If the search is successful, the default value for this control is set
18193 \begin_layout LyX-Code
18194 noweave -delay -index
18197 \begin_layout Standard
18198 Otherwise the default value is set to
18199 \begin_inset Quotes eld
18203 \begin_inset Quotes erd
18210 \begin_layout Description
18217 specifies the filename extension to be used for literate documents.
18218 Some literate tools requires specific file extension names.
18219 The default is set during configuration as either
18220 \begin_inset Quotes eld
18224 \begin_inset Quotes erd
18228 \begin_inset Quotes eld
18232 \begin_inset Quotes erd
18235 , depending on whether the auto configuration found the noweb package or
18239 \begin_layout Description
18247 \begin_inset Quotes eld
18251 \begin_inset Quotes erd
18255 You need to create a makefile to do the tangling, compilation, etc.
18259 \begin_layout Standard
18260 Another way is to maintain the makefile or building script itself as part
18262 That way every project can be compiled with the same command line:
18265 \begin_layout LyX-Code
18266 notangle -Rbuild-script
18273 \begin_layout Standard
18274 To use this scheme, create a script named
18278 that executes the command above:
18281 \begin_layout LyX-Code
18285 \begin_layout LyX-Code
18286 notangle -Rbuild-script $1 | sh
18289 \begin_layout Standard
18290 Finally set LyX to execute the
18297 \begin_layout LyX-Code
18300 build_command project-build
18303 \begin_layout Standard
18304 Every time you start a new project, define a scrap with name
18308 that will do the compilation for that project.
18309 Whenever you select
18310 \begin_inset Quotes eld
18314 \begin_inset Quotes erd
18317 , LyX will extract that scrap (
18319 notangle -Rbuild-script...
18329 \begin_layout Description
18334 literate_error_filter
18336 defaults to ,,cat''.
18337 If you compile the program given in
18339 Literate_example.lyx
18345 \begin_layout LyX-Code
18348 literate_error_filter
18349 \begin_inset Quotes eld
18353 \begin_inset Quotes erd
18359 \begin_layout Standard
18360 to process Noweb(noweave) error messages
18364 \begin_layout Description
18372 \begin_inset Quotes eld
18376 \begin_inset Quotes erd
18380 If you compile the program given in
18382 Literate_example.lyx
18388 \begin_layout LyX-Code
18392 \begin_inset Quotes eld
18396 \begin_inset Quotes erd
18402 \begin_layout Standard
18403 to process both Noweb(notangle) error messages and gcc error messages.
18407 \begin_layout Subsubsection
18408 Rozszerzenia diagnostyczne
18411 \begin_layout Standard
18412 There is also a new function implemented in the LyX server, the ,,server-goto-fi
18413 le-row'' function, to be used with ddd/gdb or other debugger.
18416 \begin_layout Standard
18417 When debugging code with ddd/gdb, it is possible to invoke a text editor
18418 at the current execution position with a single key stroke.
18419 The default ddd configuration for that is shift-ctrl-V.
18420 It happens that you can define the editor command line invocation in ddd
18421 by accessing the edit\SpecialChar \menuseparator
18422 preferences\SpecialChar \menuseparator
18423 helpers window and changing the ,,Edit
18427 \begin_layout Standard
18428 I take advantage of the new created LyX server function and this ddd feature,
18430 \begin_inset Quotes eld
18434 \begin_inset Quotes erd
18440 \begin_layout Quote
18441 echo "LYXCMD:monitor:server-goto-file-row:@FILE@ @LINE@" >~/.lyxpipe.in
18444 \begin_layout Standard
18445 With this, whenever you are using ddd and find a point in the program that
18446 you want to edit, you just press shift-ctrl-V (in the ddd window), and
18447 ddd you forward this information to LyX through the LyX server and then
18448 the LyX window will show the same file with the cursor at the same position
18449 ddd was pointing to.
18450 No more guessing or long scrolling to locate a point in the program back
18454 \begin_layout Standard
18455 Note however that you must enable the LyX server to get this feature working
18456 (it is disabled by default).
18457 To enable it, insert in your lyxrc file:
18460 \begin_layout Quote
18463 serverpipe "/home/<your home directory>/.lyxpipe"
18466 \begin_layout Standard
18467 Read the LyX server documentation for further information.
18470 \begin_layout Subsubsection
18471 Rozszerzenia paska narzêdzi
18474 \begin_layout Standard
18475 I created six new buttons that can be added to your LyX toolbar.
18476 Five of these buttons are short cuts to layout styles: Standard, Section,
18477 LaTeX, LyX-Code, and Scrap.
18478 I created those because they are the ones I use most and I was tired of
18479 scrolling the layout menu looking for the one I wanted.
18480 The last one is a short cut to the
18481 \begin_inset Quotes eld
18485 \begin_inset Quotes erd
18491 \begin_layout Standard
18492 LyX has a range of buttons that are available for tool bar customization.
18493 In my toolbar I like to combine the six short cuts above with two more:
18495 \begin_inset Quotes eld
18499 \begin_inset Quotes erd
18503 \begin_inset Quotes eld
18507 \begin_inset Quotes erd
18511 Here is how it looks like:
18514 \begin_layout LyX-Code
18520 \begin_layout LyX-Code
18526 \begin_layout LyX-Code
18529 add layout Standard
18532 \begin_layout LyX-Code
18538 \begin_layout LyX-Code
18544 \begin_layout LyX-Code
18547 add layout LyX-Code
18550 \begin_layout LyX-Code
18556 \begin_layout LyX-Code
18562 \begin_layout LyX-Code
18568 \begin_layout LyX-Code
18574 \begin_layout LyX-Code
18580 \begin_layout LyX-Code
18586 \begin_layout LyX-Code
18590 \begin_layout LyX-Code
18594 \begin_layout LyX-Code
18598 \begin_layout LyX-Code
18604 \begin_layout Subsubsection
18605 Dopasowanie kolorów
18608 \begin_layout Standard
18609 There are a number of colors in LyX that can be customized.
18610 For each one there are two ways to do it: either by inserting a line in
18611 your X resource files, or by adding a flag in the LyX command line.
18614 \begin_layout Standard
18615 One of the things that bothers people is the LaTeX font color.
18616 The default color is red, since the scraps uses LaTeX font, and there is
18617 a lot of scraps in literate documents, you may get tired of seeing everything
18622 \begin_layout Itemize
18623 In the X resource file:
18627 \begin_layout Quote
18628 lyx*LatexColor: gold
18632 \begin_layout Itemize
18633 In the command line:
18637 \begin_layout Quote
18638 lyx -LatexColor gold
18642 \begin_layout Standard
18643 The next thing is the visible presence of the newline character in the screen.
18644 You can choose the color of this particular character and make it blend
18646 I recommend you choosing a color that is close to the background but not
18647 equal, that way you still can see it is there, but it is not bothering
18652 \begin_layout Itemize
18653 In the X resource file:
18657 \begin_layout Quote
18658 lyx*BackgroundColor: gray20
18661 \begin_layout Quote
18662 lyx*NewLineColor: gray35
18666 \begin_layout Itemize
18667 In the command line:
18671 \begin_layout Quote
18672 lyx -BackgroundColor gray20 -NewLineColor gray35
18676 \begin_layout Standard
18677 If you don't like a bright clear background burning your eyes all day long,
18678 you can reverse background and foreground colors with this:
18681 \begin_layout Itemize
18682 In the X resource file:
18686 \begin_layout Quote
18691 \begin_layout Itemize
18692 In the command line:
18696 \begin_layout Quote
18701 \begin_layout Standard
18702 The problem with all those color alterations is that you may need to change
18703 other colors as well to ensure that math, inset, etc, are
18704 \begin_inset Quotes eld
18708 \begin_inset Quotes erd
18711 with respect to the rest.
18712 The following is the selection I use in my own X resource file.
18713 It is just a suggestion.
18714 I encourage you to try to find the color set that work best for you.
18717 \begin_layout LyX-Code
18721 \begin_layout LyX-Code
18722 lyx*MathColor: green
18725 \begin_layout LyX-Code
18726 lyx*LatexColor: gold
18729 \begin_layout LyX-Code
18730 lyx*OnOffLineColor: magenta
18733 \begin_layout LyX-Code
18734 lyx*InsetColor: yellow
18737 \begin_layout LyX-Code
18738 lyx*LightedColor: gray50
18741 \begin_layout LyX-Code
18742 lyx*NewLineColor: gray35
18745 \begin_layout LyX-Code
18746 lyx*BackgroundColor: gray20
18749 \begin_layout Chapter
18753 \begin_layout Standard
18754 Mimo ¿e LyX jest silnym narzêdziem, to nie mo¿na mieæ nadziei na obs³ugê
18755 wszystkiego co zosta³o zrobione dla TeX-a/LaTeX-a.
18756 Jednak wiele tricków TeX-a i LaTeX-a mo¿e byæ wykonane w LyX-ie, je¶li
18757 nie obawiasz siê u¿yæ przycisku ,,TeX'' z paska narzêdzi lub dokonywaæ
18758 wpisów w preambule LaTeX-a (w menu
18763 k³ad\SpecialChar \menuseparator
18777 \begin_layout Standard
18778 W tym rozdziale opisano kilka sposobów i pomys³ów, aby Twoje dokumenty by³y
18779 trochê sprytniejsze.
18780 Wypróbuj je w domu i zacznij od czego¶ ma³ego i mniej wa¿nego.
18783 \begin_layout Standard
18784 Wiêkszo¶æ pomys³ów tego rozdzia³u wymaga mniej podstawowych plików w Twojej
18785 instalacji LaTeX-a.
18786 Je¶li masz system taki jak teTeX, wiêkszo¶æ bêdzie ju¿ dostêpnych.
18787 Kilka jednak bêdzie trzeba ¶ci±gn±æ z archiwów CTAN.
18788 Czêsto istnieje kilka dróg do wykonania tego samego lub kilka plików stylów
18789 LaTeX-a które robi± te same rzeczy.
18790 Nie chcemy przedk³adaæ jednego pakietu nad inne, po prostu chcemy wykonaæ
18791 okre¶lone zadanie za pomoc± okre¶lonego pliku.
18794 \begin_layout Section
18795 Triki w przypisach i marginaliach
18798 \begin_layout Standard
18804 \begin_layout Subsection
18808 \begin_layout Standard
18809 LyX jeszcze nie potrafi ustawiæ numeracji przypisów z powrotem od 1 po ka¿dej
18810 sekcji w klasie dokumentu ,,article'' lub zmianie stylu licznika.
18811 Aby to osi±gn±æ bêdziesz potrzebowa³ nastêpuj±cych poleceñ LaTeX-a:
18814 \begin_layout Standard
18818 \begin_layout Standard
18821 setcounter{footnote}{0}
18830 setcounter{footnote}{0}
18832 ustawi licznik z powrotem na 1
18836 \begin_layout Standard
18837 Licznik zosta³ ustawiony na 1.
18845 \begin_layout Standard
18846 Nastêpuj±ce polecenie zmienia numeracjê przypisów na numerowanie ma³ymi
18848 Zobacz w podgl±dzie jak to wygl±da.
18851 \begin_layout Standard
18855 \begin_layout Standard
18871 \begin_layout Standard
18872 To jest przyk³ad przypisu numerowanego alfabetycznie.
18889 Nastêpne polecenie ustawia styl licznika z powrotem na domy¶lny, np.
18900 \begin_layout Standard
18916 \begin_layout Standard
18927 aby przywróciæ styl licznika na domy¶lny -- numeryczny
18937 \begin_layout Standard
18968 i innych stylów liczników.
18971 \begin_layout Subsection
18975 \begin_layout Standard
18976 Tutaj znajduj± siê dwa przyk³ady jak wstawiæ marginalia przy u¿yciu poleceñ
18980 \begin_layout Standard
18981 Nastêpuj±ce polecenie utworzy poziom± liniê pojawiaj±c± obok tekstu:
18984 \begin_layout Standard
18991 rule[-10mm]{30mm}{5mm}}
18997 \begin_layout Standard
19002 rule[-10mm]{30mm}{5mm}}
19010 \begin_layout Standard
19011 Zobacz na wydruku co robi nastêpuj±ce polecenie.
19014 \begin_layout Standard
19018 \begin_layout Standard
19026 Right -- wstawi notkê marginesow± na ,,z³ej'' stronie dwustronnego dokumentu.
19027 \begin_inset Marginal
19030 \begin_layout Standard
19037 \begin_layout Standard
19053 \begin_layout Section
19054 Sk³ad wieloszpaltowy
19057 \begin_layout Standard
19063 \begin_layout Subsection
19067 \begin_layout Standard
19072 \begin_layout Standard
19073 Przypis edytora: Oryginalny rozdzia³ Lars'a by³ pe³nym opisem zastosowania
19079 jednak by³ on zbyt d³ugi do w³±czenia go do tego dokumentu.
19080 Dlatego wybra³em najwa¿niejsze tematy (przepraszam Lars); mo¿esz przeczytaæ
19081 oryginalny rozdzia³ w przyk³adowym pliku
19083 examples/multicol.lyx
19091 jest przedstawienie jak mo¿na u¿yæ LaTeX-owy pakiet
19095 w dokumencie LyX-a.
19098 \begin_layout Standard
19099 LyX jako taki jeszcze nie obs³uguje pakietu
19103 natywnie, ale mamy na to swój sposób.
19104 Po przeczytaniu tej sekcji powiniene¶ umieæ go wykorzystaæ.
19107 \begin_layout Subsection
19111 \begin_layout Standard
19116 pozwala na prze³±czanie pomiêdzy jedn± a wieloma szpaltami na jednej stronie.
19117 Przypisy s± obs³ugiwane poprawnie (w wiêkszej czê¶ci), ale zostan± umieszczone
19118 u do³u strony i nie pod odpowiedni± kolumn±.
19119 LaTeX-owy mechanizm wstawek jest czê¶ciowo zablokowany w aktualnej implementacj
19121 Od tego momentu tylko wstawki o szeroko¶ci strony mog± byæ u¿ywane wewn±trz
19122 wspomnianego ¶rodowiska.
19125 \begin_layout Subsection
19129 \begin_layout Subsubsection
19133 \begin_layout Standard
19134 Je¶li chcesz mieæ dwie szpalty w tek¶cie, u trybie LaTeX-a wstaw polecenie
19138 begin{multicols}{2}
19140 w miejscu, od którego chcesz zacz±æ dwie szpalty i wstaw polecenie
19146 w miejscu, gdzie chcesz je zakoñczyæ.
19150 \begin_layout Standard
19154 \begin_layout Standard
19157 begin{multicols}{2}
19165 \begin_layout Standard
19170 The Adventure of the Empty House
19176 Sir Arthur Conan Doyle
19179 \begin_layout Standard
19182 It was in the spring of the year 1894 that all London was interested, and
19183 the fashionable world dismayed, by the murder of the Honourable Ronald
19184 Adair under most unusual and inexplicable circumstances.
19185 The public has already learned those particulars of the crime which came
19186 out in the police investigation, but a good deal was suppressed upon that
19187 occasion, since the case for the prosecution was so overwhelmingly strong
19188 that it was not necessary to bring forward all the facts.
19189 Only now, at the end of nearly ten years, am I allowed to supply those
19190 missing links which make up the whole of that remarkable chain.
19191 The crime was of interest in itself, but that interest was as nothing to
19192 me compared to the inconceivable sequel, which afforded me the greatest
19193 shock and surprise of any event in my adventurous life.
19197 \begin_layout Standard
19200 Even now, after this long interval, I find myself thrilling as I think of
19201 it, and feeling once more that sudden flood of joy, amazement, and incredulity
19202 which utterly submerged my mind.
19203 Let me say to that public, which has shown some interest in those glimpses
19204 which I have occasionally given them of the thoughts and actions of a very
19205 remarkable man, that they are not to blame me if I have not shared my knowledge
19206 with them, for I should have considered it my first duty to do so, had
19207 I not been barred by a positive prohibition from his own lips, which was
19208 only withdrawn upon the third of last month.
19211 \begin_layout Standard
19215 \begin_layout Standard
19226 \begin_layout Subsubsection
19227 Uk³ad wieloszpaltowy
19230 \begin_layout Standard
19231 Ten sam przepis jest u¿ywany gdy chcesz utworzyæ wiêcej ni¿ dwie szpalty:
19234 \begin_layout Standard
19238 \begin_layout Standard
19241 begin{multicols}{3}
19249 \begin_layout Standard
19252 It can be imagined that my close intimacy with Sherlock Holmes had interested
19253 me deeply in crime, and that after his disappearance I never failed to
19254 read with care the various problems which came before the public.
19255 And I even attempted, more than once, for my own private satisfaction,
19256 to employ his methods in their solution, though with indifferent success.
19257 There was none, however, which appealed to me like this tragedy of Ronald
19259 As I read the evidence at the inquest, which led up to a verdict of willful
19260 murder against some person or persons unknown, I realized more clearly
19261 than I had ever done the loss which the community had sustained by the
19262 death of Sherlock Holmes.
19263 There were points about this strange business which would, I was sure,
19264 have specially appealed to him, and the efforts of the police would have
19265 been supplemented, or more probably anticipated, by the trained observation
19266 and the alert mind of the first criminal agent in Europe.
19267 All day, as I drove upon my round, I turned over the case in my mind and
19268 found no explanation which appeared to me to be adequate.
19269 At the risk of telling a twice-told tale, I will recapitulate the facts
19270 as they were known to the public at the conclusion of the inquest.
19273 \begin_layout Standard
19277 \begin_layout Standard
19288 \begin_layout Standard
19289 Mo¿esz mieæ wiêcej ni¿ trzy szpalty je¶li chcesz, ale to nie bêdzie przyjemne
19293 \begin_layout Subsubsection
19294 Szpalty wewn±trz szpalty
19297 \begin_layout Standard
19298 Mo¿esz umie¶ciæ szpalty wewn±trz szpalty:
19301 \begin_layout Standard
19305 \begin_layout Standard
19308 begin{multicols}{2}
19316 \begin_layout Standard
19319 The Honourable Ronald Adair was the second son of the Earl of Maynooth,
19320 at that time governor of one of the Australian colonies.
19321 Adair's mother had returned from Australia to undergo the operation for
19322 cataract, and she, her son Ronald, and her daughter Hilda were living together
19326 \begin_layout Standard
19330 \begin_layout Standard
19333 begin{multicols}{2}
19341 \begin_layout Standard
19344 The youth moved in the best society--had, so far as was known, no enemies
19345 and no particular vices.
19346 He had been engaged to Miss Edith Woodley, of Carstairs, but the engagement
19347 had been broken off by mutual consent some months before, and there was
19348 no sign that it had left any very profound feeling behind it.
19349 For the rest {sic} the man's life moved in a narrow and conventional circle,
19350 for his habits were quiet and his nature unemotional.
19354 \begin_layout Standard
19358 \begin_layout Standard
19369 \begin_layout Standard
19372 Yet it was upon this easy-going young aristocrat that death came, in most
19373 strange and unexpected form, between the hours of ten and eleven-twenty
19374 on the night of March 30, 1894.
19377 \begin_layout Standard
19380 Ronald Adair was fond of cards--playing continually, but never for such
19381 stakes as would hurt him.
19382 He was a member of the Baldwin, the Cavendish, and the Bagatelle card clubs.
19383 It was shown that, after dinner on the day of his death, he had played
19384 a rubber of whist at the latter club.
19385 He had also played there in the afternoon.The evidence of those who had
19386 played with him-- Mr.
19387 Murray, Sir John Hardy, and Colonel Moran--showed that the game was whist,
19388 and that there was a fairly equal fall of the cards.
19389 Adair might have lost five pounds, but not more.
19390 His fortune was a considerable one, and such a loss could not in any way
19392 He had played nearly every day at one club or other, but he was a cautious
19393 player, and usually rose a winner.
19394 It came out in evidence that, in partnership with Colonel Moran, he had
19395 actually won as much as four hundred and twenty pounds in a sitting, some
19396 weeks before, from Godfrey Milner and Lord Balmoral.
19397 So much for his recent history as it came out at the inquest.
19400 \begin_layout Standard
19404 \begin_layout Standard
19415 \begin_layout Standard
19416 Proszê przeczytaæ plik
19418 examples/multicol.lyx
19420 dla poznania bardziej zaawansowanych przyk³adów w³±czania odstêpów pomiêdzy
19421 szpaltami i nag³ówkiem, pionowych linii separuj±cych i innych.
19424 \begin_layout Section
19425 Numeracja w ¶rodowisku wyliczenia akapitów
19428 \begin_layout Standard
19434 \begin_layout Standard
19435 \begin_inset VSpace bigskip
19441 \begin_layout Standard
19442 Domy¶lna numeracja akapitów w ¶rodowisku wyliczenia zaczyna siê od cyfr
19443 arabskich, a koñczy siê na du¿ych literach alfabetu.
19444 Prawdopodobnie jednak bêdziesz chcia³ inaczej numerowaæ akapity.
19445 Oto przyk³ad jak zmieniæ schemat numeracji:
19448 \begin_layout LyX-Code
19458 \begin_layout LyX-Code
19468 \begin_layout LyX-Code
19478 \begin_layout LyX-Code
19488 \begin_layout Standard
19489 \SpecialChar \ldots{}
19490 który zmienia schemat na nastêpuj±cy: cyfry rzymskie, du¿e litery, cyfry
19491 arabskie i ma³e litery.
19492 Ponadto poprzedni przyk³ad tak¿e dodaje kropkê do numeracji.
19493 Na przyk³ad pierwszy akapit pierwszego poziomu bêdzie oznaczony ,,I.''.
19494 Dla lepszej orientacji opiszemy jak wygl±da numeracja z u¿yciem naszego
19495 schematu: <,,I.'', ,,A.'', ,,1.'', ,,a.)''>.
19498 \begin_layout Standard
19499 Mo¿na zobaczyæ w przyk³adzie, gdzie s± polecenia dla ka¿dego zagnie¿d¿onego
19506 \SpecialChar \ldots{}
19513 , podobnie jak liczniki,
19517 \SpecialChar \ldots{}
19523 Znajduje siê tak¿e piêæ poleceñ ,,drukowania numeru'',
19553 , ka¿dy z nich pobiera jeden licznik jako argument.
19554 Mo¿na dodaæ znaki przed lub po, ale nie ma potrzeby dodawania spacji.
19557 \begin_layout Standard
19558 Mo¿esz rzeczywi¶cie otrzymaæ ozdobny schemat numeracji, na przyk³ad:
19561 \begin_layout LyX-Code
19575 \begin_layout LyX-Code
19587 \begin_layout LyX-Code
19597 \begin_layout LyX-Code
19607 \begin_layout Standard
19608 Otrzymujemy wówczas nastêpuj±c± numeracjê: <,,#A#'', ,,A.1'', ,,a+'', ,,(i)''>.
19611 \begin_layout Section
19612 Przestrzeñ pomiêdzy wierszami tabel
19615 \begin_layout Standard
19621 \begin_layout Standard
19622 \begin_inset VSpace bigskip
19628 \begin_layout Standard
19629 LaTeX pozwala wstawiaæ trochê wolnego miejsca pomiêdzy wierszami tabeli
19630 przez podanie opcjonalnego argumentu koñca wiersza (
19639 Ta metoda nie jest formalnie zaimplementowana w LyX-ie, ale podajemy dwa
19640 drobne tricki do wykonania tego samego zadania.
19643 \begin_layout Standard
19644 Pierwszy sposób jest bardziej formalny, ale bardziej zawik³any.
19645 W preambule nale¿y dodaæ nastêpuj±c± definicjê polecenia:
19648 \begin_layout Standard
19655 extratablespace}[1]{
19660 \begin_layout Standard
19661 To polecenie pobiera pojedynczy argument -- ilo¶æ miejsca, któr± chcesz
19663 Wstaw polecenie w pierwszej kolumnie nastêpnego wiersza gdzie chcia³by¶
19664 aby pojawi³o siê wolne miejsce.
19665 Oto przyk³ad (usun±³em wszystkie ramki u¿ywaj±c
19670 k³ad\SpecialChar \menuseparator
19680 \begin_layout Standard
19681 \begin_inset VSpace 0.3cm
19687 \begin_layout Standard
19689 \begin_inset Tabular
19690 <lyxtabular version="3" rows="4" columns="3">
19692 <column alignment="center" valignment="top" width="0pt">
19693 <column alignment="center" valignment="top" width="0pt">
19694 <column alignment="center" valignment="top" width="0pt">
19696 <cell alignment="center" valignment="top" topline="true" usebox="none">
19699 \begin_layout Standard
19705 <cell alignment="center" valignment="top" topline="true" usebox="none">
19708 \begin_layout Standard
19714 <cell alignment="center" valignment="top" topline="true" usebox="none">
19717 \begin_layout Standard
19725 <cell alignment="center" valignment="top" topline="true" usebox="none">
19728 \begin_layout Standard
19734 <cell alignment="center" valignment="top" topline="true" usebox="none">
19737 \begin_layout Standard
19743 <cell alignment="center" valignment="top" topline="true" usebox="none">
19746 \begin_layout Standard
19754 <cell alignment="center" valignment="top" topline="true" usebox="none">
19757 \begin_layout Standard
19761 \begin_layout Standard
19764 extratablespace{2ex}
19774 <cell alignment="center" valignment="top" topline="true" usebox="none">
19777 \begin_layout Standard
19783 <cell alignment="center" valignment="top" topline="true" usebox="none">
19786 \begin_layout Standard
19794 <cell alignment="center" valignment="top" topline="true" usebox="none">
19797 \begin_layout Standard
19803 <cell alignment="center" valignment="top" topline="true" usebox="none">
19806 \begin_layout Standard
19812 <cell alignment="center" valignment="top" topline="true" usebox="none">
19815 \begin_layout Standard
19829 \begin_layout Standard
19830 \begin_inset VSpace 0.3cm
19836 \begin_layout Standard
19837 Drugi sposób jest szybszy.
19838 Po prostu umie¶æ w odpowiednim wierszu opcjonalny argument koñca wiersza.
19839 ¯adne eleganckie definicje nie s± potrzebne jak w poprzednim przyk³adzie,
19840 ale dodawane bêdzie wiêcej miejsca, poniewa¿ de facto dodawany jest pusty
19841 wiersz plus odstêp.
19842 Je¶li zbyt du¿o jest dodawanego miejsca to u¿yj liczby ujemnej, jak w przyk³adz
19846 \begin_layout Standard
19847 \begin_inset VSpace 0.3cm
19853 \begin_layout Standard
19855 \begin_inset Tabular
19856 <lyxtabular version="3" rows="4" columns="3">
19858 <column alignment="center" valignment="top" width="0pt">
19859 <column alignment="center" valignment="top" width="0pt">
19860 <column alignment="center" valignment="top" width="0pt">
19862 <cell alignment="center" valignment="top" topline="true" usebox="none">
19865 \begin_layout Standard
19871 <cell alignment="center" valignment="top" topline="true" usebox="none">
19874 \begin_layout Standard
19880 <cell alignment="center" valignment="top" topline="true" usebox="none">
19883 \begin_layout Standard
19891 <cell alignment="center" valignment="top" topline="true" usebox="none">
19894 \begin_layout Standard
19900 <cell alignment="center" valignment="top" topline="true" usebox="none">
19903 \begin_layout Standard
19909 <cell alignment="center" valignment="top" topline="true" usebox="none">
19912 \begin_layout Standard
19920 <cell alignment="center" valignment="top" topline="true" usebox="none">
19923 \begin_layout Standard
19927 \begin_layout Standard
19942 <cell alignment="center" valignment="top" topline="true" usebox="none">
19945 \begin_layout Standard
19951 <cell alignment="center" valignment="top" topline="true" usebox="none">
19954 \begin_layout Standard
19962 <cell alignment="center" valignment="top" topline="true" usebox="none">
19965 \begin_layout Standard
19971 <cell alignment="center" valignment="top" topline="true" usebox="none">
19974 \begin_layout Standard
19980 <cell alignment="center" valignment="top" topline="true" usebox="none">
19983 \begin_layout Standard
19997 \begin_layout Standard
19998 \begin_inset VSpace 0.3cm
20004 \begin_layout Standard
20005 To pozwala szybko wykonaæ pracê, ale zdarza siê, ¿e brzydko wygl±da.
20008 \begin_layout Section
20012 \begin_layout Standard
20018 \begin_layout Standard
20019 \begin_inset VSpace bigskip
20025 \begin_layout Standard
20030 \begin_layout Standard
20035 tmpfont}{cmr17 scaled 2500}{
20047 \begin_layout Standard
20052 \begin_layout Standard
20062 i którzy lubi± styl starych ksi±¿ek prawdopodobnie tak¿e lubi± ,,inicja³y''
20063 --- tê wielk± literê rozpoczynaj±c± ka¿dy nowy rozdzia³ czy sekcjê.
20064 Implementacja tego jest prosta (zak³adaj±c, ¿e znasz trochê plain TeX-a!)
20065 ale nie wymaga wiele pracy i powtórzeñ, co mog³e¶ zobaczyæ na pocz±tku
20066 akapitu w brzydkim trybie TeX-a.
20069 \begin_layout Standard
20073 \begin_layout Standard
20078 bigdrop{-1em}{3}{ptmri}{I}+
20083 stnieje oczywi¶cie o wiele ³atwiejsza droga.
20092 ) z archiwum CTAN pozwala na prostsz± metodê uzyskania inicja³ów w dokumencie.
20093 Od jakiego¶ czasu pakiet ten nie jest standardow± czê¶ci± teTeX-a.
20094 Nie mogê go zademonstrowaæ w tym dokumencie ale je¶li skopiujesz ten akapit
20095 do nowego dokumentu, usuniesz ,,
20101 '' oraz znaki plus z kodu TeX-a na pocz±tku akapitu i dodasz do preambu³y
20106 usepackage{dropcaps}
20108 to otrzymasz literê I zapisan± czcionk± Times Roman Italic o wysoko¶ci
20109 trzech wierszy tekstu przesuniêt± o 1 em za margines.
20110 Pierwszym argumentem jest wielko¶æ wciêcia, ujemna warto¶æ powoduje przesuniêci
20111 e inicja³u za margines.
20112 Drugi argument zawiera wysoko¶æ inicja³u, podaje siê j± w wierszach.
20113 Trzeci argument jest nazw± czcionki, czcionki wirtualne posiadaj±ce pliki
20114 tfm powinny dzia³aæ (przebrnij przez katalog
20116 .../texmf/fonts/tfm
20118 aby sprawdziæ mo¿liwo¶ci).
20119 Moim osobistym faworytem jest
20123 , ozdobna czcionka niemiecka specjalnie zaprojektowana do inicja³ów.
20124 Czwartym argumentem jest litera lub litery, które maj± byæ inicja³em.
20127 \begin_layout Standard
20131 \begin_layout Standard
20145 \begin_layout Standard
20148 Aby zobaczyæ wynik pracy pakietu
20152 to nale¿y wykonaæ czynno¶ci podobne jak poprzednio, jedynie w preambule
20157 usepackage{dropping}
20166 tak¿e oferuje polecenie
20172 o identycznej sk³adni jak w pakiecie
20176 , a tak¿e trochê uproszczone polecenie
20182 trzech argumentach.
20183 Pierwszy -- opcjonalny -- okre¶la odleg³o¶æ od lewego marginesu -- domy¶lnie
20185 Drugi zawiera wysoko¶æ inicja³u podawan± w wierszach.
20186 Trzecim argumentem jest litera lub litery, które maj± byæ inicja³em.
20189 \begin_layout Section
20190 Niestandardowe kszta³ty akapitów
20193 \begin_layout Standard
20199 \begin_layout Standard
20200 \begin_inset VSpace bigskip
20206 \begin_layout Standard
20210 \begin_layout Standard
20216 \begin_layout Standard
20220 \begin_layout Standard
20228 \begin_layout Standard
20241 \begin_layout Standard
20246 \begin_layout Standard
20256 \begin_layout Standard
20264 \begin_layout Standard
20272 \begin_layout Standard
20280 \begin_layout Standard
20288 \begin_layout Standard
20296 \begin_layout Standard
20304 \begin_layout Standard
20312 \begin_layout Standard
20320 \begin_layout Standard
20328 \begin_layout Standard
20336 \begin_layout Standard
20344 \begin_layout Standard
20352 \begin_layout Standard
20360 \begin_layout Standard
20368 \begin_layout Standard
20376 \begin_layout Standard
20384 \begin_layout Standard
20392 \begin_layout Standard
20400 \begin_layout Standard
20408 \begin_layout Standard
20416 \begin_layout Standard
20424 \begin_layout Standard
20432 \begin_layout Standard
20440 \begin_layout Standard
20448 \begin_layout Standard
20454 Oto nadszed³ czas, w\InsetSpace ~
20455 którym musimy obaliæ tyraniê prostok±tnych akapitów.
20456 W tej sytuacji, wywo³amy do tego radosne polecenie plain TeX-a
20463 Jak mo¿esz zobaczyæ, w pe³ni dowolny kszta³t mo¿e byæ osi±gniêty przez
20464 odpowiednie ustawienie definicji d³ugo¶ci wiersza.
20465 Ten kszta³t akapitu mo¿e wygl±daæ trochê idiotycznie, chyba ¿e wyobrazimy
20466 sobie sytuacjê tak± jak dok³adnie ustawione inicja³y, oblane tekstem rysunki
20467 o nieregularnym kszta³cie itp.
20468 daj±ce wra¿enie rêcznej pracy.
20471 \begin_layout Standard
20472 \begin_inset VSpace bigskip
20478 \begin_layout Standard
20483 parshape numlines #1indent #1length #2indent #2length \SpecialChar \ldots{}
20490 okre¶la liczbê wierszy tekstu która definiuje akapit.
20491 Je¶li liczba wierszy bêdzie mniejsza od za³o¿onej, to kszta³t zostanie
20493 Je¶li za¶ wierszy bêdzie wiêcej ni¿ za³o¿ono, to kolejne nadmiarowe wiersze
20494 zachowaj± parametry ostatniego definiowanego wiersza.
20503 okre¶laj± odstêp wiersza od lewego marginesu i d³ugo¶æ wiersza mierzone
20505 Kszta³t dotyczy tylko bie¿±cego akapitu, nastêpny akapit jest formatowany
20509 \begin_layout Standard
20513 \begin_layout Standard
20524 \begin_layout Section
20528 \begin_layout Standard
20529 Jak mo¿na zobaczyæ, przyk³ady w tym rozdziale zaczynaj± siê od u¿ytecznych
20531 Nie spodziewam siê aby kto¶ potrzebowa³ kszta³tu akapitu jak ostatnim rozdziale
20532 , ale wa¿ne jest to ¿e mo¿esz zrobiæ prawie wszystko co chcesz w LyX-ie
20533 je¶li bêdziesz mia³ ochotê wyobraziæ sobie jak to zrobiæ w TeX-u i LaTeX-u.
20536 \begin_layout Standard
20537 TeX jest fantastycznym systemem sk³adu i jego mo¿liwo¶ci s± dostêpne dla
20538 Ciebie przez LyX-a wykorzystuj±cego go w tle.
20542 \begin_layout Standard