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
32 \paperpagestyle default
33 \tracking_changes false
41 LyX -- Zaawansowane mo¿liwo¶ci
50 \begin_layout Standard
52 Opiekunem tego pliku jest aktualnie
57 Proszê wysy³aæ komentarze i poprawki b³êdów na podany adres.
70 \begin_layout Standard
72 Opiekunem wersji polskiej tego pliku jest aktualnie
77 Proszê wysy³aæ komentarze i poprawki b³êdów na podany adres.
82 przy wspó³pracy Paw³a Dziekoñskiego
91 \begin_layout Standard
102 \begin_layout Standard
105 \begin_inset LatexCommand \tableofcontents{}
112 \begin_layout Chapter
117 \begin_layout Standard
123 , który w³a¶nie czytasz jest w³a¶ciwie drug± czê¶ci±
125 Podrêcznika U¿ytkownika
128 Powód podzia³u jest prosty:
130 Podrêcznik U¿ytkownika
132 jest ju¿ do¶æ obszerny i zawiera opis wszystkich podstawowych funkcji,
133 które trzeba poznaæ do przygotowania wiêkszo¶ci dokumentów.
136 \begin_layout Standard
138 LyX Team ma d³ugoterminowy cel tworzenia rozszerzeñ LyX-a przez ró¿ne pliki
140 To oznacza, ¿e je¶li chcesz obs³ugiwaæ pakiet LaTeX-a
144 , to mo¿esz utworzyæ plik uk³adu dla tego pakietu bez konieczno¶ci dokonywania
145 samodzielnie zmian w LyX-ie.
146 Ju¿ przyczynili¶my siê do powstania kilku nowych funkcji t± drog±.
147 Ten podrêcznik, to jest miejsce, gdzie wszystko to udokumentowano.
150 \begin_layout Standard
152 Ten podrêcznik dokumentuje tak¿e kilka funkcji specjalnych, jak faksowanie,
153 kontrola wersji, obs³uga SGML-u, które wymagaj± dodatkowego oprogramowania
155 Ostatni rozdzia³ traktuje o narzêdziach i sposobach LaTeX-a, które mo¿na
156 zastosowaæ do wykoñczenia Twoich dokumentów u¿ywaj±c funkcji LaTeX-a.
157 Poza tym LyX jest tylko edytorem WYSIWYM i bêdzie zawsze tylko interfejsem
158 do pewnych funkcji LaTeX-a.
159 Oczywi¶cie, z udokumentowanymi wszystkimi funkcjami.
162 \begin_layout Standard
164 Je¶li nie przeczyta³e¶ jeszcze wprowadzenia, to w³a¶nie czytasz niew³a¶ciwy
166 Wprowadzenie jest pierwszym miejscem, od którego powiniene¶ zacz±æ.
167 Opisuje on notacjê i format wszystkich podrêczników.
168 Powiniene¶ gruntownie zaznajomiæ siê z
170 Podrêcznikiem U¿ytkownika
172 i wszystkimi podstawowymi funkcjami LyX-a.
175 \begin_layout Standard
177 Wiele rozdzia³ów w tym dokumencie jest niezale¿nymi artyku³ami napisanymi
178 przez pojedyncze osoby i s± one odpowiednio zaznaczone.
179 Tymi osobami s± generalnie ci, którzy napisali nowy plik uk³adu (layout)
180 dla nowej klasy dokumentu lub pakietu LaTeX-a, lub zaimplementowali jak±¶
182 Je¶li nie wspomniano o autorze w rozdziale lub sekcji to znaczy, ¿e zosta³
183 napisany przez LyX Documentation Team.
186 \begin_layout Standard
188 Pierwszy rozdzia³ stanowi suplement do narzêdzi edycyjnych LyX-a, nie ujêtych
191 Podrêczniku U¿ytkownika
193 i przeznaczony jest dla bardziej zaawansowanych u¿ytkowników.
196 \begin_layout Standard
198 Wszystkie rozdzia³y tego podrêcznika s± w ró¿nym stopniu, ale jednak, opisuj±
199 wspó³pracê LyX-a i LaTeX-a, pierwszy rozdzia³ opisuje wewnêtrzn± pracê
200 LyX-a, jak prosto LyX tworzy kod LaTeX-a je¶li chcesz.
201 To jest oczywiste dla wielu u¿ytkowników LyX-a.
204 \begin_layout Chapter
209 \begin_layout Section
211 Jak LyX u¿ywa LaTeX-a
214 \begin_layout Standard
217 \begin_inset LatexCommand \label{sec:lyxandlatex}
221 To jest rozdzia³ dla TeX-ników i dla ciekawych LaTeX-a.
222 Wyja¶nimy w nim jak pracuj± LyX i LaTeX tworz±c wynikowe dokumenty do druku.
223 Tylko w tym miejscu i tylko w tym podrêczniku zak³adamy Twoj± znajomo¶æ
227 \begin_layout Standard
229 Od jakiego¶ czasu LyX-a nazywamy ,,WYSIWYM frontendem do LaTeX'', ale to
230 nie jest dalej prawd±.
231 Istniej± równie¿ inne frontendy do LaTeX-a.
232 To s± generalnie edytory potrafi±ce uruchomiæ LaTeX-a i zaznaczaæ b³êdy
242 uruchomiæ LaTeX-a, i równie¿ zaznaczaæ b³êdy, i tak¿e wiele, wiele wiêcej.
243 Dziêki koncepcji WYSIWYM
247 \begin_layout Standard
249 What You See Is What You Mean -- dostajesz to o co Ci chodzi
254 , nie musisz znaæ LaTeX-a aby efektywnie u¿ywaæ LyX-a.
255 LyX posiada tak¿e kilka rozszerzeñ do LaTeX-a
259 \begin_layout Standard
261 The Team did this for parsing/coding reasons.
262 The new macros allow LyX to more easily produce LaTeX code and ensure that
263 the resulting code is correct.
264 Nothing that you, the user, need worry about.
270 Spróbuj kiedy¶ wybraæ polecenie
272 Eksportuj\SpecialChar \menuseparator
282 i spójrz na preambu³ê utworzonego pliku
287 Bêdziesz móg³ zauwa¿yæ ró¿ne nowe makra zdefiniowane specjalnie przez LyX-a
291 \begin_layout Standard
293 Trochê historii: kiedy¶ wszystkie makra znajdowa³y siê w pliku
298 Pewnego dnia The Team zdecydowa³, ¿e utworzone pliki
302 powinny byæ bardziej przeno¶ne.
303 Tak teraz makra s± umieszczone w preambule.
309 Jednak to wszystko dzieje siê prze¼roczy¶cie dla u¿ytkownika.
312 \begin_layout Standard
314 Mamy kilka poleceñ, które automatycznie wywo³uj± LaTeX-a.
318 \begin_layout Itemize
322 Podgl±d\SpecialChar \menuseparator
326 \begin_layout Itemize
330 Podgl±d\SpecialChar \menuseparator
334 \begin_layout Itemize
338 Podgl±d\SpecialChar \menuseparator
339 Aktualizuj\SpecialChar \menuseparator
343 \begin_layout Itemize
347 Podgl±d\SpecialChar \menuseparator
348 Aktualizuj\SpecialChar \menuseparator
352 \begin_layout Itemize
356 Plik\SpecialChar \menuseparator
360 \begin_layout Standard
362 Tylko te polecenia wywo³uj± LaTeX-a je¶li dokument siê zmieni³ od czasu
363 ostatniego uruchomienia LaTeX-a
366 \begin_layout Standard
368 Podczas uruchomienia LaTeX-a podczas edycji pliku, LyX wykonuje nastêpuj±ce
372 \begin_layout Enumerate
378 do LaTeX-a i zapisuje plik z rozszerzeniem
385 \begin_layout Enumerate
387 Uruchamia LaTeX-a z plikiem
391 (byæ mo¿e kilka razy).
394 \begin_layout Enumerate
396 Je¶li s± b³êdy , to zaznacza je w dokumencie.
399 \begin_layout Standard
401 Je¶li uruchamiasz LaTeX-a poleceniem podgl±du
414 Je¶li u¿y³e¶ polecenia podgl±du
425 , LyX wykonuje dwa kroki wiêcej:
428 \begin_layout Itemize
434 do konwersji pliku Dvi do pliku postscriptowego:
438 \begin_layout Itemize
444 , plik wyj¶ciowy ma rozszerzenie
449 \begin_layout Itemize
458 , plik wyj¶ciowy ma rozszerzenie
462 , jak mo¿na by³o siê spodziewaæ.
465 \begin_layout Itemize
471 lub wysy³a plik postscriptowy do drukarki.
474 \begin_layout Section
476 ,,Pomocy! LyX utworzy³ nieczytelny plik
483 \begin_layout Standard
485 U¿ytkownicy LaTeX-a bêd± krzyczeæ to przez ca³± noc, gdy deklaracje LyX-a
486 s± nie do wykorzystania --- oni po prostu nie czytali dokumentacji do LyX-a
491 \begin_layout Standard
497 : I know a certain faculty member who actually did complain to me that LyX
498 doesn't generate LaTeX files.
499 Ain't it funny how, sometimes, faculty are the worst at reading instructions?
507 \begin_layout Standard
509 Nale¿y postawiæ sprawê jasno.
510 LyX produkuje dwa rodzaje plików LaTeX-owych.
511 Jedne s± czytelne dla ludzi.
512 Inne s± czytelne dla LyX-a.
513 Za ka¿dym wywo³aniem LaTeX-a przez LyX-a, tworzy on plik LaTeX-a, który
514 mo¿e byæ ³atwo skanowany w celu poszukiwania b³êdów.
519 nie jest czytelny dla ludzi.
520 Nie próbuj go czytaæ.
521 Je¶li chcesz mieæ plik
525 aby móc wys³aæ go koledze, to wybierz polecenie
527 Eksportuj\SpecialChar \menuseparator
540 \begin_layout Standard
542 Powtórzymy to jeszcze raz, specjalnie dla podkre¶lenia :
546 \begin_layout Standard
549 \begin_inset VSpace 0.23cm
561 móc wys³aæ koledze, to wybierz polecenie
563 Eksportuj\SpecialChar \menuseparator
576 \begin_layout Standard
579 \begin_inset VSpace 0.23cm
586 \begin_layout Section
588 Importowanie plików LaTeX-a do LyX-a
591 \begin_layout Standard
593 Mo¿esz importowaæ pliki LaTeX-a do LyX-a za pomoc± polecenia
598 lik\SpecialChar \menuseparator
599 Importuj\SpecialChar \menuseparator
607 Polecenie wywo³uje skrypt Perl-a o nazwie
611 , który na podstawie pliku
619 i otworzy go w LyX-ie.
620 Je¶li import nie powiedzie siê, mo¿esz spróbowaæ uruchomiæ skrypt
628 \begin_layout Standard
630 Podczas instalacji LyX-a, oddzielny plik wykonywalny o nazwie
634 jest umieszczany w tym samym katalogu z binariami co program
647 wymaga interpretera jêzyka Perl (wersja 5.002 jak to napisano).
652 z odpowiednimi parametrami.
655 \begin_layout Standard
661 t³umaczy wiêkszo¶æ konstrukcji LaTeX-a, ale nie wszystkie.
662 Pozostawi rzeczy, których nie rozumie w trybie TeX, aby¶ po konwersji móg³
663 spojrzeæ na zaznaczony na czerwono tekst i rêcznie go poprawiæ.
666 \begin_layout Standard
672 ma w³asn± sekcjê w podrêczniku
674 Zaawansowane Mo¿liwo¶ci
676 (a tak¿e odpowiednik w postaci Unix-owego mana), któr± powiniene¶ przeczytaæ,
677 aby dowiedzieæ siê czego nie interpretuje
681 , b³êdach (oraz jak sobie z nimi poradziæ) i u¿yciu ró¿nych opcji.
684 \begin_layout Standard
686 Je¶li nie mo¿esz u¿yæ do pracy
690 lub je¶li chcesz wstawiæ trochê kodu LaTeX-a do pliku LyX-a, to zajrzyj
692 \begin_inset LatexCommand \ref{sec:latexcodes}
699 \begin_layout Section
701 Wstawianie poleceñ LaTeX-a do dokumentów LyX-a
704 \begin_layout Standard
707 \begin_inset LatexCommand \label{sec:latexcodes}
711 To jest raczej wa¿ny punkt: mo¿esz zawsze wstawiæ kod LaTeX-a do dowolnego
713 LyX po prostu nie mo¿e i prawdopodobnie nigdy nie bêdzie móg³ wy¶wietliæ
714 wszystkich mo¿liwych konstrukcji LaTeX.
715 Je¶li potrzebujesz wstawiæ polecenie LaTeX-a do dokumentu LyX-a, to u¿yj
716 wstawki ERT, któr± mo¿esz wstawiæ do dokumentu poleceniem
721 staw\SpecialChar \menuseparator
729 Wstawka ERT mo¿e wystêpowaæ w trzech formach:
742 Pierwsze dwie formy s± podobne do innych rozwijalnych wstawek (takich jak
744 wstawka przypisu) i s± wygodne do zaznaczenia poleceñ LaTeX-a.
749 wstawki wy¶wietla jej zawarto¶æ, co jest wygodne dla krótkich fragmentów
755 \begin_layout Standard
764 \begin_layout Standard
766 Mo¿esz prze³±czaæ siê pomiêdzy tymi formami przez klikniêcie prawym klawiszem
768 Uwaga je¶li chcesz wiêcej ni¿ jeden wiersz poleceñ LaTeX-a, to nie mo¿esz
776 \begin_layout Standard
778 Tutaj jest przyk³ad wstawienia poleceñ LaTeX-a w dokumencie LyX-a.
782 \begin_layout LyX-Code
792 This is an example for a minipage environment.
795 can put nearly everything in it, even (non-floating)
838 \begin_layout Standard
840 Wstawka ERT zawieraj±ca powy¿szy tekst jest umieszczona bezpo¶rednio po
842 Je¶li czytasz ten podrêcznik w LyX-ie, to zobaczysz tylko przycisk z czerwonym
844 Czytaj±c drukowan± wersjê tego podrêcznika zobaczysz rezultaty:
847 \begin_layout Standard
853 \begin_layout Standard
859 \begin_layout Standard
865 \begin_layout Standard
866 This is an example for a minipage environment. You can put nearly everything in it, even (non-floating) figures and tables.
869 \begin_layout Standard
875 \begin_layout Standard
879 \begin_layout Standard
885 \begin_layout Standard
891 \begin_layout Standard
897 \begin_layout Standard
901 \begin_layout Standard
907 \begin_layout Standard
913 \begin_layout Standard
919 \begin_layout Standard
930 \begin_layout Standard
932 Ponadto mo¿esz utworzyæ oddzielny plik zawieraj±cy skomplikowan± strukturê
933 LaTeX-a i do³±czyæ go poleceniem
938 staw\SpecialChar \menuseparator
945 (powiniene¶ wybraæ opcjê
953 Zalecamy aby¶ do³±cza³ pliki
962 W innym wypadku bêdziesz mia³ sporo zajêcia z wyszukiwaniem b³êdów\SpecialChar \ldots{}
966 \begin_layout Standard
968 Kilka ostatnich uwag o wyró¿nieniu:
971 \begin_layout Itemize
973 Wewn±trz LyX-a, kod LaTeX-a pojawia siê
980 \begin_layout Itemize
986 sprawdza poprawno¶ci Twojego kodu LaTeX-owego,
989 \begin_layout Itemize
991 Staraj siê nie odkrywaæ ko³a na nowo.
994 \begin_layout Standard
996 Na koniec dwie uwagi.
997 Po pierwsze, LyX posiada niewiele funkcji ca³kowicie wbudowanych ale bêdzie
999 B±d¼ pewien, sprawdzaj±c podrêcznik, ¿e danej funkcji LyX nie posiada zanim
1000 zaczniesz kodowaæ j± w LaTeX-u
1004 \begin_layout Standard
1010 -a: I seem to do this an awful lot.
1011 Sat down and merrily began coding something to print out labels, only to
1012 learn that there were already 2 different LaTeX packages to do this.
1013 Worse yet - I had them already!
1019 Po drugie istnieje wiele pakietów LaTeX-a pocz±wszy od sk³adu etykiet czy
1020 kopert do ³adnych wielostronicowych tabel.
1021 Przejrzyj archiwum CTAN aby poznaæ wiêcej szczegó³ów (zobacz sekcjê
1022 \begin_inset LatexCommand \ref{sec:ctan}
1029 \begin_layout Standard
1031 Je¶li potrzebujesz zrobiæ trochê dzikich i ³adnych rzeczy wewn±trz dokumentu,
1032 b±d¼ pewien swoich konstrukcji korzystaj±c z dobrej ksi±¿ki o LaTeX-u.
1036 \begin_layout Standard
1038 Pewna liczba poleceñ LaTeX-a musi byæ umieszczona przed pocz±tkiem tekstu.
1039 Powinny one zostaæ umieszczone w preambule co opisano w nastêpnej sekcji.
1042 \begin_layout Section
1044 Preambu³a LyX-a i LaTeX-a
1047 \begin_layout Subsection
1052 \begin_layout Standard
1055 \begin_inset LatexCommand \label{sec:preamble}
1059 Je¶li ju¿ znasz LaTeX-a, to nie potrzebujesz tutaj wyja¶nienia do czego
1061 Je¶li nie wiesz, to dajemy Ci kilka porad -- zalecamy aby¶ znów zapozna³
1062 siê z ksi±¿k± o LaTeX-u aby poznaæ wiêcej informacji.
1063 W innym przypadku powiniene¶ czytaæ poni¿sze sekcje, poniewa¿ w nich jest
1064 wyja¶nione co mo¿esz zrobiæ i czego nie musisz zrobiæ w preambule LyX-owego
1068 \begin_layout Standard
1070 Preambu³a LaTeX-a znajduje siê na samym pocz±tku dokumentu
1078 \begin_layout Itemize
1080 deklaracji klasy dokumentu.
1081 LyX ju¿ wykonuje to za Ciebie.
1085 \begin_layout Standard
1087 Je¶li jeste¶ LaTeX-nikiem i masz ju¿ trochê dopasowanych klas dokumentów,
1088 których chcesz u¿ywaæ, to zajrzyj do podrêcznika
1092 aby dowiedzieæ siê jak wykonaæ do nich interfejs.
1093 Nie zapomnij wys³aæ swoich osi±gniêæ do LyX Team-u aby je w³±czyæ do przysz³ych
1097 \begin_layout Itemize
1099 deklaracji u¿ywanych pakietów.
1100 Pakiety LaTeX-a dostarczaj± specjalne polecenia, które s± dostêpne w dokumencie
1101 tylko je¶li zadeklarujemy pakiet w preambule.
1110 wymusza wcinanie wszystkich akapitów.
1111 istniej± pakiety dla etykiet, kopert, marginesów itd.
1114 \begin_layout Itemize
1116 ustawiania liczników, zmiennych, d³ugo¶ci i szeroko¶ci.
1117 Istnieje kilka liczników LaTeX-a i zmiennych, które
1121 byæ ustawione globalnie z poziomu preambu³y, aby uzyskaæ ¿±dany efekt [istniej±
1122 inne zmienne, które mo¿na ustawiaæ tak¿e wewn±trz dokumentu].
1123 Marginesy s± dobrym przyk³adem czego¶ co musi byæ ustawione w preambule.
1124 Innym przyk³adem jest format nalepek na listy.
1125 Mo¿esz ustawiæ je gdziekolwiek, ale najlepszym miejscem do tego jest preambu³a.
1128 \begin_layout Itemize
1130 deklaracji definiowanych przez u¿ytkownika poleceñ [za pomoc± polecenia
1143 ], g³ównie skrótów dla poleceñ LaTeX-a, które wystêpuj± czêsto w tek¶cie
1145 Mimo to preambu³a jest dobrym miejscem na deklaracje poleceñ, które
1149 byæ deklarowane gdziekolwiek indziej [byleby
1153 ich pierwszym u¿yciem w tek¶cie].
1154 To mo¿e byæ u¿yteczne je¶li mamy wiele kodu LaTeX-a w dokumencie, który
1155 normalnie nie powinien siê zdarzyæ.
1158 \begin_layout Standard
1160 LyX dodaje do preambu³y w³asne definicje podczas tworzenia pliku
1165 To czyni dokumenty LaTeX-a utworzone przez LyX-a przeno¶nymi.
1168 \begin_layout Subsection
1173 \begin_layout Standard
1175 Polecenia, które dodaje LyX do preambu³y s± zafiksowane i nie mo¿esz ich
1176 zmieniæ bez samodzielnego patchowania LyX-a.
1177 Mo¿esz jednak dodaæ w³asne rzeczy do preambu³y.
1178 Mo¿esz to zrobiæ na dwa sposoby:
1181 \begin_layout Enumerate
1198 Otworzy siê wówczas okno, w którym mo¿esz wpisaæ swoje polecenia.
1202 \begin_layout Standard
1204 Edytor preambu³y jest prymitywny, nie spodziewaj siê po nim zbyt wiele.
1207 \begin_layout Enumerate
1209 Utwórz w swoim domy¶lnym szablonie dokumentu (zobacz
1210 \begin_inset LatexCommand \ref{sec:setup}
1214 ) odpowiednie wpisy w preambule.
1215 Wówczas tworz±c nowy dokument na jego podstawie preambu³a bêdzie ju¿ wpisana.
1218 \begin_layout Standard
1220 LyX nie dodaje niczego do Twojej czê¶ci preambu³y.
1221 Zanim dodasz deklaracje do preambu³y powiniene¶ upewniæ siê, ¿e nie jest
1222 ju¿ to wykonane przez LyX-a [czy pamiêtasz co mówili¶my o ponownym wynalezieniu
1226 dokonuj poprawnych wpisów w preambule
1228 -- LyX nie sprawdza jej poprawno¶ci.
1231 \begin_layout Subsection
1236 \begin_layout Standard
1238 Tutaj znajduje siê kilka przyk³adów co mo¿na dodaæ do preambu³y:
1241 \begin_layout Subsubsection
1243 Przyk³ad #1: Przesuniêcie strony
1246 \begin_layout Standard
1248 Istniej± dwie zmienne LaTeX-a do sterowania pozycj± strony:
1261 Ich nazwy s± samoobja¶niaj±ce.
1262 Te zmienne s± u¿yteczne je¶li w tej chwili o etykietach.
1263 Czasami rozmiar medium i obszar medium, na którym bêdziesz drukowaæ nie
1265 Wówczas mamy polecenia
1280 \begin_layout Standard
1282 Domy¶ln± warto¶ci± dla
1294 jest 0 pt, czyli strona nie jest przesuniêta.
1297 \begin_layout Standard
1299 Niestety, niektóre sterowniki DVI wydaj± siê zawsze przesuwaæ stronê.
1300 Nie mamy pomys³u dlaczego lub dlaczego Twój administrator nie poprawi³
1302 Je¶li u¿ywasz LyX-a w systemie, którego osobi¶cie nie nadzorujesz, a którego
1303 administrator to ,,doofus'', to polecenia
1315 mog± zaoszczêdziæ Ci dni.
1316 Na przyk³ad Twoje marginesy lewy i górny s± zawsze o pó³ cala zbyt du¿e.
1317 Nale¿y wówczas dodaæ do preambu³y nastêpuj±ce polecenia:
1320 \begin_layout LyX-Code
1329 \begin_layout LyX-Code
1338 \begin_layout Standard
1340 \SpecialChar \ldots{}
1341 a Twoje marginesy bêd± teraz poprawne.
1344 \begin_layout Subsubsection
1346 Przyk³ad #2: Etykiety
1349 \begin_layout Standard
1351 Mówi±c etykiety mamy na my¶li wydruk etykiet z adresami.
1352 Istnieje mi³y pakiet, dostêpny w najbli¿szym Ci archiwum CTAN, do wydruku
1358 Twój system mo¿e nie mieæ go domy¶lnie zainstalowanego -- zostawiamy Ci
1360 Pewnie bêdziesz chcia³ przeczytaæ dokumentacjê pakietu -- my nie zrobimy
1362 Jednak poni¿szym przyk³adem podpowiadamy Ci jak z niego skorzystaæ.
1365 \begin_layout Standard
1367 Po pierwsze wybierz klasê dokumentu
1372 Nastêpnie wpisz do preambu³y nastêpuj±ce deklaracje:
1375 \begin_layout LyX-Code
1382 \begin_layout LyX-Code
1389 \begin_layout LyX-Code
1396 \begin_layout LyX-Code
1403 \begin_layout LyX-Code
1410 \begin_layout LyX-Code
1417 \begin_layout LyX-Code
1424 \begin_layout Standard
1426 Te ustawienia s± odpowiednie dla arkusza etykiet Avery, nr #5360.
1427 Teraz jeste¶ gotów do wydruku etykiet, ale potrzeba jeszcze wstawiæ polecenia
1428 LaTeX umieszczaj±c polecenia
1440 wokó³ ka¿dego tekstu z tre¶ci± etykiety.
1441 Ta i inne funkcje pakietu
1445 s± wyja¶nione w dokumentacji.
1448 \begin_layout Standard
1450 Byæ mo¿e, ¿e kiedy¶, kto¶ napisze plik uk³adu LyX-a do obs³ugi tego pakietu
1452 Byæ mo¿e to bêdziesz Ty.
1455 \begin_layout Subsubsection
1457 Przyk³ad #3: Wciêcie akapitu
1460 \begin_layout Standard
1462 Amerykanie s± wyæwiczeni we wcinaniu pierwszego wiersza
1467 Tak jak wszystkie inne dziwne quirks, wiêkszo¶æ Amerykanów bêdzie wyæ i
1468 jêczeæ dopóki nie bêd± mieli wcinanych pierwszych wierszy we wszystkich
1473 \begin_layout Standard
1479 : To by³o napisane przez Amerykanina -- przeze
1483 ! Tak postrzegam moich rodaków.
1484 Nieprzerwanie ja nie lubiê tego.
1494 \begin_layout Standard
1506 \begin_layout Standard
1508 Oczywi¶cie takie zachowanie nie jest standardem w typografii.
1509 W ksi±¿kach wcinana jest tylko pierwszy wiersz akapitu je¶li ten akapit
1510 wystêpuje po poprzednim akapicie.
1511 Ide± wcinania pierwszego wiersza akapitu jest wyró¿nienie s±siaduj±cych
1513 Je¶li jednak nie ma poprzedniego akapitu, np.
1514 pod rysunkiem lub na pocz±tku rozdzia³u czy sekcji, pierwszy akapit nie
1515 bêdzie wyró¿niony wciêciem.
1518 \begin_layout Standard
1520 Je¶li jeste¶ amerykaninem, to nie przejmuj siê takimi ezoterycznymi rzeczami,
1521 po prostu chcesz mieæ wciêcia! Dodaj to do preambu³y
1525 \begin_layout Standard
1545 automatycznie wcinaj± wszystkie akapity.
1553 \begin_layout LyX-Code
1557 usepackage{indentfirst}
1560 \begin_layout Standard
1562 Je¶li Twoja dystrybucja TeX-a nie jest pod³a, to bêdziesz mia³ ten pakiet
1563 zainstalowany i wszystkie akapity bêd± wcinane tak jak na to zas³uguj±.
1566 \begin_layout Subsubsection
1568 Przyk³ad #4: Ten dokument
1571 \begin_layout Standard
1573 Mo¿esz tak¿e sprawdziæ jak± preambu³ê posiada ten dokument, aby poznaæ jakie
1574 zaawansowane rzeczy mo¿esz zrobiæ.
1575 Ponadto wiêcej przyk³adów co mo¿na wpisaæ do preambu³y znajdziesz w tym
1579 \begin_layout Section
1581 B³êdy LyX-a i LaTeX-a
1584 \begin_layout Standard
1586 Gdy LyX wywo³uje LaTeX-a, informuje go aby ignorowa³ wszelkie b³êdy i przetwarza
1588 Mo¿na to wykorzystaæ do przejrzenia logu przebiegu LaTeX i wykonania post-morte
1590 Jak wspomnieli¶my wcze¶niej, LyX tworzy dwa rodzaje plików
1594 , jeden z nich jest u¿ywany do lokalizacji b³êdów w dokumencie.
1595 Je¶li pojawi siê b³±d, to LyX umie¶ci prostok±t ze s³owem ,,B³±d'' w odpowiedni
1596 m miejscu w dokumencie
1600 \begin_layout Standard
1602 LyX okazjonalnie nie odgadnie miejsca, w którym zdarzy³ siê b³±d.
1603 To siê zdarza zwykle przy tabelach, rysunkach, matematyce i preambule.
1609 Zostanie tak¿e wy¶wietlony komunikat informuj±cy o fakcie wyst±pienia b³êdów
1612 \begin_layout Standard
1614 Mo¿esz nawigowaæ pomiêdzy b³êdami za pomoc± polecenia
1626 Mo¿esz ,,otwieraæ'' znaczniki b³êdów i podejrzeæ komunikaty LaTeX-a przez
1627 klikniêcie na znaczniku.
1630 \begin_layout Standard
1632 Wiele osób lubi zobaczyæ wprost ca³y log, który jest dostêpny z menu
1638 odgl±d\SpecialChar \menuseparator
1646 Istniej kilka powszechnych komunikatów b³êdów i ostrze¿eñ.
1648 Powiniene¶ zajrzeæ do dobrej ksi±¿ki o LaTeX-u dla zapoznania siê z pe³n±
1652 \begin_layout Itemize
1660 \begin_layout Standard
1662 Komunikat zaczynaj±ce siê tymi s³owy jest komunikatem diagnostycznym LaTeX-a.
1663 Otrzymasz podobne ostrze¿enie gdy dodasz lub zmienisz odno¶nik lub wpis
1664 bibliografii, wówczas LaTeX komunikuje Ci, ¿e powinien zostaæ uruchomiony
1668 \begin_layout Standard
1670 Ostrze¿enie mo¿na w wiêkszo¶ci zignorowaæ.
1673 \begin_layout Itemize
1681 \begin_layout Standard
1683 Inny komunikat ostrzegawczy, tym razem o fontach, których LaTeX nie potrafi³
1685 Reszta komunikatu czêsto informuje jakich fontów u¿y³ LaTeX w zastêpstwie.
1688 \begin_layout Standard
1690 Mo¿esz go bezpiecznie zignorowaæ.
1693 \begin_layout Itemize
1703 \begin_layout Standard
1709 dawaæ takie komunikaty.
1710 Ostrze¿enia dotycz± wierszy, które s± zbyt d³ugie i wystaj± poza prawy
1712 Prawie zawsze jest to niezauwa¿alne na wydruku.
1713 Albo jeden lub dwa znaki przekraczaj± prawy margines.
1714 LaTeX zdaje siê generowaæ co najmniej jeden taki komunikat dla dowolnego
1715 dokumentu jaki napiszesz.
1718 \begin_layout Standard
1720 Mo¿esz ignorowaæ te g³upie komunikaty.
1721 Zobaczysz na w³asne oczy je¶li co¶ bêdzie zbyt szerokie, spójrz na wynik
1725 \begin_layout Itemize
1735 \begin_layout Standard
1737 LaTeX komunikuje nam, ¿e zbyt ma³e wype³nienie wiersza zmusza go do wstawienia
1738 zbyt du¿ych odstêpów miêdzy wyrazami.
1742 \begin_layout Standard
1744 Mo¿esz go tak¿e zignorowaæ.
1747 \begin_layout Itemize
1763 \begin_layout Standard
1765 Ostrze¿enie o k³opotach z ³amaniem stron -- zbyt ma³ych lub zbyt du¿ych
1766 odstêpach pionowych.
1767 Jeszcze raz spójrz na wynik przetwarzania.
1768 Zobaczysz na w³asne oczy je¶li co¶ bêdzie zbyt szerokie.
1771 \begin_layout Itemize
1776 \begin_inset Quotes els
1780 \begin_inset Quotes ers
1787 \begin_layout Standard
1789 Plik ,,Xxxx'' nie jest zainstalowany w systemie.
1790 Ten komunikat pojawia siê czêsto, gdy nie zainstalowa³e¶ pakietów u¿ytych
1792 Je¶li nie dotyka³e¶ preambu³y lub nie u¿ywa³e¶ polecenia
1798 , to znaczy ¿e brakuje jednego z pakietów, które próbuje za³adowaæ LyX.
1804 omoc\SpecialChar \menuseparator
1811 aby zobaczyæ listê pakietów znanych LyX-owi.
1812 Ten plik jest uaktualniany podczas ka¿dej rekonfiguracji LyX-a (polecenie
1820 \SpecialChar \menuseparator
1825 ) i zawiera informacje, które pakiety zosta³y wykryte i do czego s³u¿±.
1828 \begin_layout Standard
1840 i pakiet nie zosta³ zainstalowany, to nale¿y zainstalowaæ go samodzielnie.
1843 \begin_layout Itemize
1847 LaTeX Error: Unknown option
1851 \begin_layout Standard
1853 B³±d pojawia siê gdy podano niezdefiniowan± (lub b³êdn±) opcjê u¿ytego pakietu.
1854 Sprawd¼ dokumentacjê do pakietu.
1857 \begin_layout Itemize
1861 Undefined control sequence
1865 \begin_layout Standard
1867 Je¶li wstawi³e¶ polecenie LaTeX w dokumencie, ale pope³ni³e¶ np.
1868 b³±d literowy, to otrzymasz taki w³a¶nie komunikat b³êdu.
1869 Byæ mo¿e zapomnia³e¶ za³adowaæ jaki¶ pakiet.
1870 W ogólnym przypadku, komunikat b³êdu zwykle oznacza, ¿e u¿y³e¶ niezdefiniowaneg
1874 \begin_layout Standard
1876 Istniej± jeszcze inne komunikaty b³êdów i ostrze¿eñ, a wiele z nich jest
1878 Podane s± czêstymi komunikatami.
1879 Inne s± naprawdê zaszyfrowane.
1880 To s± aktualne komunikaty TeX-a i my na prawdê nie mamy klucza jak je odszyfrow
1884 \begin_layout Standard
1886 Oto ogólny tok postêpowania je¶li zdarzy siê b³±d:
1889 \begin_layout Enumerate
1891 Sprawd¼ poprawno¶æ poleceñ LaTeX-a wstawionych w dokumencie.
1894 \begin_layout Enumerate
1896 Je¶li nie ma b³êdów literowych, to sprawd¼ poprawno¶æ ich u¿ycia.
1899 \begin_layout Enumerate
1901 Je¶li dostaniesz pêk znaczników b³êdów na samym pocz±tku dokumentu, to znaczy,
1902 ¿e jest jaki¶ b³±d w preambule.
1903 Zacznij debugowaæ swoj± preambu³ê.
1906 \begin_layout Enumerate
1908 Je¶li nie doda³e¶ niczego do preambu³y i nie wstawi³e¶ ¿adnych poleceñ LaTeX-a
1909 do dokumentu, to najpierw sprawd¼ swoj± dystrybucjê LaTeX.
1910 Sprawd¼ brakuj±ce pakiety i zainstaluj je.
1913 \begin_layout Enumerate
1915 OK, nie brakuje pakietów.
1916 Czy nie u¿y³e¶ jakie¶ opcji dopasowuj±cej w LyX-ie? Precyzuj±c, czy nie
1917 u¿y³e¶ jej niew³a¶ciwie, jak próba rêcznego wstawienia wielu
1929 s? Czy próbowa³e¶ to kludge co¶ razem z nimi zamiast u¿yæ odpowiednich ¶rodowisk
1933 \begin_layout Enumerate
1935 OK, nie u¿y³e¶ ¿adnej opcji dopasowuj±cej, postêpujesz zgodnie z zasadami.
1936 Czy próbowa³e¶ przeprowadziæ jaki¶ fantastyczny manewr? Czy zrobi³e¶ co¶
1937 wspania³ego w tabeli czy równaniu, jak wstawienie grafiki do komórki tabeli?
1940 \begin_layout Enumerate
1942 Czy nie masz zbyt d³ugich akapitów tekstu gdzie LaTeX nie mo¿e znale¼æ miejsca
1943 na prze³amanie wiersza? Domy¶lnie LaTeX jest dok³adny w dodawaniu ekstra
1944 odstêpów miêdzy wyrazami aby prze³amaæ wiersz.
1945 Proponowane jest przerobienie akapitów aby usun±æ ten problem.
1946 Je¶li to nie jest mo¿liwe, mo¿esz obj±æ swój tekst w
1952 aby obni¿yæ wymagania LaTeX-a przy ³amaniu wierszy.
1955 \begin_layout Enumerate
1957 Czy nie przesadzi³e¶ z zagnie¿d¿aniem? LyX [aktualnie] nie sprawdza czy
1958 nie przekroczy³e¶ limitu zagnie¿d¿enia ¶rodowiska.
1959 Je¶li zagnie¼dzi³e¶ ¶rodowiska a¿ do 17 poziomu, to mo¿e byæ problem.
1962 \begin_layout Enumerate
1964 Nie otrzyma³e¶ ¿adnych komunikatów b³êdów ale wynik ¼le wygl±da.
1965 Je¶li masz tabelê lub rysunek szerszy lub d³u¿szy od strony, to powiniene¶:
1969 \begin_layout Enumerate
1971 przeskalowaæ rysunek do odpowiednich wymiarów,
1974 \begin_layout Enumerate
1976 skróciæ tabelê, tak aby pasowa³a.
1979 \begin_layout Standard
1981 Je¶li dalej jest ¼le z wynikiem i nie próbowa³e¶ przeprowadziæ ¿adnych wspania³y
1982 ch lub kludge opcji dopasowuj±cych, to my nie wiemy co jest nie tak.
1985 \begin_layout Standard
1987 Je¶li to nie pomo¿e, to
1991 znalaz³e¶ b³±d w LyX-ie\SpecialChar \ldots{}
1995 \begin_layout Chapter
1997 Dodatkowe narzêdzia sk³adu dokumentu
2000 \begin_layout Section
2002 Przygotowanie bibliografii za pomoc± BibTeX-a
2005 \begin_layout Standard
2013 \begin_layout Standard
2015 Ressler is to blame for all of Chapter 1 except where noted.
2023 \begin_layout Standard
2025 STOP! je¶li wiesz czym jest BibTeX lub masz dobry pomys³ na jego zastosowanie
2027 u³o¿enie swojej w³asnej bazy bibliograficznej) nie id¼, a biegnij do swojego
2028 egzemplarza drugiego wydania Lamporta
2030 LaTeX: A Document Preparation System
2037 W dalszej dyskusji zak³adamy, ¿e masz utworzony poprawny plik bibliografii
2038 oraz masz poprawnie ustawione wszystkie odpowiednie zmienne ¶rodowiska
2052 ) oraz je¶li jeste¶ odpowiednio zdesperowany powiniene¶ utworzyæ plik LaTeX-a
2060 \begin_layout Standard
2062 Dla tych, którzy nie znaj± BibTeX-a, jest to system do tworzenia wielkich
2063 baz Twoich czêsto u¿ywanych odno¶ników do literatury.
2066 \begin_layout Standard
2068 Dla wszystkich przysz³ych artyku³ów, zapisz tylko potrzebne pozycje literatury
2069 do wstawienia do bazy i oznacz odpowiednim kluczem ka¿dy odno¶nik.
2070 Nawet je¶li piszesz tylko kilka dokumentów z kilkoma odno¶nikami w ka¿dym,
2071 to warto po¶wiêciæ Twój czas na sprawdzenie BibTeX-a i zdecydowaæ czy bêdzie
2072 u¿yteczny dla Ciebie.
2075 \begin_layout Standard
2077 Aby u¿ywaæ BibTeX-a w LyX-ie nale¿y najpierw zapoznaæ siê
2079 Podrêcznikiem U¿ytkownika
2081 , w którym opisano sposób wstawiania cytowañ.
2082 Podstawowy mechanizm wstawiania odno¶ników BibTeX-a jest taki sam.
2083 Umie¶æ kursor na koñcu dokumentu i wybierz
2088 staw\SpecialChar \menuseparator
2093 pisy\SpecialChar \menuseparator
2101 W otwartym oknie dialogowym wype³nij dwa pola:
2104 \begin_layout Description
2107 Danych podaj nazwê pliku
2111 ale BEZ rozszerzenia
2116 Dla wyszukiwania w wielu plikach
2120 nale¿y podaæ ich nazwy rozdzielaj±c je przecinkiem.
2123 \begin_layout Description
2125 Styl podaj nazwê pliku stylu BibTeX-a BEZ rozszerzenia
2130 Domy¶lnym stylem jest
2138 \begin_layout Standard
2140 Dostêpne s± równie¿ style zgodne z polskimi zwyczajami typograficznymi o
2164 (który powinien byæ do³±czony do Twojej dystrybucji LaTeX-a, tak ¿e nie
2165 musisz przejmowaæ siê utworzeniem go).
2168 \begin_layout Standard
2170 Zak³adamy, ¿e dla ka¿dego cytowania ¼ród³o znajduje siê w pliku
2174 , wywo³ujemy polecenie
2179 staw\SpecialChar \menuseparator
2186 w odpowiednim miejscu w tek¶cie i wybierz z listy w³a¶ciwy klucz odno¶nika.
2187 Nie potrzeba nic wiêcej; gdy wywo³ujemy na przyk³ad polecenie
2192 odgl±d\SpecialChar \menuseparator
2199 , powiniene¶ zobaczyæ ¿e BibTeX i LaTeX s± wywo³ywane gdy zachodzi potrzeba,
2200 w³±czaj±c wielokrotne wywo³anie LaTeX-a.
2203 \begin_layout Section
2208 \begin_layout Standard
2210 Dobry indeks jest jedn± z najtrudniejszych rzeczy do zrobienia w d³ugim
2212 LyX pomaga wykonaæ rzeczy trochê pro¶ciej za pomoc± interfejsu do programu
2218 \begin_layout Standard
2220 Dla dokumentów polskojêzycznych powinien byæ wywo³ywany program
2233 , który mo¿na znale¼æ w dystrybucjach.
2236 \begin_layout Standard
2238 Wstawianie indeksu i zaznaczanie s³ów do w³±czenia do indeksu odbywa siê
2239 tak± sam± drog± jak przygotowanie bibliografii opisanej w poprzedniej sekcji.
2242 \begin_layout Standard
2244 Najpierw przejd¼ na koniec swojego dokumentu i wybierz
2249 staw\SpecialChar \menuseparator
2254 pisy\SpecialChar \menuseparator
2262 Nastêpnie, dla ka¿dego s³owa, które chcesz dodaæ do indeksu, umie¶æ kursor
2263 na koñcu tego s³owa i wybierz
2268 staw\SpecialChar \menuseparator
2269 Wstaw poprzedzaj±ce s³owo do indeksu
2272 To spowoduje umieszczenie znacznika pokazuj±cego s³owo, które pojawi siê
2276 \begin_layout Standard
2278 Je¿eli chcesz dok³adnie podaæ co ma pojawiæ siê w indeksie -- na przyk³ad
2279 potrzebujesz mieæ s³owo ,,kot'' w indeksie, które bêdzie odnosi³o siê do
2280 s³ów w tek¶cie ,,kot'' i ,,koty'' to po prostu wybierz polecenie
2282 Wstaw\SpecialChar \menuseparator
2285 i wpisz s³owo ,,kot'' w oknie dialogowym.
2288 \begin_layout Standard
2291 LyX automatycznie wywo³a
2295 i samodzielnie utworzy indeks.
2298 \begin_layout Standard
2300 B±d¼ ostro¿ny i nie wstawiaj spacji pomiêdzy s³owem a znacznikiem indeksu,
2301 poniewa¿ mo¿e siê zdarzyæ utworzenie niew³a¶ciwego numeru strony w indeksie.
2304 \begin_layout Standard
2306 Powiniene¶ zdawaæ sobie sprawê, ¿e istniej± bardziej zaawansowane metody
2311 : spójrz w dokumentacjê do³±czon± do Twojej dystrybucji LaTeX-a i znajd¼
2312 jak wykonaæ zagnie¿d¿one wpisy itp.
2315 \begin_layout Section
2317 Dokumenty wieloczê¶ciowe
2320 \begin_layout Subsection
2325 \begin_layout Standard
2327 Przy pracy z du¿ymi plikami zawieraj±cymi wiele sekcji i rozdzia³ów, czêsto
2328 jest wygodniej podzieliæ dokument na kilka plików lub byæ mo¿e masz ---
2329 perhaps you have something where a table may change from time to time,
2330 but the preceding text does not.
2331 W takim przypadku powiniene¶ na serio rozwa¿yæ u¿ycie dokumentów wieloczê¶ciowy
2333 Na przyk³ad prace naukowe czêsto sk³adaj± siê z piêciu g³ównych czê¶ci:
2334 wprowadzenia, obserwacji, wyników, dyskusji i podsumowania.
2335 Ka¿da z tych czê¶ci mo¿e byæ zapisana w oddzielnym pliku LyX-a, gdzie jeden
2336 plik bêdzie dokumentem g³ównym zawieraj±cym tytu³, autorów, streszczenie,
2338 oraz piêæ do³±czonych plików dokumentów sk³adowych (podrzêdnych).
2339 Nale¿y zwróciæ uwagê, ¿e ka¿dy z plików podrzêdnych w³±czanych do dokumentu
2340 g³ównego stanowi niezale¿ny dokument, który mo¿e byæ formatowany i drukowany
2342 Mo¿na do³±czaæ równie¿ pliki LaTeX-a, ale pliki te nie mog± posiadaæ w³asnej
2343 preambu³y (wszystko przed
2355 musi byæ usuniête) gdy¿ w przeciwnym wypadku LaTeX zg³osi b³±d podczas
2356 przetwarzania dokumentu g³ównego.
2359 \begin_layout Standard
2361 LyX pozwala ³atwo w³±czaæ pliki poleceniem z menu
2366 staw\SpecialChar \menuseparator
2374 Po wybraniu polecenia otwiera siê okno wyboru dokumentu.
2375 Po wybraniu dokumentu do wstawienia/do³±czenia, w bie¿±cej pozycji kursora
2376 wstawiany jest ma³y prostok±t.
2377 Klikniêcie na prostok±cie wy¶wietla okno dialogowe do³±czania dokumentu.
2378 W tym oknie mo¿na wybraæ plik do do³±czenia i metodê do³±czenia.
2379 Wybór pliku powinien byæ ju¿ jasny.
2380 W oknie mamy do wyboru trzy metody do³±czania plików; ,,do³±cz'', ,,wstaw''
2382 Ró¿nica pomiêdzy ,,do³±cz'' a ,,wstaw'' jest w pe³ni jasna tylko dla LaTeX-pert
2384 Praktycznie ró¿nica polega na tym, ¿e pliki ,,do³±czane'' zaczynaj± siê
2385 od nowej strony, a pliki ,,wstawiane'' od miejsca wstawienia.
2388 \begin_layout Standard
2390 Generalnie, plik g³ówny jest konwertowany do formatu LaTeX przed sk³adaniem,
2391 podczas gdy do³±czane pliki s± konwertowane do formatu LaTeX, który nie
2393 Zaznaczenie pola Nie
2397 zabezpiecza przed konwersj±.
2400 \begin_layout Standard
2402 Do³±czanie plików metod± ,,maszynopis'' pozwala na do³±czanie ,,dos³owne''
2403 plików w ¶rodowisku verbatim z czcionk± o sta³ej szeroko¶ci.
2404 Normalnie spacje w pliku s± niewidzialne, dwie kolejne spacje s± zachowywane,
2405 inaczej ni¿ standardowo w LyX-ie.
2410 pozwala na zachowanie spacji lub przywraca standardow± interpretacjê spacji
2414 \begin_layout Subsection
2416 Odno¶niki pomiêdzy plikami
2419 \begin_layout Standard
2421 Jest mo¿liwe ustawienie odno¶ników pomiêdzy ró¿nymi plikami.
2422 Najpierw otwórz wszystkie pliki pomiêdzy którymi chcesz wykonaæ odno¶niki,
2423 na przyk³ad dwa pliki A i B, gdzie plik B jest do³±czony do pliku A.
2424 Wstawili¶my etykietê w pliku A i chcemy odno¶nik do niej w pliku B.
2425 Bêd±c w dokumencie A z menu wybieramy
2430 staw \SpecialChar \menuseparator
2438 Teraz prze³±czamy siê na dokument B bez zamykania okna odno¶nika.
2439 Wstawiamy odno¶nik i ju¿!
2442 \begin_layout Standard
2444 Gdy przegl±dasz plik A wszystko jest poprawnie do³±czone i etykietowane.
2445 Je¶li zamkniesz okno odno¶nika i ponownie otworzysz je w dokumencie B to
2446 zobaczysz tylko etykiety pliku B.
2447 Ta procedura mo¿e nie jest intuicyjna (czasami zdarza siê b³±d) ale dzia³a.
2450 \begin_layout Section
2455 \begin_layout Standard
2459 (z konfiguracji LaTeX)
2462 \begin_layout Standard
2468 jest potrzebny do wydania ,,wstawek algorytmów''.
2469 Jest on u¿yteczny przy umieszczaniu krótkich algorytmów w miejscu z³amania
2470 strony i obs³uguje tak¿e spis algorytmów.
2473 \begin_layout Section
2478 \begin_layout Standard
2482 (z konfiguracji LaTeX)
2485 \begin_layout Standard
2491 jest u¿ywany w LyX-ie podczas wyboru ,,Podrysunek'' w oknie Rysunek.
2492 Kilka rysunków zaznaczonych w ten sposób mo¿e byæ upakowanych w jednej
2493 wstawce w indywidualnymi podpisami.
2496 \begin_layout Section
2498 Ozdobne nag³ówki i stopki
2502 \begin_layout Standard
2504 W³a¶ciwie powinny¶my u¿ywaæ nazw:
2522 \begin_layout Standard
2524 Domy¶lny uk³ad strony jest raczej nieskomplikowany -- plain; dla klasy artyku³
2525 numery stron s± wycentrowane u do³u strony.
2526 Ten dokument jest klasy ksi±¿ka (book) i jest trochê bardziej ozdobny,
2527 ale aby rzeczywi¶cie postawiæ na wygl±d potrzebujesz u¿yæ stylu ,,fancy''
2530 Podrêczniku U¿ytkownika
2533 Ta sekcja opisuje polecenia LaTeX-a, które trzeba wstawiæ w preambule lub
2534 w tek¶cie aby otrzymaæ ¿±dany efekt.
2537 \begin_layout Standard
2539 Nag³ówek i stopka strony s± podzielone na trzy pola okre¶laj±ce lew±, ¶rodkow±
2541 Poleceniami LaTeX-a do ustawiania tych pól w najprostszy sposób s±
2566 przypu¶æmy, ¿e chcesz wstawiæ swoje nazwisko w lewym górnym naro¿niku ka¿dej
2568 Po prostu wstaw nastêpuj±ce polecenie w preambule:
2571 \begin_layout Standard
2581 \begin_layout Standard
2583 Zobaczysz w podgl±dzie swoje nazwisko w lewym górnym naro¿niku ka¿dej strony.
2584 Je¶li pole ma domy¶ln± warto¶æ, której chcesz siê pozbyæ (czêsto numer
2585 strony pojawia siê w centralnej czê¶ci stopki) to po prostu wstaw polecenie
2586 z pustym argumentem, jak w przyk³adzie:
2589 \begin_layout Standard
2598 \begin_layout Standard
2600 Zróbmy rzeczywi¶cie ozdobn± stronê: wstawmy w nag³ówku po lewej nazwê sekcji
2601 wraz ze s³owem ,,Sekcja'' (np.
2602 Sekcja 3) oraz numer strony po prawej (np.
2603 Strona 4), natomiast w stopce po lewej swoje nazwisko i datê po prawej.
2604 Do tego bêd± nam potrzebne nastêpuj±ce polecenia w preambule:
2607 \begin_layout Standard
2618 \begin_layout Standard
2627 \begin_layout Standard
2638 \begin_layout Standard
2648 \begin_layout Standard
2657 \begin_layout Standard
2668 \begin_layout Standard
2682 daj± dostêp do liczników sekcji i stron LaTeX-a, i bêd± wydrukowane w bie¿±cej
2683 sekcji i numerze strony.
2690 wydrukuje bie¿±c± datê.
2693 \begin_layout Standard
2695 Cienk± liniê oddzielaj±c± nag³ówek i stopkê od tre¶ci strony mo¿emy tak¿e
2697 Je¶li nie chcesz linii w nag³ówku to ustal jej grubo¶æ na 0.
2698 Domy¶ln± grubo¶ci± linii nag³ówkowej jest 0.4pt, dla linii stopki za¶ jest
2700 Mo¿esz u¿yæ polecenia
2706 headrulewidth}{0.4pt}
2714 footrulewidth}{0.4pt}
2716 do ustawiania ich grubo¶ci.
2719 \begin_layout Standard
2721 Mo¿esz prze³±czaæ i wy³±czaæ ustawienia nag³ówków/stopek za pomoc± poleceñ:
2725 thispagestyle{empty}
2731 thispagestyle{plain}
2737 thispagestyle{fancy}
2740 Po prostu wstaw je w tek¶cie na stronie, któr± chcesz zmieniæ i zaznacz
2742 Strony tytu³owe s± oznaczone domy¶lnie jako plain, podczas gdy kolejne
2743 strony s± w stylu fancy gdy u¿ywasz globalnego ustawienia fancy.
2746 \begin_layout Standard
2748 Istnieje wiele z³o¿onych poleceñ, które bêd± wstawia³y rzeczy w lewym górnym
2749 naro¿niku na stronach nieparzystych itd.
2750 ale po szczegó³y odsy³amy Ciê do dokumentacji pakietu
2755 Na przyk³ad je¶li masz instalacjê teTeX-a zobacz
2757 /usr/share/texmf/doc/latex/fancyhdr/fancyhdr.dvi
2762 \begin_layout Standard
2764 Koñcowym przyk³adem jest mo¿liwo¶æ wstawienia pliku Encapsulated PostScript
2765 do nag³ówka lub stopki.
2766 Pewnie bêdziesz chcia³ wstawiæ logo firmy do lewego dolnego naro¿nika strony.
2767 Spróbuj wstawiæ nastêpuj±ce polecenie
2770 \begin_layout Standard
2780 includegraphics{logo.eps}}}
2783 \begin_layout Standard
2785 (bêdzie potrzebne w preambule polecenie
2789 usepackage{graphics}
2794 \begin_layout Section
2799 \begin_layout Standard
2801 LaTeX dostarcza mechanizmu do tworzenia strony wewn±trz strony, zwanych
2802 ministronami (minipages).
2803 Wewn±trz ministrony s± dostêpne wszystkie zwyk³e regu³y wcinania, ³amania
2805 LyX tak¿e dostarcza tê mo¿liwo¶æ.
2808 \begin_layout Standard
2810 Ministrony posiadaj± w³asn± wstawkê, aby wstawiæ ministronê wybierz polecenie
2816 staw \SpecialChar \menuseparator
2824 Klikaj±c prawym klawiszem myszy na wstawkê otwiera siê okienko, w którym
2825 mo¿na ustaliæ wyrównianie i szeroko¶æ ministrony.
2828 \begin_layout Standard
2831 Je¶li ministrona jest zbyt d³uga aby zmie¶ciæ siê na stronie, to zostanie
2832 skrócona, a nie wciêta na nastêpnej stronie (nie pojawi siê reszta na nastêpnej
2836 \begin_layout Standard
2838 S± dwie dalsze opcje ministron.
2839 Je¶li umie¶cisz dwie ministrony obok siebie, to mo¿na wstawiæ
2844 staw\SpecialChar \menuseparator
2849 nak specjalny\SpecialChar \menuseparator
2852 do maksymalnego rozsuniêcia ich, który wymuszi pocz±tek pierwszej ministrony
2853 od lewego marginesu a koniec nastêpnej na prawym marginesie.
2854 Sprawd¼ t± opcjê dla drugiej ministrony, nie dla pierwszej.
2857 \begin_layout Standard
2860 \begin_inset Box Frameless
2869 height_special "totalheight"
2872 \begin_layout Standard
2874 To jest ministrona, która nie u¿ywa hfill.
2875 To jest drugie zdanie ministrony, która nie u¿ywa hfill.
2883 \begin_layout Standard
2886 \begin_inset Box Frameless
2895 height_special "totalheight"
2898 \begin_layout Standard
2900 To jest druga ministrona, która nie u¿ywa hfill.
2901 To jest drugie zdanie drugiej ministrony, która nie u¿ywa hfill.
2910 \begin_layout Standard
2913 \begin_inset VSpace medskip
2919 \begin_layout Standard
2921 To jest zwyk³y tekst, który rozdziela dwa przyk³ady
2924 \begin_layout Standard
2927 \begin_inset VSpace medskip
2934 \begin_layout Standard
2937 \begin_inset Box Frameless
2946 height_special "totalheight"
2949 \begin_layout Standard
2951 To jest ministrona, która u¿ywa hfill.
2952 To jest drugie zdanie ministrony, która u¿ywa hfill.
2960 \begin_inset Box Frameless
2969 height_special "totalheight"
2972 \begin_layout Standard
2974 To jest druga ministrona, która u¿ywa hfill.
2975 To jest drugie zdanie drugiej ministrony, która u¿ywa hfill.
2983 \begin_layout Section
2985 Oblewanie rysunku tekstem
2986 \begin_inset LatexCommand \label{sec:floatflt}
2993 \begin_layout Standard
2996 \begin_inset Wrap figure
3001 \begin_layout Standard
3004 \begin_inset Graphics
3015 \begin_layout Caption
3017 Ten rysunek jest oblany tekstem, a to jest ¶liczny podpis
3025 \begin_layout Standard
3027 Czêsto zadawanym pytaniem jest pytanie o mo¿liwo¶æ ,,oblewania'' rysunków
3028 tekstem w ten sposób, ¿e rysunek zajmuje czê¶æ kolumny a reszta jest wype³niona
3030 Je¶li masz zainstalowany pakiet LaTeX-a
3034 (jest czêsto w³±czany do dystrybucji lub dostêpny w archiwach CTAN), to
3038 \begin_layout Standard
3040 Obok znajduje siê rysunek pêtli Moebiusa -- powiniene¶ go ju¿ zobaczyæ w
3042 Podrêczniku U¿ytkownika
3045 Aby oblaæ tekstem rysunek jak ten, nalezy wybrac z menu polecenie
3050 staw\SpecialChar \menuseparator
3055 stawki\SpecialChar \menuseparator
3061 \begin_layout Standard
3063 Uwaga: ten pakiet jest bardzo kruchy
3067 \begin_layout Standard
3069 Kruchy w sensie LaTeX-a.
3077 Dla przyk³adu, maj±c rysunek zbyt blisko koñca strony bêdzie zamieszanie
3078 tre¶ci powy¿ej, gdy bêdziemy mieæ dwa rysunki blisko siebie.
3079 U¿ywaj tego pakietu oszczêdnie i czytaj dokumentacjê zawart± w pakiecie.
3082 \begin_layout Standard
3084 Miejmy nadziejê, ¿e w przysz³o¶ci LyX bêdzie obs³ugiwa³ te funkcje natywnie.
3087 \begin_layout Section
3092 \begin_layout Standard
3094 Standardowy uk³ad tabel bêdzie odpowiedni w 99% wszystkich Twoich tabel,
3095 ale w 1% prawdopodobnie bêdziesz potrzebowa³ tabel specjalnie dostosowanych
3102 k³ad\SpecialChar \menuseparator
3109 otwiera okno formatowania tabeli.
3118 znajduje siê dostêp do kilku poleceñ wyrównywania kolumn.
3121 \begin_layout Standard
3123 Teraz krótkie wspomnienie o LaTeX-u: gdy ustawiamy tabelê w LaTeX-u to dla
3124 ka¿dej kolumny deklarujemy typ wyrównania.
3125 Dla przyk³adu mo¿esz podaæ ,,
3137 '' dla justowania do lewej, wy¶rodkowania i wyrównania kolumny do prawej
3138 (co w LyX-ie objawia siê trzema przyciskami
3151 Czwartym typem jest ,,
3155 '', który deklaruje szeroko¶æ kolumny (w LyX-ie mamy pole
3159 ) co powoduje automatyczne ³amanie wierszy.
3160 Pi±tym typem jest ,,
3164 '' (vertical bar), który raczej s³u¿y do tworzenia pionowych kresek ramek
3165 (w LyX-ie mamy do tego przyciski w polu
3170 Koñcz±c, istnieje typ ,,
3174 '', który pozwala u¿yæ cokolwiek jako separatora kolumn co jest zamkniête
3175 w towarzysz±cych nawiasach w³±czaj±c argument pusty.
3176 Powody robienia tego mog± nie byæ jasne, ale cechy te mog± byæ bardzo u¿yteczne.
3177 Najlepiej to pokazaæ na przyk³adach.
3180 \begin_layout Subsection
3182 Usuwanie dodatkowej przestrzeni tabeli
3185 \begin_layout Standard
3187 Tutaj znajduje siê standardowa tabela:
3191 \begin_layout Standard
3194 \begin_inset VSpace 0.3cm
3200 \begin_layout Standard
3203 \begin_inset Tabular
3204 <lyxtabular version="3" rows="3" columns="2">
3206 <column alignment="left" valignment="top" width="0pt">
3207 <column alignment="left" valignment="top" leftline="true" width="0pt">
3208 <row bottomline="true">
3209 <cell alignment="left" valignment="top" topline="true" usebox="none">
3212 \begin_layout Standard
3219 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
3222 \begin_layout Standard
3231 <cell alignment="left" valignment="top" topline="true" usebox="none">
3234 \begin_layout Standard
3241 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3244 \begin_layout Standard
3253 <cell alignment="center" valignment="top" topline="true" usebox="none">
3256 \begin_layout Standard
3263 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3266 \begin_layout Standard
3281 \begin_layout Standard
3284 \begin_inset VSpace 0.3cm
3291 \begin_layout Standard
3293 Zwróæ uwagê, ¿e poziome kreski wystaj± troszkê z obu strona poza tekst.
3294 Je¶li chcesz aby linie zaczyna³y i koñczy³y siê równo z tekstem, to mo¿na
3295 wstawiæ pusty separator na koñcu aby zwolniæ trochê miejsca dodawanego
3296 domy¶lnie przez LaTeX-a.
3301 \begin_layout Standard
3304 \begin_inset VSpace 0.3cm
3310 \begin_layout Standard
3313 \begin_inset Tabular
3314 <lyxtabular version="3" rows="3" columns="2">
3316 <column alignment="left" valignment="top" width="0pt" special="@{} l">
3317 <column alignment="left" valignment="top" leftline="true" width="0pt" special="l @{}">
3318 <row bottomline="true">
3319 <cell alignment="left" valignment="top" topline="true" usebox="none">
3322 \begin_layout Standard
3329 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
3332 \begin_layout Standard
3341 <cell alignment="left" valignment="top" topline="true" usebox="none">
3344 \begin_layout Standard
3351 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3354 \begin_layout Standard
3363 <cell alignment="center" valignment="top" topline="true" usebox="none">
3366 \begin_layout Standard
3373 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3376 \begin_layout Standard
3391 \begin_layout Standard
3394 \begin_inset VSpace 0.3cm
3401 \begin_layout Standard
3403 W tym przypadku w polu
3411 dla lewej kolumny wpisano ,,
3415 '', natomiast dla prawej wpisano ,,
3419 '', co wstawia puste znaki na koñcach.
3422 \begin_layout Subsection
3424 Zmiana znaku separatora kolumn
3427 \begin_layout Standard
3429 Teraz proponujemy zastosowanie
3430 \begin_inset Formula $\sqrt{\pi}$
3433 z odrobin± miejsca obok jako separatora kolumn tabeli.
3434 Po prostu wy³±cz pionowe ramki i wpisz w polu
3440 Kolumna specjalna ,,
3453 \begin_layout Standard
3456 \begin_inset VSpace 0.3cm
3462 \begin_layout Standard
3465 \begin_inset Tabular
3466 <lyxtabular version="3" rows="3" columns="2">
3468 <column alignment="left" valignment="top" width="0pt">
3469 <column alignment="left" valignment="top" width="0pt" special="@{~$\sqrt{\pi}$~}l">
3470 <row bottomline="true">
3471 <cell alignment="left" valignment="top" topline="true" usebox="none">
3474 \begin_layout Standard
3481 <cell alignment="left" valignment="top" topline="true" usebox="none">
3484 \begin_layout Standard
3493 <cell alignment="left" valignment="top" topline="true" usebox="none">
3496 \begin_layout Standard
3503 <cell alignment="center" valignment="top" topline="true" usebox="none">
3506 \begin_layout Standard
3515 <cell alignment="center" valignment="top" topline="true" usebox="none">
3518 \begin_layout Standard
3525 <cell alignment="center" valignment="top" topline="true" usebox="none">
3528 \begin_layout Standard
3543 \begin_layout Standard
3546 \begin_inset VSpace 0.3cm
3553 \begin_layout Subsection
3555 Wyrównanie kolumny wed³ug cyfr znacz±cych
3558 \begin_layout Standard
3560 Proponujemy wyrównanie kolumny wed³ug cyfr znacz±cych.
3561 Standardowym trickiem LaTeX-a jest podzielenie liczby na dwie kolumny;
3562 w lewej -- przeznaczonej dla czê¶ci ca³kowitej -- wyrównujemy do prawej
3563 strony, a w prawej -- przeznaczonej dla czê¶ci u³amkowej -- wyrównujemy
3564 do lewej, natomiast separator kolumn ustawiamy jako pusty.
3569 \begin_layout Standard
3572 \begin_inset VSpace 0.3cm
3578 \begin_layout Standard
3581 \begin_inset Tabular
3582 <lyxtabular version="3" rows="5" columns="3">
3584 <column alignment="center" valignment="top" width="0pt">
3585 <column alignment="right" valignment="top" leftline="true" width="0pt">
3586 <column alignment="center" valignment="top" width="0pt" special="@{} l">
3587 <row bottomline="true">
3588 <cell alignment="center" valignment="top" topline="true" usebox="none">
3591 \begin_layout Standard
3598 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3601 \begin_layout Standard
3608 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3611 \begin_layout Standard
3619 <cell alignment="center" valignment="top" topline="true" usebox="none">
3622 \begin_layout Standard
3625 \begin_inset Formula $\pi$
3633 <cell alignment="right" valignment="top" topline="true" leftline="true" usebox="none">
3636 \begin_layout Standard
3643 <cell alignment="center" valignment="top" topline="true" usebox="none">
3646 \begin_layout Standard
3655 <cell alignment="center" valignment="top" topline="true" usebox="none">
3658 \begin_layout Standard
3661 \begin_inset Formula $\pi^{\pi}$
3669 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3672 \begin_layout Standard
3679 <cell alignment="center" valignment="top" topline="true" usebox="none">
3682 \begin_layout Standard
3691 <cell alignment="center" valignment="top" topline="true" usebox="none">
3694 \begin_layout Standard
3697 \begin_inset Formula $(\pi^{\pi})^{\pi}$
3705 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3708 \begin_layout Standard
3715 <cell alignment="center" valignment="top" topline="true" usebox="none">
3718 \begin_layout Standard
3726 <cell alignment="center" valignment="top" topline="true" usebox="none">
3729 \begin_layout Standard
3732 \begin_inset Formula $\pi^{\pi^{\pi}}$
3740 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3743 \begin_layout Standard
3750 <cell alignment="center" valignment="top" topline="true" usebox="none">
3753 \begin_layout Standard
3756 \begin_inset Formula $\times10^{18}$
3772 \begin_layout Standard
3775 \begin_inset VSpace 0.3cm
3782 \begin_layout Standard
3784 Mimo ¿e bêdzie to wygl±da³o trochê ¶miesznie w LyX-ie, to na wydruku pojawi±
3785 siê dwukolumnowa tabela, w której prawa kolumna jest wyrównana wed³ug cyfr
3786 znacz±cych, a nag³ówek jest wy¶rodkowany.
3789 \begin_layout Standard
3791 My¶lê, ¿e najlepiej bêdzie jak opiszê jak to zrobi³em: Najpierw utworzy³em
3792 tabelê 3 x 3 i usun±³em wszystkie ramki.
3793 Nastêpnie doda³em ramki pod nag³ówkiem i rozdzielaj±c± pierwsz± i drug±
3795 Pierwsza kolumna jest wy¶rodkowana.
3796 W drugiej kolumnie wpisa³em
3813 , i wyrówna³em tê kolumnê do prawej.
3814 W trzeciej kolumnie wpisa³em
3825 \begin_inset Formula $\times10^{18}$
3830 oraz ustawi³em wyrównanie
3839 w ¶rodkowej kolumnie, pod¶wietli³em je, wyrówna³em do prawej.
3843 \begin_layout Subsection
3845 Lepsze rozwi±zanie wyrównania wed³ug cyfr znacz±cych
3848 \begin_layout Standard
3850 Alternatywnym rozwi±zaniem wyrównania wed³ug cyfr znacz±cych w tabelach
3856 Dodaj nastêpuj±cy tekst do preambu³y LaTeX-a:
3859 \begin_layout LyX-Code
3866 \begin_layout LyX-Code
3870 newcolumntype{d}[1]{D{.}{.}{#1}}
3873 \begin_layout Standard
3875 Aby mieæ kolumny wyrównane wed³ug cyfr znacz±cych wpisz w polu
3879 w oknie formatu tabeli w zak³adce
3886 \begin_layout LyX-Code
3888 d{liczba miejsc dziesiêtnych danych}
3891 \begin_layout LyX-Code
3896 [Przyk³adow± tabelê usuniêto.
3903 w katalogu examples.]
3906 \begin_layout Standard
3908 Do utworzenia dodatkowego miejsca zwiêksz liczbê miejsc dziesiêtnych w
3917 dla pojedynczej komórki niewra¿liwy na wyrównanie wzglêdem cyfr znacz±cych.
3918 Wad± tej metody jest to, ¿e tryb matematyczny nie jest dopuszczalny w kolumnie
3919 z wyrównaniem wzglêdem cyfr znacz±cych z wyj±tkiem je¶li atrybut multicolumn
3923 \begin_layout Standard
3925 Ta metoda oferuje tak± sam± elastyczno¶æ jak pakiet
3930 Mo¿emy, na przyk³ad zmieniæ separator wyrównania i mamy ró¿ne znaki separatorów
3931 dla ró¿nych kolumn przez definicjê typów wielokrotnych kolumn w preambule.
3932 Sk³adnia jest nastêpuj±ca:
3935 \begin_layout LyX-Code
3937 D{separator_wej}{separator_wyj}{liczba_miejsc_dzie¶}
3940 \begin_layout Standard
3942 Zainteresowanym czytelnikom polecamy dokumentacjê do pakietu
3949 \begin_layout Section
3951 Wybór znaku wyliczenia
3952 \begin_inset LatexCommand \label{sec:bullet}
3959 \begin_layout Standard
3966 \begin_layout Subsection
3971 \begin_layout Standard
3973 LyX dostarcza 216 znaków dostêpnych wprost z menu.
3974 U¿ycie tego menu daje Ci mo¿liwo¶æ ³atwego wyboru odpowiedniego znaku dla
3975 ka¿dego poziomu zagnie¿d¿enia wyliczeñ.
3976 Te ustawienia s± globalne dla ca³ego dokumentu i nie mo¿na ustawiæ ró¿nych
3977 znaków w ró¿nych akapitach
3981 \begin_layout Standard
3983 Mo¿na tego dokonaæ tylko rêcznie
3991 \begin_layout Subsection
3996 \begin_layout Standard
4003 k³ad\SpecialChar \menuseparator
4017 W zak³adce wy¶wietlona jest tabela znaków wyliczenia.
4018 Za pomoc± przycisków umieszczonych po lewej stronie okna mamy dostêp do
4019 sze¶ciu zestawów znaków.
4020 Przyciski umieszczone w górnej czê¶ci okna przeznaczone s± do wyboru g³êboko¶ci
4021 zagnie¿d¿enia wyliczenia.
4022 Tekst pod tabel± zestawu znaków wy¶wietla nazwê LaTeX-a aktualnie wybranego
4024 Mo¿na równie¿ w tym miejscu podaæ w³asne definicje znaku wyliczenia.
4025 Je¶li zmodyfikujesz domy¶lne ustawienia to bêdziesz potrzebowa³ podaæ potrzebne
4026 pakiety w preambule.
4027 Znaki podzielone s± na sze¶æ zestawów ze wzglêdu na wymagane pakiety.
4028 Poni¿sza tabela przedstawia przypisanie zestawów do pakietów LaTeX-a.
4032 \begin_layout Standard
4035 \begin_inset VSpace 0.3cm
4041 \begin_layout Standard
4044 \begin_inset Tabular
4045 <lyxtabular version="3" rows="7" columns="2">
4047 <column alignment="center" valignment="top" leftline="true" width="0pt">
4048 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
4049 <row topline="true" bottomline="true">
4050 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4053 \begin_layout Standard
4060 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4063 \begin_layout Standard
4071 <row topline="true">
4072 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4075 \begin_layout Standard
4084 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4087 \begin_layout Standard
4097 <row topline="true">
4098 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4101 \begin_layout Standard
4110 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4113 \begin_layout Standard
4123 <row topline="true">
4124 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4127 \begin_layout Standard
4136 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4139 \begin_layout Standard
4149 <row topline="true">
4150 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4153 \begin_layout Standard
4162 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4165 \begin_layout Standard
4175 <row topline="true">
4176 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4179 \begin_layout Standard
4188 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4191 \begin_layout Standard
4201 <row topline="true" bottomline="true">
4202 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4205 \begin_layout Standard
4214 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4217 \begin_layout Standard
4234 \begin_layout Standard
4237 \begin_inset VSpace 0.3cm
4244 \begin_layout Standard
4246 LyX nie zatrzyma Ciê przed u¿yciem znaku z pakietu którego nie masz.
4247 Je¶li otrzymasz komunikat b³êdu LaTeX-a podczas próby podgl±du lub wydruku
4248 bêdzie on oznacza³ brak wymaganego pakietu.
4249 LyX nie bêdzie ogranicza³ u¿ycia przy lokalnej edycji i eksporcie gdziekolwiek.
4252 \begin_layout Subsection
4257 \begin_layout Standard
4259 Wybierz przycisk g³êboko¶ci wyliczenia i nastêpnie wybierz znak i wielko¶æ.
4260 Zmiana nie bêdzie widoczna w LyX-ie, ale bêdzie widoczna w podgl±dzie dokumentu
4261 przy u¿yciu xdvi lub ghostview.
4264 \begin_layout Standard
4266 Mo¿esz przywróciæ domy¶lny znak wyliczenia przez klikniêcie prawym klawiszem
4267 myszy na przycisku poziomu wyliczenia.
4270 \begin_layout Standard
4272 Je¶li rzeczywi¶cie chcesz mieæ wiele uk³adów akapitów z ró¿nymi zestawami
4273 znaków wyliczenia w ka¿dym musisz wykonaæ trochê brudnej roboty.
4274 Okno wyboru znaku wyliczenia mo¿e pomóc w znalezieniu nazwy LaTeX-owej
4276 Aby zrobiæ w³asne akapity musisz mie¶ nastêpuj±c± opcjê:
4279 \begin_layout Standard
4285 \begin_layout Standard
4295 \begin_layout Standard
4299 \begin_layout Standard
4320 \begin_layout Itemize
4322 U¿yj polecenia LaTeX-a
4328 do specyfikacji nowego znaku wyliczenia dla zadanej g³êboko¶ci zagnie¿d¿enia.
4329 To bêdzie tak¿e potrzebne do zapisu bie¿±cego znaku i jego pó¼niejszego
4330 ponownego przywo³ania.
4331 W tym wyliczeniu zosta³y u¿yte nastêpuj±ce kody LaTeX-a do zmiany znaku
4332 wyliczenia w pierwszym poziomie.
4360 Uwaga g³êboko¶æ zagnie¿d¿enia w poleceniu
4366 jest podawana cyframi rzymskimi (podobnie jak numeracja czê¶ci).
4369 \begin_layout Itemize
4375 \begin_layout Standard
4387 Podaj dla ka¿dego indywidualnego wiersza wyliczenia kod znaku zamkniêty
4388 w nawiasy prostok±tne i wpisane w trybie TeX.
4389 Na przyk³ad ten wiersz zaczyna siê znakiem
4402 \begin_layout Itemize
4404 Poczekaj na LyX 1.2.
4405 Nastêpne stabilne wydanie LyX-a powinna mieæ wbudowan± obs³ugê definiowania
4406 dla ka¿dego wyliczenia oddzielnego zestawu znaków.
4409 \begin_layout Standard
4415 \begin_layout Standard
4430 \begin_layout Standard
4432 Je¶li bêdziesz potrzebowa³ przywróciæ z powrotem poprzednie globalne ustawienia
4433 znaków to nale¿y wpisaæ:
4446 \begin_layout Chapter
4448 Specjalne klasy dokumentu
4451 \begin_layout Section
4456 \begin_layout Standard
4464 \begin_layout Standard
4467 \begin_inset VSpace bigskip
4473 \begin_layout Standard
4475 Uk³ad AMS-Math jest zestawem styli zalecanymi dla sk³adu pism matematycznych
4476 przesy³anych do wydawnictwa American Mathematical Society.
4477 Uk³ad nie jest przyciêty do specyfiki pisma, ale mo¿na to ³atwo zrobiæ.
4478 Powiniene¶ przejrzeæ dokumentacjê AMS pod k±tem specyficznych instrukcji
4479 dla ka¿dego pisma (czêsto wymagana jest tylko zmiana w jednym wierszu).
4480 Dokumentacja AMS jest dostêpna w internecie na stronie
4481 \begin_inset LatexCommand \url{http://www.ams.org}
4486 \begin_inset LatexCommand \url{ftp://ftp.ams.org/pub/tex/amslatex/}
4491 Te uk³ady s± odpowiednie i u¿yteczne dla zapisu matematyki.
4492 S± aktualnie dostêpne ró¿ne uk³ady AMS-math:
4495 \begin_layout Enumerate
4497 amsart -- standardowy format artyku³u -- AMS article.
4498 Wszystkie równania i wyra¿enia s± numerowane jako
4499 \begin_inset Formula $(n.m)$
4502 , gdzie pierwsza liczba oznacza sekcjê, a druga odpowiada kolejnemu numerowi
4503 ¶rodowiska (Theorems, Corollaries, Propositions, Definitions, Remarks,
4505 Istnieje tak¿e kilka (ale nie wszystkie) ¶rodowisk nienumerowanych, które
4506 s± u¿ywane okazjonalnie.
4507 Nazwy nienumerowanych ¶rodowisk koñcz± siê znakiem gwiazdki (*).
4510 \begin_layout Enumerate
4512 amsart-seq -- tutaj, twierdzenia, definicje itd.
4513 s± numerowane kolejno, bez odniesienia do numeru sekcji.
4514 Dostêpne s± równie¿ nienumerowane ¶rodowiska (ale nie wszystkie), do okazjonaln
4516 Nazwy nienumerowanych ¶rodowisk koñcz± siê znakiem gwiazdki (*).
4519 \begin_layout Enumerate
4521 amsbook - standardowy format ksi±¿ki -- AMS book (prawdziwe monografie).
4522 Numeracja jest podobna jak w uk³adzie amsart, z wyj±tkiem numeracji wszystkiego
4524 \begin_inset Formula $(n,m,p)$
4527 , gdzie pierwszy numer odnosi siê do numeru rozdzia³u, drugi do sekcji,
4528 a trzeci jest numerem kolejnym wyra¿enia (Theorems, Corollaries, Propositions,
4529 Definitions, Remarks, itd.) w tej sekcji.
4530 Istnieje tak¿e kilka (ale nie wszystkie) ¶rodowisk nienumerowanych, które
4531 s± u¿ywane okazjonalnie.
4532 Nazwy nienumerowanych ¶rodowisk koñcz± siê znakiem gwiazdki (*).
4535 \begin_layout Standard
4537 Dowolne pliki LyX-a ams-* mog± byæ konwertowane do schematu przez prost±
4538 zmianê klasy dokumentu w menu
4543 k³ad\SpecialChar \menuseparator
4553 \begin_layout Subsection
4555 Co daje ten szablon?
4558 \begin_layout Standard
4560 Te uk³ady dostarczaj± d³ug± listê ¶rodowisk.
4561 Najbardziej matematyczne pisma i ksi±¿ki bêd± korzystaæ w wiêkszo¶ci z
4562 tych ¶rodowisk, AMS-LaTeX-u sprzyja definiowaniu nieograniczonej liczby
4563 rozmaitych takich deklaracji.
4564 Jednak zalecane przez AMS ¶rodowiska s± dostêpne w LyX-ie.
4565 Oto lista nowych ¶rodowisk (nie wyliczamy typowych takich jak
4567 sections, bibliography, title, author, date
4572 \begin_layout Description
4574 Theorem This is typically used for the statements of major results.
4579 '' wy¶wietlane jest czcionk± pó³grub±, along with an automatically-determined
4580 number (an unnumbered version,
4584 , is also available).
4585 Tekst jest pochylony.
4588 \begin_layout Description
4590 Corollary This is used for statements which follow fairly directly from
4591 previous statements.
4592 Again, these can be major results.
4600 \begin_layout Description
4602 Lemma These are smaller results needed to prove other statements.
4605 \begin_layout Description
4607 Proposition These are less major results which (hopefully) add to the general
4608 theory being discussed.
4611 \begin_layout Description
4613 Conjecture These are statements provided without justification, which the
4614 author does not know how to prove, but which seem to be true (to the author,
4618 \begin_layout Description
4620 Criterion A required condition.
4623 \begin_layout Description
4625 Algorithm A general procedure to be used.
4628 \begin_layout Description
4630 Axiom This is a property or statement taken as true within the system being
4634 \begin_layout Description
4636 Definition Guess what this is for.
4637 The font, both on-screen and in the output, is different for this environment
4638 than for the previous ones.
4639 The heading (,,definition'') is still set in boldface, along with the number,
4640 if any, but the rest is set upright.
4643 \begin_layout Description
4645 Example Sk³ad jest podobny do Definition.
4648 \begin_layout Description
4653 \begin_layout Description
4658 \begin_layout Description
4663 \begin_layout Description
4665 Remark This environment is also a new type of theorem.
4666 This is set with the word Remark in italics, and the rest upright.
4669 \begin_layout Description
4671 Note Set similarly to the Remark environment.
4674 \begin_layout Description
4679 \begin_layout Description
4684 \begin_layout Description
4689 \begin_layout Description
4694 \begin_layout Description
4696 Case Generally, these are used to break up long arguments, using specific
4697 instances of some condition.
4698 The numbering scheme for cases is on its own, not together with other numbered
4702 \begin_layout Description
4707 \begin_layout Description
4712 \begin_layout Description
4718 '' jest pisane kursyw±, but the rest is set upright.
4719 At the end of this environment (other environments can be nested within
4720 this one, of course) a QED symbol (usually a square, but it can vary with
4721 different styles) is placed.
4724 \begin_layout Description
4726 Address Tu powinien byæ podany sta³y adres autora.
4729 \begin_layout Description
4731 Current\InsetSpace ~
4732 Address Tu powinien byæ podany czasowy adres autora, gdy wysy³a³
4733 dokument, o ile jest ró¿ny od podanego powy¿ej w Address.
4736 \begin_layout Description
4738 Email Adres e-mail autora
4741 \begin_layout Description
4743 URL Adres strony internetowej autora.
4746 \begin_layout Description
4748 Keywords S³owa kluczowe i frazy u¿ywane do identyfikacji specyficznych dyskutowa
4749 nych tematów w prasie.
4752 \begin_layout Description
4754 Subjectclass These refer to the AMS Subject Classifications, published and
4757 Mathematical Reviews
4760 These are also available online at the AMS cites listed above.
4763 \begin_layout Description
4768 \begin_layout Description
4773 \begin_layout Description
4778 \begin_layout Standard
4780 Ponadto, ¶rodowiska automatycznie w³±czaj± pakiety AMS-LaTeX i czcionki
4781 AMS, które musz± byæ dostêpne w Twoim systemie, aby mo¿na by³o u¿ywaæ tych
4785 \begin_layout Section
4790 \begin_layout Standard
4796 mo¿e byæ u¿yta do pisania listów zgodnie z niemieck± konwencj±.
4797 Dla Ciebie w folderze
4799 .../lyx/share/templates
4801 znajduje siê plik przyk³adowy, aby by³o ³atwiej zacz±æ.
4804 \begin_layout Section
4809 \begin_layout Standard
4815 jest alternatyw± dla standardowej klasy
4820 Daje ona podobn± funkcjonalno¶æ, ale mo¿na preferowaæ w tym uk³adzie bezszeryfo
4821 we tytularia i jeszcze wiêcej.
4824 \begin_layout Section
4829 \begin_layout Standard
4840 \begin_layout Subsection
4845 \begin_layout Standard
4847 W tej sekcji opisano jak mo¿na u¿yæ LyX-a do pisania artyku³ów do pism naukowych
4849 Astronomy and Astrophysics
4855 przy u¿yciu klasy dokumentu
4859 z pakietu makr wydawnictwa Springer.
4860 Ten pakiet mo¿e byæ ¶ci±gniêty z serwera ftp Springera
4864 \begin_layout Standard
4867 \begin_inset VSpace medskip
4873 \begin_layout Standard
4876 \begin_inset LatexCommand \url{ftp://ftp.springer.de/pub/tex/latex/aa}
4883 \begin_layout Standard
4886 \begin_inset VSpace medskip
4893 \begin_layout Standard
4895 Instrukcja do A&A Paper jest dostarczana razem z pakietem.
4896 Ten tekst nie ma na celu zast±pienia oryginalnej instrukcji ale jest krótkim
4897 przewodnikiem jak wykorzystaæ ten format.
4900 \begin_layout Subsection
4905 \begin_layout Standard
4907 Aby zacz±æ nowy dokument wybieramy z menu
4912 lik\SpecialChar \menuseparator
4924 lik\SpecialChar \menuseparator
4934 \begin_layout Standard
4936 Zalecamy korzystanie z szablonu.
4937 Either create one yourself, or ask the local system administrator to suply
4938 a site-wide version.
4939 Przyk³adowy szablon jest czê¶ci± standardowej dystrybucji LyX-a.
4947 Je¶li nie u¿y³e¶ szablonu to zwróæ uwagê na nastêpuj±ce ustawienia:
4950 \begin_layout Itemize
4952 Wybierz klasê dokumentu
4970 \begin_layout Itemize
4984 Uk³ad jest zrobiony za pomoc± makr i nie powiniene¶ niczego zmieniaæ.
4987 \begin_layout Itemize
4989 Mo¿esz chcieæ u¿yæ czcionki
5000 , jako sugerowanej przez wydawnictwo Springer dla jednolitego wygl±du tekstu
5004 \begin_layout Subsection
5009 \begin_layout Standard
5011 Pierwsz± rzecz± do wprowadzenia jest dane nag³ówkowe.
5012 Które zawieraj± osiem wpisów, z których kilka jest opcjonalnych.
5016 \begin_layout Itemize
5022 : [wymagane] Zobacz podrêcznik Springera.
5025 \begin_layout Itemize
5034 \begin_layout Itemize
5043 \begin_layout Itemize
5052 \begin_layout Itemize
5061 \begin_layout Itemize
5067 : [opcjonalne] je¶li jest wiêcej ni¿ jeden autor, to komu wys³aæ odbitki.
5070 \begin_layout Itemize
5076 : [opcjonalne] adres e-mail dla kontaktu z autorem.
5079 \begin_layout Itemize
5088 Received: <date> / Accepted <date>
5091 \begin_layout Standard
5093 Nie potrzeba wydawaæ polecenia
5099 , jest to robione automatycznie przez LyX gdy nag³ówek jest zakoñczony.
5100 Although the order of the single header entries doesn't matter it is advised
5101 to keep the above sequence, just to get the best optics and meets the layout
5102 of the real document.
5105 \begin_layout Standard
5107 Je¶li chcesz umie¶ciæ przypis w nag³ówku, np.
5108 dla wskazania twojego aktualnego adresu, mo¿esz u¿yæ standardowego przypisu
5114 staw\SpecialChar \menuseparator
5122 LyX w takim przypadku u¿yje automatycznie okre¶lenia
5131 \begin_layout Standard
5133 In addition to these topics, Springer uses two additional LaTeX commands
5134 that have no counterpart in LyX:
5137 \begin_layout Itemize
5145 do oddzielenia ró¿nych nazw takich jak autorzy, instytucje.
5148 \begin_layout Itemize
5156 to mark corresponding author/institute pairs.
5157 The institutes are numbered sequentially as they appear in the
5161 field, so you have to put a marker to each author.
5164 \begin_layout Standard
5166 In both cases, the appropriate command has to be entered in LyX an marked
5171 \begin_layout Subsection
5176 \begin_layout Standard
5178 Streszczenie powinno siê znajdowaæ bezpo¶rednio za nag³ówkiem.
5181 \begin_layout Standard
5183 The only special thing about the abstract environment is that it should
5184 contain an entry with the keywords.
5185 This is not yet implemented for LyX, therefore you have to enter the LaTeX
5192 by hand and mark it as LaTeX code.
5193 Zobacz przyk³adowy artyku³.
5196 \begin_layout Subsection
5198 Obs³ugiwane ¶rodowiska
5201 \begin_layout Standard
5203 Uk³ad A&A paper obs³uguje nastêpuj±ce ¶rodowiska dla strukturyzacji tekstu:
5206 \begin_layout Itemize
5213 \begin_layout Itemize
5220 \begin_layout Itemize
5227 \begin_layout Itemize
5234 \begin_layout Itemize
5241 \begin_layout Itemize
5248 \begin_layout Itemize
5255 \begin_layout Itemize
5262 \begin_layout Itemize
5269 \begin_layout Itemize
5276 \begin_layout Itemize
5283 \begin_layout Itemize
5290 \begin_layout Subsection
5292 Polecenia nie obs³ugiwane przez LyX
5295 \begin_layout Standard
5297 Kilka poleceñ uk³adu
5301 nie jest jeszcze obs³ugiwane w LyX-ie.
5302 Kilka zosta³o ju¿ omówionych.
5303 Dla kompletno¶ci poni¿ej s± one wszystkie wypisane:
5306 \begin_layout Itemize
5315 \begin_layout Itemize
5324 \begin_layout Itemize
5333 \begin_layout Itemize
5342 \begin_layout Itemize
5351 \begin_layout Itemize
5360 \begin_layout Itemize
5369 \begin_layout Standard
5371 Je¶li chcesz u¿yæ którego¶ z tych poleceñ, to musisz wpisaæ je sam.
5372 I nie zapomnij wpisywaæ je w trybie LaTeX-a!
5375 \begin_layout Subsection
5377 Wstawki -- rysunki i tabele
5380 \begin_layout Standard
5382 LyX obs³uguje niezbêdne ¶rodowiska wstawek
5384 figure, figure*, table
5390 , dlatego nie wspominamy o nich tutaj wiêcej.
5393 Podrêcznika U¿ytkownika
5396 Pamiêtaj, ¿e tabele powinny byæ wyrównane lewostronnie.
5397 Do tego celu wybierz tabelê i zmieñ wyrównanie w
5402 k³ad\SpecialChar \menuseparator
5410 \begin_layout Standard
5412 Jest tylko jedna specjalna rzecz: rysunki z podpisami.
5413 Aby utworzyæ takie rysunki musisz wykonaæ poni¿sze kroki:
5416 \begin_layout Enumerate
5418 Utwórz szerok± wstawkê:
5423 staw\SpecialChar \menuseparator
5428 stawki\SpecialChar \menuseparator
5438 \begin_layout Enumerate
5440 Wpisz tre¶æ podpisu rysunku.
5443 \begin_layout Enumerate
5449 aby przesun±æ kursor powy¿ej podpisu,
5452 \begin_layout Enumerate
5454 Wstaw swój rysunek (eps),
5457 \begin_layout Enumerate
5459 Ustaw kursor za rysunkiem i wstaw odstêp poziomy:
5464 staw\SpecialChar \menuseparator
5471 \SpecialChar \menuseparator
5479 \begin_layout Enumerate
5481 Prze³±cz siê do trybu LaTeX:
5489 \begin_layout Enumerate
5499 Nie zamykaj nawiasu!
5502 \begin_layout Enumerate
5504 Ustaw kursor za podpisem, prze³±cz siê do trybu LaTeX-a i wstaw brakuj±cy
5512 \begin_layout Standard
5514 Zobacz tak¿e rysunek w przyk³adowym artykule.
5517 \begin_layout Subsection
5522 \begin_layout Standard
5524 For submission, the paper has to be formated in a special double-spacing
5526 For this purpose, you have to give the option
5530 to the documentclass.
5531 This must be done using the
5542 Document\InsetSpace ~
5546 Just enter the string
5553 \begin_layout Subsection
5558 \begin_layout Standard
5564 znajduje siê plik przyk³adowy artyku³ napisany w LyX-ie.
5565 To jest przyk³ad z oryginalnago pakietu makr Springera przet³umaczonego
5567 U¿yj go jako inspiracjê i porównanie oryginalnego kodu LaTeX-a z LyX-owym
5571 \begin_layout Section
5576 \begin_layout Standard
5583 \begin_layout Subsection
5588 \begin_layout Standard
5590 AASTeX jest zestawem makr wydanych przez American Astronomical Society dla
5591 u³atwienia wysy³ania elektronicznych manuskryptów do trzech pism wydawanych
5594 Astrophysical Journal
5596 (w³±czaj±c Listy i Suplement),
5598 Astronomical Journal
5602 Publications of the Astronomical Society of the Pacific
5605 LyX wymaga co najmniej wersji 5.0 tych makr.
5606 Wersje starsze od 5.0 s± przeznaczone dla LaTeX2.09 i s± niekompatybilne
5608 Pakiet AASTeX mo¿na pobraæ z serwera ftp AAS
5612 \begin_layout Standard
5615 \begin_inset VSpace medskip
5621 \begin_layout Standard
5624 \begin_inset LatexCommand \url{ftp://ftp.aas.org/pubs}
5631 \begin_layout Standard
5634 \begin_inset VSpace medskip
5641 \begin_layout Standard
5643 A complete user guide is contained in that package and you should familiarize
5644 yourself with it thoroughly before embarking on writing a paper in LyX.
5645 LyX will not reduce the need to figure out all the AASTeX commands, it
5646 will only reduce the drudgery of typing everything in.
5647 It is your responsibility to ensure that the final exported LaTeX document
5648 conforms completely to the requirements of the journal to which you are
5649 submitting your paper.
5652 \begin_layout Subsection
5654 Starting a New Paper
5657 \begin_layout Standard
5659 I strongly suggest that you start with the AASTeX template file.
5662 File\SpecialChar \menuseparator
5665 , enter the new file name, then choose the
5670 This will show the most common fields found in a manuscript.
5671 Simply overwrite the existing text (including the brackets,
5675 ) with the correct information.
5676 Many of the AASTeX commands and environments can be implemented directly
5677 in LyX, but some cannot: most noticeably
5689 , which should stick out like a sore thumb if you actually just opened the
5691 For commands such as these, the LaTeX code must be entered directly and
5693 Such commands are referred to as ERT, or Evil Red Text.
5694 I tried to minimize the amount of ERT needed in an AASTeX document, but
5695 there is still more required than any of us would like.
5698 \begin_layout Subsection
5700 Finishing Your Paper
5703 \begin_layout Standard
5705 When the paper is finished to your satisfaction and previews/prints correctly,
5707 \begin_inset Quotes eld
5711 \begin_inset Quotes erd
5714 actions which need to be done before you submit it to the journals.
5717 \begin_layout Enumerate
5719 Export your paper as a LaTeX file (
5721 File\SpecialChar \menuseparator
5722 Export\SpecialChar \menuseparator
5728 \begin_layout Enumerate
5734 file with your favorite text editor
5738 \begin_layout Enumerate
5740 remove the comment lines before the
5749 \begin_layout Enumerate
5755 usepackage...{fontenc}
5757 line if it appears (usually just after
5772 \begin_layout Enumerate
5774 remove everything between (and including) the
5786 commands, except for any commands you specifically put into the LaTeX preamble
5787 (which should appear immediately after the
5788 \begin_inset Quotes eld
5791 User specified LaTeX commands
5792 \begin_inset Quotes erd
5802 \begin_layout Enumerate
5810 commands and replace
5811 \begin_inset Quotes eld
5819 \begin_inset Quotes erd
5822 with the correct, real file name.
5825 \begin_layout Enumerate
5833 commands, if necessary (see section
5834 \begin_inset LatexCommand \ref{cite}
5841 \begin_layout Enumerate
5843 Run the resulting file through LaTeX to make sure it still processes correctly.
5846 \begin_layout Enumerate
5848 Reread the journal requirements to make sure your filenames and formats
5852 \begin_layout Enumerate
5857 \begin_layout Subsection
5859 Comments On Specific Commands
5862 \begin_layout Standard
5864 I will not describe the detailed usage of the individual AASTeX commands:
5865 the AASTeX User Guide (
5869 ) gives a good description of each.
5870 Thus it's probably easiest for me to go down the list as found in the guide
5871 and offer comments where necessary.
5872 So let's begin \SpecialChar \ldots{}
5876 \begin_layout Subsubsection
5878 Things that work as expected
5881 \begin_layout Standard
5887 \begin_layout Standard
5898 \begin_layout Standard
5900 Because they work as you might expect, I simply list them and the section
5995 begin{thebibliography}
6027 (2.14.4, amongst other places),
6054 \begin_layout Standard
6056 The following style options also work correctly:
6079 Layout\SpecialChar \menuseparator
6085 \begin_layout Standard
6091 \begin_layout Standard
6102 \begin_layout Subsubsection
6104 Things that work, but require more comment
6107 \begin_layout Standard
6109 The following items work, but require a little more discussion:
6112 \begin_layout Itemize
6114 These items are reserved for use by the journal editors, but you can put
6115 them into the LaTeX preamble if you feel compelled to do so:
6148 \begin_layout Itemize
6150 These items may be placed in the LaTeX preamble, and are included as blanks
6151 in the template file:
6172 \begin_layout Itemize
6180 (2.3) -- can only be used
6181 \begin_inset Quotes eld
6185 \begin_inset Quotes erd
6188 , not in the middle of a paragraph.
6189 Use ERT if you need to embed it.
6192 \begin_layout Itemize
6200 (2.3) -- will have extra {} after it.
6201 This should not cause an error.
6204 \begin_layout Itemize
6212 (2.6) -- can only be used
6213 \begin_inset Quotes eld
6217 \begin_inset Quotes erd
6220 , not in the middle of a paragraph.
6221 Use ERT if you need to embed it.
6224 \begin_layout Itemize
6232 (2.8) -- can't insert a cross-reference tag, you must type the tag name
6236 \begin_layout Itemize
6244 (2.8) -- same as for
6251 \begin_layout Itemize
6259 (2.9) -- will have extra {} after it.
6260 This should not cause an error.
6263 \begin_layout Itemize
6271 (2.10) -- will have extra {} after it.
6272 This should not cause an error.
6275 \begin_layout Itemize
6283 (2.13.2) -- you will have to edit the optional argument by hand in the final
6287 \begin_layout Subsubsection
6289 Things not implemented, use ERT
6292 \begin_layout Standard
6298 \begin_layout Standard
6309 \begin_layout Standard
6333 setcounter{equation}
6347 (2.12), Journal name abbreviations (2.12.4),
6383 (2.14.4, insert it as the first element in the lefthand cell after where
6385 Don't use any of LyX's rules in the table),
6397 (2.14.5), most everything in Misc (2.15, except
6436 \begin_layout Standard
6442 \begin_layout Standard
6453 \begin_layout Subsubsection
6455 Things that cannot be implemented
6458 \begin_layout Standard
6460 \SpecialChar \ldots{}
6461 at least in any meaningful sort of way, so I suggest ignoring them.
6462 They are the references environment (2.12.3), and the deluxetable environment
6464 If you really, really need to use deluxetable, I suggest editing it in
6465 a separate file with a text editor, then using
6467 Insert\SpecialChar \menuseparator
6470 to include it in your LyX document.
6475 file to see an example of this.
6478 \begin_layout Subsection
6480 FAQs, Tips, Tricks, and Other Ruminations
6483 \begin_layout Subsubsection
6485 Getting LyX and AASTeX to cooperate
6488 \begin_layout Standard
6490 It can be a bit tricky to get LyX to recognize a new layout and document
6492 When all else fails, do this:
6495 \begin_layout Enumerate
6497 Make certain that LaTeX can find AASTeX.
6498 Copy sample.tex (and perhaps table.tex) from the AASTeX distribution into
6499 a directory completely unrelated to LaTeX or AASTeX and run LaTeX on
6506 \begin_layout Enumerate
6514 /usr/.../share/lyx/layouts
6523 \begin_layout Enumerate
6527 Options\SpecialChar \menuseparator
6530 in LyX, then restart LyX.
6533 \begin_layout Enumerate
6535 Open a regular new file, not from a template.
6536 Does AASTeX appear in
6538 Layout\SpecialChar \menuseparator
6539 Document\SpecialChar \menuseparator
6545 \begin_layout Standard
6547 If you get a warning from an existing AASTeX document about not being able
6548 to find the AASTeX layout or a message about
6549 \begin_inset Quotes eld
6552 You should not mix title layouts with normal ones
6553 \begin_inset Quotes erd
6556 , things haven't been installed correctly.
6559 \begin_layout Subsubsection
6561 LaTeX error processing a table
6564 \begin_layout Standard
6566 LyX, by default, attempts to center the table caption/title.
6567 This seems to produce a bad interaction in AASTeX so you should click somewhere
6568 in the caption/title, then select
6570 Layout\SpecialChar \menuseparator
6582 This took care of it for me.
6585 \begin_layout Subsubsection
6588 \begin_inset LatexCommand \label{cite}
6595 \begin_layout Standard
6597 A few things: 1) I have noticed some funny spacing in the reference entries
6599 When you enter the bibliography item data, make sure their is
6603 space between the last author and the parenthesis setting off the year;
6616 2) I am really unhappy that I can't make
6628 more automatic, but that would require changes to the LyX source code.
6629 For now you can do one of two things: a) enter all your citations using
6632 Insert\SpecialChar \menuseparator
6635 mechanism; at least you can take advantage of the automatic insertions.
6636 Then edit the exported LaTeX file by hand changing the
6642 entries to the appropriate
6654 commands before you submit it (
6660 is currently equivalent to
6666 , so you wouldn't necessarily have to change those).
6667 Or b) you can simply enter all your citations as ERT using the same key
6668 for the argument that you used in the bibliography popup,
6678 Neither choice is pleasant, but until LyX's citation mechanism understands
6682 , we'll have to put up with it.
6683 3) Entering the references at all is not obvious.
6684 The easiest thing is to start typing your first reference at the end of
6685 the document, then mark it as type
6690 That will put a small gray box in front of what you just typed.
6691 Click on the box to fill in the rest of the information.
6692 For new references, go to the end of an existing reference and press return.
6693 That will create a new line with its own box, etc.
6696 \begin_layout Subsubsection
6698 W³±czanie plików EPS
6701 \begin_layout Standard
6703 With all due respect to Chris Biemesderfer and the others who have helped
6704 to write the AASTeX package, the figure handling mechanism smells really
6713 commands as ERT into a Figure Float box, but I never have much luck getting
6715 My advice would be to avoid all EPS inclusions in the manuscript you submit
6716 to the journal, but then use the standard LyX EPS file inclusion mechanism
6717 when you want to make your nicer looking preprints.
6722 usepackage{graphics}
6724 command into the LaTeX preamble and handle the figures in the standard
6726 Anyone who attempts to print your AASTeX 5.0 manuscript must have a LaTeX2e
6727 installation anyway, so why not take advantage of the infinitely better
6728 graphics handling mechanism? If they complain about LaTeX2e or the graphics
6729 package, point out that it appears in the second edition of Lamport (1994),
6730 so it was time to upgrade six years ago.
6733 \begin_layout Subsubsection
6735 Things I could have done, but didn't
6738 \begin_layout Standard
6740 There are a few ,,pretty'' things I could have implemented, but chose not
6742 For instance, I saw no point in double-spacing the text in the LyX window,
6743 even though it is double-spaced in the paper manuscript.
6744 Also, I chose not to make separate layouts for the preprint and preprint2
6746 Since I assume you will spend most of your time in the plain manuscript
6747 mode anyway, I decided not to chew up more disk space with this.
6748 If you feel strongly that I should make such layouts, I will adhere to
6749 the spirit of the rules laid out by the Mudgeeraba Creek Emu-Riding and
6750 Boomerang-Throwing Association:
6753 \begin_layout Quotation
6755 ,,Decisions of the judges will be final unless shouted down by a really
6756 overwhelming majority of the crowd present.
6757 Abusive and obscene language may not be used by contestants when addressing
6758 members of the judging panel, or, conversely, by members of the judging
6759 panel when addressing contestants (unless struck by a boomerang)''.
6762 \begin_layout Subsection
6767 \begin_layout Standard
6769 To mangle the infamous quote by Donald Knuth about a computer algorithm,
6770 ,,I have only proved this to be correct, I have not actually tried it''.
6771 I believe following the above procedures will produce an acceptable AASTeX
6772 document, but as of this update (Jan 25, 2000), I have not yet submitted
6774 Hopefully in the next few months \SpecialChar \ldots{}
6778 \begin_layout Section
6783 \begin_layout Standard
6787 Panayotis Papasotiriou
6790 \begin_layout Subsection
6795 \begin_layout Standard
6797 The ijmpd package is a set of macros that facilitates electronic manuscript
6800 International Journal of Modern Physics D
6802 published by World Scientific.
6803 The name of the document class is
6808 This file, together with instructions for the authors, can be downloaded
6810 \begin_inset LatexCommand \url{http://www.worldscinet.com/ijmpd/mkt/guidelines.shtml}
6815 The ijmpd package is a modified version of the standard
6816 \begin_inset Quotes eld
6820 \begin_inset Quotes erd
6824 Most of its features are supported by LyX.
6825 I have recently used LyX successfully to write an article submitted to
6828 International Journal of Modern Physics D
6833 \begin_layout Subsection
6838 \begin_layout Standard
6840 As usual, the easiest way to write a paper is to start with a template.
6846 ile\SpecialChar \menuseparator
6858 This will give an (almost) empty document that includes the most common
6859 fields found in a manuscript.
6860 Simply overwrite the existing text (including the brackets,
6864 ) with the correct information.
6865 You should keep in mind the following remarks.
6868 \begin_layout Enumerate
6870 LyX won't let you change the font size and the page style of the document,
6871 because the ijmpd package does not allow such modifications.
6874 \begin_layout Enumerate
6876 The ijmpd package requires that the language of the document should not
6878 Before previewing your paper, be sure that the babel package is not used.
6879 To do this, click on
6884 dit\SpecialChar \menuseparator
6899 tab), then deselect the
6917 , if you wish to make this change permanent).
6920 \begin_layout Enumerate
6922 Two new environments, named
6923 \begin_inset Quotes eld
6927 \begin_inset Quotes erd
6931 \begin_inset Quotes eld
6935 \begin_inset Quotes erd
6938 are available (their use is obvious).
6941 \begin_layout Enumerate
6943 Appendices may be added to the paper.
6944 LyX offers a special environment, called
6945 \begin_inset Quotes eld
6949 \begin_inset Quotes erd
6952 which marks the beginning of the appendix.
6953 An appendix can contain normal sections, subsections, or subsubsections.
6956 \begin_layout Enumerate
6958 The ijmpd package implements table captions quite differently than LyX does.
6959 As a result, a table created by LyX is printed correctly, but its caption
6961 If you need table captions, you should implement the whole table float
6966 file, then include this file to the LyX document (
6971 nsert\SpecialChar \menuseparator
6979 Details on how to create an ijmpd table float can be found in the file
6984 , which is included in the ijmpd package.
6987 \begin_layout Subsection
6989 Preparing a paper for submission
6992 \begin_layout Standard
6994 Before you submit your paper you must export the LyX document as a LaTeX
7000 ile\SpecialChar \menuseparator
7005 xport\SpecialChar \menuseparator
7012 ), then make the following changes to the resulting
7019 \begin_layout Enumerate
7021 Remove the comment lines before the
7030 \begin_layout Enumerate
7032 Remove everything between (and including) the
7044 commands, except for any commands you specifically put into the LaTeX preamble.
7047 \begin_layout Standard
7053 file should be saved and processed through LaTeX as many times as necessary.
7054 You may also want to check the resulting
7061 \begin_layout Subsection
7066 \begin_layout Standard
7068 U¿ycie wstawek ERT jest opcjonalne i jest zredukowane do trzech poleceñ,
7069 which affect the look of the page.
7070 If you started writing your paper by using the
7074 template, the ERT needed is already in its place; you usually don't need
7076 You may only change the first ERT to specify the information printed to
7077 the top of odd and even pages (authors' names and short paper's title,
7079 This ERT must have the form
7083 markboth{Authors' Names}{Short Paper's Title}
7088 \begin_layout Section
7093 \begin_layout Standard
7097 Panayotis Papasotiriou
7100 \begin_layout Subsection
7105 \begin_layout Standard
7107 Pakiet Kluwer jest zestawem makr wydanych przez Kluwer Academic Publishers
7108 aby u³atwiæ elektroniczn± wysy³kê manuskryptów do pism wydawanych przez
7110 Najbardziej znane z nich (at least in my domain of interest), to
7112 Astrophysics and Space Science
7118 , ale istnieje wiele innych (zobacz kompletn± listê pod adresem
7119 \begin_inset LatexCommand \url{http://www.wkap.nl/jrnllist.htm/JRNLHOME}
7124 Pakiet Kluwer mo¿na pobraæ z serwisu
7125 \begin_inset LatexCommand \url{http://www.wkap.nl/kaphtml.htm/STYLEFILES}
7130 Kompletna dokumentacja jest zawarta w pakiecie (ale mo¿na pobraæ j± oddzielnie).
7133 \begin_layout Standard
7135 LyX obs³uguje wiele cech pakietu ale nie wszystkie.
7136 Mimo to wstawki ERT s± potrzebne do redukcji ,,osobliwych'' poleceñ pakietu
7138 \begin_inset LatexCommand \ref{subsec:kluwer_peculiarities}
7143 Ja ostatnio napisa³em bez ¿adnych problemów artyku³ wys³any do pisma
7145 Astrophysics and Space Science
7150 \begin_layout Subsection
7155 \begin_layout Standard
7157 Naj³atwiejsz± drog± do napisania nowego artyku³u jest skorzystanie z szablonu.
7158 Wybierz polecenie z menu
7160 Plik\SpecialChar \menuseparator
7163 , a nastêpnie wybierz plik szablonu
7168 Otrzymasz wówczas (prawie) pusty dokument, który zawiera wiêkszo¶æ pól
7169 z manuskryptu z krótkim opisem ich u¿ycia.
7170 I jak w wiêkszo¶ci szablonów zast±p istniej±ce teksty (w³±czaj±c nawiasy
7175 ) poprawnymi informacjami.
7178 \begin_layout Subsection
7180 Przygotowanie artyku³u do wys³ania
7183 \begin_layout Standard
7185 Podobnie jak przy pakiecie AASTeX przed wysy³k± artyku³u do wydawnictwa,
7186 artyku³ nale¿y przetworzyæ, co opisano dalej w kolejnych krokach:
7189 \begin_layout Enumerate
7191 Wyeksportuj artyku³ do pliku LaTeX.
7192 Zrób to przez wybór polecenia z menu
7197 lik\SpecialChar \menuseparator
7202 ksportuj\SpecialChar \menuseparator
7213 \begin_layout Enumerate
7215 Wyedytuj uzyskany plik
7219 w edytorze tekstowym dokonuj±c nastêpuj±cych zmian:
7223 \begin_layout Enumerate
7225 usuñ wiersze komentarza przed poleceniem
7234 \begin_layout Enumerate
7236 usuñ wszystko pomiêdzy dyrektywami
7248 w³±cznie, z wyj±tkiem Twoich specyficznych poleceñ wstawionych do preambu³y.
7251 \begin_layout Standard
7253 Zapisz uzyskany plik
7260 \begin_layout Enumerate
7266 przez LaTeX tyle razy ile potrzeba (zwykle do trzech razy).
7269 \begin_layout Enumerate
7271 Zobacz utworzony plik
7275 korzystaj±c z przegl±darki np.
7280 i sprawd¼ czy wszystko jest ok (tak powinno byæ je¶li nie pope³ni³e¶ b³êdów).
7283 \begin_layout Subsection
7285 ,,Osobliwo¶ci'' pakietu Kluwer
7286 \begin_inset LatexCommand \label{subsec:kluwer_peculiarities}
7293 \begin_layout Standard
7295 Pakiet Kluwer posiada nastêpuj±ce ,,osobliwo¶ci'':
7298 \begin_layout Enumerate
7300 Jest mo¿liwe pisanie wielu artyku³ów w tym samym pliku LaTeX-a
7304 \begin_layout Standard
7306 Nie mogê wyobraziæ sobie innego dobrego powodu aby to zrobiæ
7312 Ka¿dy artyku³ musi byæ zawarty w ¶rodowisku ,,article''.
7313 Niestety, tego ¶rodowiska nie mo¿na pomin±æ, nawet je¶li piszemy tylko
7315 Dlatego ka¿dy artyku³ zaczyna siê poleceniem
7321 i koñczy oczywi¶cie poleceniem
7328 Mimo to mo¿na to zaimplementowaæ w LyX-ie, ale ja nie do³±czam tego, od
7329 czasu jak to wygl±da brzydko i mo¿e peszyæ nowych u¿ytkowników.
7330 Dlatego Ty potrzebujesz wpisaæ te polecenia wprost jako kod LaTeX (jako
7334 \begin_layout Enumerate
7336 Informacje podane na pocz±tku artyku³u (np.: title, subtitle, author, institution
7337 , running title, running author, abstract i keywords) musz± znajdowaæ siê
7339 ¶rodowisku ,,opening''.
7340 Tego nie zaimplementowano w LyX-ie, tak ¿e Ty musisz umie¶ciæ title, subtitle
7342 pomiêdzy dwoma wstawkami ERT (
7357 \begin_layout Enumerate
7359 Wed³ug podrêcznika u¿ytkownika etykieta ka¿dej pozycji bibliografii musi
7383 \begin_layout Standard
7389 zajmuje siê tymi wszystkimi ,,osobliwo¶ciami'' Je¶li zaczynasz z nowym
7390 artyku³em korzystaj±c z tego szablonu, to nie potrzebujesz robiæ nic specjalneg
7395 \begin_layout Enumerate
7397 nie usuwaj wstawek ERT do³±czonych do szablonu i
7400 \begin_layout Enumerate
7402 skopiuj przyk³adow± bibliografiê do³±czona do szablonu i dostosuj j± przez
7403 dopisanie nowych pozycji.
7406 \begin_layout Section
7411 \begin_layout Standard
7418 \begin_layout Subsection
7423 \begin_layout Standard
7425 LyX-owe klasy dokumentu
7427 article (koma-script)
7431 report (koma-script)
7441 odpowiadaj± LaTeX-owym klasom odpowiednio
7457 , z rodziny Koma-Script.
7458 Zastêpuj± one standardowe klasy dokumentu odpowiednio
7474 , i s± bli¿sze europejskim konwencjom typograficznym
7477 \begin_layout Itemize
7479 Standardow± wielko¶ci± czcionki jest 11pt w
7481 article (koma-script)
7485 report (koma-script)
7493 letter (koma-script)
7498 \begin_layout Itemize
7500 Tytularia, etykiety opisu ¶rodowisk i kilka elementów klasy
7502 letter (koma-script)
7504 s± sk³adane czcionk± pó³grub± bezszeryfow±
7508 \begin_layout Standard
7510 Istnieje du¿a ró¿nica pomiêdzy starymi pó³grubymi czcionkami bezszeryfowymi
7511 rodziny cm, a nowymi rodziny ec, szczególnie w wygl±dzie tytulariów.
7512 Dla porównania pó³gruba czcionka bezszeryfowa rodziny ec wygl±da na troszkê
7522 pomaga tworzyæ ,,zwyk³y'' wygl±d przy u¿yciu czcionek ec.
7528 Numeracja tytu³ów rozdzia³ów jest zrobiona tak samo jak numeracja sekcji,
7529 czyli bez wiersza ,,Rozdzia³\SpecialChar \ldots{}
7531 Ponadto wygl±d tytulariów mo¿e byæ zmieniony za pomoc± kilku opcji (w LyX-ie
7532 wprowadza siê je w polach
7541 k³ad\SpecialChar \menuseparator
7551 \begin_layout Itemize
7553 G³ównym zamierzeniem projektowania obszaru pisania klas dokumentu Koma-Script
7562 (w LyX-ie wprowadza siê je w polach
7571 k³ad\SpecialChar \menuseparator
7579 Dziêki nim mamy klarown± mo¿liwo¶æ zmiany szeroko¶ci marginesów jako opcje
7585 k³ad\SpecialChar \menuseparator
7595 \begin_layout Itemize
7597 Klasy LaTeX-owe rodziny Koma-Script definiuj± kilka dodatkowych poleceñ.
7598 Czê¶æ z nich, które maj± sens w LyX-ie s± zaimplementowane w odpowiednich
7602 \begin_layout Standard
7604 Szczegó³owy opis (w jêzyku niemieckim) LaTeX-owych klas dokumentu rodziny
7605 Koma-Script mo¿na znale¼æ w dokumentacji Koma-Script
7611 \begin_layout Standard
7613 Istnieje angielskie t³umaczenie --
7617 , ale nie jest kompletne
7624 Dalsze punkty opisuj± tylko te aspekty, które s± zwi±zane z LyX-em.
7627 \begin_layout Subsection
7629 Klasy article (koma-script), report (koma-script) i book (koma-script)
7632 \begin_layout Standard
7636 article (koma-script)
7640 report (koma-script)
7646 s± zaimplementowane w plikach uk³adu, odpowiednio:
7659 Zawieraj± one wszystkie ¶rodowiska odpowiednich standardowych klas dokumentu
7672 , czê¶ciowo zmienione z wy³±czeniem LyX-owego ¶rodowiska
7676 , które jest zast±pione przez nowe ¶rodowisko
7680 o takiej samej funkcji.
7685 zosta³o dodane do kilku nowych ¶rodowisk, ale nie s± one czê¶ci± klasy
7687 letter (koma-script)
7692 \begin_layout Itemize
7702 : s± odpowiednikami dla
7710 , dodatkowo daj± wpis do spisu tre¶ci.
7715 nie istnieje w klasie
7717 article (koma-script)
7722 \begin_layout Itemize
7732 : zachowuj± siê dok³adnie tak jak
7740 , additionally clearing running heads.
7745 nie istnieje w klasie
7747 article (koma-script)
7752 \begin_layout Itemize
7758 : generuje tytu³ tu¿ nad nastêpnym akapitem w standardowej wielko¶ci czcionki
7759 bez wp³ywu na strukturê dokumentu.
7762 \begin_layout Standard
7764 Nastêpuj±ce ¶rodowiska, razem ze standardowymi:
7776 , tworz± stronê tytu³ow± dokumentu.
7777 Musz± byæ wstawione na pocz±tku pierwszego ,,normalnego'' akapitu
7781 \begin_layout Standard
7783 Odpowiednie polecenia LaTeX musz± pojawiæ siê przed poleceniem
7792 Gdy dane ¶rodowisko jest u¿yte czê¶ciej ni¿ jeden raz, to zostanie uwzglêdnione
7793 tylko ostatnie jego wyst±pienie w tek¶cie.
7794 Te dodatkowe ¶rodowiska, podobnie jak
7806 , nie wp³ywaj± na wygl±d tworzonego dokumentu.
7809 \begin_layout Itemize
7815 : tworzy wy¶rodkowany akapit powy¿ej podstawowego tytu³u (
7827 ) z tematem dokumentu.
7830 \begin_layout Itemize
7836 : tworzy wy¶rodkowany akapit poni¿ej podstawowego tytu³u (
7851 \begin_layout Itemize
7859 report (koma-script)
7865 tworzy wy¶rodkowany akapit z dedykacj± na oddzielnej stronie za stron±
7866 tytu³ow±, a w klasie
7868 article (koma-script)
7870 tworzy wy¶rodkowany akapit z dedykacj± poni¿ej podstawowego tytu³u (
7885 \begin_layout Itemize
7891 : tworzy wyrównany do lewej powy¿ej podstawowego tytu³u (
7903 ) dla nag³ówka dokumentu.
7906 \begin_layout Itemize
7912 : tworzy w druku dwustronnym w klasach
7914 report (koma-script)
7920 na tyle strony tytu³owej u góry wyrównany do lewej akapit, a w przypadku
7921 druku jednostronnego lub klasy
7923 article (koma-script)
7928 \begin_layout Itemize
7934 : tworzy w druku dwustronnym w klasach
7936 report (koma-script)
7942 na tyle strony tytu³owej u do³u wyrównany do lewej akapit, a w przypadku
7943 druku jednostronnego lub klasy
7945 article (koma-script)
7950 \begin_layout Itemize
7956 : tworzy specjaln± ,,brudn±'' stronê na pocz±tku dokumentu zawieraj±c± akapit
7957 bez specjalnego formatowania.
7960 \begin_layout Standard
7962 Pliki uk³adu dla klas dokumentu
7964 article (koma-script)
7968 report (koma-script)
7979 Który jest w³a¶ciwym miejscem do definiowania w³asnych ¶rodowisk.
7984 do swojego osobistego foldera uk³adów i wyedytuj go!
7987 \begin_layout Subsection
7989 Klasa letter (koma-script)
7992 \begin_layout Standard
7998 \begin_layout Standard
8009 \begin_layout Standard
8013 letter (koma-script)
8015 jest zaimplementowana w pliku uk³adu
8020 Zawiera on wszystkie ¶rodowiska odpowiadaj±ce standardowej klasie
8024 , czê¶ciowo zmienione z wy³±czeniem LyX-owych ¶rodowisk
8040 , które s± zast±pione przez nowe ¶rodowisko
8044 o takiej samej funkcji.
8045 Ponadto zawiera, w odró¿nieniu od standardowej klasy, standardowe ¶rodowiska
8062 Dodatkowo jest kilka nowych specyficznych ¶rodowisk.
8065 \begin_layout Standard
8071 \begin_layout Standard
8082 \begin_layout Standard
8084 Wygl±d listu z³o¿onego w tej klasie dokumentu mo¿e byæ sterowany za pomoc±
8085 kilku poleceñ LaTeX-a (w LyX-ie mo¿na je wprowadziæ wybieraj±c z menu
8090 k³ad\SpecialChar \menuseparator
8101 \begin_layout Standard
8103 Na przyk³ad, standardowy wygl±d nag³ówka listu zawieraj±cy nazwê i adres
8104 jest ca³kowicie self-willed.
8105 ,,Podstawowy'' nag³ówek jest tworzony za pomoc± nastêpuj±cych poleceñ w
8109 \begin_layout LyX-Code
8120 \begin_layout LyX-Code
8137 \begin_layout LyX-Code
8148 \begin_layout LyX-Code
8169 Dziêki temu autor listu mo¿e utworzyæ swój w³asny uk³ad.
8170 Szczegó³owy opis (w jêzyku niemieckim) LaTeX-owych klas dokumentu rodziny
8171 Koma-Script mo¿na znale¼æ w dokumentacji Koma-Script
8178 \begin_layout Standard
8188 definiuj± pocz±tek listu i musz± byæ u¿yte w ka¿dym li¶cie.
8189 Dla podkre¶lenia ich w dokumencie, s± zaznaczone literami odpowiednio
8197 na lewym marginesie.
8198 To umo¿liwia napisanie dowolnej liczby listów w jednym pliku.
8203 tworzy nowy list u¿ywaj±c tego samego adresu, a
8224 s± podstawowymi ¶rodowiskami i mog± byæ u¿ywane wielokrotnie w tym samym
8228 \begin_layout Itemize
8234 : tworzy akapit na adres i definiuje pocz±tek listu.
8237 \begin_layout Itemize
8243 : tworzy akapit dla adresu i zaczyna nowy list.
8246 \begin_layout Itemize
8252 : tworzy akapit na tekst zamykaj±cy list.
8255 \begin_layout Itemize
8261 : tworzy akapit na Postscriptum.
8264 \begin_layout Itemize
8270 : tworzy akapit na listê rozdzielnika (Do wiadomo¶ci).
8273 \begin_layout Itemize
8279 : tworzy akapit dla za³±czników.
8282 \begin_layout Standard
8324 wy¶wietlaj± etykiety, dla u³atwienia wpisywania, których zawarto¶æ jest
8325 przetwarzana przez klasê letter (Koma-Script)
8329 \begin_layout Standard
8331 It could be seen as a matter of inconsequence, that the types
8339 described above are not such input types as well.
8340 Because of the special meaning of those types, however, I have implemented
8341 them as ordinary paragraph types with a one letter mark in the left margin.
8342 Moreover, it would affect my feeling of symmetry, if the
8350 type had such a serious different appearance.
8355 Te ¶rodowiska musz± byæ u¿yte na pocz±tku odpowiedniego ¶rodowiska
8362 \begin_layout Standard
8364 Implementacja tych ¶rodowisk w trybie WYSIWYG nie ma sensu, poniewa¿ rzeczywisty
8365 wygl±d z³o¿onego listu zale¿y nie tylko od u¿ycia w³a¶ciwego ¶rodowiska,
8366 ale tak¿e innych czynników.
8367 Na przyk³ad podpis wprowadzony w ¶rodowisku
8371 bêdzie pojawia³ siê tylko w li¶cie, w którym u¿yto ¶rodowiska
8376 Zawarto¶æ ¶rodowiska
8380 standardowo nie bêdzie pojawiaæ siê przy wszystkich z³o¿onych listach.
8381 Mo¿liwo¶æ projektowania wolnych nag³ówków listu jest ju¿ wspomniana w przypisie
8385 \begin_layout Standard
8387 ¦rodowiska mog± byæ tak¿e u¿ywane jako puste akapity.
8398 nie zosta³o w ogóle u¿yte, to standardowo jest zastêpowane zawarto¶ci±
8403 , ale je¶li mamy puste ¶rodowisko
8407 to nie jest niczym zastêpowane.
8410 \begin_layout Standard
8412 Przez u¿ycie ¶rodowisk mo¿na utworzyæ szablon listu, z czê¶ciowo wype³nionymi
8413 polami ¶rodowisk (np.
8417 \begin_layout Itemize
8423 : nazwa nadawcy, standardowo pojawia siê jako wy¶rodkowany akapit w nag³ówku
8425 Tekst pisany jest du¿ymi literami.
8428 \begin_layout Itemize
8434 : podpis nadawcy, standardowo pojawia siê poni¿ej tre¶ci ¶rodowiska
8439 Je¶li nie u¿yto ¶rodowiska
8443 to zamiast niego pojawia siê zawarto¶æ
8450 \begin_layout Itemize
8456 : adres nadawcy, standardowo pojawia siê jako wy¶rodkowany akapit w nag³ówku
8457 listu, poni¿ej nazwy nadawcy.
8460 \begin_layout Itemize
8466 : numer telefonu nadawcy, pojawia siê tylko, gdy jest w³±czona zmienna LaTeX
8475 \begin_layout Itemize
8481 : miejsce napisania listu.
8484 \begin_layout Itemize
8490 : data napisania listu.
8499 standardowo sk³adane s± w wierszu poni¿ej pola adresu nadawcy wyrównane
8505 jest puste, to zawarto¶æ ¶rodowiska
8510 Je¶li nie u¿yto ¶rodowiska
8514 , to domy¶lnie pobierana jest data sk³adu.
8517 \begin_layout Itemize
8523 : adres zwrotny, standardowo sk³adany jest powy¿ej adresu docelowego ma³±
8524 czcionk± bezszeryfow±.
8527 \begin_layout Itemize
8533 : uwagi dla poczty (np.
8534 do r±k w³asnych), standardowo pojawiaj± siê pomiêdzy adresem zwrotnym a
8535 docelowym, i s± podkre¶lone.
8538 \begin_layout Itemize
8544 : dodatkowa informacja, standardowo pojawia siê przy prawym marginesie poni¿ej
8548 \begin_layout Itemize
8554 : tytu³ listu, standardowo pojawia siê z³o¿ony wielk± i pó³grub± czcionk±
8555 bezszeryfow± powy¿ej tematu listu.
8558 \begin_layout Itemize
8564 : temat listu, standard z³o¿ony jest czcionk± pó³grub± powy¿ej akapitu
8571 \begin_layout Standard
8593 tworz± listy firmowe przez z³o¿enie zawarto¶ci tych ¶rodowisk powy¿ej wiersza
8595 Dla pola daty u¿ywana jest zawarto¶æ ¶rodowiska
8600 Je¶li wykorzystane jest choæ jedno ze ¶rodowisk ,,biznesowych'', to zawarto¶æ
8605 nie jest sk³adana, tylko ustawiana jest zmienna LaTeX
8609 \begin_layout Standard
8622 te ¶rodowiska musz± byæ u¿yte przed odpowiednim ¶rodowiskiem
8629 \begin_layout Itemize
8635 : Wasz znak (Your ref.)
8638 \begin_layout Itemize
8644 : Wasz list (Your letter of.)
8647 \begin_layout Itemize
8653 : Nasz znak (Our ref.)
8656 \begin_layout Itemize
8662 : Klient (Customer no.)
8665 \begin_layout Itemize
8671 : Nr faktury (Invoice no.)
8674 \begin_layout Subsection
8679 \begin_layout Standard
8681 Przedstawienie WYSIWYG w LyX-ie dokumentów w klasie Koma-Script powoduje
8685 \begin_layout Itemize
8687 Numery rozdzia³ów ¶rodowisk
8691 s± wy¶wietlane w wierszu powy¿ej tytu³u rozdzia³u.
8692 Taki przypadek jest spowodowany wewnêtrznym przetwarzaniem przez LyX ¶rodowiska
8699 \begin_layout Itemize
8709 s± wstawione tylko do ,,prawdziwego'' LaTeX-owego spisu tre¶ci, a nie s±
8710 wy¶wietlane LyX-owym spisie tre¶ci (
8720 \begin_layout Itemize
8722 Tryb separacji akapitów w dokumencie
8726 wy¶wietlany jest jako odstêp, a nie wciêcie.
8727 To jest standardowe zachowanie, do tego nie potrzeba ¿adnego polecenia
8734 k³ad\SpecialChar \menuseparator
8741 odpowiedni prze³±cznik wskazuje na za³±czony tryb
8756 daje efekt po u¿yciu odpowiedniego polecenia LaTeX-a wstawionego do dokumentu
8757 do wytworzenia odstêpu.
8760 \begin_layout Section
8769 \begin_layout Standard
8776 \begin_layout Subsection
8781 \begin_layout Standard
8783 Tutaj opisujemy klasy i pliki uk³adu u¿ywanych dla niektórych pism wydawanych
8784 przez wydawnictwo Springer Verlag i wymienionych na stronie
8785 \begin_inset LatexCommand \url{http://www.springer.de/author/tex/help-journals.html}
8789 , sk±d powiniene¶ móc pobraæ pliki klasy (tak, oczywi¶cie teraz dla LaTeX2e!).
8790 To jest modularny system: wspólne czê¶ci dla wszystkich pism s± zaimplementowan
8795 , z którego korzystaj± specyficzne dla danego pisma pliki uk³adu (np.:
8806 \begin_layout Standard
8808 Oznacza to, ¿e implementacja wsparcia dla innego pisma wydawnictwa Springer
8809 wymaga napisania w³asnego pliku uk³adu
8825 \begin_layout Standard
8827 Klasa dokumentu LyX-a by³a testowana tylko dla pisma
8840 s± zawarte w standardowej dystrybucji LyX-a.
8841 Zainstaluj pobran± z serwera wydawnictwa Springer odpowiedni± klasê LaTeX-ow±
8842 w odpowiednim katalogu TeX-a, od¶wie¿ bazê pakietów TeX-a (w teTeX-u uruchom
8847 , jako root je¶li jest to niezbêdne), zrekonfiguruj LyX-a i powinno ju¿
8851 \begin_layout Subsection
8856 \begin_layout Standard
8858 Du¿a liczba stylów typu theorem --
8864 \SpecialChar \ldots{}
8870 \begin_layout Standard
8874 Headnote, Dedication, Subtitle, Running_LaTeX_Title, Author_Running, Institute,
8875 Mail, Offprints, Keywords, Acknowledgements, Acknowledgement
8878 Zobacz dokumentacjê do pakietu aby poznaæ szczegó³y.
8881 \begin_layout Subsection
8886 \begin_layout Itemize
8899 \begin_layout Itemize
8903 Probability Theory and Related Fields
8909 -- Jean-Marc Lasgouttes
8912 \begin_layout Standard
8914 Dodaj w³asne -- to nie jest trudne!
8917 \begin_layout Subsection
8922 \begin_layout Standard
8924 Te pliki bazuj± czê¶ciowo na starszym pliku uk³adu
8928 , który bazowa³ na starym stylu LaTeX 2.09 z wydawnictwa Springer.
8934 Jean-Marc Lasgouttes bardzo pomóg³ mi znale¼æ drogê implementacji uk³adu
8938 \begin_layout Subsection
8943 \begin_layout Standard
8946 Ale prawdopodobnie mniej ni¿ w starej klasie
8953 \begin_layout Standard
8955 Ograniczenia np.: nie wy¶wietla numeru ¶rodowisk typu theorem, w tej chwili
8959 \begin_layout Section
8968 \begin_layout Standard
8975 \begin_layout Subsection
8980 \begin_layout Standard
8982 These are the layout files for some of the journals of the American Geophysical
8984 It is assumed that you have both the AGU's own class files and AGUplus
8985 installed (everything to be found at
8986 \begin_inset LatexCommand \url{ftp://ftp.agu.org/journals/latex/journals}
8993 \begin_layout Subsection
8998 \begin_layout Standard
9009 They are still called this in the LyX GUI, though their LaTeX equivalents
9010 in the AGU classes are
9021 \begin_layout Standard
9023 Newly defined styles are
9060 These are mostly manuscript attributes and defined in the AGU class documentati
9064 \begin_layout Standard
9066 I suspect this is still badly incomplete.
9069 \begin_layout Subsection
9074 \begin_layout Standard
9092 \begin_layout Subsection
9097 \begin_layout Itemize
9101 Journal of Geophysical Research
9110 \begin_layout Standard
9112 Add your own, it isn't so hard! Look at the
9123 \begin_layout Section
9132 \begin_layout Standard
9139 \begin_layout Subsection
9144 \begin_layout Standard
9146 This is the layout file for the European Geophysical Society journals.
9151 can be downloaded from the web site of the EGS under
9152 \begin_inset LatexCommand \url{www.copernicus.org}
9159 \begin_layout Subsection
9164 \begin_layout Standard
9168 Right_address, Latex_Title, Affil, Journal, msnumber, FirstAuthor, Received,
9176 The current layout file is unfortunately very unmodular and would benefit
9177 from using the various
9184 \begin_layout Section
9191 \begin_inset LatexCommand \label{sec:slitex}
9198 \begin_layout Standard
9205 \begin_layout Subsection
9210 \begin_layout Standard
9212 W tej sekcji opisujemy jak u¿yæ LyX-a do przygotowania slajdów do rzutników.
9213 Istniej± dwie klasy dokumentów, które mo¿na do tego celu zastosowaæ: domy¶lnie
9222 W tej sekcji opisano pierwsz± z nich.
9225 \begin_layout Standard
9227 Powiem to jeszcze raz, jasno, aby nie bu³o nieporozumieñ:
9231 \begin_layout Standard
9234 \begin_inset VSpace bigskip
9240 \begin_layout Standard
9244 Ta sekcja dokumentu opisuje
9255 \begin_layout Standard
9258 \begin_inset VSpace bigskip
9265 \begin_layout Standard
9267 Je¶li szukasz dokumentacji do
9271 '', zajrzyj do sekcji\InsetSpace ~
9273 \begin_inset LatexCommand \ref{sec:foiltex}
9286 ''] jest aktualnie trochê lepsza ni¿ domy¶lnie klasa
9294 \begin_layout Standard
9296 \SpecialChar \ldots{}
9297 lub tak powtarzam za jej adwokatami.
9298 Nigdy jej nie u¿ywa³em i nie wiem czy to jest prawda czy nie.
9306 \begin_layout Standard
9308 Ta klasa jest ulepszeniem LaTeX2e starego pakietu
9313 Ka¿da dystrybucja LaTeX2e zawiera tê klasê [któr±, od teraz, bêdê nazywa³
9317 ''], tak wiêc jeste¶ zmuszony j± mieæ.
9318 Jak wspomnia³em wcze¶niej istniej± inne klasy, jak np.
9323 , które tak¿e tworz± slajdy do rzutnika i wykonuj± to zadanie lepiej ni¿
9325 Jednak istnieje kilka rzeczy, które klasa
9329 mo¿e zrobiæ, a inne nie, np.
9330 generowanie overlays.
9331 Czytaj dalej aby dowiedzieæ siê wiêcej!
9334 \begin_layout Subsection
9337 \begin_inset LatexCommand \label{sec:slidesetup}
9344 \begin_layout Standard
9346 Oczywi¶cie, aby u¿yæ tej klasy dokumentu, potrzebujesz wybraæ klasê
9362 Jest kilka rzeczy, które powiniene¶ wiedzieæ o tej klasie:
9365 \begin_layout Itemize
9376 Nie s± one obs³ugiwane przez klasê
9383 \begin_layout Itemize
9389 lista styli dostêpna w polu
9396 zachowuje siê troszkê inaczej dla tej klasy.
9397 Dostêpne s± nastepuj±ce style:
9401 \begin_layout Description
9407 W prawym dolnym naro¿niku slajdu umieszony zostanie numer slajdu,
9410 \begin_layout Description
9420 , ale dodatkowo zostana wstawione krzy¿yki w rogach folii dla dok³adnego
9421 pozycjonowania przy nak³adaniu folii jedna na drug±.
9422 To jest styl domy¶lny.
9425 \begin_layout Description
9431 Nie jest dodawany numer, data ani znaczniki wyrównania.
9434 \begin_layout Itemize
9440 posiada dodatkow± opcjê:
9445 Aby j± u¿yæ, wpisz ,,
9465 \begin_layout Standard
9467 U¿ycie tej opcji pozwala dodaæ znacznik daty do
9472 Zobacz sekcjê\InsetSpace ~
9474 \begin_inset LatexCommand \ref{sec:slideNote}
9478 aby poznaæ wiêcej szczegó³ów.
9481 \begin_layout Standard
9483 Mo¿esz u¿yæ szablonu ,,
9487 '' aby automatycznie ustawiæ klasê nowego dokumentu na
9491 [za pomoca polecenia
9496 lik\SpecialChar \menuseparator
9500 aby utworzyæ nowy dokument].
9501 Plik szablonu zawiera tak¿e kilka przyk³adów specjalnych ¶rodowisk akapitów
9503 Bêdzie to opisane dalej.
9506 \begin_layout Subsection
9511 \begin_layout Subsubsection
9513 Obs³ugiwane ¶rodowiska
9516 \begin_layout Standard
9518 Pierwsz± rzecz±, któr± powiniene¶ zauwa¿yæ gdy zaczynasz nowy dokument slajdów
9519 jest rozmiar i typ czcionki: odpowiednio ,,
9523 '' i czcionka bezszeryfowa
9529 This is also what's used in the output.
9531 \begin_inset Quotes eld
9535 \begin_inset Quotes erd
9538 to remind you that this is a slide.
9539 Your final slides will use a larger font; ergo, you'll have less space.
9540 Of course, the larger default screen font isn't WYSIWYG, only a reminder.
9543 \begin_layout Standard
9545 The next thing that becomes obvious is the changes to the paragraph environment
9546 pull-down box [at the far-left end of the toolbar].
9547 Most of the paragraph environments you're used to seeing are missing.
9548 There are also four new ones.
9553 class itself only supports certain paragraph environments:
9556 \begin_layout Itemize
9563 \begin_layout Itemize
9570 \begin_layout Itemize
9577 \begin_layout Itemize
9584 \begin_layout Itemize
9591 \begin_layout Itemize
9598 \begin_layout Itemize
9605 \begin_layout Itemize
9612 \begin_layout Itemize
9619 \begin_layout Itemize
9626 \begin_layout Itemize
9633 \begin_layout Itemize
9640 \begin_layout Standard
9642 Wszystkie inne standardowe ¶rodowiska w³±czaj±c ¶rodowiska sekcji nie s±
9648 Z drugiej za¶ strony zauwa¿ysz nowe ¶rodowiska:
9652 \begin_layout Standard
9654 In prior versions of this class, there was the mandatory
9658 paragraph environment.
9662 is deprecated; it will convert to a
9667 You should probably remove it.
9677 \begin_layout Itemize
9684 \begin_layout Itemize
9691 \begin_layout Itemize
9698 \begin_layout Itemize
9705 \begin_layout Standard
9707 These five are kind of quirky, due to a
9708 \begin_inset Quotes eld
9712 \begin_inset Quotes erd
9716 You see, LyX doesn't permit you to nest any other paragraph environment
9717 into an empty environment.
9718 Now, that's fine and dandy, but it means that you wouldn't be able to start
9719 a slide with anything except plain text.
9720 To deal with this, I've performed a little
9721 \begin_inset Quotes eld
9725 \begin_inset Quotes erd
9731 \begin_layout Subsubsection
9733 Quirks of the New Environments
9734 \begin_inset LatexCommand \label{sec:slideQuirk}
9741 \begin_layout Standard
9743 All five of the new paragraph environments are somewhat quirky due to inherent
9744 limitiations in the current version of LyX.
9745 As I just mentioned, LyX forbids environments that begin with another environme
9747 To get around this, the
9751 environment isn't a paragraph environment as described in the
9758 \begin_layout Standard
9772 to be ,,pseudo-environments''.
9773 They look like a section heading or a
9774 \begin_inset Quotes eld
9782 \begin_inset Quotes erd
9785 but really begin a [and, if necessary, end the previous] paragraph environment.
9795 \begin_inset Quotes eld
9799 \begin_inset Quotes erd
9802 These two perform some action.
9805 \begin_layout Standard
9807 A common feature of all five environments,
9827 , is a rather long-ish label.
9828 The text following this label --- ordinarily the contents of the paragraph
9829 environment --- is utterly irrelevant for
9850 LyX completely ignores it.
9851 In fact, you can leave these five environments completely empty.
9854 \begin_layout Standard
9860 to put any text after the rather long-ish label, you might want to.
9861 This could be a short description of the contents of the
9866 In that case, enter in your descriptive comment and hit
9870 as you normally would.
9873 \begin_layout Standard
9875 If, on the other hand, you don't want to enter in any descriptive text,
9876 you'll hit another LyX quirk.
9877 LyX, like nature, abhors a vacuum, and will not let you start a new paragraph
9878 environment until you put something in the old one.
9882 \begin_layout Itemize
9884 Start entering the text that will
9911 \begin_layout Itemize
9913 Now move to the beginning of that paragraph.
9916 \begin_layout Itemize
9925 \begin_layout Itemize
9927 Finally, change this new, empty paragraph to a
9950 \begin_layout Standard
9952 Some future version of LyX will, hopefully, resolve this quirkiness\SpecialChar \ldots{}
9956 \begin_layout Subsection
9958 Tworzenie prezentacji u¿ywaj±c
9971 \begin_layout Subsubsection
9978 \begin_layout Standard
9980 If you're expecting this section to teach you how to actually make a presentatio
9981 n, you'll be sorely disappointed.
9982 Naturally, I'll describe all of the ways the
9986 class can assist you in preparing the materials for a presentation.
9987 Filling in the contents, however, is up to you.
9992 the LyX philosophy.]
9995 \begin_layout Standard
10001 environment [in the manner described in section\InsetSpace ~
10003 \begin_inset LatexCommand \ref{sec:slideQuirk}
10007 ] tells LyX to begin a new slide [duh].
10008 The label for this environment/
10009 \begin_inset Quotes erd
10013 \begin_inset Quotes erd
10017 \begin_inset Quotes eld
10021 \begin_inset Quotes erd
10024 in cool blue, followed by the label,
10025 \begin_inset Quotes eld
10029 \begin_inset Quotes erd
10033 Any text or paragraph environments that follow this one go on the new slide.
10037 \begin_layout Standard
10039 Slides are probably the only time you'll need to forcibly end pages in LyX.
10040 In fact, you'll want to, once you finish entering the contents of one slide.
10041 If you've entered more text than can physically fit on a slide, the extra
10042 overflows onto a new slide.
10043 I don't recommend doing this, however, since the overflow slide won't have
10044 any page number on it.
10045 Furthermore, it may interfere with any
10049 you've made to accompany the oversized
10056 \begin_layout Standard
10066 environments work the same way as the
10071 They both create an
10072 \begin_inset Quotes eld
10076 \begin_inset Quotes erd
10079 followed by a label [
10080 \begin_inset Quotes eld
10084 \begin_inset Quotes erd
10088 \begin_inset Quotes eld
10092 \begin_inset Quotes erd
10096 The color is a stunning magenta instead of blue, and the
10097 \begin_inset Quotes eld
10101 \begin_inset Quotes erd
10104 will look different, in style and in length.
10105 The label fonts of all three also differ from one another.
10108 \begin_layout Standard
10114 , if the contents of a
10122 exceed the physical size of a slide or sheet of paper, the extra will overflow
10124 Again, you should avoid this.
10125 It defeats the whole purpose of
10136 \begin_layout Subsubsection
10147 \begin_layout Standard
10153 is a slide that sits atop another slide.
10154 Perhaps you wish to discuss a figure on the main
10158 before displaying the text associated with it.
10159 One way to accomplish this is tape a flap of dark paper over the part of
10164 you want to display later.
10165 This method fails, however, if you wish to overlap one graph with another,
10167 You would then have to fumble while speaking to align the two separate,
10172 s to align the two graphs.
10177 environment in both cases makes life much easier.
10180 \begin_layout Standard
10186 receives the page number of its
10187 \begin_inset Quotes eld
10191 \begin_inset Quotes erd
10199 \begin_inset Quotes eld
10207 \begin_inset Quotes erd
10214 \begin_layout Standard
10216 Presumably, mutliple
10221 \begin_inset Quotes eld
10229 \begin_inset Quotes erd
10233 \begin_inset Quotes eld
10241 \begin_inset Quotes erd
10245 \begin_inset Quotes eld
10253 \begin_inset Quotes erd
10256 , etc.\InsetSpace ~
10257 appended to the page number of the parent
10274 to each fit on a single physical slide! You should probably consider an
10287 class provides a visual cue for this: the label at the start of an
10291 is shorter than that at the start of a
10296 Lastly, when you generate printable output, you'll find alignment markers
10297 in all four corners of both the
10301 page and its parent
10306 These will assist you in lining up the two physical slides.
10309 \begin_layout Standard
10311 The major problem in overlaying two slides is aligning the contents of the
10312 two transparencies.
10313 How much space should you leave for that graph on the second slide? Worse
10314 still, what if you want a graph and a sentence on second slide, but there
10315 is text on the main transparency that goes in between them? You could try
10316 and insert vertical space of the right size.
10317 The better way is to use
10328 \begin_layout Standard
10330 As their names imply,
10338 are two command-like paragraph environments that make all subsequent text
10339 invisible and visible, respectively.
10340 Note from section\InsetSpace ~
10342 \begin_inset LatexCommand \ref{sec:slideQuirk}
10346 that you don't place anything
10350 these two environments, however.
10355 , it inserts a centered, sky-blue label into the page reading
10356 \begin_inset Quotes eld
10359 <Invisible Text Follows>
10360 \begin_inset Quotes erd
10364 For paragraphs following this label, the parts of the
10372 ; it doesn't matter which] where they would be contain instead blank space.
10375 \begin_layout Standard
10381 , the corresponding centered label is
10382 \begin_inset Quotes eld
10385 <Visible Text Follows>
10386 \begin_inset Quotes erd
10390 Paragraphs following this label behave normally.
10391 Note that the beginning of a new
10403 automatically shuts off an
10408 It's therefore not necessary to use
10419 \begin_layout Standard
10421 By now, it should be obvious how to create overlay transparencies using
10422 the proper combination of
10441 \begin_layout Enumerate
10447 , including everything that will appear on it, whether on the main slide
10455 \begin_layout Enumerate
10457 Before each figure or paragraph that will appear only on the
10466 If necessary, insert a
10470 environment after the
10477 \begin_layout Enumerate
10483 immediately following the
10490 \begin_layout Enumerate
10492 Copy the contents of this
10503 \begin_layout Enumerate
10509 , change all of the
10520 \begin_layout Standard
10523 You've just made an
10530 \begin_layout Standard
10532 There's one problem with the way I've designed the LyX
10536 class: you can't make text in the middle of a paragraph invisible, nor
10537 make text in the middle of an invisible paragraph visible again.
10538 To accomplish this feat, you'll need to use some inlined LaTeX codes.
10542 \begin_layout Standard
10544 The commands of interest are:
10547 \begin_layout Itemize
10553 invisible \SpecialChar \ldots{}
10557 \begin_layout Itemize
10563 visible \SpecialChar \ldots{}
10567 \begin_layout Standard
10569 \SpecialChar \ldots{}
10570 and need to be marked as TeX.
10572 \begin_inset Quotes eld
10576 \begin_inset Quotes erd
10579 you wish to change goes in between the brackets [and after the
10592 If you don't know how to mark text as TeX, see the apprpriate section of
10611 \begin_inset LatexCommand \label{sec:slideNote}
10618 \begin_layout Standard
10628 is associated with a
10629 \begin_inset Quotes eld
10633 \begin_inset Quotes erd
10645 class provides visual cues.
10650 is shorter than that of a
10654 [yet longer than that of an
10658 ] and, like the label of an
10662 is shockingly magenta.
10663 Additionally, the printed
10667 has the page number of its
10668 \begin_inset Quotes eld
10672 \begin_inset Quotes erd
10680 \begin_inset Quotes eld
10688 \begin_inset Quotes erd
10692 \begin_inset Quotes eld
10700 \begin_inset Quotes erd
10704 \begin_inset Quotes eld
10712 \begin_inset Quotes erd
10716 You can have multiple
10720 s associated with a single
10732 , you'll probably want to break up long
10736 s so that they fit on a single sheet of paper.
10739 \begin_layout Standard
10745 is obvious: it contains anything additional you might want to say about
10751 It could also be used as a sheet of reminders for a particular
10756 In the case of the latter, you might want to make use of time markers.
10762 \begin_inset Quotes eld
10766 \begin_inset Quotes erd
10769 support for time markers, a
10774 So, you'll have to resort to using the LaTeX codes.
10777 \begin_layout Standard
10779 To use time markers, you'll need to specify the extra class option
10780 \begin_inset Quotes eld
10788 \begin_inset Quotes erd
10791 [see section\InsetSpace ~
10793 \begin_inset LatexCommand \ref{sec:slidesetup}
10798 This option turns on timing marks, which will appear in the lower-left-hand
10804 To set what appears in the time marker, you use the LaTeX commands
10805 \begin_inset Quotes eld
10815 \begin_inset Quotes erd
10819 \begin_inset Quotes eld
10829 \begin_inset Quotes erd
10833 The arguments of both commands are time measured in seconds.
10834 \begin_inset Quotes eld
10844 \begin_inset Quotes erd
10847 sets the time marker to a given time.
10848 \begin_inset Quotes eld
10858 \begin_inset Quotes erd
10861 increments the time marker by the specified amount.
10862 Using time markers and
10866 s in this fashion, you can remind yourself how much time to spend on a particula
10874 \begin_layout Standard
10876 There's one last feature to describe.
10877 Clearly, you'd like to print out all of your
10885 s on transparencies while printing all of your
10901 with which it is associated.
10902 What's a person to do?
10905 \begin_layout Standard
10907 Luckily, there are two LaTeX commands that allow you to select what to print
10909 Both must be placed into the preamble of your document.
10911 \begin_inset Quotes eld
10923 \begin_inset Quotes erd
10926 will cause the output to contain only the
10935 Correspondingly, the command
10936 \begin_inset Quotes eld
10948 \begin_inset Quotes erd
10951 prevents the output of anything but
10956 I'd advise placing both commands in the preamble and initially comment
10958 You can then preview your entire presentation as you write.
10959 When you're done writing, you can then uncomment one of the two to select
10960 what you want to print.
10961 I like to uncomment
10962 \begin_inset Quotes eld
10974 \begin_inset Quotes erd
10977 , print to a file with
10978 \begin_inset Quotes eld
10986 \begin_inset Quotes erd
10989 in its name, comment it back out, then uncomment
10990 \begin_inset Quotes eld
11002 \begin_inset Quotes erd
11006 \begin_inset Quotes eld
11014 \begin_inset Quotes erd
11018 I can then send either file to a printer, loading transparencies or plain
11019 paper as appropriate.
11022 \begin_layout Standard
11024 You can also provide other arguments to the
11025 \begin_inset Quotes eld
11035 \begin_inset Quotes erd
11039 \begin_inset Quotes eld
11049 \begin_inset Quotes erd
11053 See a good LaTeX book for details.
11056 \begin_layout Subsection
11058 Plik szablonu klasy
11063 \begin_layout Standard
11069 dostarczy³em tak¿e plik szablonu
11074 Aby go u¿yæ zacznij Twoj± now± prezentacjê przez
11079 lik\SpecialChar \menuseparator
11087 Twój nowy plik prezentacji bêdzie zawiera³ jako przyk³ad trójkê
11108 dodatkowo zawieraj± jako przyk³ad u¿ycia tekst niewidzialny (
11117 Na koniec zawarto¶æ preambu³y:
11120 \begin_layout LyX-Code
11122 % Uncomment to print out only slides and overlays
11125 \begin_layout LyX-Code
11130 \begin_layout LyX-Code
11141 \begin_layout LyX-Code
11143 % Uncomment to print out only notes
11146 \begin_layout LyX-Code
11151 \begin_layout LyX-Code
11160 \begin_layout Standard
11162 I ostatnia rzecz: utworzy³em tê klasê LyX-a do obs³ugi klasy LaTeX2e ,,
11166 TeX emulation'', one of the built-in LaTeX2e classes.
11167 Neither I nor the rest of the LyX Team endorse or oppose the use of this
11168 built-in slide class.
11169 It's here if you want it or need it.
11170 Istniej± inne klasy LaTeX2e do tworzenia prezentacji, takie jak:
11174 [zobacz\InsetSpace ~
11176 \begin_inset LatexCommand \ref{sec:foiltex}
11184 '' [znajduj±cy siê w wielu dystrybucjach TeX-a].
11185 Ten ostatni nie jest jeszcze obs³ugiwany przez LyX-a
11189 \begin_layout Standard
11191 Aktualnie znajduje siê plik uk³adu
11195 ale nie ma jeszcze pliku szablonu i dokumentacji jak z niego skorzystaæ
11201 Try them out to see what sort of alternative they provide.
11204 \begin_layout Section
11214 \begin_inset LatexCommand \label{sec:foiltex}
11221 \begin_layout Standard
11228 \begin_layout Subsection
11233 \begin_layout Standard
11235 W tej sekcji opisujemy jak u¿yæ LyX-a do przygotowania slajdów do rzutników.
11236 Istniej± dwie klasy dokumentów, które mo¿na do tego celu zastosowaæ: domy¶lnie
11245 W tej sekcji opisano tê drug± klasê.
11248 \begin_layout Standard
11250 Powiem to jeszcze raz, jasno, aby nie by³o nieporozumieñ:
11254 \begin_layout Standard
11257 \begin_inset VSpace bigskip
11263 \begin_layout Standard
11267 Ta sekcja dokumentu opisuje
11278 \begin_layout Standard
11281 \begin_inset VSpace bigskip
11288 \begin_layout Standard
11290 Je¶li szukasz dokumentacji do
11294 )'', zajrzyj do sekcji\InsetSpace ~
11296 \begin_inset LatexCommand \ref{sec:slitex}
11301 Je¶li w Twoim systemie nie masz zainstalowanej klasy
11309 ''], to prawdopodobnie musisz u¿yæ domy¶lnej klasy
11313 , która nie jest tak dobra jak
11318 \begin_layout Standard
11324 jest zaprojektowana do u¿ycia z wersj± 2.1 LaTeX-owej klasy
11328 , która jest teraz integraln± czê¶ci± LaTeX2e.
11331 \begin_layout Subsection
11336 \begin_layout Standard
11338 Oczywi¶cie, aby u¿yæ tej klasy dokumentu, potrzebujesz wybraæ klasê
11354 Jest kilka ustawieñ w oknie
11358 i powiniene¶ znaæ ich specyfikê w tej klasie:
11361 \begin_layout Itemize
11372 Nie s± one obs³ugiwane przez klasê
11379 \begin_layout Itemize
11381 Domy¶ln± wielko¶ci± czcionki jest 20pt, inne to 17pt, 25pt i 30pt.
11384 \begin_layout Itemize
11386 Domy¶ln± rodzin± jest czcionka
11390 ale równania matematyczne s± sk³adane zwyk³± czcionk± szeryfow±.
11393 \begin_layout Itemize
11399 TeX obs³uguje formaty papieru A4 i Letter, a tak¿e specjalny rozmiar do
11400 pracy z 35mm slajdami.
11401 Nie obs³uguje formatów: A5, B5, legal i executive.
11404 \begin_layout Itemize
11406 Nie zmieniaj ustawieñ
11410 , poniewa¿ s± one ignorowane.
11411 Wszystkie wstawki pojawiaj± siê w miejscu gdzie zosta³y umieszczone w tek¶cie.
11414 \begin_layout Itemize
11423 zachowuj± siê troszkê inaczej w tej klasie.
11428 TeX dostarcza rozszerzone mo¿liwo¶ci nag³ówków i stopek w³±czaj± w to logo
11430 Zobacz sekcjê\InsetSpace ~
11432 \begin_inset LatexCommand \ref{sec:foilfoot}
11436 aby poznaæ wiêcej szczegó³ów.
11437 Strona tytu³owa jest traktowana inaczej ni¿ inne strony dokumentu:
11441 jest nienumerowana i
11445 logo jest wycentrowane u do³u strony (je¶li je zdefiniowano).
11446 Mo¿liwe do wyboru style strony:
11451 \labelwidthstring MMMMMMM
11459 Nie jest dodawany numer ani inne nag³ówki i stopki,
11463 \labelwidthstring MMMMMMM
11471 Na dole w ¶rodku slajdu umieszczony zostanie numer slajdu.
11472 bez innych nag³ówków i stopek (innych ni¿ przypisy).
11476 \labelwidthstring MMMMMMM
11482 W prawym dolnym naro¿niku slajdu umieszczony zostanie numer slajdu.
11483 Dodatkowe nag³ówki i stopki zostan± wy¶wietlone.
11484 To jest styl domy¶lny.
11488 \labelwidthstring MMMMMMM
11494 Umo¿liwia skorzystanie z pakietu
11498 mimo, ¿e jego u¿ycie z
11502 TeX nie jest polecane przez autorów pakietu
11506 TeX z powodu kilku mo¿liwych rozjechañ siê uk³adu strony.
11509 \begin_layout Subsubsection
11514 \begin_layout Standard
11516 Nastêpuj±ce opcje mog± byæ u¿yte w polu
11528 \labelwidthstring MMMMMMx
11534 Ustawia rozmiar strony 7.33 cale na 11 cali.
11535 Taki rozmiar ma identyczne proporcje jak 35mm slajd.
11536 To ustawienie u³atwia pracê z tym medium,
11540 \labelwidthstring MMMMMMx
11546 Umieszcza poziom± liniê poni¿ej nag³ówka na ka¿dej stronie z wyj±tkiem
11551 \labelwidthstring MMMMMMx
11557 Umieszcza poziom± liniê powy¿ej stopki na ka¿dej stronie z wyj±tkiem strony
11562 \labelwidthstring MMMMMMx
11568 Ta opcja jest automatycznie w³±czona
11572 \begin_layout Standard
11576 Bez tej opcji mo¿esz korzystaæ wprost z pdfLaTeX-a
11581 , gdy tworzysz nowy dokument w tej klasie.
11586 TeX-owi aby u¿y³ jako sterownika programu dvips do obrotu tych stron, które
11587 ustawiono jako poziome,
11591 \labelwidthstring MMMMMMx
11597 Po prostu zmienia uk³ad strony na poziomy, ale nie dokonuje obrotu.
11598 Dla tego je¶li chcesz u¿ywaæ tej opcji potrzebujesz u¿yæ zewnêtrznego programu
11599 do obrotu ka¿dej strony lub w³ó¿ papier do drukarki poziomo.
11600 Uwaga ta opcja zamienia role ¶rodowisk
11608 (nie przejmuj siê jest to opisane w nastêpnej sekcji),
11612 \labelwidthstring MMMMMMx
11618 Numeracja równañ po lewej stronie równania,
11622 \labelwidthstring MMMMMMx
11628 Wyrównuje równania do lewej.
11631 \begin_layout Subsection
11633 Obs³ugiwane ¶rodowiska
11636 \begin_layout Standard
11638 Wiêkszo¶æ zwyk³ych ¶rodowisk wystêpuj±cych w innych klasach jest tak¿e obs³ugiwa
11644 Jest kilka dodatkowych ¶rodowisk dostarczanych przez
11648 TeX a tak¿e kilka dodanych przez LyX-a.
11649 Poni¿ej podano standardowe ¶rodowiska wystêpuj±ce równie¿ w innych klasach:
11652 \begin_layout Standard
11658 \begin_layout Standard
11661 begin{multicols}{2}
11669 \begin_layout Itemize
11676 \begin_layout Itemize
11683 \begin_layout Itemize
11690 \begin_layout Itemize
11697 \begin_layout Itemize
11704 \begin_layout Itemize
11711 \begin_layout Itemize
11718 \begin_layout Itemize
11725 \begin_layout Itemize
11732 \begin_layout Itemize
11739 \begin_layout Itemize
11746 \begin_layout Itemize
11753 \begin_layout Itemize
11760 \begin_layout Itemize
11767 \begin_layout Itemize
11774 \begin_layout Itemize
11781 \begin_layout Itemize
11788 \begin_layout Itemize
11795 \begin_layout Itemize
11802 \begin_layout Standard
11808 \begin_layout Standard
11819 \begin_layout Standard
11821 Nastêpne s± g³ówne ¶rodowiska niezale¿nie od ¶rodowisk strukturyzuj±cych
11823 Folie s± w³a¶ciwie samodzielnymi sekcjami posiadaj±cymi tytu³ i tre¶æ.
11828 TeX dostarcza specyficznych poleceñ rozpoczynaj±cych now± foliê, s± to:
11831 \begin_layout Itemize
11838 \begin_layout Itemize
11845 \begin_layout Standard
11847 LyX dostarcza tak¿e lekko zmodyfikowane wersje powy¿szych ¶rodowisk o nazwach:
11850 \begin_layout Itemize
11857 \begin_layout Itemize
11861 ShortRotatefoilhead
11864 \begin_layout Standard
11866 ró¿nice pomiêdzy nimi s± wyja¶nione w nastêpnej sekcji.
11869 \begin_layout Standard
11871 Folie s± czêsto u¿ywane do prezentacji pomys³ów lub nowych teorii i tak¿e
11876 TeX dostarcza szeroki wachlarz narzêdzi do ich prezentacji:
11879 \begin_layout Standard
11885 \begin_layout Standard
11888 begin{multicols}{2}
11896 \begin_layout Itemize
11903 \begin_layout Itemize
11910 \begin_layout Itemize
11917 \begin_layout Itemize
11924 \begin_layout Itemize
11931 \begin_layout Itemize
11938 \begin_layout Itemize
11945 \begin_layout Itemize
11952 \begin_layout Itemize
11959 \begin_layout Itemize
11966 \begin_layout Itemize
11973 \begin_layout Standard
11979 \begin_layout Standard
11990 \begin_layout Standard
11992 Wersje z gwiazdk± s± ¶rodowiskami nienumerowanymi, a bez gwiazdki s± numerowane.
11993 S± jeszcze dwa ¶rodowiska list dodane przez LyX i s± to:
11996 \begin_layout Itemize
12003 \begin_layout Itemize
12010 \begin_layout Standard
12012 Jest jeszcze kilka poleceñ
12016 TeX-a, które nie s± obs³ugiwane przez LyX.
12017 Wspomnimy o nich i ich przeznaczeniu w sekcji\InsetSpace ~
12019 \begin_inset LatexCommand \ref{sec:unsuppfoils}
12026 \begin_layout Subsection
12031 \begin_layout Standard
12033 W tej sekcji podamy proste wprowadzenie jak korzystaæ z ró¿nych ¶rodowisk
12034 aby utworzyæ foliê.
12035 Je¶li chcesz zobaczyæ przyk³ad folii zobacz plik
12044 lik\SpecialChar \menuseparator
12049 twórz\SpecialChar \ldots{}
12052 i naci¶nij przycisk
12059 \begin_layout Subsubsection
12064 \begin_layout Standard
12066 Nie tak jak inne klasy dostarczaj±ce ¶rodowisk
12086 tworzy tytu³ na w³asnej stronie.
12087 Je¶li opu¶cisz ¶rodowisko
12091 , to LaTeX w zastêpstwie wstawi bie¿±c± datê (aktualizowan± przy ka¿dym
12095 \begin_layout Subsubsection
12097 Rozpoczêcie nowej folii
12100 \begin_layout Standard
12102 Jak wspomnia³em wcze¶niej, mamy cztery sposoby na utworzenie nowej folii.
12103 Dla folii pionowych powiniene¶ u¿yæ
12112 Ró¿nica pomiêdzy tymi ¶rodowiskami polega na wielko¶ci odstêpu pomiêdzy
12116 \begin_layout Standard
12118 Folie poziome tworzymy za pomoc± ¶rodowisk
12124 ShortRotatefoilhead
12127 Znów ró¿nica miedzy nimi polega na odstêpie pomiêdzy tytu³em a tre¶ci±.
12128 W obu skróconych wersjach mamy o pó³ cala mniejszy odstêp.
12131 \begin_layout Standard
12133 Jednym problemem z obs³ug± poziomych slajdów jest wymóg u¿ycia sterownika
12138 do utworzenia pliku PostScript®, w przeciwnym razie folia nie zostanie
12140 Jest mo¿liwo¶æ uzyskania poziomych folii nawet je¶li nie masz programu
12145 , po prostu musisz w³o¿yæ folie poziomo do drukarki;-)
12148 \begin_layout Subsubsection
12150 Theorems, Lemmas, Proofs i wiêcej
12153 \begin_layout Standard
12155 Z powodu ma³ego b³êdu w LyX-ie nie mo¿na umie¶ciæ dwóch ¶rodowisk tego samego
12156 typu bezpo¶rednio jedno po drugim.
12157 Musza one byæ czymkolwiek rozdzielone.
12158 Je¶li spróbujesz , bêdziesz móg³ rozci±gn±æ poprzednie ¶rodowisko, tak
12159 aby¶ mia³ po³±czone dwa ¶rodowiska razem.
12160 A jak rozwi±zaæ ten problem? Najprostszym rozwi±zaniem jest wstawienie
12161 tekstu pomiêdzy dwa ¶rodowiska lub wstawienie wstawki
12165 pomiêdzy te ¶rodowiska zawieraj±cej znak komentarza ,,
12170 To wymusi na LyX-ie utworzenie dwóch oddzielnych ¶rodowisk i da poprawny
12172 Przyk³ad jest zawarty w dostarczonym pliku w dystrybucji LyX-a.
12173 pamiêtaj, problem pojawia siê tylko je¶li próbujesz umie¶ciæ dwa ¶rodowiska
12174 takie jak Theorem bezpo¶rednio jedno za drugim.
12177 \begin_layout Subsubsection
12182 \begin_layout Standard
12184 Mo¿esz korzystaæ ze wszystkich obs³ugiwanych i wystêpuj±cych w innych klasach,
12185 ¶rodowisk list, a tak¿e z dwóch nowych.
12186 Tutaj opiszê tylko te nowe.
12187 Je¶li chcesz znale¼æ wiêcej informacji o innych ¶rodowiskach list zajrzyj
12190 Podrêcznika U¿ytkownika
12193 Je¶li zamierzasz korzystaæ z wyliczeñ powiniene¶ tak¿e przeczytaæ sekcjê
12195 \begin_inset LatexCommand \ref{sec:bullet}
12201 Wybór znaku wyliczenia
12206 \begin_layout Standard
12208 Dwa nowe style list
12216 , zaprojektowano aby u³atwiæ Ci tworzenie list czynno¶ci wykonanych i nie
12217 lub co jest w porz±dku lub z³e, przez dostarczenie dedykowanych ¶rodowisk,
12218 które u¿ywaj± haczyka (akceptacji) lub krzy¿yka (negacji) jako znaku wyliczenia.
12219 Te listy s± w rzeczywisto¶ci dedykowanymi wariantami ¶rodowiska
12224 Wymagaj± one jednak zainstalowanego pakietu
12231 \begin_layout Subsubsection
12236 \begin_layout Standard
12242 TeX redefiniuje wstawki tabel i rysunków tak, aby pojawi³y siê dok³adnie
12243 w miejscu ich wyst±pienia w tek¶cie.
12244 W rzeczywisto¶ci zmiany pozycji wstawki s± ignorowane.
12247 \begin_layout Subsubsection
12250 \begin_inset LatexCommand \label{sec:foilfoot}
12257 \begin_layout Standard
12271 s± przeznaczone do sterowania lew± stopk±.
12272 Pierwsze pozwala na do³±czenie
12276 \begin_layout Standard
12280 Aby do³±czyæ logo graficzne to nale¿y jako argument polecenia
12292 includegraphics{nazwapliku}
12294 oraz umie¶ciæ w preambule polecenie:
12300 usepackage{graphicx}
12306 usepackage{graphics}
12311 logo graficznego do folii, a domy¶lnie wpisuje ,,--Typeset by FoilTeX--''.
12312 Drugie polecenie pozwala na wprowadzenie klasyfikacji dostêpno¶ci, np.
12318 Domy¶lnie jest puste.
12321 \begin_layout Standard
12323 Pozosta³e naro¿niki mo¿na wype³niæ poleceniami
12328 (domy¶lnie numer folii),
12341 \begin_layout Subsection
12343 Nieobs³ugiwane funkcje
12348 \begin_inset LatexCommand \label{sec:unsuppfoils}
12355 \begin_layout Standard
12357 Wszystkie polecenia wyja¶nione poni¿ej nale¿y wstawiaæ w ¶rodowisku
12365 wewn±trz innych ¶rodowisk.
12368 \begin_layout Subsubsection
12373 \begin_layout Standard
12375 Wszystkie d³ugo¶ci s± ustawiane poleceniem
12405 powinno byæ zast±pione nazw± d³ugo¶ci, która chcesz zmieniæ, a
12410 Dla wszystkich d³ugo¶ci nale¿y podaæ jednostkê, np.
12423 ) lub jednostki wzglêdne w dokumencie lub d³ugo¶ci odnosz±ce siê do wielko¶ci
12433 \begin_layout Standard
12435 Mo¿na zmieniaæ odstêp pomiêdzy tytu³em folii a tre¶ci±, przez zmianê d³ugo¶ci
12442 Na przyk³ad, aby na
12446 foliach tytu³y by³y bli¿ej tre¶ci o pó³ cala, to wpisz do preambu³y:
12458 foilheadskip}{-0.5in}
12461 \begin_layout Standard
12463 Odstêpy wokó³ wstawek mog± byæ ustawiane przez zmianê nastêpuj±cych d³ugo¶ci:
12467 \labelwidthstring MMMMMMMMMMM
12475 odstêp pomiêdzy tekstem a gór± wstawki,
12479 \labelwidthstring MMMMMMMMMMM
12487 odstêp pomiêdzy wstawk± a podpisem,
12491 \labelwidthstring MMMMMMMMMMM
12499 odstêp pomiêdzy podpisem a dalszym tekstem,
12503 \labelwidthstring MMMMMMMMMMM
12511 Mo¿esz zadaæ wê¿szy podpis wstawki ni¿ otaczaj±cy tekst przez ustawienie
12513 Najlepiej odnosiæ siê do d³ugo¶ci
12522 \begin_layout Standard
12524 Jest jeszcze kilka d³ugo¶ci zwi±zanymi ze strona tytu³owa, które mog± byæ
12525 u¿yteczne je¶li masz d³ugie tytu³y lub kilku autorów:
12529 \labelwidthstring MMMMMMMMMMM
12537 odstêp pomiêdzy nag³ówkiem a
12545 \labelwidthstring MMMMMMMMMMM
12553 odstêp pomiêdzy ¶rodowiskami
12565 \labelwidthstring MMMMMMMMMMM
12573 odstêp pomiêdzy wielokrotnymi wierszami ¶rodowiska
12581 \labelwidthstring MMMMMMMMMMM
12589 odstêp pomiêdzy ¶rodowiskami
12601 \labelwidthstring MMMMMMMMMMM
12609 odstêp pomiêdzy ¶rodowiskami
12620 \begin_layout Standard
12622 Ostatnia d³ugo¶æ odnosi siê do wszystkich ¶rodowisk list.
12632 ¶rodowiska listy, wtedy wszystkie odstêpy pionowe pomiêdzy elementami listy
12634 Uwaga -- to jest polecenie, a nie d³ugo¶æ i nie wymaga
12640 tak jak wspomniane powy¿ej d³ugo¶ci.
12643 \begin_layout Subsubsection
12646 \begin_inset LatexCommand \label{sec:foilfoot}
12653 \begin_layout Standard
12667 steruj± wy¶wietlaniem na danym slajdzie logo zdefiniowanym poleceniem
12674 Je¶li wpiszesz polecenie
12680 do preambu³y, to wówczas na ¿adnej folii nie pojawi siê logo.
12681 Je¶li nie chcesz aby pojawi³o siê logo na jednej z folii, to umie¶æ na
12688 tu¿ po tytule strony, a nastêpnie umie¶æ polecenie
12694 po tytule nastêpnej folii.
12697 \begin_layout Standard
12699 Pozosta³e polecenia steruj±ce:
12703 \labelwidthstring MMMMMMMMM
12711 prawa stopka, domy¶lnie zawiera numer strony
12715 \labelwidthstring MMMMMMMMM
12727 \labelwidthstring MMMMMMMMM
12738 \begin_layout Standard
12740 Je¶li zdecydujesz siê u¿yæ styl strony
12748 , prawdopodobnie powiniene¶ dodaæ
12762 do preambu³y, tak aby nag³ówki i stopki by³y w³a¶ciwie umieszczone na poziomych
12764 Jest to spowodowane niezgodno¶ci± uk³adów stron dostarczanych przez pakiet
12776 \begin_layout Section
12778 Latex8 (Dokumenty konferencyjne IEEE )
12781 \begin_layout Standard
12788 \begin_layout Subsection
12793 \begin_layout Standard
12795 Since this class is specifically for writing submissions to IEEE sponsored
12796 conferences I strongly recommend that you get a copy of their Authors Kit.
12801 package and associated bibliography style file is included in the kit.
12802 The Authors Kit is usually sent out by email once your initial submission
12804 There is a lot of useful information in the Authors Kit explaining formatting
12805 restrictions and so on and I will assume you have read this since that
12806 means I don't have to repeat it all here.
12809 \begin_layout Subsection
12814 \begin_layout Standard
12820 \begin_layout Subsection
12822 Obs³ugiwane ¶rodowiska
12825 \begin_layout Itemize
12830 \begin_layout Itemize
12835 \begin_layout Itemize
12840 \begin_layout Itemize
12845 \begin_layout Itemize
12850 \begin_layout Itemize
12855 \begin_layout Itemize
12860 \begin_layout Itemize
12865 \begin_layout Itemize
12870 \begin_layout Subsection
12872 Ró¿nice pomiêdzy ekranem a dokumentem
12875 \begin_layout Standard
12877 There are slight differences in appearance mainly with the presentation
12878 of section counters.
12879 On screen the trailing period of the section counter is missing but it
12880 will appear in the output so don't let this worry you.
12883 \begin_layout Section
12885 Hollywood (Hollywood spec scripts)
12888 \begin_layout Standard
12895 \begin_layout Subsection
12900 \begin_layout Standard
12902 Getting the format of a Hollywood script right is a ,,rite of passage''.
12903 Zosta³ zaprojektowany do czytania ze zwróceniem uwagi na tre¶æ oraz aby
12904 byæ ³atwym i przyjaznym w czytaniu dla aktorów.
12905 Ka¿da strona scenariusza powinna byæ jedn± minut± filmu.
12906 Nie pisz tego czego nie mo¿esz zobaczyæ lub us³yszeæ na ekranie.
12907 W ca³ym dokumencie powinna byæ stosowana czcionka Courier 12pkt, bez kursywy.
12910 \begin_layout Subsection
12915 \begin_layout Standard
12917 Tekst mówcy nie powinien byæ NIGDY ³amany w po³owie zdania.
12918 Je¶li tekst mówcy jest kontynuowany na nastêpnej stronie, powtórz
12929 \begin_layout Subsection
12934 \begin_layout Standard
12936 Wstaw nazwê mówcy (
12940 ) jako etykietê, a dalej wykorzystuj j± przez odno¶niki wewnêtrzne.
12941 Okno odno¶ników bêdzie wy¶wietla³o obsadê.
12942 Odno¶niki mo¿esz u¿ywaæ do wstawiania nazwy mówcy równie¿ w tek¶cie narratora.
12945 \begin_layout Subsection
12947 Rozmiar papieru i marginesy
12950 \begin_layout Standard
12952 USLetter, lewy 1.6in, prawy 0.75in, górny 0.5in, dolny 0.75in
12955 \begin_layout Subsection
12960 \begin_layout Standard
12962 Dostêpne s± nastêpuj±ce ¶rodowiska.
12963 Mo¿esz u¿yæ uk³adu hollywood.bind aby uzyskaæ skróty klawiszowe jak poni¿ej.
12966 \begin_layout Itemize
12974 U¿yj gdzie nic innego nie pasuje.
12975 Próbuj nie korzystaæ z niego.
12978 \begin_layout Itemize
12988 Used to describe stage setting and the action.
12989 Pierwsze u¿ycie nazwy aktora napisz kapitalikiem.
12992 \begin_layout Itemize
13007 Usually followed by something like ,,on Sally waking up''.
13010 \begin_layout Itemize
13020 Introduces a new INTERIOR camera set-up.
13021 Always followed by DAY or NIGHT, or something similar to define the lighting
13023 Pisz zawsze du¿ymi literami.
13026 \begin_layout Itemize
13036 Introduces a new EXTERIOR camera set-up.
13037 Pisz zawsze du¿ymi literami.
13040 \begin_layout Itemize
13050 The character speaking.
13053 \begin_layout Itemize
13063 Instrukcje dla mówcy.
13064 Nawiasy ,,()'' s± wstawiane automatycznie i wy¶wietlane s± tylko w LyX-ie,
13065 ale zawsze bêda drukowane.
13068 \begin_layout Itemize
13085 \begin_layout Itemize
13095 Instrukcja przemieszczania dla kamery, np.
13099 \begin_layout Itemize
13109 \begin_layout Itemize
13118 \begin_layout Itemize
13127 \begin_layout Itemize
13137 \begin_layout Subsection
13142 \begin_layout Itemize
13144 (O.S) --- off screen
13147 \begin_layout Itemize
13149 (V.0) --- voice over
13152 \begin_layout Itemize
13158 \begin_layout Itemize
13164 \begin_layout Itemize
13166 PAN --- przesuniêcie kamery
13169 \begin_layout Itemize
13171 INSERT --- cut to close-up of
13174 \begin_layout Section
13179 \begin_layout Standard
13186 \begin_layout Subsection
13191 \begin_layout Standard
13193 Klasa Broadway jest przeznaczona dla pisz±cych scenariusze teatralne.
13194 Ten format jest bardziej dekoracyjny i o wiele mniej ustandaryzowany.
13195 Ten format powinien byæ odpowiedni dla workshopów.
13198 \begin_layout Subsection
13203 \begin_layout Standard
13205 Podobnie jak format Hollywood.
13208 \begin_layout Subsection
13213 \begin_layout Standard
13215 Wstaw nazwê mówcy (
13219 ) jako etykietê, a dalej wykorzystuj j± przez odno¶niki wewnêtrzne.
13220 Okno odno¶ników wewnêtrznych bêdzie wy¶wietlaæ aktualn± obsadê.
13223 \begin_layout Subsection
13225 Rozmiar papieru i marginesy
13228 \begin_layout Standard
13230 USLetter, lewy 1.6in, prawy 0.75in, górny 0.5in, dolny 0.75in
13233 \begin_layout Subsection
13238 \begin_layout Standard
13240 Dostêpne s± nastêpuj±ce ¶rodowiska.
13241 Mo¿esz u¿yæ uk³adu broadway.bind aby uzyskaæ skróty klawiszowe jak poni¿ej.
13244 \begin_layout Itemize
13252 Nie powiniene¶ go u¿ywaæ, ale jest je¶li inne nie bêd± Ci odpowiadaæ.
13255 \begin_layout Itemize
13265 Used to describe stage setting and the action.
13266 Pierwsze u¿ycie nazwy aktora napisz kapitalikiem.
13269 \begin_layout Itemize
13279 Automatycznie numerowane.
13280 Na ekranie bêdzie numeracja liczbami arabskimi, a na wydruku rzymskimi.
13283 \begin_layout Itemize
13293 Tekst jest centrowany.
13296 \begin_layout Itemize
13306 Nie jest numerowane automatycznie.
13308 This is because I couldn't figure out how.
13311 \begin_layout Itemize
13322 A special case of Narrative to describe the setting and action as the curtain
13326 \begin_layout Itemize
13336 Nazwa mówcy (aktora), wy¶rodkowana napisana bêdzie kapitalikiem.
13339 \begin_layout Itemize
13349 Instrukcje dla mówcy.
13350 Nawiasy ,,()'' s± wstawiane automatycznie, ale wy¶wietlane s± tylko w LyX-ie,
13351 ale zawsze bêda drukowane.
13352 To ¶rodowisko jest u¿ywane tylko wewn±trz ¶rodowiska
13359 \begin_layout Itemize
13372 \begin_layout Itemize
13382 Opuszczenie kurtyny.
13385 \begin_layout Itemize
13394 \begin_layout Itemize
13403 \begin_layout Itemize
13412 \begin_layout Standard
13417 \begin_layout Section
13422 \begin_layout Standard
13429 \begin_layout Standard
13433 Revtex\InsetSpace ~
13436 wspó³pracuje z klas± RevTeX 4.0 (wydanie
13437 \begin_inset Formula $\beta$
13440 z maja 1999 roku) American Physical Society.
13441 LyX ma klasê dokumentu
13445 , która wspó³pracuje z RevTeX 3.1.
13446 Jednak wersja 3.1 jest generalnie przestarza³a jako wspó³pracuj±ca z LaTeX2.09,
13447 co oznacza, ¿e wspó³praca z LyX-em nie jest najlepsza., poniewa¿ LyX wymaga
13449 Since RevTeX 4.0 has been designed to work much more cleanly with LaTeX2e,
13452 RevTeX\InsetSpace ~
13455 textclass should also be pretty easy to use.
13458 \begin_layout Standard
13460 These documents are supposed to be used in
13464 to the RevTeX 4.0 documents, so we don't describe any of the special RevTeX
13465 macros, and assume you'll know what to put in the preamble if necessary.
13468 \begin_layout Subsection
13473 \begin_layout Standard
13475 All you need to do is install RevTeX 4, as described in the package's README
13477 the package can be found at
13478 \begin_inset LatexCommand \url[The RevTeX 4 Web Site]{http://publish.aps.org/revtex4/}
13483 Install it somewhere that LaTeX can see it.
13484 Test it by trying to LaTeX a short RevTeX 4 document in some random directory
13485 (i.e., not the directory where you installed the class file.) Then, if you
13486 reconfigure LyX, it will find the class file and let you use the RevTeX4
13490 \begin_layout Standard
13492 Probably the easiest way to get started is either to import a RevTeX 4 document
13499 Revtex\InsetSpace ~
13502 template, found in the templates directory.
13505 \begin_layout Subsection
13510 \begin_layout Standard
13512 Optional arguments to
13518 , like ,,preprint'' and ,,aps'', go in the
13531 Remember that in RevTeX, at least one optional argument is required!
13534 \begin_layout Standard
13536 Other preamble matter, like
13547 popup, also as usual.
13550 \begin_layout Subsection
13555 \begin_layout Standard
13557 The layouts basically correspond to the commands in RevTeX4.0.
13558 For example, the Email layout corresponds to
13565 Note that (at least as of RevTeX 4.0 Beta), the
13573 layouts are exactly equivalent, so you shouldn't need to use both.
13577 \begin_layout Standard
13579 In case you're curious, both were included so that
13583 would be able to translate both
13603 \begin_layout Standard
13605 There are a couple of important unique aspects of RevTeX 4 which might cause
13606 bugs that will be even more confusing in LyX.
13609 \begin_layout Standard
13628 The LyX equivalent is that there is a separate Thanks layout.
13633 write footnotes in the
13637 layout, or weird things may happen.
13638 See the RevTeX 4 documentation for more details.
13641 \begin_layout Standard
13645 Author\InsetSpace ~
13650 Author\InsetSpace ~
13657 layouts must be placed
13665 layout and the corresponding
13682 , the LaTeX won't compile.
13685 \begin_layout Subsection
13690 \begin_layout Standard
13692 The main problem with this layout is that you can't use the optional arguments
13693 to layouts like Email and Title.
13694 (The problem is not unique to this layout; in LyX 1.0, you can't use optional
13695 arguments to the Section layouts.) This means that after you export that
13696 file to LaTeX (which you'll need to do eventually to send it in to APS),
13697 you'll need to edit the LaTeX file with a text editor to add the optional
13698 arguments to set, e.g., the running title for the page headers.
13699 Lacking these layouts makes the
13705 (and the equivalent
13711 ) useless, so the corresponding layouts don't exist, and will have to be
13713 This drawback will be fixed in LyX 1.2.
13716 \begin_layout Section
13718 article (mwart), book (mwbk) i report (mwrep)
13721 \begin_layout Standard
13728 \begin_layout Standard
13742 autorstwa marcina Woliñskiego odpowiadaj± klasom LateX-a odpowiednio:
13755 Zastêpuj± one standardowe klasy:
13768 S± one zgodne z polskimi zwyczajami typograficznymi.
13771 \begin_layout Standard
13773 Podstawowe ró¿nice:
13776 \begin_layout Itemize
13778 Nienumerowane tytularia ( z gwiazdk±) s± dopisywane do spisu tre¶ci.
13781 \begin_layout Itemize
13783 Dodatkowe style strony:
13787 \begin_layout Description
13789 uheadings pagina górna z lini± oddzielaj±c±,
13792 \begin_layout Description
13794 myheadings pagina górna z zadawan± tre¶ci± poleceniami:
13809 \begin_layout Description
13811 myuheadings pagina górna z zadawan± tre¶ci± z lini± oddzielaj±c±,
13814 \begin_layout Description
13816 outer paginacja w stopce od strony zewnêtrznego marginesu
13819 \begin_layout Itemize
13825 \begin_layout Description
13827 rmheadings szeryfowe tytularia -- opcja domy¶lna
13830 \begin_layout Description
13832 sfheadings bezszeryfowe tytularia
13835 \begin_layout Description
13837 authortitle najpierw autor poni¿ej tytu³ -- opcja domy¶lna
13840 \begin_layout Description
13842 titleauthor najpierw tytu³ poni¿ej autor
13845 \begin_layout Description
13847 withmarginpar rezerwuje miejsce na marginalia
13850 \begin_layout Chapter
13852 Import i eksport innych formatów plików
13855 \begin_layout Section
13860 \begin_layout Standard
13862 Zagadnienie importu i eksportu z/do innych formatów plików zosta³o wspomniane
13865 Podrêczniku U¿ytkownika
13868 W tym rozdziale jest opisane wiêcej szczegó³ów potrzebnych do zrozumienia
13869 tego co siê dzieje po naci¶niêciu polecenia
13874 lik\SpecialChar \menuseparator
13886 lik\SpecialChar \menuseparator
13896 \begin_layout Section
13898 Import z innych formatów
13901 \begin_layout Subsection
13906 \begin_layout Standard
13908 T³umaczenie z LaTeX-a do LyX-a jest dokonywane przez Perl za pomoc± skryptów
13909 wywo³ywanych przez reLyX.
13910 Ponadto jest to samodzielny program, który mo¿e byæ wywo³ywany z wiersza
13912 LyX wywo³uje go automatycznie podczas importu pliku LaTeX-a.
13914 \begin_inset LatexCommand \ref{sec:reLyX}
13918 dla pe³niejszego opisu.
13919 Nie ma parametrów do ustawiania przez u¿ytkownika.
13922 \begin_layout Subsection
13927 \begin_layout Standard
13929 S± dwie metody importu plików tekstowych ASCII.
13930 Import ,,jako wiersze'' zachowuje wszystkie koñce wierszy z pliku ASCII
13931 do LyX-a, wówczas ka¿dy wiersz jest oddzielnym akapitem.
13932 Podczas importu ,,jako akapit'' kolejne wiersze ³±czone s± w jeden akapit.
13933 Pusty wiersz traktowany jest jako separator akapitów.
13936 \begin_layout Subsection
13941 \begin_layout Standard
13945 [Editor's note: Needs to be written, obviously - any volunteers? --- mer]
13948 \begin_layout Section
13950 Eksport do innych formatów
13953 \begin_layout Subsection
13958 \begin_layout Standard
13960 LyX tworzy dwa typy plików LaTeX-owych: pliki do normalnego przetwarzania
13961 (do podgl±du DVI itp.), które nie s± nigdy ogl±dane oraz pliki o formie
13962 czytelnej dla ludzi.
13963 Jedyn± mo¿liw± do ustawienia jest dyrektywa
13969 okre¶laj±ca maksymaln± d³ugo¶æ wiersza pliku, domy¶ln± warto¶ci± jest 75
13971 Plik wynikowy jest poprawnym plikiem LaTeX-a, lecz preambu³a mo¿e wygl±daæ
13972 trochê przera¿aj±co poniewa¿ zawiera kilka definicji u¿ywanych przez LyX-a,
13973 które nie wygl±daj± na utworzone przez cz³owieka.
13976 \begin_layout Subsection
13981 \begin_layout Standard
13995 ndependent -- ,,sprzêtowo niezale¿ne'') s± tworzone podczas przetwarzania
13996 Twojego dokumentu przez LaTeX.
13997 Nie ma ¿adnych opcji do ustawienia przez u¿ytkownika.
14000 \begin_layout Subsection
14005 \begin_layout Standard
14007 Nastêpny krokiem w ³añcuchu konwersji jest konwersja pliku DVI do PostScript.
14008 Najczê¶ciej u¿ywanym do tego celu programem jest program
14013 Wybrany program nale¿y podaæ w pliku
14024 Argumenty wiersza poleceñ, np.
14025 dla dvips polecenia druku w odwrotnej kolejno¶ci (
14029 ) mo¿na podaæ w dyrektywie
14033 print_extra_options
14038 \begin_layout Subsection
14043 \begin_layout Standard
14045 Eksport do ASCII próbuje zachowaæ ,,kszta³t'' dokumentu jak to mo¿liwe,
14046 ale takie elementy jak centrowanie i wciêcia s± odrzucane, a akapity s±
14047 rozdzielane pustym wierszem.
14048 Numeracja sekcji i odno¶ników jest wykonana poprawnie, tak ¿e w efekcie
14049 plik jest do¶æ przejrzysty.
14050 Jedyn± mo¿liw± do ustawienia jest dyrektywa
14056 okre¶laj±ca maksymaln± d³ugo¶æ wiersza pliku ASCII.
14059 \begin_layout Subsection
14064 \begin_layout Standard
14066 Dokumenty LyX-a mog± byæ konwertowane do formatu hipertekstowego, zwykle
14067 najpierw dokonywana jest konwersja do LaTeX-a, który konwertuje do formatu
14071 \begin_layout Standard
14073 Aktualnie s± dostêpne dla LyX-a trzy konwertery LaTeX
14074 \begin_inset Formula $\rightarrow$
14090 S± one wykrywane automatycznie, jednak mo¿na wymusiæ wybór jednego z nich
14091 dyrektyw± w pliku konfiguracyjnym
14098 W tej dyrektywie mo¿na tak¿e do³±czyæ argumenty wiersza poleceñ.
14099 Czytaj komentarze w pliku
14103 , które zawieraj± najbardziej aktualne informacje dotycz±ce szczegó³ów u¿ycia
14104 poszczególnych dyrektyw.
14107 \begin_layout Subsection
14112 \begin_layout Standard
14121 \begin_layout Standard
14123 Najszybsz± drog± do tworzenia plików PDF (bez znaczników, linków itp.) w
14124 dowolnej wersji LyX-a jest zapisanie dokumentu w formacie PostScript, a
14125 nastêpnie uruchomienie polecenia
14130 Pocz±wszy od wersji 1.1.6 dostêpna jest pozycja menu
14135 lik\SpecialChar \menuseparator
14136 Exportuj\SpecialChar \menuseparator
14140 Od wersji 1.1.6 jest to najlepsza droga do uzyskania porz±dnych plików PDF.
14141 Jest trochê k³opotów z czcionkami, na które powiniene¶ uwa¿aæ -- zobacz
14142 \begin_inset LatexCommand \ref{sec:badfonts}
14149 \begin_layout Subsubsection
14154 \begin_layout Standard
14156 Korzystaj±c z pdfLaTeX potrzebujesz skonwertowaæ swoje obrazki EPS do formatu
14158 \begin_inset LatexCommand \ref{sec:pdfeps}
14162 ) i nie mo¿esz u¿ywaæ pstricks.
14163 Z drugiej strony, korzystaj±c z pdfLaTeX mo¿na wstawiaæ wprost rysunki
14164 w formatach JPEG lub PNG, u¿ywaæ czcionek TrueType i wiele innych.
14167 \begin_layout Subsubsection
14169 Dlaczego tekst wygl±da ma³o czytelnie przy podgl±dzie za pomoc± Acrobat
14171 \begin_inset LatexCommand \label{sec:badfonts}
14178 \begin_layout Standard
14180 ¬ród³em k³opotów s± czcionki bitmapowe brzydko wy¶wietlane przez Acrobat
14182 Podczas tworzenia pliku PDF z pliku LyX-a potrzebujesz czcionek obwiedniowych
14183 zamiast bitmapowych (w rzeczywisto¶ci powiniene¶ tak¿e u¿ywaæ czcionek
14184 obwiedniowych w plikach postscriptowych).
14187 \begin_layout Standard
14189 Ostatnie dystrybucje LaTeX-a posiadaj± standardowe czcionki CM (Computer
14190 Modern) PostScript Type 1.
14191 PdfLaTeX u¿ywa tych czcionek domy¶lnie.
14192 Dvips nie u¿ywa ich domy¶lnie, dla ich u¿ycia nale¿y dopisaæ do pliku
14196 nastêpuj±ce wiersze
14199 \begin_layout LyX-Code
14204 \begin_layout LyX-Code
14209 \begin_layout Standard
14211 Je¶li u¿ywane jest domy¶lne kodowanie LaTeX-a (OT1), to nie trzeba robiæ
14213 Ale je¶li u¿ywane jest kodowanie T1 to LaTeX u¿ywa nowych czcionek EC,
14214 dla których nie ma wersji Type1.
14215 Rozwi±zaniem jest u¿ycie pakietu ae, który emuluje kodowanie T1 u¿ywaj±c
14217 Nale¿y wówczas w preambule dopisaæ
14221 usepackage{ae,aecompl}
14224 Jednak niektórych znaków brakuje w czcionkach CM (np.
14225 eth, thorn) i s± one pobierane z czcionek EC.
14226 Dlatego pobierane s± znaki jako bitmapy.
14229 \begin_layout Standard
14231 Uwaga: LyX u¿ywa domy¶lnie kodowania T1.
14232 Je¶li chcesz stosowaæ domy¶lne kodowanie (co nie jest zalecane chyba ¿e
14233 piszesz tylko w jêzyku angielskim), dodaj wiersz
14237 font_encoding default
14248 \begin_layout Standard
14250 Dla sk³adu w jêzyku polskim zaleca siê stosowaæ kodowanie OT4 oraz pakiet
14264 w³±cza spolonizowane czcionki CM w uk³adzie OT4 zwane
14269 Czcionki PL wystêpuj± równie¿ w wersji obwiedniowej co rozwi±zuje problemy
14270 z Acrobat Readerem.
14277 Alternatyw± jest u¿ycie standardowych czcionek postscriptowych zamiast
14279 Do tego potrzebujesz wybraæ pslatex jako globaln± czcionkê w oknie uk³adu
14281 Gdy u¿ywamy czcionek postsciptowych to pliki PDF s± mniejsze o czcionki
14282 nie do³±czone do pliku.
14283 Ponadto czcionki postscriptowe do³±czaj± wszystkie krzywe T1.
14284 Z drugiej za¶ strony czcionki postscriptowe nie posiadaj± pó³grubych czcionek
14285 symboli i musz± byæ u¿yte pmb (poor man's bold, zobacz
14286 \begin_inset LatexCommand \ref{sec:pdfbold}
14291 Czcionki postscriptowe tak¿e wygl±daj± inaczej z zestawu czcionek CM.
14294 \begin_layout Standard
14296 Podsumowuj±c czcionki postscriptowe i Computer Modern daj± dobre rezultaty
14297 (z kilkoma wyj±tkami).
14298 Decyzja których u¿ywaæ jest kwesti± gustu.
14301 \begin_layout Subsubsection
14303 Jak mogê u¿yæ pdfLaTeX z obrazkami w formacie EPS?
14304 \begin_inset LatexCommand \label{sec:pdfeps}
14311 \begin_layout Standard
14313 PdfLaTeX nie obs³uguje w³±czania plików EPS, ale obs³uguje w³±czanie plików
14315 Je¶li masz dokumenty z w³±czonymi rysunkami EPS, np.
14323 \begin_layout Enumerate
14334 \begin_layout Enumerate
14336 Kiedy wstawiasz rysunek w dokumencie nie podawaj rozszerzenia nazwy pliku:
14337 na przyk³ad, wstawiaj±c plik
14341 wystarczy wpisaæ tylko
14345 w oknie dialogowym.
14348 \begin_layout Standard
14350 Uwaga: W LyX 1.2.0 bêdzie mo¿liwe wstawianie ró¿nych rodzajów rysunków ze
14351 wszystkimi niezbêdnymi transformacjami.
14352 Czê¶ciowo funkcjonalne wstawianie istnieje w wersji 1.1.6, do u¿ycia nale¿y
14355 M-x graphics-insert
14360 \begin_layout Subsubsection
14364 boldsymbol{} nie dzia³a gdy u¿ywam pslatex?
14365 \begin_inset LatexCommand \label{sec:pdfbold}
14372 \begin_layout Standard
14374 Czcionki PostScript nie posiadaj± symboli pó³grubych.
14375 Rozwi±zaniem jest u¿ycie polecenia
14384 \begin_layout Standard
14386 Jest to mo¿liwe przez przedefiniowanie polecenia
14401 \begin_layout LyX-Code
14412 \begin_layout Standard
14417 \begin_layout Subsubsection
14419 Czy jest mo¿liwe zapisanie kodu przetwarzanego tylko przez pdfLaTeX-a?
14422 \begin_layout Standard
14428 \begin_layout LyX-Code
14437 \begin_layout LyX-Code
14448 \begin_layout LyX-Code
14455 \begin_layout LyX-Code
14462 \begin_layout LyX-Code
14469 \begin_layout LyX-Code
14476 \begin_layout LyX-Code
14480 \begin_layout LyX-Code
14487 \begin_layout LyX-Code
14491 pdfinfo { /Author (your name and e-mail address)
14494 \begin_layout LyX-Code
14496 /Title (official title -- i.e., title element)
14499 \begin_layout LyX-Code
14501 /Subject (one line description of the document)
14504 \begin_layout LyX-Code
14509 \begin_layout LyX-Code
14513 pdfcatalog { /PageMode (/UseNone)
14516 \begin_layout LyX-Code
14518 % /OpenAction (fitbh)
14521 \begin_layout LyX-Code
14526 \begin_layout LyX-Code
14530 usepackage[pdftex]{hyperref}
14533 \begin_layout LyX-Code
14540 \begin_layout LyX-Code
14544 usepackage[ps2pdf]{hyperref}
14547 \begin_layout LyX-Code
14554 \begin_layout Subsection
14556 Eksport u¿ytkownika
14559 \begin_layout Standard
14561 Eksport u¿ytkownika jest mo¿liwy je¶li masz dziwny format do którego chcesz
14562 konwertowaæ, zak³adaj±c, ¿e masz odpowiedni konwerter.
14563 Format pliku wej¶ciowego jest podany w dyrektywie
14567 custom_export_format
14570 LyX bêdzie automatycznie konwertowa³ plik do tego miejsca, a wtedy zostanie
14571 on przekazany do Twojego konwertera.
14572 Mo¿liwymi warto¶ciami s±:
14595 \begin_layout Standard
14597 Polecenie wywo³ania konwertera jest podane w dyrektywie
14601 custom_export_command
14604 To powinno byæ kompletne polecenie wiersza poleceñ, które wykorzystuje
14609 do przekazania nazwy pliku g³ównego.
14612 \begin_layout Standard
14614 Mo¿e bêdziesz musia³ trochê poprawiæ podan± sekwencjê, dla zgodno¶ci z twoj±
14618 \begin_layout Standard
14620 Omawiany sposób eksportu ustawia siê w domy¶lnym lokalnym pliku
14625 Gdy wybierzesz polecenie
14630 lik\SpecialChar \menuseparator
14635 ksportuj\SpecialChar \menuseparator
14642 , pojawi siê okno, w którym mo¿na zmieniæ dowoln± warto¶æ.
14645 \begin_layout Section
14648 \begin_inset LatexCommand \label{sec:reLyX}
14655 \begin_layout Subsection
14660 \begin_layout Standard
14662 Najprostszym sposobem u¿ycia reLyX-a jest u¿ycie polecenia
14664 Plik\SpecialChar \menuseparator
14667 (polecenie jest dostêpne w LyX-ie pocz±wszy od wersji 1.0.0).
14668 Polecenie uruchamia reLyX i podaje mu plik wej¶ciowy, a nastêpnie wczytuje
14670 Ten sposób powiniene¶ spróbowaæ jako pierwszy, a korzystaæ z wywo³ania
14671 z wiersza poleceñ tylko, je¶li potrzebujesz bardziej skomplikowanych opcji.
14674 \begin_layout Standard
14725 \begin_layout Standard
14772 \begin_layout Standard
14779 \begin_layout Subsection
14784 \begin_layout Description
14787 Domy¶lnie, gdy reLyX zobaczy polecenie
14793 , tworzy plik klasy ,,foo'' i wczytuje plik uk³adu LyX-a dla tej klasy (zwykle
14794 /usr/share/lyx/layouts/foo.layout lub
14798 /.lyx/layouts/foo.layout).
14803 aby zadeklarowaæ inn± klasê dokumentu (i wczytaæ inny plik uk³adu).
14806 \begin_layout Description
14808 -d Diagnostyka (debug).
14809 Domy¶lnie, reLyX rzadko daje wyj¶cie i usuwa pliki tymczasowe utworzone
14815 utworzy wiele wiêcej informacji wyj¶ciowych (do stdout i stderr) i pozostawia
14819 \begin_layout Description
14822 reLyX nie uruchamia siê je¶li plik .lyx, który ma zostaæ utworzony istnieje.
14823 U¿yj (ostro¿nie) opcji
14827 aby zast±piæ istniej±ce pliki.
14830 \begin_layout Description
14833 Drukuje informacje o sposobie u¿ycia i koñczy pracê.
14836 \begin_layout Description
14838 -o Katalog wyj¶ciowy (output directory).
14839 W przypadku u¿ycia tej opcji, wszystkie pliki tymczasowe i wyj¶ciowe LyX-a
14840 (dla podanego pliku wej¶ciowego lub dla dowolnych plików czê¶ciowych podanych
14845 ) zostan± umieszczone w katalogu
14850 W innym przypadku, dla ka¿dego pliku
14854 , pliki tymczasowe i pliki wyj¶ciowe LyX-a zostan± umieszczone w katalogu
14859 To mo¿e byæ u¿yteczne je¶li w³±czasz pliki z innych katalogów, a które
14860 chcesz umie¶ciæ we wspólnym folderze lub nie masz praw zapisu w ich folderach
14864 \begin_layout Description
14866 -p Plik czê¶ciowy (partial).
14867 Wej¶ciem jest fragment pliku LaTeX-a bez preambu³y lub bez polecenia
14874 Ta opcja wymaga parametru
14878 , poniewa¿ plik ¼ród³owy nie posiada preambu³y z deklaracj± klasy:
14885 Gdy u¿ywasz tej opcji, to mo¿esz konwertowaæ wiêcej ni¿ jeden plik, dopóki
14886 wszystkie pliki s± tej samej klasy.
14887 Pliki LyX-a utworzone przez reLyX mog± byæ do³±czane do istniej±cych plików
14888 LyX-a za pomoc± polecenia
14890 Wstaw\SpecialChar \menuseparator
14896 \begin_layout Description
14898 -r ¦rodowiska regularne (regular environments) (zobacz sekcjê
14903 Je¶li podajesz wiêcej ni¿ jedno ¶rodowisko, to rozdzielaj je przecinkiem
14905 Bêdziesz prawdopodobnie potrzebowa³ listê ¶rodowisk umie¶ciæ w cudzys³owie,
14906 szczególnie gdy umie¶ci³e¶ na li¶cie ¶rodowiska z gwiazdk± (foo*).
14907 Je¶li czêsto u¿ywasz tego parametru, to rozwa¿ utworzenie osobistego pliku
14911 \begin_layout Description
14913 -s Plik sk³adni (syntax file).
14914 Dodatkowe pliki sk³adni (umieszczaj w cudzys³owie, rozdzielaj przecinkiem)
14915 do wczytania (zobacz sekcjê
14919 aby poznaæ szczegó³y).
14922 \begin_layout Subsection
14927 \begin_layout Subsubsection
14932 \begin_layout Standard
14934 reLyX tworzy plik LyX-a
14938 na podstawie pliku LaTeX-a
14942 (je¶li nie podano opcji
14949 \begin_layout Standard
14951 Rozszerzenia plików .tex, .ltx i .latex s± obs³ugiwane.
14956 nie istnieje lub nie posiada ¿adnego z podanych rozszerzeñ, to reLyX próbuje
14961 (zachowuje siê podobnie jak LaTeX.)
14964 \begin_layout Standard
14966 Przeznaczeniem reLyX jest translacja
14970 z LaTeX2e do LyX-a.
14971 Je¶li twój plik LaTeX nie kompiluje siê lub robi dziwne rzeczy, jak przedefinio
14972 wywanie standardowych poleceñ LaTeX -- it may choke.
14973 Pliki LaTeX209 s± konwertowane poprawnie, ale bez gwarancji.
14976 \begin_layout Standard
14978 reLyX ma kilka b³êdów i brak mu kilku funkcji.
14979 Jednak g³ównymi celami s±:
14982 \begin_layout Itemize
14984 Uporaæ siê z plikiem LaTeX2e bez upadku,
14987 \begin_layout Itemize
14989 Translacja wielu takich plików,
14992 \begin_layout Itemize
14994 Lokalizacja czê¶ci, które nie mog± byæ t³umaczone i kopiowanie ich w trybie
14998 \begin_layout Standard
15000 Te g³ówne cele s± osi±gane dla wiêkszo¶ci plików.
15003 \begin_layout Standard
15005 Istnieje wiele ulepszeñ, które mog± byæ i bêd± wprowadzone do reLyX-a w
15007 Jednak, my chcemy korzystaæ z reLyX jak najwcze¶niej, aby u³atwiæ nowym
15008 u¿ytkownikom LyX wczytywanie ich istniej±cych plików LaTeX-a.
15011 \begin_layout Subsubsection
15016 \begin_layout Standard
15018 Tutaj znajduje siê d³u¿szy opis co powiniene¶ zrobiæ, aby skonwertowaæ dokument
15019 LaTeX do dokumentu LyX-a.
15022 \begin_layout Itemize
15028 \begin_layout Standard
15030 reLyX bêdzie informowa³ Ciebie o postêpach i wysy³a³ ostrze¿enia do stderr,
15031 je¶li nie chcesz ¿adnych informacji spróbuj ,,
15033 reLyX foo.tex > /dev/null
15036 Nie powiniene¶ przekierowywaæ standardowego wyj¶cia do
15043 \begin_layout Itemize
15045 Uruchom LyX (wersja 0.12 lub pó¼niejsza) z wynikowym plikiem .lyx.
15049 \begin_layout Standard
15051 Teoretycznie wiêkszo¶æ pliku zostanie przet³umaczona, a je¶li co¶ nie zostanie
15052 przet³umaczone, to zostanie zaznaczone na czerwono (tryb TeX).
15053 Teoretycznie LyX potrafi wczytaæ plik i utworzyæ dokument na jego podstawie,
15054 poniewa¿ wszystkie nieprzet³umaczone rzeczy zostan± wstawione w trybie
15055 all that untranslated red stuff will be passed directly back to LaTeX,
15056 which LyX uses as a backend.
15057 Niestety rzeczywisto¶æ nie zawsze jest odzwierciedla teoriê.
15058 Je¶li reLyX przewraca siê lub LyX nie potrafi wczytaæ utworzonego pliku
15063 gdzie¶ w tym dokumencie lub w pliku
15070 \begin_layout Itemize
15072 Zmieñ pod¶wietlone na czerwono (tryb TeX) rzeczy rêcznie w LyX-ie.
15076 \begin_layout Standard
15078 Jak wspomnia³em powy¿ej, powiniene¶ móc wydrukowaæ plik LyX bez robienia
15080 Jednak zmiany poleceñ z trybu TeX na odpowiednie obiekty LyX-a pozwol±
15081 na bardziej zaawansowan± edycjê w trybie WYSIWYM.
15084 \begin_layout Standard
15086 reLyX nie gwarantuje utworzenia pliku LyX, który utworzy dok³adnie identyczny
15087 wydruk jak z pliku LaTeX, ale powinien byæ zbli¿ony.
15088 reLyX will generally err on the side of translating less to ensure that
15089 dvi or ps files are accurate, even though this leads to more
15090 \begin_inset Quotes eld
15094 \begin_inset Quotes erd
15100 \begin_layout Itemize
15102 Dokonaj KOREKTY dokumentu!
15106 \begin_layout Standard
15108 I'm sure you were planning on doing this anyway, but it's particularly important
15109 after translating a LaTeX document.
15110 reLyX is, at least now, better at
15111 \begin_inset Quotes eld
15115 \begin_inset Quotes erd
15118 (translating the whole document) than
15119 \begin_inset Quotes eld
15123 \begin_inset Quotes erd
15126 (translating every little detail).
15127 For example, you may see extra spaces or deleted spaces.
15128 Space handling has improved, but it's not perfect.
15131 \begin_layout Subsubsection
15133 Co reLyX mo¿e przechwyciæ
15136 \begin_layout Standard
15138 reLyX rozumie wiele poleceñ LaTeX-a.
15139 Zostan± skonwertowane:
15142 \begin_layout Itemize
15144 zwyk³y tekst, w³±czaj±c minipolecenia takie jak: ~, '',
15156 , a tak¿e akcentowane znaki takie jak
15162 i przypadki specjalne ?` i !`
15165 \begin_layout Itemize
15167 polecenia strony tytu³owej takie jak
15198 \begin_layout Itemize
15200 polecenia struktury tekstu takie jak
15206 w³±czaj±c polecenia z gwiazdk± (np.
15216 \begin_layout Itemize
15243 \begin_layout Itemize
15264 Równie¿ zagnie¿d¿one listy
15267 \begin_layout Itemize
15269 polecenia odno¶ników:
15294 \begin_layout Itemize
15309 \begin_layout Itemize
15311 polecenia zmiany czcionki w³±czaj±c
15329 i odpowiednie polecenia do zmiany rodziny, grubo¶ci, odmiany i wielko¶ci
15332 \begin_layout Itemize
15353 Polecenia Plain TeX
15365 '') s± równie¿ obs³ugiwane
15368 \begin_layout Itemize
15374 i jego polecenia takie jak
15395 \begin_layout Itemize
15405 , a tak¿e polecenie
15412 \begin_layout Itemize
15424 , a tak¿e polecenia BibTeX-a
15437 \begin_layout Itemize
15465 \SpecialChar \ldots{}
15469 \begin_layout Itemize
15471 ¶rodowiska specyficzne dla klasy dokumentu (i trochê poleceñ), które mog±
15472 byæ konwertowane do pliku uk³adu LyX-a
15475 \begin_layout Itemize
15477 argumenty pewnych niekonwertowalnych poleceñ (np.
15487 \begin_layout Standard
15489 Niektóre z nich mog± nie byæ jeszcze wspierane w 100%.
15490 Zobacz poni¿ej szczegó³y
15493 \begin_layout Standard
15495 reLyX kopiuje matematykê (prawie) wprost z twojego pliku LaTeX-a.
15496 Szczê¶liwie wczytuje matematykê LaTeX-a (prawie), która jest obs³ugiwana
15497 przez LyX-a i dzia³a ¶wietnie.
15498 Niektóre polecenia matematyczne, które nie s± obs³ugiwane przez LyX-a zostan±
15499 zast±pione ich ekwiwalentami, np.
15506 bêdzie skonwertowane do
15517 aby poznaæ wiêcej szczegó³ów.
15520 \begin_layout Standard
15522 reLyX tak¿e kopiuje polecenia preambu³y (np.
15529 ), so fancy stuff you've got in your preamble should be conserved in dvi
15530 and printed documents, although it will not of course show up in the LyX
15537 ormatowanie\SpecialChar \menuseparator
15543 \begin_layout Subsubsection
15545 Czego reLyX nie mo¿e przechwyciæ -- ale jest OK
15548 \begin_layout Itemize
15557 \begin_layout Itemize
15562 \begin_layout Itemize
15564 polecenia odstêpów (
15585 \begin_layout Itemize
15606 \begin_layout Itemize
15619 reLyX kopiuje je ostro¿nie i
15623 , w³±czaj±c komentarze i bia³e spacje.
15626 \begin_layout Itemize
15629 utworzone przez u¿ytkownika) ¶rodowiska i polecenia
15632 \begin_layout Standard
15634 reLyX kopiuje nieznane polecenia wraz z ich argumentami dos³ownie do pliku
15636 Ponadto, je¶li zobaczy
15642 gdzie nie rozpozna ¶rodowiska ,,foo'', skopiuje dos³ownie a¿ do
15648 (bez u¿ycia parametru
15653 Hopefully, then, most of these unknown commands won't cause reLyX to break;
15654 they'll merely require you to do some editing once you've loaded the file
15656 That should be less painful than editing either the .tex or the .lyx file
15657 using a text editor.
15660 \begin_layout Subsubsection
15662 Co reLyX przechwytuje niepoprawnie -- s± b³êdy
15665 \begin_layout Standard
15667 reLyX jest wzglêdnie nowy i ma kilka problemów.
15668 As it matures, these bugs will be squished.
15669 Listê b³êdów i brakuj±cych cech mo¿na znale¼æ w LyX bug tracker
15670 \begin_inset LatexCommand \url[LyX Bugzilla]{http://bugzilla.lyx.org/}
15677 \begin_layout Standard
15679 If reLyX is choking on something lub LyX nie potrafi wczytaæ go po konwersji
15680 przez reLyX, to najlepsz± rzecz± do zrobienia jest wstawienie poleceñ
15686 przed podejrzany tekst i
15693 Ja nazywam to ,,skip'' blok.
15694 reLyX bêdzie kopiowa³ ten blok dok³adnie w trybie TeX.
15695 Nastêpnie wyedytuj wynikowy plik LyX i przet³umacz nieznane rzeczy rêcznie.
15700 jest magiczne; polecenia
15712 nie bêd± wstawione do pliku LyX.
15715 \begin_layout Itemize
15717 ,,Dok³adne'' kopiowanie nieznanych ¶rodowisk i poleceñ nie jest zupe³nie
15719 Wyszczególniaj±c, komentarze i nowe wiersze mog± zostaæ utracone.
15720 To bêdzie dawaæ z siebie brzydkiego LyX-a, ale w prawie wszystkich przypadkach
15721 wynik bêdzie taki sam.
15722 Mimo to, pewne czê¶ci pliku bêd± kopiowane perfekcyjnie z bia³ymi spacjami
15723 i komentarzami w³±cznie.
15724 W³±czaj±c w to: preambu³ê LaTeX-a, ¶rodowisko
15737 \begin_layout Itemize
15739 reLyX konwertuje tylko kilka opcji polecenia
15745 (Wyszczególniaj±c: 1[012]pt, [letter|legal|executive|a4|a5|b5]paper, [one|two]s
15746 ide, landscape i [one|two]column.) Inne opcje s± umieszczane w polu
15755 ormatowanie\SpecialChar \menuseparator
15766 \begin_layout Standard
15768 Co wa¿niejsze, reLyX nie t³umaczy polecenia
15774 , poleceñ marginesów,
15780 , w rzeczywisto¶ci niczego w preambule.
15781 Po prostu kopiuje je do preambu³y LaTeX w dokumencie LyX-a.
15782 Je¶li masz polecenie marginesu w preambule, to plik LyX-a bêdzie generowa³
15784 jednak te marginesy bêd± zast±pione prze marginesy ustawione w oknie
15796 Tak ¿e powiniene¶ usun±æ te opcje z preambu³y (
15801 ormatowanie-Preambu³a
15803 ) aby siê zabezpieczyæ.
15804 Podobnie dzieje siê z wyborem jêzyka przez babel,
15819 \begin_layout Itemize
15821 Klasa foil ma parê b³êdów.
15822 reLyX may do weird things z opcjonalnymi argumentami polecenia
15835 mo¿e byæ obs³u¿one niepoprawnie (although the stuff in the environment
15836 should translate normally).
15839 \begin_layout Standard
15841 Wiêcej znacz±cych b³êdów mo¿esz znale¼æ w pliku
15848 \begin_layout Standard
15850 reLyX is hopefully rather robust.
15851 Jak wspomnia³em powy¿ej, mo¿e on nie konwertowaæ twojego pliku perfekcyjnie,
15852 ale nie powinien siê przewracaæ.
15853 Je¶li jednak siê przewraca -- i problemem nie jest jednym ze wspomnianych
15854 powy¿ej lub w pliku
15865 \begin_layout Subsubsection
15867 Czego reLyX nie potrafi przechwyciæ
15870 \begin_layout Standard
15872 LyX wewnêtrznie nie obs³uguje paru rzeczy, tak ¿e gdyby reLyX przet³umaczy³
15873 to perfekcyjnie, LyX mia³by problem wczytaæ je.
15874 Je¶li na pewno potrzebujesz tych cech, to mo¿esz po ukoñczeniu pracy nad
15875 dokumentem wyeksportowaæ go do LaTeX-a i wstawiæ je tam z powrotem.
15880 aby poznaæ wiêcej szczegó³ów odno¶nie b³êdów.
15883 \begin_layout Itemize
15885 Dla kilku poleceñ LyX nie obs³uguje argumentów opcjonalnych.
15886 Na przyk³ad zawartych w
15898 (i inne polecenia struktury tekstu) i
15907 reLyX bêdzie automatycznie pomija³ opcjonalne argumenty i wysy³a³ ostrze¿enie
15909 LyX tak¿e ignoruje argument width w ¶rodowisku
15916 \begin_layout Itemize
15918 ¦rodkowanie (lub wyrównanie do lewej lub prawej) dzia³a na pe³nych akapitach.
15921 \begin_layout Itemize
15923 Obs³uga tabel przez LyX-a nie jest perfekcyjna.
15924 Dla skomplikowanych tabel u¿yj bloku ,,skip'', tak ¿e one zostan± skopiowane
15928 \begin_layout Itemize
15930 Edytor wyra¿eñ matematycznych LyX-a nie obs³uguje ¶rodowisk AMS-LaTeX takich
15931 jak align, split itd.
15932 Te ¶rodowiska zostan± skopiowane w trybie TeX.
15933 Mo¿esz zmieniæ ¶rodowisko
15937 do dok³adnego odpowiednika
15941 , a wówczas konwersja bêdzie poprawna.
15944 \begin_layout Subsubsection
15949 \begin_layout Standard
15951 W przysz³o¶ci wiêcej poleceñ i ¶rodowisk bêdzie obs³ugiwanych przez reLyX.
15952 B³êdy zostan± wyeliminowane.
15955 \begin_layout Standard
15957 Zobacz plik TODO dla poznania szczegó³ów.
15960 \begin_layout Subsection
15965 \begin_layout Standard
15970 \begin_inset Quotes eld
15974 \begin_inset Quotes erd
15978 \begin_inset Quotes eld
15982 \begin_inset Quotes erd
15985 foo.tex > foo.debug
15988 \begin_layout Standard
15990 Powy¿sze polecenie utworzy plik
15998 , zastêpuj±c istniej±cy je¶li istnieje.
16008 , skonwertuje zawarto¶æ bloku, ale polecenia
16020 skopiuje w trybie TeX-a.
16021 Koñcz±c, zachowa pliki tymczasowe (znajduj± siê one w
16025 ) i zapisze du¿o informacji diagnostycznych do pliku
16032 \begin_layout Subsection
16037 \begin_layout Subsubsection
16042 \begin_layout Standard
16044 If reLyX is crashing or otherwise acting strangely---in ways other than
16045 those described in the section on
16053 file---then please run reLyX
16058 That will allow you to figure out where in the reLyXing process it crashed.
16059 That, in turn, will allow you to write a better bug report, which will
16060 allow the developers to fix it more quickly and easily.
16063 \begin_layout Standard
16065 Bug reports should be sent to the LyX developers' mailing list.
16066 Its address is currently lyx-devel@lists.lyx.org, but you can check the LyX
16067 home page, http://www.lyx.org if that bounces.
16068 If you are running reLyX on a huge file, please do not send all of the
16069 output in your bug report.
16070 Just include the last ten or twenty lines of output, along with the piece
16071 of the LaTeX file it crashed on.
16072 Or, even better, attach a small but complete file which causes the same
16073 problem as your original file.
16076 \begin_layout Subsubsection
16078 Szczegó³y implementacji
16081 \begin_layout Standard
16083 reLyX wykonuje kilka ,,przebiegów'' w celu konwersji pliku LaTeX-a.
16084 W ka¿dym przebiegu tworzony jest jeden lub dwa pliku.
16087 \begin_layout Description
16089 Przebieg\InsetSpace ~
16093 Zanim zrobi cokolwiek, wczytuje plik (lub pliki) sk³adni .
16096 \begin_layout Description
16098 Przebieg\InsetSpace ~
16102 Oddziela preambu³ê (cokolwiek przed poleceniem
16109 Zapisuje dwie czê¶ci w oddzielnych plikach.
16110 To jest niezbêdne, poniewa¿ w preambule mog± byæ dziwne rzeczy.
16111 Tak¿e ignoruje cokolwiek jest za poleceniem
16117 , zak³adaj±c ¿e to nie jest LaTeX.
16120 \begin_layout Description
16122 Przebieg\InsetSpace ~
16126 Konwertuje preambu³ê.
16127 Aktualnie oznacza to konwersjê polecenia
16133 i dok³adne skopiowanie reszty do preambu³y LyX-e.
16137 \begin_layout Standard
16139 Jak pozna klasê dokumentu, to wczytuje plik uk³adu LyX-a dla tej klasy.
16142 \begin_layout Description
16144 Przebieg\InsetSpace ~
16148 ,,Czy¶ci'' plik TeX, generuj±c nieznacznie dok³adniej LaTeX-a.
16153 \begin_layout Itemize
16155 Zamiana, np: x^2 na ekwiwalent, ale przejrzystszy x^{2}
16158 \begin_layout Itemize
16160 Usuwa opcjonalne argumenty, których LyX nie obs³uguje (np.
16170 \begin_layout Itemize
16185 To jest konieczne, poniewa¿ w innym wypadku LyX zawsze zapisuje jako nielokalne.
16186 This should very rarely make a difference.
16189 \begin_layout Description
16191 Przebieg\InsetSpace ~
16195 Konwertuje tekst LaTeX-a, polecenia i ¶rodowiska do LyX-a.
16198 \begin_layout Description
16200 Przebieg\InsetSpace ~
16204 Sk³ada obie czê¶ci razem i wykonuje some final tweaking, aby utworzyæ plik
16208 \begin_layout Standard
16210 Je¶li s± jakie¶ polecenia
16222 , reLyX zacznie przetwarzaæ tak¿e do³±czane pliki.
16223 Zak³ada on, ¿e do³±czane pliki s± tej samej klasy co dokument g³ówny i
16224 nie posiadaj± preambu³y.
16225 (Je¶li ma polecenie
16231 w preambule pliku, to polecenia zostan± dok³adnie skopiowane do LaTeX-owej
16232 czê¶ci preambu³y pliku LyX, a do³±czane pliki nie bêd± konwertowane).
16233 Podczas konwersji do³±czonych plików pomijany jest przebieg 0 i 1.
16236 \begin_layout Standard
16238 Je¶li reLyX nie znajdzie plików, które chcia³e¶ do³±czyæ, wy¶le Ci ostrze¿enie
16239 ale bêdzie kontynuowa³ konwersjê pozosta³ych znalezionych plików.
16242 \begin_layout Subsubsection
16247 \begin_layout Standard
16249 reLyX wczytuje plik uk³adu LyX-a aby wiedzieæ jak obs³ugiwaæ ¶rodowiska
16250 LaTeX-a i polecenia, które bêd± konwertowane do uk³adu LyX-a.
16251 Ten plik do³±cza wszystkie ,,normalne'' niematematyczne ¶rodowiska (np.
16252 w³±czaj±c w to quote i itemize, ale nie tabular, minipage i kilka ¶rodowisk
16253 fancy) i polecenia takie jak
16266 je¶li chcesz konwertowaæ reLyX-em klasê, dla której nie istniej plik uk³adu
16267 LyX-a, to bêdziesz musia³ najpierw go utworzyæ.
16268 Tak czy owak bêdziesz musia³ to zrobiæ, z powodu pliku LyX, poniewa¿ zale¿y
16269 on od pliku uk³adu, w którym podany jest sposób jego wy¶wietlania i przetwarzan
16271 Sprawd¼ dokumentacjê LyX-a dla pomocy w tym zadaniu (które mo¿e byæ trudne
16272 lub ³atwe, w zale¿no¶ci od klasy, dla której chcesz utworzyæ plik uk³adu).
16273 je¶li Twoja klasa jest zupe³nie podobna do klasy, dla której istnieje plik
16274 uk³adu, to rozwa¿ u¿ycie opcji
16281 \begin_layout Subsubsection
16286 \begin_layout Standard
16288 reLyX zawsze wczytuje co najmniej jeden plik sk³adni, zwany domy¶lnym plikiem
16290 reLyX wczytuje twój osobisty plik sk³adni je¶li istnieje, je¶li nie istnieje
16291 to wczytuje plik systemowy.
16292 reLyX wczytuje tak¿e dodatkowe pliki sk³adni wyspecyfikowane w opcji
16296 (These extra files should have the same format as the default file, but
16297 will tend to be shorter, since they only have to specify extra commands
16298 not found in the default file).
16299 A syntax file tells reLyX a few things.
16302 \begin_layout Standard
16304 First, it describes the syntax of each command, that is, how many required
16305 arguments and how many optional arguments the command takes.
16306 Knowing this makes it easier for reLyX to copy (in TeX mode) commands that
16307 it doesn't know how to translate.
16308 The syntax file simply has a command, followed by braces or brackets describing
16309 its arguments in the correct order.
16310 For example, a syntax file entry
16322 command takes an optional argument followed by a required one, while the
16335 command takes no arguments at all.
16336 When reLyX encounters a token that it doesn't know how to translate into
16337 LyX, it will copy the token---along with the correct number of arguments---exac
16339 If the token is not in the syntax file, then reLyX just copies as many
16340 arguments as it finds.
16341 This means that it may copy too much.
16342 But since the user can specify additional syntax files, that shouldn't
16346 \begin_layout Standard
16348 Some commands that cannot be translated to LyX, like
16354 , have as one of their arguments regular LaTeX text.
16356 \begin_inset Quotes eld
16360 \begin_inset Quotes erd
16363 is put into an argument of an (untranslatable) command in the syntax file,
16364 then reLyX will translate that argument instead of copying it verbatim.
16365 So, for example, the default syntax file has
16369 raisebox{}[][]{translate}
16372 This means that the
16378 command and the first argument (and optional arguments if they exist) are
16379 copied in TeX mode, but the last argument (which may contain math, complicated
16380 LaTeX, other untranslatable commands, etc.) will be translated into LyX.
16382 \begin_inset Quotes eld
16386 \begin_inset Quotes erd
16389 on optional arguments.
16392 \begin_layout Standard
16394 User-defined syntax files are allowed to define new commands and their syntax,
16395 or override the number of arguments for a command given in the default
16397 (E.g., if you're using a style that gives an extra argument to some command...)
16398 However, this will only be useful for commands copied in TeX mode.
16399 Commands which are actually translated by reLyX (like
16405 ) have their argument syntax hard-coded.
16406 The hard-coded commands are identified in the default syntax file.
16409 \begin_layout Standard
16411 Second, the syntax file describes any
16412 \begin_inset Quotes eld
16415 regular environments
16416 \begin_inset Quotes erd
16420 Usually, an entire unknown environment will be copied in TeX mode.
16421 If you define a regular environment
16422 \begin_inset Quotes eld
16426 \begin_inset Quotes erd
16429 , though, then only the
16441 commands will be copied in TeX mode; the text within the environment will
16442 be treated (i.e., translated) by reLyX as regular LaTeX, rather than being
16443 copied into TeX mode.
16444 Don't try to declare
16452 as regular environments, as the text within those environments will confuse
16453 reLyX; use this capability for new environments you create that have plain
16454 text or math or simple commands in them.
16455 You also can't declare unknown math environments (like
16459 ) as regular environments, either, since the LyX math editor won't understand
16461 The names of regular environments appear, whitespace-separated, between
16473 statements in the syntax file.
16474 (If you have a regular environment which you won't use very often, you
16479 option rather than writing a syntax file.)
16482 \begin_layout Standard
16484 Third, the syntax file describes a math translation table.
16485 The LyX math editor doesn't support a few commands.
16490 is supported, but the equivalent
16497 Put any commands you'd like translate between
16511 \begin_inset Quotes eld
16523 \begin_inset Quotes erd
16532 in math mode will be converted to
16533 \begin_inset Quotes eld
16543 \begin_inset Quotes erd
16546 (in cases where a token made up of a backslash and a non-letter is translated
16547 to something with letters at the end, a space is added by reLyX.
16549 \begin_inset Quotes eld
16559 \begin_inset Quotes erd
16562 is correctly translated to
16563 \begin_inset Quotes eld
16573 \begin_inset Quotes erd
16579 \begin_layout Subsubsection
16584 \begin_layout Standard
16586 Potrzebujesz Perl-a 5.002 lub nowszego do uruchomienia reLyX-a.
16587 Je¶li nie masz Perl-a to powiniene¶ go ¶ci±gn±æ (
16591 \begin_layout Standard
16594 url{http://www.perl.com}
16599 ), poniewa¿ jest rzeczywi¶cie u¿ytecznym narzêdziem do bardzo wielu rzeczy.
16602 \begin_layout Subsection
16607 \begin_layout Standard
16609 reLyX powinien zawsze wyja¶niæ dlaczego nie powiod³o siê t³umaczenie, je¶li
16611 Niektóre komunikaty diagnostyczne mog± byæ bardzo techniczne, je¶li pochodz±
16612 one z wnêtrza kodu.
16613 reLyX daje znacznie wiêcej informacji gdy zostanie uruchomiony z opcj±
16617 , ale nie powiniene¶ tego potrzebowaæ je¶li nic z³ego siê nie zdarzy³o.
16620 \begin_layout Standard
16622 Gdy zakoñczy pracê, reLyX bêdzie Ciê informowa³ o pomy¶lnym zakoñczeniu
16623 lub o b³êdzie, który spowodowa³ przerwanie przetwarzania.
16626 \begin_layout Subsection
16631 \begin_layout Standard
16633 Zawsze zachowaj kopiê oryginalnego pliku LaTeX-a pod inn± nazw± lub w innym
16635 Istnieje kilka sposobów, w których u¿ycie LyX-a prowadzi do nadpisania
16636 oryginalnego pliku LaTeX-a.
16639 \begin_layout Standard
16641 Je¶li importujesz plik foo.tex utworzysz foo.lyx, nastêpnie edytujesz plik
16642 foo.lyx i chcesz ponownie wyeksportowaæ go, to zauwa¿, ¿e zast±pisz oryginalny
16643 plik foo.tex (LyX zapyta ciê czy chcesz zast±piæ go).
16646 \begin_layout Standard
16648 Je¶li ustawi³e¶ zmienn±
16650 use_tempdir na false w swoim pliku lyxrc, wówczas LyX utworzy pliki tymczasowe
16651 w twoim lokalnym katalogu, co oznacza, ¿e Twój oryginalny plik LaTeX mo¿e
16652 zostaæ zast±piony (bez ostrze¿enia ze strony LyX) gdy wykonasz podgl±d
16653 lub wydruk dokumentu LyX-a.
16656 \begin_layout Subsection
16661 \begin_layout Description
16667 /layouts/*.layout \InsetSpace ~
16670 Osobiste pliki uk³adów dokumentów
16673 \begin_layout Description
16679 /reLyX/syntax.default \InsetSpace ~
16682 Osobisty plik sk³adni
16685 \begin_layout Description
16691 /layouts/*.layout \InsetSpace ~
16694 Systemowy pliki uk³adów dokumentów
16697 \begin_layout Description
16703 /reLyX/syntax.default \InsetSpace ~
16706 Systemowy plik sk³adni LaTeX-a
16709 \begin_layout Standard
16715 jest katalogiem instalacyjnym LyX, czêsto /usr/local/share/lyx/.
16720 jest osobistym katalogiem LyX-a, zwykle nazywa siê .lyx/ i znajduje siê
16721 w Twoim katalogu domowym.
16724 \begin_layout Subsection
16729 \begin_layout Standard
16742 \begin_layout Subsection
16747 \begin_layout Standard
16749 Copyright (c) 1998-9 Amir Karger (karger@voth.chem.utah.edu)
16752 \begin_layout Standard
16757 \begin_layout Itemize
16759 John Weiss napisa³ oryginalny CleanTeX pass.
16762 \begin_layout Itemize
16767 \begin_layout Itemize
16774 \begin_layout Itemize
16776 David Suarez de Lis
16779 \begin_layout Standard
16781 Inni wspó³pracownicy:
16784 \begin_layout Itemize
16786 Jean-Marc Lasgouttes worked on the wrapper script and offered lots of bug
16787 reports, advice, and feature suggestions.
16790 \begin_layout Itemize
16793 Alstrup Nielsen i Marc Pavese doradzaj±cy.
16796 \begin_layout Itemize
16798 Ró¿ni cz³onkowie list dyskusyjnych LyX developers' i users' dostarczaj±cy
16799 raporty o b³êdach i sugerowanie nowych cech.
16802 \begin_layout Standard
16804 reLyX u¿ywa zmodyfikowanej wersji Perl-owego parsera TeX -- pakiet Text::TeX
16805 napisanego przez Ilya Zakharevich (ilya@math.ohio-state.edu), dostêpnego
16809 \begin_layout Chapter
16811 Funkcje LyX-a wymagaj±ce zewnêtrznych programów
16814 \begin_layout Section
16816 Zastosowanie LyX-a z SGML-Tools (aka LinuxDoc)
16819 \begin_layout Standard
16826 \begin_layout Subsection
16831 \begin_layout Standard
16833 LinuxDoc jest klas± dokumentu dostêpn± w LyX-ie.
16834 Mo¿esz jej u¿yæ do wydania dokumentu zwanego Standardized General Mark-up
16835 Language (SGML) w specyficznym formacie stosowanym w Linux Documentation
16837 Jest to oczywi¶cie pomoc je¶li wspó³pracujesz przy projekcie.
16838 Mo¿esz u¿yæ formatu SGML z pakietem (
16842 ) skryptów i programów (do tworzenia innych formatów, w³±czaj±c LaTeX, HTML,
16843 zwyk³y tekst, podrêczniki man i \SpecialChar \ldots{}
16845 Zatem mo¿esz preferowaæ u¿ycie tej klasy dokumentu je¶li chcesz pisaæ dokumenty
16846 z mo¿liwo¶ci± ³atwego przenoszenia do innych formatów.
16849 \begin_layout Standard
16851 Klasa LinuxDoc posiada mniej opcji uk³adu ni¿ inne klasy LyX-a.
16852 G³ównie dlatego, ¿e translacja do innego formatu ma wówczas szanse na bardziej
16853 sensownie wykonanie.
16856 \begin_layout Standard
16858 W tej sekcji opisujemy:
16861 \begin_layout Itemize
16863 jak skonfigurowaæ i u¿yæ dokument w LinuxDoc
16866 \begin_layout Itemize
16868 jak u¿ywaæ znaczników LinuxDoc w uk³adzie Twojego dokumentu
16871 \begin_layout Itemize
16873 jak u¿ywaæ pakietu SGML do tworzenia ró¿nych formatów
16876 \begin_layout Itemize
16878 how to sort out some problems.
16881 \begin_layout Subsection
16883 Przygotowanie i u¿ycie dokumentów LinuxDoc
16886 \begin_layout Subsubsection
16891 \begin_layout Standard
16893 Zaczynamy od wyboru klasy LinuxDoc w oknie
16898 ¦rodowisk jest mniej ni¿ w wielu innych klasach.
16899 Mo¿esz je zobaczyæ na rozwijalnej li¶cie po lewej stronie paska narzêdzi.
16900 Jak je u¿ywaæ opisano w\InsetSpace ~
16902 \begin_inset LatexCommand \ref{sec:sgmlparas}
16909 \begin_layout Standard
16915 wpisaæ tytu³ dokumentu, a nastêpnie autora, wybieraj±c dla ka¿dego wpisu
16916 odpowiednie ¶rodowisko.
16917 Je¶li tego nie zrobisz, to pojawi± siê b³êdy przy próbie wydruku.
16918 Mo¿esz wpisaæ datê i streszczenie.
16919 W³a¶ciwy dokument powinien zaczynaæ siê ¶rodowiskiem
16930 \begin_layout Standard
16932 Nastêpnie mo¿esz przygotowaæ dokument jak zwykle korzystaj±c ze ¶rodowisk.
16933 Zobacz sekcjê\InsetSpace ~
16935 \begin_inset LatexCommand \ref{sec:sgmlparas}
16939 z pe³n± ich list± i zastosowaniem.
16942 \begin_layout Subsubsection
16947 \begin_layout Standard
16949 Dokument mo¿esz drukowaæ i zapisywaæ normaln± drog±.
16950 Do u¿ycia innych mo¿liwo¶ci pakietu SGML potrzeba zapisaæ dokument jako
16951 LinuxDoc; to jest format, do którego dokument jest t³umaczony na podstawowy
16958 lik\SpecialChar \menuseparator
16963 ksportuj\SpecialChar \menuseparator
16967 Otrzymasz plik o takiej samej nazwie jak dokument z rozszerzeniem
16972 Zobacz w\InsetSpace ~
16974 \begin_inset LatexCommand \ref{sec:sgmloperate}
16978 jak mo¿na wykorzystaæ ten plik.
16981 \begin_layout Subsection
16983 U¿ycie ¶rodowisk w LinuxDoc
16986 \begin_layout Subsubsection
16988 Struktura dokumentu LinuxDoc
16991 \begin_layout Standard
16993 Istnieje formalna struktura dla LinuxDoc która ogranicza umieszczanie znaczników.
16994 Wszystkie dokumenty sk³adaj± siê z dwóch czê¶ci:
16997 \begin_layout Description
16999 Nag³ówek wszystko co znajduje siê przed znacznikiem pierwszej sekcji.
17000 Mo¿esz wstawiæ tytu³, autora, datê, streszczenie i spis tre¶ci, ale dwa
17001 pierwsze znaczniki s± obowi±zkowe.
17004 \begin_layout Description
17006 Tre¶æ zaczyna siê od pierwszej sekcji.
17007 Dopuszczalne s± wszystkie inne znaczniki.
17010 \begin_layout Subsubsection
17012 ¦rodowiska LinuxDoc
17015 \begin_layout Standard
17018 \begin_inset LatexCommand \label{sec:sgmlparas}
17022 Tutaj znajduje siê lista wszystkich znaczników, które s± dostêpne z menu
17026 \begin_layout Itemize
17032 dzia³a jak opisano w [cross reference]
17035 \begin_layout Itemize
17041 : Pojawia siê w lewym górnym rogu drukowanego dokumentu, nad grub± poziom±
17042 lini±, której nie zobaczysz na ekranie LyX-a.
17045 \begin_layout Itemize
17049 Section, Subsection, Subsubsection, Paragraph
17055 wszystko czego mo¿esz siê spodziewaæ w zwyk³ej kolejno¶ci.
17056 Czy tytularia s± numerowane czy nie mo¿esz ustawiæ w
17058 G³êboko¶ci rozdzia³ów
17062 Formatowanie\SpecialChar \menuseparator
17070 Nie mo¿na korzystaæ z nienumerowanych odpowiedników (
17074 itp.) poniewa¿ nie istniej±.
17077 \begin_layout Itemize
17083 Jak zwykle tworzy numerowane listy ze wciêciem opisu, co opisano w
17085 Podrêczniku U¿ytkownika
17090 \begin_layout Itemize
17096 Wyliczenie podobne jak w innych klasach, zobacz
17098 Podrêcznik U¿ytkownika
17103 \begin_layout Itemize
17111 Podrêczniku U¿ytkownika
17114 Pamiêtaj, ¿e je¶li chcesz aby w tytule opisu by³o wiêcej ni¿ jedno s³owo
17115 to musisz je po³±czyæ twardymi spacjami.
17118 \begin_layout Itemize
17127 \begin_layout Itemize
17131 Code: podobnie jak ¶rodowisko LyX-Code
17134 \begin_layout Itemize
17140 : Twój znak, który pojawi siê na lewo od tytu³u dokumentu pod grub± kresk±.
17143 \begin_layout Itemize
17149 Twój znak, który pojawi siê na lewo od tytu³u dokumentu pod grub± kresk±.
17150 You do not have to make this a date.
17151 Mo¿na wstawiæ dowolny tekst, np.
17155 \begin_layout Itemize
17161 : Tworzy oddzielny akapit po autorze i dacie, przed pierwsz± sekcj±.
17162 Dopuszczalny jest tylko jeden akapit.
17166 \begin_layout Standard
17173 To trzeba sprawdziæ --
17183 \begin_layout Itemize
17193 \begin_layout Standard
17199 Jeszcze tego nie sprawdzi³em --
17209 \begin_layout Subsubsection
17211 Inne cechy dokumentu
17214 \begin_layout Standard
17216 Mo¿esz tak¿e u¿ywaæ menu
17220 do wyboru fontów lub wyró¿nieñ wyrazów.
17221 Tak¿e mo¿esz u¿yæ jak zwykle spis tre¶ci; zobacz odpowiedni± sekcjê w
17223 Podrêczniku U¿ytkownika
17226 Oprócz tego znajdziesz tam trochê funkcji menu, np.
17228 Istniej± drobne w±tpliwo¶ci czy to dzia³a poprawnie
17232 \begin_layout Standard
17238 Again still checking to see whether this is my system
17248 \begin_layout Subsubsection
17253 \begin_layout Standard
17259 mo¿esz znale¼æ dwa polecenia do wstawiania adresów URL.
17260 Je¶li u¿yjesz którego¶ z nich, to zauwa¿ysz kod TeX-a wstawiony do dokumentu
17261 w trzech oddzielnych blokach ze spacjami pomiêdzy nimi.
17265 \begin_layout Quote
17296 \begin_layout Standard
17298 Wstaw pe³ny znacznik HTML pomiêdzy pierwszy i drugi blok.
17300 \begin_inset LatexCommand \url{http://any.address}
17304 lub inny poprawny znacznik taki jak
17305 \begin_inset LatexCommand \url{mailto:me@my.address}
17314 Mo¿esz wstawiæ opis pomiêdzy drugi i trzeci blok.
17315 Ró¿nice pomiêdzy poleceniami:
17318 \begin_layout Itemize
17324 w dokumencie pojawi siê znacznik HTML i opis,
17327 \begin_layout Itemize
17333 w drukowanej wersji pojawi siê tylko opis.
17336 \begin_layout Subsection
17338 U¿ycie skryptu SGML w LinuxDoc
17341 \begin_layout Standard
17344 \begin_inset LatexCommand \label{sec:sgmloperate}
17348 Mo¿esz u¿ywaæ LinuxDoc jako klasy tekstowej bez ¿adnych dodatkowych skryptów
17349 czy programów, ale istnieje niewiele powodów do robienia tego.
17350 Wszystko co bêdziesz u¿ywa³ w dokumencie bêdzie wygl±da³o tak jak
17352 Linux Documentation Project Howto
17358 Do t³umaczenia dokumentu potrzebujesz zainstalowanego pakietu
17360 sgml-tools-1.0.x.tar.gz
17363 \begin_inset Formula $x\geq3$
17366 ) dostêpnego na stronie www SGML-Tools pod adresem
17367 \begin_inset LatexCommand \url{http://pobox.com/~cg/sgmltools}
17374 \begin_layout Standard
17376 Alternatywnie, mo¿esz i¶æ do archiwum
17384 \begin_layout Standard
17386 Note that, at the time of this writing (01/1998), version 1.0.3 of sgml-tools
17387 has not yet been made available at
17397 \begin_inset LatexCommand \url{ftp://sunsite.unc.edu/pub/Linux/utils/text/sgml-tools-1.0.x.tar.gz}
17404 \begin_layout Standard
17408 sgml-tools-1.0.x.tar.gz
17410 zawiera wszystko co potrzebujesz do pisania dokumentów SGML i konwersji
17411 ich przez groff, LaTeX, HTML, GNU info, LyX i RTF\SpecialChar \@.
17415 \begin_layout Standard
17417 Ten pakiet zmieni³ nazwê w styczniu 1997 roku z
17419 linuxdoc-sgml-1.5.tar.gz
17424 \begin_layout Standard
17426 Zainstaluj i u¿ywaj pakiet zgodnie z instrukcj± w nim zawart±.
17427 Wszystko to musi byæ wykonane poza LyX-em, zanim u¿yjesz polecenia
17432 lik\SpecialChar \menuseparator
17437 ksportuj\SpecialChar \menuseparator
17443 \begin_layout Subsection
17445 Rozwi±zywanie problemów LinuxDoc
17448 \begin_layout Standard
17450 Gdy chcesz drukowaæ lub podejrzeæ dokument LinuxDoc wykonywana jest kontrola
17451 znaczników przed uruchomieniem LaTeX.
17452 Some errors are trapped here, especially those concerning the structure
17454 LyX mo¿e tworzyæ komunikaty b³êdów, ale nie zostawia w dokumencie znaczników,
17455 które mo¿na otworzyæ.
17456 Musisz zajrzeæ wprost do pliku aby stwierdziæ co jest nie tak.
17457 Wiêkszo¶æ problemów zdaje siê pochodziæ od opcji, które nie s± w pe³ni
17458 dostêpne w tej klasie dokumentu.
17461 \begin_layout Section
17466 \begin_layout Standard
17473 \begin_layout Subsection
17475 Wysy³anie faksów wprost z LyX-a
17478 \begin_layout Standard
17480 Przede wszystkim musimy wspomnieæ, ¿e LyX potrafi wysy³aæ faksy pod warunkiem,
17481 ¿e masz zainstalowane i dzia³aj±ce oprogramowanie do wysy³ania faksów (np.
17482 HylaFax, efax, mgetty+sendfax, \SpecialChar \ldots{}
17484 LyX pracuje tylko jako graficzny interfejs (front end) do tych programów!
17487 \begin_layout Standard
17489 W zale¿no¶ci od u¿ywanego oprogramowania faksowego musisz ustawiæ kilka
17498 \begin_layout Description
17506 Tutaj nale¿y podaæ polecenie, które ma wywo³aæ LyX aby wys³aæ faks.
17507 Polecenie powinno byæ zdolne przetworzyæ plik PostScript, wytworzony przez
17509 £añcuch polecenia mo¿e zawieraæ nastêpuj±ce zmienne:
17513 \begin_layout Description
17519 zastêpuje nazwê zmiennej ¶rodowiska FAX_SERVER
17522 \begin_layout Description
17528 zastêpuje zawarto¶æ pola komentarz
17531 \begin_layout Description
17537 zastêpuje zawarto¶æ pola Firma
17540 \begin_layout Description
17546 zastêpuje zawarto¶æ pola nazwa
17549 \begin_layout Description
17555 zastêpuje zawarto¶æ pola numer faksu
17558 \begin_layout Description
17564 zastêpuje nazwê pliku, który ma zostaæ wys³any
17567 \begin_layout Paragraph
17572 \begin_layout Standard
17574 Przyjmujemy, ¿e nazwa³e¶ plik ,,
17578 '' i chcia³by¶ wys³aæ go wprost do faksu nie opuszczaj±c LyX-a.
17579 Masz zainstalowane oprogramowanie HylaFax i twoja zmienna ¶rodowiska
17587 '' i poda³e¶ te warto¶ci w oknie faksowania:
17591 \labelwidthstring 00.00.0000
17602 \labelwidthstring 00.00.0000
17613 \labelwidthstring 00.00.0000
17623 \labelwidthstring 00.00.0000
17629 This comment string
17632 \begin_layout Standard
17634 Z podanymi ni¿ej ustawieniami:
17637 \begin_layout LyX-Code
17642 \begin_inset Quotes eld
17645 sendfax -n -h '$$Host' -c '$$Comment'
17648 \begin_layout LyX-Code
17650 -x '$$Enterprise' -d '$$Name'@'$$Phone' '$$FName'
17651 \begin_inset Quotes erd
17657 \begin_layout Standard
17659 zostanie wykonane polecenie:
17662 \begin_layout LyX-Code
17664 sendfax -n -h faxhost.mydomain -c 'This comment string'
17667 \begin_layout LyX-Code
17669 -x 'Startrek' -d 'Someone'@'+39-2-444666'
17672 \begin_layout LyX-Code
17674 <tempfile-path>/newfile.ps
17677 \begin_layout Description
17685 Zawiera nazwê pliku ksi±¿ki telefonicznej, któr± mo¿esz utworzyæ w oknie
17687 Domy¶ln± warto¶ci± jest
17689 $HOME/.lyx/phonebook.
17692 \begin_layout Paragraph
17697 \begin_layout LyX-Code
17701 phone_book myphonebook
17704 \begin_layout Standard
17706 zapisuje i czyta plik ksi±¿ki telefonicznej z pliku
17708 $HOME/.lyx/myphonebook
17711 \begin_layout LyX-Code
17715 phone_book /var/lib/phonebook
17718 \begin_layout Standard
17720 zapisuje i czyta plik ksi±¿ki telefonicznej
17725 \begin_layout Description
17733 W tym miejscu podajesz program, który LyX wywo³a jako zewnêtrzny program
17734 do wys³ania Twojego faksu (np.
17735 tkhylafax), zamiast wbudowanego formularza faksu.
17736 Dopuszczalna jest tylko zmienna
17743 \begin_layout Paragraph
17748 \begin_layout LyX-Code
17753 \begin_inset Quotes eld
17756 tkhylafax '$$Fname'
17757 \begin_inset Quotes erd
17763 \begin_layout Standard
17765 Przy powy¿szych za³o¿eniach zostanie wykonane nastêpuj±ce polecenie:
17768 \begin_layout LyX-Code
17770 tkhylafax <tempfile-path>/newfile.ps
17773 \begin_layout Section
17778 \begin_layout Standard
17785 \begin_layout Subsection
17790 \begin_layout Standard
17796 mo¿esz znale¼æ polecenie
17806 Ta funkcja LyX-a wymaga posiadania zainstalowanego zewnêtrznego programu
17810 i jest wygaszone je¶li go nie posiadasz.
17811 Mo¿esz go pobraæ z archiwów CTAN lub z
17812 \begin_inset LatexCommand \url{http://www.ifi.uio.no/~jensthi/chktex/}
17819 \begin_layout Standard
17825 jest programem napisanym przez sfrustrowanego
17830 , poniewa¿ wiele konstrukcji LaTeX-a czasami jest nieintuicyjnych i ³atwych
17832 Program przetwarzaj±c Twój plik LaTeX-a sprawdza integralno¶æ pliku i zaznacza
17834 W jêzyku technicznym jest to
17841 \begin_layout Standard
17843 Czy CheckTeX jest kontrolerem sk³adni, którego u¿ycie zapewni poprawne pliki
17844 LateX-a? Odpowied¼ jest prosta: Tak jak
17848 nie tylko sprawdza sk³adniê programów w jêzyku C, semantykê, wy³apuje wiele
17849 typowych b³êdów typograficznych.
17854 potrafi wykryæ wiele podstawowych b³êdów, takich jak:
17857 \begin_layout Itemize
17859 Ellipsis detection:
17861 Use \SpecialChar \ldots{}
17865 \begin_layout Itemize
17867 No space in front of/after parenthesis:
17872 \begin_layout Itemize
17874 Enforcement of normal space after common abbreviations:
17878 is too wide spacing.
17881 \begin_layout Itemize
17883 Enforcement of end-of-sentence space when the last sentence ends with a
17887 And this is wrong spacing.
17890 \begin_layout Itemize
17892 Space in front of labels and similar commands:
17894 The label should stick right up to the text to avoid falling to a wrong
17896 \begin_inset LatexCommand \label{sec:chktex}
17904 \begin_layout Standard
17906 This footnote is in danger of falling off to a wrong page
17914 \begin_layout Itemize
17916 Space in front of references, instead of hard spaces:
17918 In you are in bad luck, the text will break right between the referenced
17919 text and reference number, and that's a pity.
17921 \begin_inset LatexCommand \ref{sec:chktex}
17928 \begin_layout Itemize
17930 Use of ,,x'' instead of
17931 \begin_inset Formula $\times$
17936 2x2 looks cheap compared to
17937 \begin_inset Formula $2\times2$
17943 \begin_layout Standard
17945 i inne \SpecialChar \ldots{}
17946 To jest nieocenione narzêdzie gdy ,,zakoñczyli¶my'' pracê nad dokumentem.
17947 Przed wydrukowaniem powinni¶my sprawdziæ obligatoryjnie pisowniê i uruchomiæ
17951 \begin_layout Subsection
17956 \begin_layout Standard
17958 Je¶li masz zainstalowany program
17962 , po prostu wybierz z menu polecenie
17967 dycja\SpecialChar \menuseparator
17975 To spowoduje utworzenie pliku LaTeX-a na podstawie Twojego dokumentu, sprawdzen
17980 i wstawienie ,,okienek b³êdów'' do dokumentu z ostrze¿eniami
17984 , je¶li jakie¶ znalaz³.
17985 Ostrze¿enia zostan± umieszczone blisko miejsca wyst±pienia b³êdu, które
17986 mo¿esz szybko odnale¼æ za pomoc± polecenia z menu
17991 awigacja\SpecialChar \menuseparator
17994 lub za pomoc± skótu klawiszowego
17998 w domy¶lnym pliku bind
18003 Okienko b³êdu otwiera siê przez klikniêcie na nim myszk± lub domy¶lnym
18008 albo skrótem z pliku bind
18015 Przeczytaj uwagi i popraw b³êdy je¶li s±.
18016 Je¶li masz k³opoty ze zrozumieniem co oznaczaj± ostrze¿enia, mo¿esz spokojnie
18018 Remember that there is a hidden layer between the document on screen and
18019 the technical details in invoking
18023 , and this gap can make some warnings seem arcane or just right down plain
18027 \begin_layout Standard
18029 This document is an excellent testing bed for the feature, and it should
18030 provide quite a few warnings for you to fiddle with.
18031 Since computers are only so smart, expect most of the warnings to be false
18035 \begin_layout Subsection
18040 \begin_layout Standard
18042 Sometimes, you'll find that
18046 makes more noise than suits your mood.
18047 Then you can choose not to use it, wait until your mood changes, or try
18052 to get better along with you.
18053 Another choice in the most desperate situations is to use
18058 dycja\SpecialChar \menuseparator
18063 suñ wszystkie okienka b³êdów
18065 , which will get rid of all warnings instantly.
18068 \begin_layout Standard
18077 bardzo konfigurowalny i extensible, nie powiniene¶ spodziewaæ siê rozwi±zania
18078 wszystkich problemów przez
18083 Since LyX has to generate a somewhat special LaTeX file to be able to match
18084 the line numbers from
18092 \begin_layout Standard
18094 You can inspect the specific output from
18100 Edit\SpecialChar \menuseparator
18114 to appear correctly.
18115 S± dwie rzeczy, które mo¿esz wykonaæ :
18118 \begin_layout Itemize
18120 Dopasuj polecenia wywo³ania
18128 lub w globalnym pliku konfiguracyjnym instalacji
18132 (zwykle jest to plik
18134 /usr/local/share/chktexrc
18137 Zobacz poni¿ej jak mo¿na w³±czaæ i wy³±czaæ ostrze¿enia w wierszu poleceñ.
18140 \begin_layout Itemize
18142 Wyeksportuj swoj dokument do LaTeX-a za pomoc± polecenia
18147 lik\SpecialChar \menuseparator
18152 ksportuj\SpecialChar \menuseparator
18164 Invoked in this way, it can be a hassle to find the corresponding place
18165 in the document inside LyX, but with a little patience, you should be able
18169 \begin_layout Standard
18171 Poni¿sze komunikaty ostrze¿eñ mog± byæ aktywowane lub wy³±czone za pomoc±
18172 odpowiednich wpisów w dyrektywie
18187 aby wy³±czyæ ostrze¿enie i
18192 Ostrze¿enia napisane kursyw± s± domy¶lnie wy³±czone, przez domy¶lny wpis
18195 chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38
18200 \begin_layout Standard
18202 Notice that you should only use the options that enable and disable warnings,
18203 because LyX relies on some of the other command line parameters to be set
18204 in a specific way to have a chance to communicate with
18211 \begin_layout Enumerate
18216 Command terminated with space.
18219 \begin_layout Enumerate
18223 Non-breaking space (,,
18227 '') should have been used.
18230 \begin_layout Enumerate
18235 You should enclose the previous parenthesis with ,,
18242 \begin_layout Enumerate
18246 Italic correction (,,
18252 '') found in non-italic buffer.
18255 \begin_layout Enumerate
18259 Italic correction (,,
18265 '') found more than once.
18268 \begin_layout Enumerate
18273 No italic correction (,,
18282 \begin_layout Enumerate
18297 \begin_layout Enumerate
18301 Wrong length of dash may have been used.
18304 \begin_layout Enumerate
18313 '' expected, found ,,
18320 \begin_layout Enumerate
18331 \begin_layout Enumerate
18339 '' to achieve an ellipsis.
18342 \begin_layout Enumerate
18346 Inter-word spacing (,,
18352 '') should perhaps be used.
18355 \begin_layout Enumerate
18359 Inter-sentence spacing (,,
18365 '') should perhaps be used.
18368 \begin_layout Enumerate
18372 Could not find argument for command.
18375 \begin_layout Enumerate
18379 No match found for ,,
18386 \begin_layout Enumerate
18390 Math mode still on at end of LaTeX file.
18393 \begin_layout Enumerate
18401 '' doesn't match the number of ,,
18408 \begin_layout Enumerate
18412 You should use either
18420 as an alternative to ,,
18427 \begin_layout Enumerate
18435 '' (ASCII 39) instead of ,,
18442 \begin_layout Enumerate
18446 User-specified pattern found.
18449 \begin_layout Enumerate
18453 This command might not be intended.
18456 \begin_layout Enumerate
18464 \begin_layout Enumerate
18483 \begin_layout Enumerate
18487 Delete this space to maintain correct page references.
18490 \begin_layout Enumerate
18495 You might wish to put this between a pair of ,,
18502 \begin_layout Enumerate
18506 You ought to remove spaces in front of punctuation.
18509 \begin_layout Enumerate
18513 Could not execute LaTeX command.
18516 \begin_layout Enumerate
18526 in front of small punctuation.
18529 \begin_layout Enumerate
18538 may look prettier here.
18541 \begin_layout Enumerate
18546 Multiple spaces detected in output.
18549 \begin_layout Enumerate
18553 This text may be ignored.
18556 \begin_layout Enumerate
18564 to begin quotation, not
18571 \begin_layout Enumerate
18579 to end quotation, not
18586 \begin_layout Enumerate
18593 \begin_layout Enumerate
18597 You should perhaps use ,,
18604 \begin_layout Enumerate
18608 You should put a space in front of/after parenthesis.
18611 \begin_layout Enumerate
18615 You should avoid spaces in front of/after parenthesis.
18618 \begin_layout Enumerate
18623 You should not use punctuation in front of/after quotes.
18626 \begin_layout Enumerate
18630 Double space found.
18633 \begin_layout Enumerate
18637 You should put punctuation outside inner/inside display math mode.
18640 \begin_layout Enumerate
18644 You ought to not use primitive TeX in LaTeX code.
18647 \begin_layout Enumerate
18651 You should remove spaces in front of ,,
18658 \begin_layout Enumerate
18666 '' is normally not followed by ,,
18673 \begin_layout Standard
18675 Mam nadziejê, ¿e w nastêpnych wersjach LyX-a dostarczymy bardziej kompletny
18676 interfejs dla tego narzêdzia (i jego mniejszego kuzyna
18680 ) dla wykorzystania jego pe³nych mo¿liwo¶ci.
18681 But it's not exactly useless as it is now: go try it on one of your existing
18682 documents of a certain length and be surprised.
18685 \begin_layout Section
18687 Kontrola wersji (RCS) w LyX
18690 \begin_layout Standard
18694 Lars Gullik Bjønnes
18697 \begin_layout Subsection
18702 \begin_layout Standard
18704 Moi przyjaciele chcieli u¿yæ LyX-a do projektu grupowego.
18705 Gdy nie znale¼li obs³ugi kontroli wersji ani blokowania plików, porzucili
18707 To na tyle mnie zirytowa³o, ¿e postanowi³em zrobiæ obs³ugê dla RCS (z mo¿liwo¶c
18708 i± obs³ugi CVS i/lub SCCS jako przysz³o¶ciowe ulepszenie).
18709 To ju¿ zosta³o zrobione i teraz LyX obs³uguje najbardziej podstawowe polecenia
18713 \begin_layout Standard
18715 Je¶li potrzebujesz zrobiæ co¶ bardziej wyszukanego to bêdziesz musia³ zrobiæ
18716 to rêcznie w terminalu xterm.
18719 \begin_layout Standard
18721 Zanim zaczniesz u¿ywaæ kontroli wersji w LyX-ie powiniene¶ wpierw przeczytaæ
18730 W tym pliku s± opisane wszystkie podstawowe funkcje RCS.
18731 Powiniene¶ zwróciæ szczególn± uwagê na katalog RCS oraz na plik g³ówny
18735 \begin_layout Standard
18737 W LyX-ie dokonano implementacji dla ostatniej wersji pakietu GNU RCS --
18738 nie gwarantujemy wykonania dla starszych wersji.
18741 \begin_layout Subsection
18743 Polecenia RCS w LyX
18746 \begin_layout Standard
18748 W dalszych sekcjach opisano polecenia RCS obs³ugiwane przez LyX-a.
18749 Mo¿esz je znale¼æ w menu
18754 lik\SpecialChar \menuseparator
18764 \begin_layout Subsubsection
18771 \begin_layout Standard
18773 Je¶li dokument nie jest objêty kontrol± wersji, to wy¶wietlone jest tylko
18775 A je¶li dokument jest objêty kontrol± wersji, to te polecenie jest wy³±czone.
18778 \begin_layout Standard
18780 To polecenie rejestruje dokument w RCS.
18781 Zostaniesz zapytany o pocz±tkowy opis dokumentu.
18782 Dokument jest teraz w trybie TylkoDoOdczytu i aby dokonaæ jego edycji musisz
18788 Dokument objêty kontrol± wersji ma oznaczenie w buforze: [RCS:<version>
18792 \begin_layout Standard
18796 ci -q -u -i -t-"<initial description>" <file-name>
18799 \begin_layout Standard
18805 aby poznaæ parametry wywo³ania polecenia.
18808 \begin_layout Subsubsection
18813 \begin_layout Standard
18815 Gdy skoñczy³e¶ edycjê pliku wprowad¼ zmianê do RCS.
18816 Gdy to zrobisz, zostaniesz zapytany o opis zmian, który zostanie zapisany
18817 w historii dokumentu.
18818 Numer wersji zostanie zwiêkszony, a twoje zmiany dopisane do g³ównego pliku
18820 Dokument jest odblokowany i ustawiony w tryb TylkoDoOdczytu.
18823 \begin_layout Standard
18827 ci -q -u -m"<description>" <file-name>
18830 \begin_layout Subsubsection
18835 \begin_layout Standard
18837 Za pomoc± tego polecenia blokujemy dokument dla siebie i mo¿emy go edytowaæ.
18838 Polecenie ustawia plik w tryb ZapisOdczyt tylko dla Ciebie.
18839 Mo¿esz kontynuowaæ edycjê do czasu, a¿ do wydania polecenia
18844 W wierszu statusowym zaznaczone jest ¿e plik zosta³ zablokowany.
18847 \begin_layout Standard
18851 co -q -l <file-name>
18854 \begin_layout Subsubsection
18856 Wróæ do ostatniej wersji
18859 \begin_layout Standard
18861 Polecenie usuwa wszystkie wprowadzone zmiany do dokumentu od czasu ostatniej
18862 rewizji (zwolnienia).
18863 Zostaniesz przedtem ostrze¿ony.
18866 \begin_layout Standard
18870 co -f -u<version> <file-name>
18873 \begin_layout Subsubsection
18875 Usuñ ostatnio wprowadzone zmiany
18878 \begin_layout Standard
18880 Wynikiem polecenia jest jak gdyby ostatnia rewizja siê nie zdarzy³a.
18881 W dokumencie LyX-a nie s± dokonywane ¿adne zmiany, ale ostatnia wersja
18882 jest usuwana z g³ównego pliku RCS.
18885 \begin_layout Standard
18889 rcs -o<version> <file-name>
18894 \begin_layout Subsubsection
18896 Poka¿ historiê zmian
18899 \begin_layout Standard
18901 Polecenie wy¶wietla pe³n± historiê dokumentu.
18902 Wy¶wietlony zostaje
18911 aby poznaæ wiêcej informacji.
18914 \begin_layout Section
18916 Literate Programming
18919 \begin_layout Standard
18923 Edmar Wienskoski Jr.
18926 (edmar-w-jr@technologist.com)
18929 \begin_layout Subsection
18934 \begin_layout Standard
18936 The main purpose of this documentation is to show you how to use LyX for
18937 literate programming.
18938 Where it is assumed that you are familiar with this programming technique,
18940 \begin_inset Quotes eld
18944 \begin_inset Quotes erd
18948 \begin_inset Quotes eld
18952 \begin_inset Quotes erd
18956 If that is not the case, please follow the web links provided in the following
18958 There is a lot of good documentation out there covering old development
18959 history to the latest tools tips.
18962 \begin_layout Standard
18964 It is also assumed that you are familiar with LyX itself to a point that
18965 you are comfortable changing your
18969 file, and X resources file.
18970 If that is not the case please refer to other LyX documentation to cover
18971 your specific needs.
18974 \begin_layout Subsection
18976 Literate Programming
18979 \begin_layout Standard
18981 From the Literate Programming FAQ :
18984 \begin_layout Quotation
18986 Literate programming is the combination of documentation and source together
18987 in a fashion suited for reading by human beings.
18988 In fact, literate programs should be enjoyable reading, even inviting!
18989 (Sorry Bob, I couldn't resist!) In general, literate programs combine source
18990 and documentation in a single file.
18991 Literate programming tools then parse the file to produce either readable
18992 documentation or compilable source.
18993 The WEB style of literate programming was created by D.E.
18994 Knuth during the development of his TeX typesetting software.
18997 \begin_layout Standard
18999 Another excerpt says:
19002 \begin_layout Quotation
19006 How is literate programming different from verbose commenting?
19009 \begin_layout Quotation
19011 There are three distinguishing characteristics.
19012 In order of importance, they are:
19016 \begin_layout Itemize
19018 flexible order of elaboration
19021 \begin_layout Itemize
19023 automatic support for browsing
19026 \begin_layout Itemize
19028 typeset documentation, especially diagrams and mathematics
19031 \begin_layout Standard
19033 Now that I sparked your curiosity, take a look in the references.
19036 \begin_layout Subsubsection
19041 \begin_layout Standard
19043 The complete Literate Programming FAQ can be found at:
19046 \begin_layout Quote
19048 http://shelob.ce.ttu.edu/daves/faq.html
19051 \begin_layout Standard
19053 The FAQ lists 23 (twenty three !) different literate programming tools.
19054 Where some are specialized or
19055 \begin_inset Quotes eld
19059 \begin_inset Quotes erd
19062 for particular programming languages, while other have general scope.
19067 for my own use for several reasons:
19070 \begin_layout Itemize
19072 It can generate the documentation either in latex or html.
19075 \begin_layout Itemize
19077 It has a open architecture, i.e., it is easy to plug in new filters and to
19078 perform special processing that you may need.
19081 \begin_layout Itemize
19083 There is a good selection of filters available already (the html is one
19087 \begin_layout Itemize
19092 \begin_layout Standard
19094 The Noweb web page can be found at:
19097 \begin_layout Quote
19099 http://www.cs.virginia.edu/~nr/noweb
19102 \begin_layout Standard
19104 Starting from there you can reach many other interesting links and even
19105 some literate program examples.
19108 \begin_layout Subsection
19110 LyX and Literate Programming
19113 \begin_layout Standard
19115 Some changes to LyX were required to enable it to interact with Noweb.
19116 Those changes were rather simple, and were done in a
19117 \begin_inset Quotes eld
19121 \begin_inset Quotes erd
19124 way, i.e., I expect that you will be able to use this new LyX feature with
19125 some other literate programming tool of your choice by just re-configuring
19129 \begin_layout Subsubsection
19131 Generowanie dokumentów i kodu (weaving and tangling)
19134 \begin_layout Paragraph
19136 Wybor klasy dokumentu
19139 \begin_layout Standard
19141 If you have installed Noweb and LyX successfully, whenever you open a new
19142 document or try to change the document class of an existing one, you will
19143 find that there are three new document classes available:
19146 \begin_layout Itemize
19151 \begin_layout Itemize
19156 \begin_layout Itemize
19161 \begin_layout Standard
19163 You must select one of them to create your literate documents from.
19166 \begin_layout Standard
19168 Note that literate documents are not limited to these three classes.
19169 New classes can be generated from other styles like letter or in combination
19170 with other class variations like Article (AMS).
19171 I have limited the choice to these three because I didn't want to clog
19172 the list of options with all possible variations.
19173 If you have special needs that cannot be covered by one of the existing
19174 classes, let me know and I will arrange to insert a new entry, or teach
19179 \begin_layout Standard
19181 It is very simple, it involves the creation of a file with four lines, and
19182 re-running of the auto configuration.
19187 a new set of document classes for it.
19190 \begin_layout Paragraph
19195 \begin_layout Standard
19197 LyX enables you to write code with a layout named
19205 \begin_layout Standard
19207 The equivalent Noweb term is
19208 \begin_inset Quotes eld
19212 \begin_inset Quotes erd
19216 For historical reasons, I got used to the term
19217 \begin_inset Quotes eld
19221 \begin_inset Quotes erd
19224 introduced by other literate tool named Nuweb, which I used for many years
19225 before rendering myself to Noweb.
19233 \begin_layout LyX-Code
19238 \begin_layout LyX-Code
19243 \begin_layout LyX-Code
19248 \begin_layout LyX-Code
19253 \begin_layout LyX-Code
19258 \begin_layout Standard
19260 The problem is that whatever is written in between the << and the
19264 must be taken literally, i.e., LyX should be prevented from making any special
19265 interpretation of what has been written.
19266 For that reason, I defined a new layout named Scrap, that works like a
19267 LaTeX paragraph but has a free spacing capability.
19268 In other words, it is a combination of the LaTeX and the LyX-Code layouts.
19271 \begin_layout Standard
19273 The down side of this
19274 \begin_inset Quotes eld
19278 \begin_inset Quotes erd
19281 is that consecutive paragraphs of code will be spaced with one empty line
19282 in the source code and also in the printed documentation.
19283 Of course I don't want this.
19284 The work around is to enter each line of code within a single Scrap, with
19285 a newline (ctrl-return).
19286 The example above will look like this:
19290 \begin_layout Standard
19292 If you have a printed version of this document you will not see any difference
19293 between the previous example and this one.
19309 \begin_layout Standard
19311 This layout works fine.
19312 The only real inconvenience is that you have to type ctrl-return instead
19317 \begin_layout Standard
19319 It is in my list of
19320 \begin_inset Quotes eld
19324 \begin_inset Quotes erd
19332 e to enter a blank character.
19333 I believe these problems are a small price to pay for the benefits LyX
19334 brings to you for typing, compiling, and debugging your literate program.
19337 \begin_layout Paragraph
19339 Generowanie dokumentacji
19342 \begin_layout Standard
19344 At this point you already have a new document file with a proper document
19345 class, and with some code and text on it.
19346 How do I print it ? The answer is simple, you select ,,Update dvi'' or
19347 ,,Update PostScript'' or ,,View dvi'', etc.
19348 Just like you would do for a plain document.
19349 No special procedure is required.
19352 \begin_layout Standard
19354 To help orientate you, I will now explain what happens inside LyX:
19357 \begin_layout Enumerate
19359 When the ,,Update dvi'' menu option is chosen, a latex file is generated.
19363 \begin_layout Standard
19365 If the document is of any literate class the generated file will be named
19366 with an extension name defined by
19372 , otherwise the file will have the usual
19379 \begin_layout Enumerate
19381 Note that the only difference so far is in the name of the file, no special
19382 processing is required by LyX.
19383 Given that you formatted the code using the Scrap layout that, by itself,
19384 takes care of the business.
19387 \begin_layout Enumerate
19389 If the document is of any literate class LyX will execute:
19393 \begin_layout LyX-Code
19396 \begin_inset Quotes eld
19402 \begin_inset Quotes erd
19416 \begin_layout LyX-Code
19419 \begin_inset Quotes eld
19424 literate_error_filter
19425 \begin_inset Quotes erd
19439 \begin_layout Standard
19441 Otherwise it will just skip this step.
19444 \begin_layout Enumerate
19446 Finally, LaTeX is invoked and the regular post processing continues as in
19450 \begin_layout Standard
19458 is to transform the newly created
19469 \begin_layout Standard
19475 literate_error_filter
19477 command is to help LyX display error boxes when the
19483 reports any errors.
19484 This filter can be a C program, a script, or any thing you want.
19485 Its job is to identify error messages from your literate tool, in our case
19486 Noweb, and convert them to a common format that LyX understands.
19487 A separate document,
19491 , in the examples directory (accessed with the
19495 button in the file popup), has a literate C program that can be used to
19496 parse Noweb error messages.
19497 This scheme introduces one more command for the user to configure, but
19498 has the advantage of
19499 \begin_inset Quotes eld
19503 \begin_inset Quotes erd
19507 Moreover, if you don't bother to set it, you can still use the system,
19508 you just loose the ability to have a nice display and interaction with
19509 the error messages.
19512 \begin_layout Paragraph
19517 \begin_layout Standard
19519 When the ,,Build Program'' File menu option is chosen or the corresponding
19520 button in the toolbar is pressed, a latex file with extension
19526 is generated just like step 1 above.
19533 to generate the code and
19539 to process the compilation error messages, as in step 3 above.
19542 \begin_layout Standard
19544 Note that no special processing is required from LyX.
19547 \begin_layout Standard
19549 Also note that I am assuming that you are familiar with Noweb.
19550 In this case you will know what to do to get an executable file starting
19551 from a noweb file (
19556 It is likely that you will create a makefile for that purpose.
19557 For that reason, after LyX creates the noweb file, it invokes the command
19564 , with a default of
19565 \begin_inset Quotes eld
19569 \begin_inset Quotes erd
19573 In case you want to process your literate file with a script, or some other
19574 program, just insert in your lyxrc file an entry with:
19577 \begin_layout LyX-Code
19582 \begin_inset Quotes eld
19585 my_script my_arguments
19586 \begin_inset Quotes erd
19592 \begin_layout Standard
19604 literate_error_filter
19606 only in that the former will identify error messages from your compiler.
19607 The same example program mentioned before can also parse gcc, or xlc error
19609 If you have a different compiler you may want to change this program or
19611 Again, the same comments from the previous section are valid here: this
19612 is optional, you can skip it if you can afford to loose the LyX error handling
19616 \begin_layout Standard
19618 In summary, the ,,Build Program'' internal function sequence is pretty much
19619 like the ,,Update dvi'' one but involving different commands.
19623 \begin_layout LyX-Code
19625 ,,Update dvi'' -> generate .tex
19628 \begin_layout LyX-Code
19630 -> invoke -> show latex errors
19633 \begin_layout LyX-Code
19640 \begin_layout LyX-Code
19644 \begin_layout LyX-Code
19646 ,,Update dvi'' -> generate same -> invoke
19649 \begin_layout LyX-Code
19651 -> invoke -> show latex errors
19654 \begin_layout LyX-Code
19656 on literate doc file with .nw
19665 \begin_layout LyX-Code
19669 _______ -> show literate errors
19672 \begin_layout LyX-Code
19676 \begin_layout LyX-Code
19678 ,,Build Program'' -> generate same -> invoke
19681 \begin_layout LyX-Code
19683 -> show compilation error
19686 \begin_layout LyX-Code
19688 on literate doc file with .nw
19693 \begin_layout LyX-Code
19698 \begin_layout Subsubsection
19703 \begin_layout Standard
19705 There are five new controls that you can put in your lyxrc file:
19708 \begin_layout Description
19716 specifies which literate tool you are going to use.
19717 During normal LyX configuration, the auto configuration script will try
19718 to find the noweb package for you.
19719 If the search is successful, the default value for this control is set
19724 \begin_layout LyX-Code
19726 noweave -delay -index
19729 \begin_layout Standard
19731 Otherwise the default value is set to
19732 \begin_inset Quotes eld
19736 \begin_inset Quotes erd
19742 \begin_layout Description
19750 specifies the filename extension to be used for literate documents.
19751 Some literate tools requires specific file extension names.
19752 The default is set during configuration as either
19753 \begin_inset Quotes eld
19757 \begin_inset Quotes erd
19761 \begin_inset Quotes eld
19765 \begin_inset Quotes erd
19768 , depending on whether the auto configuration found the noweb package or
19772 \begin_layout Description
19781 \begin_inset Quotes eld
19785 \begin_inset Quotes erd
19789 You need to create a makefile to do the tangling, compilation, etc.
19793 \begin_layout Standard
19795 Another way is to maintain the makefile or building script itself as part
19797 That way every project can be compiled with the same command line:
19800 \begin_layout LyX-Code
19802 notangle -Rbuild-script
19809 \begin_layout Standard
19811 To use this scheme, create a script named
19815 that executes the command above:
19818 \begin_layout LyX-Code
19823 \begin_layout LyX-Code
19825 notangle -Rbuild-script $1 | sh
19828 \begin_layout Standard
19830 Finally set LyX to execute the
19837 \begin_layout LyX-Code
19841 build_command project-build
19844 \begin_layout Standard
19846 Every time you start a new project, define a scrap with name
19850 that will do the compilation for that project.
19851 Whenever you select
19852 \begin_inset Quotes eld
19856 \begin_inset Quotes erd
19859 , LyX will extract that scrap (
19861 notangle -Rbuild-script...
19870 \begin_layout Description
19876 literate_error_filter
19878 defaults to ,,cat''.
19879 If you compile the program given in
19881 Literate_example.lyx
19887 \begin_layout LyX-Code
19891 literate_error_filter
19892 \begin_inset Quotes eld
19896 \begin_inset Quotes erd
19902 \begin_layout Standard
19904 to process Noweb(noweave) error messages
19907 \begin_layout Description
19916 \begin_inset Quotes eld
19920 \begin_inset Quotes erd
19924 If you compile the program given in
19926 Literate_example.lyx
19932 \begin_layout LyX-Code
19937 \begin_inset Quotes eld
19941 \begin_inset Quotes erd
19947 \begin_layout Standard
19949 to process both Noweb(notangle) error messages and gcc error messages.
19952 \begin_layout Subsubsection
19954 Rozszerzenia diagnostyczne
19957 \begin_layout Standard
19959 There is also a new function implemented in the LyX server, the ,,server-goto-fi
19960 le-row'' function, to be used with ddd/gdb or other debugger.
19963 \begin_layout Standard
19965 When debugging code with ddd/gdb, it is possible to invoke a text editor
19966 at the current execution position with a single key stroke.
19967 The default ddd configuration for that is shift-ctrl-V.
19968 It happens that you can define the editor command line invocation in ddd
19969 by accessing the edit\SpecialChar \menuseparator
19970 preferences\SpecialChar \menuseparator
19971 helpers window and changing the ,,Edit
19975 \begin_layout Standard
19977 I take advantage of the new created LyX server function and this ddd feature,
19979 \begin_inset Quotes eld
19983 \begin_inset Quotes erd
19989 \begin_layout Quote
19991 echo "LYXCMD:monitor:server-goto-file-row:@FILE@ @LINE@" >~/.lyxpipe.in
19994 \begin_layout Standard
19996 With this, whenever you are using ddd and find a point in the program that
19997 you want to edit, you just press shift-ctrl-V (in the ddd window), and
19998 ddd you forward this information to LyX through the LyX server and then
19999 the LyX window will show the same file with the cursor at the same position
20000 ddd was pointing to.
20001 No more guessing or long scrolling to locate a point in the program back
20005 \begin_layout Standard
20007 Note however that you must enable the LyX server to get this feature working
20008 (it is disabled by default).
20009 To enable it, insert in your lyxrc file:
20012 \begin_layout Quote
20016 serverpipe "/home/<your home directory>/.lyxpipe"
20019 \begin_layout Standard
20021 Read the LyX server documentation for further information.
20024 \begin_layout Subsubsection
20026 Rozszerzenia paska narzêdzi
20029 \begin_layout Standard
20031 I created six new buttons that can be added to your LyX toolbar.
20032 Five of these buttons are short cuts to layout styles: Standard, Section,
20033 LaTeX, LyX-Code, and Scrap.
20034 I created those because they are the ones I use most and I was tired of
20035 scrolling the layout menu looking for the one I wanted.
20036 The last one is a short cut to the
20037 \begin_inset Quotes eld
20041 \begin_inset Quotes erd
20047 \begin_layout Standard
20049 LyX has a range of buttons that are available for tool bar customization.
20050 In my toolbar I like to combine the six short cuts above with two more:
20052 \begin_inset Quotes eld
20056 \begin_inset Quotes erd
20060 \begin_inset Quotes eld
20064 \begin_inset Quotes erd
20068 Here is how it looks like:
20071 \begin_layout LyX-Code
20078 \begin_layout LyX-Code
20085 \begin_layout LyX-Code
20089 add layout Standard
20092 \begin_layout LyX-Code
20099 \begin_layout LyX-Code
20106 \begin_layout LyX-Code
20110 add layout LyX-Code
20113 \begin_layout LyX-Code
20120 \begin_layout LyX-Code
20127 \begin_layout LyX-Code
20134 \begin_layout LyX-Code
20141 \begin_layout LyX-Code
20148 \begin_layout LyX-Code
20155 \begin_layout LyX-Code
20160 \begin_layout LyX-Code
20165 \begin_layout LyX-Code
20170 \begin_layout LyX-Code
20177 \begin_layout Subsubsection
20179 Dopasowanie kolorów
20182 \begin_layout Standard
20184 There are a number of colors in LyX that can be customized.
20185 For each one there are two ways to do it: either by inserting a line in
20186 your X resource files, or by adding a flag in the LyX command line.
20189 \begin_layout Standard
20191 One of the things that bothers people is the LaTeX font color.
20192 The default color is red, since the scraps uses LaTeX font, and there is
20193 a lot of scraps in literate documents, you may get tired of seeing everything
20198 \begin_layout Itemize
20200 In the X resource file:
20204 \begin_layout Quote
20206 lyx*LatexColor: gold
20209 \begin_layout Itemize
20211 In the command line:
20215 \begin_layout Quote
20217 lyx -LatexColor gold
20220 \begin_layout Standard
20222 The next thing is the visible presence of the newline character in the screen.
20223 You can choose the color of this particular character and make it blend
20225 I recommend you choosing a color that is close to the background but not
20226 equal, that way you still can see it is there, but it is not bothering
20231 \begin_layout Itemize
20233 In the X resource file:
20237 \begin_layout Quote
20239 lyx*BackgroundColor: gray20
20242 \begin_layout Quote
20244 lyx*NewLineColor: gray35
20247 \begin_layout Itemize
20249 In the command line:
20253 \begin_layout Quote
20255 lyx -BackgroundColor gray20 -NewLineColor gray35
20258 \begin_layout Standard
20260 If you don't like a bright clear background burning your eyes all day long,
20261 you can reverse background and foreground colors with this:
20264 \begin_layout Itemize
20266 In the X resource file:
20270 \begin_layout Quote
20275 \begin_layout Itemize
20277 In the command line:
20281 \begin_layout Quote
20286 \begin_layout Standard
20288 The problem with all those color alterations is that you may need to change
20289 other colors as well to ensure that math, inset, etc, are
20290 \begin_inset Quotes eld
20294 \begin_inset Quotes erd
20297 with respect to the rest.
20298 The following is the selection I use in my own X resource file.
20299 It is just a suggestion.
20300 I encourage you to try to find the color set that work best for you.
20303 \begin_layout LyX-Code
20308 \begin_layout LyX-Code
20310 lyx*MathColor: green
20313 \begin_layout LyX-Code
20315 lyx*LatexColor: gold
20318 \begin_layout LyX-Code
20320 lyx*OnOffLineColor: magenta
20323 \begin_layout LyX-Code
20325 lyx*InsetColor: yellow
20328 \begin_layout LyX-Code
20330 lyx*LightedColor: gray50
20333 \begin_layout LyX-Code
20335 lyx*NewLineColor: gray35
20338 \begin_layout LyX-Code
20340 lyx*BackgroundColor: gray20
20343 \begin_layout Chapter
20348 \begin_layout Standard
20350 Mimo ¿e LyX jest silnym narzêdziem, to nie mo¿na mieæ nadziei na obs³ugê
20351 wszystkiego co zosta³o zrobione dla TeX-a/LaTeX-a.
20352 Jednak wiele tricków TeX-a i LaTeX-a mo¿e byæ wykonane w LyX-ie, je¶li
20353 nie obawiasz siê u¿yæ przycisku ,,TeX'' z paska narzêdzi lub dokonywaæ
20354 wpisów w preambule LaTeX-a (w menu
20359 k³ad\SpecialChar \menuseparator
20373 \begin_layout Standard
20375 W tym rozdziale opisano kilka sposobów i pomys³ów, aby Twoje dokumenty by³y
20376 trochê sprytniejsze.
20377 Wypróbuj je w domu i zacznij od czego¶ ma³ego i mniej wa¿nego.
20380 \begin_layout Standard
20382 Wiêkszo¶æ pomys³ów tego rozdzia³u wymaga mniej podstawowych plików w Twojej
20383 instalacji LaTeX-a.
20384 Je¶li masz system taki jak teTeX, wiêkszo¶æ bêdzie ju¿ dostêpnych.
20385 Kilka jednak bêdzie trzeba ¶ci±gn±æ z archiwów CTAN.
20386 Czêsto istnieje kilka dróg do wykonania tego samego lub kilka plików stylów
20387 LaTeX-a które robi± te same rzeczy.
20388 Nie chcemy przedk³adaæ jednego pakietu nad inne, po prostu chcemy wykonaæ
20389 okre¶lone zadanie za pomoc± okre¶lonego pliku.
20392 \begin_layout Section
20394 Triki w przypisach i marginaliach
20397 \begin_layout Standard
20404 \begin_layout Subsection
20409 \begin_layout Standard
20411 LyX jeszcze nie potrafi ustawiæ numeracji przypisów z powrotem od 1 po ka¿dej
20412 sekcji w klasie dokumentu ,,article'' lub zmianie stylu licznika.
20413 Aby to osi±gn±æ bêdziesz potrzebowa³ nastêpuj±cych poleceñ LaTeX-a:
20416 \begin_layout Standard
20422 \begin_layout Standard
20425 setcounter{footnote}{0}
20434 setcounter{footnote}{0}
20436 ustawi licznik z powrotem na 1
20440 \begin_layout Standard
20442 Licznik zosta³ ustawiony na 1.
20450 \begin_layout Standard
20452 Nastêpuj±ce polecenie zmienia numeracjê przypisów na numerowanie ma³ymi
20454 Zobacz w podgl±dzie jak to wygl±da.
20457 \begin_layout Standard
20463 \begin_layout Standard
20479 \begin_layout Standard
20481 To jest przyk³ad przypisu numerowanego alfabetycznie.
20498 Nastêpne polecenie ustawia styl licznika z powrotem na domy¶lny, np.
20509 \begin_layout Standard
20525 \begin_layout Standard
20537 aby przywróciæ styl licznika na domy¶lny -- numeryczny
20547 \begin_layout Standard
20579 i innych stylów liczników.
20582 \begin_layout Subsection
20587 \begin_layout Standard
20589 Tutaj znajduj± siê dwa przyk³ady jak wstawiæ marginalia przy u¿yciu poleceñ
20593 \begin_layout Standard
20595 Nastêpuj±ce polecenie utworzy poziom± liniê pojawiaj±c± obok tekstu:
20598 \begin_layout Standard
20606 rule[-10mm]{30mm}{5mm}}
20612 \begin_layout Standard
20617 rule[-10mm]{30mm}{5mm}}
20625 \begin_layout Standard
20627 Zobacz na wydruku co robi nastêpuj±ce polecenie.
20630 \begin_layout Standard
20636 \begin_layout Standard
20644 Right -- wstawi notkê marginesow± na ,,z³ej'' stronie dwustronnego dokumentu.
20645 \begin_inset Marginal
20648 \begin_layout Standard
20656 \begin_layout Standard
20672 \begin_layout Section
20674 Sk³ad wieloszpaltowy
20677 \begin_layout Standard
20684 \begin_layout Subsection
20689 \begin_layout Standard
20695 \begin_layout Standard
20697 Przypis edytora: Oryginalny rozdzia³ Lars'a by³ pe³nym opisem zastosowania
20703 jednak by³ on zbyt d³ugi do w³±czenia go do tego dokumentu.
20704 Dlatego wybra³em najwa¿niejsze tematy (przepraszam Lars); mo¿esz przeczytaæ
20705 oryginalny rozdzia³ w przyk³adowym pliku
20707 examples/multicol.lyx
20715 jest przedstawienie jak mo¿na u¿yæ LaTeX-owy pakiet
20719 w dokumencie LyX-a.
20722 \begin_layout Standard
20724 LyX jako taki jeszcze nie obs³uguje pakietu
20728 natywnie, ale mamy na to swój sposób.
20729 Po przeczytaniu tej sekcji powiniene¶ umieæ go wykorzystaæ.
20732 \begin_layout Subsection
20737 \begin_layout Standard
20743 pozwala na prze³±czanie pomiêdzy jedn± a wieloma szpaltami na jednej stronie.
20744 Przypisy s± obs³ugiwane poprawnie (w wiêkszej czê¶ci), ale zostan± umieszczone
20745 u do³u strony i nie pod odpowiedni± kolumn±.
20746 LaTeX-owy mechanizm wstawek jest czê¶ciowo zablokowany w aktualnej implementacj
20748 Od tego momentu tylko wstawki o szeroko¶ci strony mog± byæ u¿ywane wewn±trz
20749 wspomnianego ¶rodowiska.
20752 \begin_layout Subsection
20757 \begin_layout Subsubsection
20762 \begin_layout Standard
20764 Je¶li chcesz mieæ dwie szpalty w tek¶cie, u trybie LaTeX-a wstaw polecenie
20768 begin{multicols}{2}
20770 w miejscu, od którego chcesz zacz±æ dwie szpalty i wstaw polecenie
20776 w miejscu, gdzie chcesz je zakoñczyæ.
20780 \begin_layout Standard
20786 \begin_layout Standard
20789 begin{multicols}{2}
20797 \begin_layout Standard
20802 The Adventure of the Empty House
20808 Sir Arthur Conan Doyle
20811 \begin_layout Standard
20815 It was in the spring of the year 1894 that all London was interested, and
20816 the fashionable world dismayed, by the murder of the Honourable Ronald
20817 Adair under most unusual and inexplicable circumstances.
20818 The public has already learned those particulars of the crime which came
20819 out in the police investigation, but a good deal was suppressed upon that
20820 occasion, since the case for the prosecution was so overwhelmingly strong
20821 that it was not necessary to bring forward all the facts.
20822 Only now, at the end of nearly ten years, am I allowed to supply those
20823 missing links which make up the whole of that remarkable chain.
20824 The crime was of interest in itself, but that interest was as nothing to
20825 me compared to the inconceivable sequel, which afforded me the greatest
20826 shock and surprise of any event in my adventurous life.
20830 \begin_layout Standard
20834 Even now, after this long interval, I find myself thrilling as I think of
20835 it, and feeling once more that sudden flood of joy, amazement, and incredulity
20836 which utterly submerged my mind.
20837 Let me say to that public, which has shown some interest in those glimpses
20838 which I have occasionally given them of the thoughts and actions of a very
20839 remarkable man, that they are not to blame me if I have not shared my knowledge
20840 with them, for I should have considered it my first duty to do so, had
20841 I not been barred by a positive prohibition from his own lips, which was
20842 only withdrawn upon the third of last month.
20845 \begin_layout Standard
20851 \begin_layout Standard
20862 \begin_layout Subsubsection
20864 Uk³ad wieloszpaltowy
20867 \begin_layout Standard
20869 Ten sam przepis jest u¿ywany gdy chcesz utworzyæ wiêcej ni¿ dwie szpalty:
20872 \begin_layout Standard
20878 \begin_layout Standard
20881 begin{multicols}{3}
20889 \begin_layout Standard
20893 It can be imagined that my close intimacy with Sherlock Holmes had interested
20894 me deeply in crime, and that after his disappearance I never failed to
20895 read with care the various problems which came before the public.
20896 And I even attempted, more than once, for my own private satisfaction,
20897 to employ his methods in their solution, though with indifferent success.
20898 There was none, however, which appealed to me like this tragedy of Ronald
20900 As I read the evidence at the inquest, which led up to a verdict of willful
20901 murder against some person or persons unknown, I realized more clearly
20902 than I had ever done the loss which the community had sustained by the
20903 death of Sherlock Holmes.
20904 There were points about this strange business which would, I was sure,
20905 have specially appealed to him, and the efforts of the police would have
20906 been supplemented, or more probably anticipated, by the trained observation
20907 and the alert mind of the first criminal agent in Europe.
20908 All day, as I drove upon my round, I turned over the case in my mind and
20909 found no explanation which appeared to me to be adequate.
20910 At the risk of telling a twice-told tale, I will recapitulate the facts
20911 as they were known to the public at the conclusion of the inquest.
20914 \begin_layout Standard
20920 \begin_layout Standard
20931 \begin_layout Standard
20933 Mo¿esz mieæ wiêcej ni¿ trzy szpalty je¶li chcesz, ale to nie bêdzie przyjemne
20937 \begin_layout Subsubsection
20939 Szpalty wewn±trz szpalty
20942 \begin_layout Standard
20944 Mo¿esz umie¶ciæ szpalty wewn±trz szpalty:
20947 \begin_layout Standard
20953 \begin_layout Standard
20956 begin{multicols}{2}
20964 \begin_layout Standard
20968 The Honourable Ronald Adair was the second son of the Earl of Maynooth,
20969 at that time governor of one of the Australian colonies.
20970 Adair's mother had returned from Australia to undergo the operation for
20971 cataract, and she, her son Ronald, and her daughter Hilda were living together
20975 \begin_layout Standard
20981 \begin_layout Standard
20984 begin{multicols}{2}
20992 \begin_layout Standard
20996 The youth moved in the best society--had, so far as was known, no enemies
20997 and no particular vices.
20998 He had been engaged to Miss Edith Woodley, of Carstairs, but the engagement
20999 had been broken off by mutual consent some months before, and there was
21000 no sign that it had left any very profound feeling behind it.
21001 For the rest {sic} the man's life moved in a narrow and conventional circle,
21002 for his habits were quiet and his nature unemotional.
21006 \begin_layout Standard
21012 \begin_layout Standard
21023 \begin_layout Standard
21027 Yet it was upon this easy-going young aristocrat that death came, in most
21028 strange and unexpected form, between the hours of ten and eleven-twenty
21029 on the night of March 30, 1894.
21032 \begin_layout Standard
21036 Ronald Adair was fond of cards--playing continually, but never for such
21037 stakes as would hurt him.
21038 He was a member of the Baldwin, the Cavendish, and the Bagatelle card clubs.
21039 It was shown that, after dinner on the day of his death, he had played
21040 a rubber of whist at the latter club.
21041 He had also played there in the afternoon.The evidence of those who had
21042 played with him-- Mr.
21043 Murray, Sir John Hardy, and Colonel Moran--showed that the game was whist,
21044 and that there was a fairly equal fall of the cards.
21045 Adair might have lost five pounds, but not more.
21046 His fortune was a considerable one, and such a loss could not in any way
21048 He had played nearly every day at one club or other, but he was a cautious
21049 player, and usually rose a winner.
21050 It came out in evidence that, in partnership with Colonel Moran, he had
21051 actually won as much as four hundred and twenty pounds in a sitting, some
21052 weeks before, from Godfrey Milner and Lord Balmoral.
21053 So much for his recent history as it came out at the inquest.
21056 \begin_layout Standard
21062 \begin_layout Standard
21073 \begin_layout Standard
21075 Proszê przeczytaæ plik
21077 examples/multicol.lyx
21079 dla poznania bardziej zaawansowanych przyk³adów w³±czania odstêpów pomiêdzy
21080 szpaltami i nag³ówkiem, pionowych linii separuj±cych i innych.
21083 \begin_layout Section
21085 Numeracja w ¶rodowisku wyliczenia akapitów
21088 \begin_layout Standard
21095 \begin_layout Standard
21098 \begin_inset VSpace bigskip
21105 \begin_layout Standard
21107 Domy¶lna numeracja akapitów w ¶rodowisku wyliczenia zaczyna siê od cyfr
21108 arabskich, a koñczy siê na du¿ych literach alfabetu.
21109 Prawdopodobnie jednak bêdziesz chcia³ inaczej numerowaæ akapity.
21110 Oto przyk³ad jak zmieniæ schemat numeracji:
21113 \begin_layout LyX-Code
21124 \begin_layout LyX-Code
21135 \begin_layout LyX-Code
21146 \begin_layout LyX-Code
21157 \begin_layout Standard
21159 \SpecialChar \ldots{}
21160 który zmienia schemat na nastêpuj±cy: cyfry rzymskie, du¿e litery, cyfry
21161 arabskie i ma³e litery.
21162 Ponadto poprzedni przyk³ad tak¿e dodaje kropkê do numeracji.
21163 Na przyk³ad pierwszy akapit pierwszego poziomu bêdzie oznaczony ,,I.''.
21164 Dla lepszej orientacji opiszemy jak wygl±da numeracja z u¿yciem naszego
21165 schematu: <,,I.'', ,,A.'', ,,1.'', ,,a.)''>.
21168 \begin_layout Standard
21170 Mo¿na zobaczyæ w przyk³adzie, gdzie s± polecenia dla ka¿dego zagnie¿d¿onego
21177 \SpecialChar \ldots{}
21184 , podobnie jak liczniki,
21188 \SpecialChar \ldots{}
21194 Znajduje siê tak¿e piêæ poleceñ ,,drukowania numeru'',
21224 , ka¿dy z nich pobiera jeden licznik jako argument.
21225 Mo¿na dodaæ znaki przed lub po, ale nie ma potrzeby dodawania spacji.
21228 \begin_layout Standard
21230 Mo¿esz rzeczywi¶cie otrzymaæ ozdobny schemat numeracji, na przyk³ad:
21233 \begin_layout LyX-Code
21248 \begin_layout LyX-Code
21261 \begin_layout LyX-Code
21272 \begin_layout LyX-Code
21283 \begin_layout Standard
21285 Otrzymujemy wówczas nastêpuj±c± numeracjê: <,,#A#'', ,,A.1'', ,,a+'', ,,(i)''>.
21288 \begin_layout Section
21290 Przestrzeñ pomiêdzy wierszami tabel
21293 \begin_layout Standard
21300 \begin_layout Standard
21303 \begin_inset VSpace bigskip
21310 \begin_layout Standard
21312 LaTeX pozwala wstawiaæ trochê wolnego miejsca pomiêdzy wierszami tabeli
21313 przez podanie opcjonalnego argumentu koñca wiersza (
21322 Ta metoda nie jest formalnie zaimplementowana w LyX-ie, ale podajemy dwa
21323 drobne tricki do wykonania tego samego zadania.
21326 \begin_layout Standard
21328 Pierwszy sposób jest bardziej formalny, ale bardziej zawik³any.
21329 W preambule nale¿y dodaæ nastêpuj±c± definicjê polecenia:
21332 \begin_layout Standard
21340 extratablespace}[1]{
21345 \begin_layout Standard
21347 To polecenie pobiera pojedynczy argument -- ilo¶æ miejsca, któr± chcesz
21349 Wstaw polecenie w pierwszej kolumnie nastêpnego wiersza gdzie chcia³by¶
21350 aby pojawi³o siê wolne miejsce.
21351 Oto przyk³ad (usun±³em wszystkie ramki u¿ywaj±c
21356 k³ad\SpecialChar \menuseparator
21367 \begin_layout Standard
21370 \begin_inset VSpace 0.3cm
21376 \begin_layout Standard
21379 \begin_inset Tabular
21380 <lyxtabular version="3" rows="4" columns="3">
21382 <column alignment="center" valignment="top" width="0pt">
21383 <column alignment="center" valignment="top" width="0pt">
21384 <column alignment="center" valignment="top" width="0pt">
21386 <cell alignment="center" valignment="top" topline="true" usebox="none">
21389 \begin_layout Standard
21396 <cell alignment="center" valignment="top" topline="true" usebox="none">
21399 \begin_layout Standard
21406 <cell alignment="center" valignment="top" topline="true" usebox="none">
21409 \begin_layout Standard
21418 <cell alignment="center" valignment="top" topline="true" usebox="none">
21421 \begin_layout Standard
21427 <cell alignment="center" valignment="top" topline="true" usebox="none">
21430 \begin_layout Standard
21437 <cell alignment="center" valignment="top" topline="true" usebox="none">
21440 \begin_layout Standard
21449 <cell alignment="center" valignment="top" topline="true" usebox="none">
21452 \begin_layout Standard
21458 \begin_layout Standard
21461 extratablespace{2ex}
21471 <cell alignment="center" valignment="top" topline="true" usebox="none">
21474 \begin_layout Standard
21481 <cell alignment="center" valignment="top" topline="true" usebox="none">
21484 \begin_layout Standard
21493 <cell alignment="center" valignment="top" topline="true" usebox="none">
21496 \begin_layout Standard
21502 <cell alignment="center" valignment="top" topline="true" usebox="none">
21505 \begin_layout Standard
21512 <cell alignment="center" valignment="top" topline="true" usebox="none">
21515 \begin_layout Standard
21530 \begin_layout Standard
21533 \begin_inset VSpace 0.3cm
21540 \begin_layout Standard
21542 Drugi sposób jest szybszy.
21543 Po prostu umie¶æ w odpowiednim wierszu opcjonalny argument koñca wiersza.
21544 ¯adne eleganckie definicje nie s± potrzebne jak w poprzednim przyk³adzie,
21545 ale dodawane bêdzie wiêcej miejsca, poniewa¿ de facto dodawany jest pusty
21546 wiersz plus odstêp.
21547 Je¶li zbyt du¿o jest dodawanego miejsca to u¿yj liczby ujemnej, jak w przyk³adz
21552 \begin_layout Standard
21555 \begin_inset VSpace 0.3cm
21561 \begin_layout Standard
21564 \begin_inset Tabular
21565 <lyxtabular version="3" rows="4" columns="3">
21567 <column alignment="center" valignment="top" width="0pt">
21568 <column alignment="center" valignment="top" width="0pt">
21569 <column alignment="center" valignment="top" width="0pt">
21571 <cell alignment="center" valignment="top" topline="true" usebox="none">
21574 \begin_layout Standard
21581 <cell alignment="center" valignment="top" topline="true" usebox="none">
21584 \begin_layout Standard
21591 <cell alignment="center" valignment="top" topline="true" usebox="none">
21594 \begin_layout Standard
21603 <cell alignment="center" valignment="top" topline="true" usebox="none">
21606 \begin_layout Standard
21612 <cell alignment="center" valignment="top" topline="true" usebox="none">
21615 \begin_layout Standard
21622 <cell alignment="center" valignment="top" topline="true" usebox="none">
21625 \begin_layout Standard
21634 <cell alignment="center" valignment="top" topline="true" usebox="none">
21637 \begin_layout Standard
21643 \begin_layout Standard
21658 <cell alignment="center" valignment="top" topline="true" usebox="none">
21661 \begin_layout Standard
21668 <cell alignment="center" valignment="top" topline="true" usebox="none">
21671 \begin_layout Standard
21680 <cell alignment="center" valignment="top" topline="true" usebox="none">
21683 \begin_layout Standard
21689 <cell alignment="center" valignment="top" topline="true" usebox="none">
21692 \begin_layout Standard
21699 <cell alignment="center" valignment="top" topline="true" usebox="none">
21702 \begin_layout Standard
21717 \begin_layout Standard
21720 \begin_inset VSpace 0.3cm
21727 \begin_layout Standard
21729 To pozwala szybko wykonaæ pracê, ale zdarza siê, ¿e brzydko wygl±da.
21732 \begin_layout Section
21737 \begin_layout Standard
21744 \begin_layout Standard
21747 \begin_inset VSpace bigskip
21754 \begin_layout Standard
21760 \begin_layout Standard
21765 tmpfont}{cmr17 scaled 2500}{
21777 \begin_layout Standard
21783 \begin_layout Standard
21793 i którzy lubi± styl starych ksi±¿ek prawdopodobnie tak¿e lubi± ,,inicja³y''
21794 --- tê wielk± literê rozpoczynaj±c± ka¿dy nowy rozdzia³ czy sekcjê.
21795 Implementacja tego jest prosta (zak³adaj±c, ¿e znasz trochê plain TeX-a!)
21796 ale nie wymaga wiele pracy i powtórzeñ, co mog³e¶ zobaczyæ na pocz±tku
21797 akapitu w brzydkim trybie TeX-a.
21800 \begin_layout Standard
21806 \begin_layout Standard
21811 bigdrop{-1em}{3}{ptmri}{I}+
21816 stnieje oczywi¶cie o wiele ³atwiejsza droga.
21825 ) z archiwum CTAN pozwala na prostsz± metodê uzyskania inicja³ów w dokumencie.
21826 Od jakiego¶ czasu pakiet ten nie jest standardow± czê¶ci± teTeX-a.
21827 Nie mogê go zademonstrowaæ w tym dokumencie ale je¶li skopiujesz ten akapit
21828 do nowego dokumentu, usuniesz ,,
21834 '' oraz znaki plus z kodu TeX-a na pocz±tku akapitu i dodasz do preambu³y
21839 usepackage{dropcaps}
21841 to otrzymasz literê I zapisan± czcionk± Times Roman Italic o wysoko¶ci
21842 trzech wierszy tekstu przesuniêt± o 1 em za margines.
21843 Pierwszym argumentem jest wielko¶æ wciêcia, ujemna warto¶æ powoduje przesuniêci
21844 e inicja³u za margines.
21845 Drugi argument zawiera wysoko¶æ inicja³u, podaje siê j± w wierszach.
21846 Trzeci argument jest nazw± czcionki, czcionki wirtualne posiadaj±ce pliki
21847 tfm powinny dzia³aæ (przebrnij przez katalog
21849 .../texmf/fonts/tfm
21851 aby sprawdziæ mo¿liwo¶ci).
21852 Moim osobistym faworytem jest
21856 , ozdobna czcionka niemiecka specjalnie zaprojektowana do inicja³ów.
21857 Czwartym argumentem jest litera lub litery, które maj± byæ inicja³em.
21860 \begin_layout Standard
21866 \begin_layout Standard
21880 \begin_layout Standard
21884 Aby zobaczyæ wynik pracy pakietu
21888 to nale¿y wykonaæ czynno¶ci podobne jak poprzednio, jedynie w preambule
21893 usepackage{dropping}
21902 tak¿e oferuje polecenie
21908 o identycznej sk³adni jak w pakiecie
21912 , a tak¿e trochê uproszczone polecenie
21918 trzech argumentach.
21919 Pierwszy -- opcjonalny -- okre¶la odleg³o¶æ od lewego marginesu -- domy¶lnie
21921 Drugi zawiera wysoko¶æ inicja³u podawan± w wierszach.
21922 Trzecim argumentem jest litera lub litery, które maj± byæ inicja³em.
21925 \begin_layout Section
21927 Niestandardowe kszta³ty akapitów
21930 \begin_layout Standard
21937 \begin_layout Standard
21940 \begin_inset VSpace bigskip
21947 \begin_layout Standard
21953 \begin_layout Standard
21959 \begin_layout Standard
21963 \begin_layout Standard
21971 \begin_layout Standard
21984 \begin_layout Standard
21990 \begin_layout Standard
22000 \begin_layout Standard
22008 \begin_layout Standard
22016 \begin_layout Standard
22024 \begin_layout Standard
22032 \begin_layout Standard
22040 \begin_layout Standard
22048 \begin_layout Standard
22056 \begin_layout Standard
22064 \begin_layout Standard
22072 \begin_layout Standard
22080 \begin_layout Standard
22088 \begin_layout Standard
22096 \begin_layout Standard
22104 \begin_layout Standard
22112 \begin_layout Standard
22120 \begin_layout Standard
22128 \begin_layout Standard
22136 \begin_layout Standard
22144 \begin_layout Standard
22152 \begin_layout Standard
22160 \begin_layout Standard
22168 \begin_layout Standard
22176 \begin_layout Standard
22184 \begin_layout Standard
22192 \begin_layout Standard
22198 Oto nadszed³ czas, w\InsetSpace ~
22199 którym musimy obaliæ tyraniê prostok±tnych akapitów.
22200 W tej sytuacji, wywo³amy do tego radosne polecenie plain TeX-a
22207 Jak mo¿esz zobaczyæ, w pe³ni dowolny kszta³t mo¿e byæ osi±gniêty przez
22208 odpowiednie ustawienie definicji d³ugo¶ci wiersza.
22209 Ten kszta³t akapitu mo¿e wygl±daæ trochê idiotycznie, chyba ¿e wyobrazimy
22210 sobie sytuacjê tak± jak dok³adnie ustawione inicja³y, oblane tekstem rysunki
22211 o nieregularnym kszta³cie itp.
22212 daj±ce wra¿enie rêcznej pracy.
22216 \begin_layout Standard
22219 \begin_inset VSpace bigskip
22225 \begin_layout Standard
22231 parshape numlines #1indent #1length #2indent #2length \SpecialChar \ldots{}
22238 okre¶la liczbê wierszy tekstu która definiuje akapit.
22239 Je¶li liczba wierszy bêdzie mniejsza od za³o¿onej, to kszta³t zostanie
22241 Je¶li za¶ wierszy bêdzie wiêcej ni¿ za³o¿ono, to kolejne nadmiarowe wiersze
22242 zachowaj± parametry ostatniego definiowanego wiersza.
22251 okre¶laj± odstêp wiersza od lewego marginesu i d³ugo¶æ wiersza mierzone
22253 Kszta³t dotyczy tylko bie¿±cego akapitu, nastêpny akapit jest formatowany
22257 \begin_layout Standard
22263 \begin_layout Standard
22274 \begin_layout Section
22279 \begin_layout Standard
22281 Jak mo¿na zobaczyæ, przyk³ady w tym rozdziale zaczynaj± siê od u¿ytecznych
22283 Nie spodziewam siê aby kto¶ potrzebowa³ kszta³tu akapitu jak ostatnim rozdziale
22284 , ale wa¿ne jest to ¿e mo¿esz zrobiæ prawie wszystko co chcesz w LyX-ie
22285 je¶li bêdziesz mia³ ochotê wyobraziæ sobie jak to zrobiæ w TeX-u i LaTeX-u.
22288 \begin_layout Standard
22290 TeX jest fantastycznym systemem sk³adu i jego mo¿liwo¶ci s± dostêpne dla
22291 Ciebie przez LyX-a wykorzystuj±cego go w tle.
22295 \begin_layout Standard