1 #LyX 1.5.0svn 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 \font_typewriter default
17 \font_default_family default
23 \paperfontsize default
31 \paperorientation portrait
34 \paragraph_separation indent
36 \quotes_language german
39 \paperpagestyle default
40 \tracking_changes false
48 LyX -- Zaawansowane możliwości
56 \begin_layout Standard
58 Opiekunem tego pliku jest aktualnie
63 Proszę wysyłać komentarze i poprawki błędów na podany adres.
76 \begin_layout Standard
78 Opiekunem wersji polskiej tego pliku jest aktualnie
83 Proszę wysyłać komentarze i poprawki błędów na podany adres.
88 przy współpracy Pawła Dziekońskiego
95 \begin_layout Standard
107 \begin_layout Standard
108 \begin_inset LatexCommand tableofcontents
115 \begin_layout Chapter
119 \begin_layout Standard
124 , który właśnie czytasz jest właściwie drugą częścią
126 Podręcznika Użytkownika
129 Powód podziału jest prosty:
131 Podręcznik Użytkownika
133 jest już dość obszerny i zawiera opis wszystkich podstawowych funkcji,
134 które trzeba poznać do przygotowania większości dokumentów.
137 \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
151 Ten podręcznik dokumentuje także kilka funkcji specjalnych, jak faksowanie,
152 kontrola wersji, obsługa SGML-u, które wymagają dodatkowego oprogramowania
154 Ostatni rozdział traktuje o narzędziach i sposobach LaTeX-a, które można
155 zastosować do wykończenia Twoich dokumentów używając funkcji LaTeX-a.
156 Poza tym LyX jest tylko edytorem WYSIWYM i będzie zawsze tylko interfejsem
157 do pewnych funkcji LaTeX-a.
158 Oczywiście, z udokumentowanymi wszystkimi funkcjami.
161 \begin_layout Standard
162 Jeśli nie przeczytałeś jeszcze wprowadzenia, to właśnie czytasz niewłaściwy
164 Wprowadzenie jest pierwszym miejscem, od którego powinieneś zacząć.
165 Opisuje on notację i format wszystkich podręczników.
166 Powinieneś gruntownie zaznajomić się z
168 Podręcznikiem Użytkownika
170 i wszystkimi podstawowymi funkcjami LyX-a.
173 \begin_layout Standard
174 Wiele rozdziałów w tym dokumencie jest niezależnymi artykułami napisanymi
175 przez pojedyncze osoby i są one odpowiednio zaznaczone.
176 Tymi osobami są generalnie ci, którzy napisali nowy plik układu (layout)
177 dla nowej klasy dokumentu lub pakietu LaTeX-a, lub zaimplementowali jakąś
179 Jeśli nie wspomniano o autorze w rozdziale lub sekcji to znaczy, że został
180 napisany przez LyX Documentation Team.
183 \begin_layout Standard
184 Pierwszy rozdział stanowi suplement do narzędzi edycyjnych LyX-a, nie ujętych
187 Podręczniku Użytkownika
189 i przeznaczony jest dla bardziej zaawansowanych użytkowników.
192 \begin_layout Standard
193 Wszystkie rozdziały tego podręcznika są w różnym stopniu, ale jednak, opisują
194 współpracę LyX-a i LaTeX-a, pierwszy rozdział opisuje wewnętrzną pracę
195 LyX-a, jak prosto LyX tworzy kod LaTeX-a jeśli chcesz.
196 To jest oczywiste dla wielu użytkowników LyX-a.
199 \begin_layout Chapter
203 \begin_layout Section
204 Jak LyX używa LaTeX-a
207 \begin_layout Standard
208 \begin_inset LatexCommand label
209 name "sec:lyxandlatex"
213 To jest rozdział dla TeX-ników i dla ciekawych LaTeX-a.
214 Wyjaśnimy w nim jak pracują LyX i LaTeX tworząc wynikowe dokumenty do druku.
215 Tylko w tym miejscu i tylko w tym podręczniku zakładamy Twoją znajomość
219 \begin_layout Standard
220 Od jakiegoś czasu LyX-a nazywamy ,,WYSIWYM frontendem do LaTeX'', ale to
221 nie jest dalej prawdą.
222 Istnieją również inne frontendy do LaTeX-a.
223 To są generalnie edytory potrafiące uruchomić LaTeX-a i zaznaczać błędy
233 uruchomić LaTeX-a, i również zaznaczać błędy, i także wiele, wiele więcej.
234 Dzięki koncepcji WYSIWYM
238 \begin_layout Standard
239 What You See Is What You Mean -- dostajesz to o co Ci chodzi
244 , nie musisz znać LaTeX-a aby efektywnie używać LyX-a.
245 LyX posiada także kilka rozszerzeń do LaTeX-a
249 \begin_layout Standard
250 The Team did this for parsing/coding reasons.
251 The new macros allow LyX to more easily produce LaTeX code and ensure that
252 the resulting code is correct.
253 Nothing that you, the user, need worry about.
259 Spróbuj kiedyś wybrać polecenie
261 Eksportuj\SpecialChar \menuseparator
271 i spójrz na preambułę utworzonego pliku
276 Będziesz mógł zauważyć różne nowe makra zdefiniowane specjalnie przez LyX-a
280 \begin_layout Standard
281 Trochę historii: kiedyś wszystkie makra znajdowały się w pliku
286 Pewnego dnia The Team zdecydował, że utworzone pliki
290 powinny być bardziej przenośne.
291 Tak teraz makra są umieszczone w preambule.
297 Jednak to wszystko dzieje się przeźroczyście dla użytkownika.
300 \begin_layout Standard
301 Mamy kilka poleceń, które automatycznie wywołują LaTeX-a.
305 \begin_layout Itemize
308 Podgląd\SpecialChar \menuseparator
312 \begin_layout Itemize
315 Podgląd\SpecialChar \menuseparator
319 \begin_layout Itemize
322 Podgląd\SpecialChar \menuseparator
323 Aktualizuj\SpecialChar \menuseparator
327 \begin_layout Itemize
330 Podgląd\SpecialChar \menuseparator
331 Aktualizuj\SpecialChar \menuseparator
335 \begin_layout Itemize
338 Plik\SpecialChar \menuseparator
342 \begin_layout Standard
343 Tylko te polecenia wywołują LaTeX-a jeśli dokument się zmienił od czasu
344 ostatniego uruchomienia LaTeX-a
347 \begin_layout Standard
348 Podczas uruchomienia LaTeX-a podczas edycji pliku, LyX wykonuje następujące
352 \begin_layout Enumerate
357 do LaTeX-a i zapisuje plik z rozszerzeniem
364 \begin_layout Enumerate
365 Uruchamia LaTeX-a z plikiem
369 (być może kilka razy).
372 \begin_layout Enumerate
373 Jeśli są błędy , to zaznacza je w dokumencie.
376 \begin_layout Standard
377 Jeśli uruchamiasz LaTeX-a poleceniem podglądu
390 Jeśli użyłeś polecenia podglądu
401 , LyX wykonuje dwa kroki więcej:
404 \begin_layout Itemize
409 do konwersji pliku Dvi do pliku postscriptowego:
413 \begin_layout Itemize
418 , plik wyjściowy ma rozszerzenie
423 \begin_layout Itemize
431 , plik wyjściowy ma rozszerzenie
435 , jak można było się spodziewać.
439 \begin_layout Itemize
444 lub wysyła plik postscriptowy do drukarki.
447 \begin_layout Section
448 ,,Pomocy! LyX utworzył nieczytelny plik
455 \begin_layout Standard
456 Użytkownicy LaTeX-a będą krzyczeć to przez całą noc, gdy deklaracje LyX-a
457 są nie do wykorzystania --- oni po prostu nie czytali dokumentacji do LyX-a
462 \begin_layout Standard
467 : I know a certain faculty member who actually did complain to me that LyX
468 doesn't generate LaTeX files.
469 Ain't it funny how, sometimes, faculty are the worst at reading instructions?
477 \begin_layout Standard
478 Należy postawić sprawę jasno.
479 LyX produkuje dwa rodzaje plików LaTeX-owych.
480 Jedne są czytelne dla ludzi.
481 Inne są czytelne dla LyX-a.
482 Za każdym wywołaniem LaTeX-a przez LyX-a, tworzy on plik LaTeX-a, który
483 może być łatwo skanowany w celu poszukiwania błędów.
488 nie jest czytelny dla ludzi.
489 Nie próbuj go czytać.
490 Jeśli chcesz mieć plik
494 aby móc wysłać go koledze, to wybierz polecenie
496 Eksportuj\SpecialChar \menuseparator
509 \begin_layout Standard
510 Powtórzymy to jeszcze raz, specjalnie dla podkreślenia :
513 \begin_layout Standard
514 \begin_inset VSpace 0.23cm
525 móc wysłać koledze, to wybierz polecenie
527 Eksportuj\SpecialChar \menuseparator
540 \begin_layout Standard
541 \begin_inset VSpace 0.23cm
547 \begin_layout Section
548 Importowanie plików LaTeX-a do LyX-a
551 \begin_layout Standard
552 Możesz importować pliki LaTeX-a do LyX-a za pomocą polecenia
557 lik\SpecialChar \menuseparator
558 Importuj\SpecialChar \menuseparator
566 Polecenie wywołuje skrypt Perl-a o nazwie
570 , który na podstawie pliku
578 i otworzy go w LyX-ie.
579 Jeśli import nie powiedzie się, możesz spróbować uruchomić skrypt
587 \begin_layout Standard
588 Podczas instalacji LyX-a, oddzielny plik wykonywalny o nazwie
592 jest umieszczany w tym samym katalogu z binariami co program
605 wymaga interpretera języka Perl (wersja 5.002 jak to napisano).
610 z odpowiednimi parametrami.
613 \begin_layout Standard
618 tłumaczy większość konstrukcji LaTeX-a, ale nie wszystkie.
619 Pozostawi rzeczy, których nie rozumie w trybie TeX, abyś po konwersji mógł
620 spojrzeć na zaznaczony na czerwono tekst i ręcznie go poprawić.
623 \begin_layout Standard
628 ma własną sekcję w podręczniku
630 Zaawansowane Możliwości
632 (a także odpowiednik w postaci Unix-owego mana), którą powinieneś przeczytać,
633 aby dowiedzieć się czego nie interpretuje
637 , błędach (oraz jak sobie z nimi poradzić) i użyciu różnych opcji.
640 \begin_layout Standard
641 Jeśli nie możesz użyć do pracy
645 lub jeśli chcesz wstawić trochę kodu LaTeX-a do pliku LyX-a, to zajrzyj
647 \begin_inset LatexCommand ref
648 reference "sec:latexcodes"
655 \begin_layout Section
656 Wstawianie poleceń LaTeX-a do dokumentów LyX-a
659 \begin_layout Standard
660 \begin_inset LatexCommand label
661 name "sec:latexcodes"
665 To jest raczej ważny punkt: możesz zawsze wstawić kod LaTeX-a do dowolnego
667 LyX po prostu nie może i prawdopodobnie nigdy nie będzie mógł wyświetlić
668 wszystkich możliwych konstrukcji LaTeX.
669 Jeśli potrzebujesz wstawić polecenie LaTeX-a do dokumentu LyX-a, to użyj
670 wstawki ERT, którą możesz wstawić do dokumentu poleceniem
675 staw\SpecialChar \menuseparator
683 Wstawka ERT może występować w trzech formach:
696 Pierwsze dwie formy są podobne do innych rozwijalnych wstawek (takich jak
698 wstawka przypisu) i są wygodne do zaznaczenia poleceń LaTeX-a.
703 wstawki wyświetla jej zawartość, co jest wygodne dla krótkich fragmentów
709 \begin_layout Standard
719 \begin_layout Standard
720 Możesz przełączać się pomiędzy tymi formami przez kliknięcie prawym klawiszem
722 Uwaga jeśli chcesz więcej niż jeden wiersz poleceń LaTeX-a, to nie możesz
730 \begin_layout Standard
731 Tutaj jest przykład wstawienia poleceń LaTeX-a w dokumencie LyX-a.
735 \begin_layout LyX-Code
744 This is an example for a minipage environment.
747 can put nearly everything in it, even (non-floating)
790 \begin_layout Standard
791 Wstawka ERT zawierająca powyższy tekst jest umieszczona bezpośrednio po
793 Jeśli czytasz ten podręcznik w LyX-ie, to zobaczysz tylko przycisk z czerwonym
795 Czytając drukowaną wersję tego podręcznika zobaczysz rezultaty:
798 \begin_layout Standard
802 \begin_layout Standard
809 \begin_layout Standard
816 \begin_layout Standard
818 This is an example for a minipage environment.
819 You can put nearly everything in it, even (non-floating) figures and tables.
823 \begin_layout Standard
830 \begin_layout Standard
835 \begin_layout Standard
842 \begin_layout Standard
849 \begin_layout Standard
856 \begin_layout Standard
862 \begin_layout Standard
869 \begin_layout Standard
876 \begin_layout Standard
883 \begin_layout Standard
895 \begin_layout Standard
896 Ponadto możesz utworzyć oddzielny plik zawierający skomplikowaną strukturę
897 LaTeX-a i dołączyć go poleceniem
902 staw\SpecialChar \menuseparator
909 (powinieneś wybrać opcję
917 Zalecamy abyś dołączał pliki
926 W innym wypadku będziesz miał sporo zajęcia z wyszukiwaniem błędów\SpecialChar \ldots{}
930 \begin_layout Standard
931 Kilka ostatnich uwag o wyróżnieniu:
934 \begin_layout Itemize
935 Wewnątrz LyX-a, kod LaTeX-a pojawia się
942 \begin_layout Itemize
947 sprawdza poprawności Twojego kodu LaTeX-owego,
950 \begin_layout Itemize
951 Staraj się nie odkrywać koła na nowo.
954 \begin_layout Standard
955 Na koniec dwie uwagi.
956 Po pierwsze, LyX posiada niewiele funkcji całkowicie wbudowanych ale będzie
958 Bądź pewien, sprawdzając podręcznik, że danej funkcji LyX nie posiada zanim
959 zaczniesz kodować ją w LaTeX-u
963 \begin_layout Standard
968 -a: I seem to do this an awful lot.
969 Sat down and merrily began coding something to print out labels, only to
970 learn that there were already 2 different LaTeX packages to do this.
971 Worse yet - I had them already!
977 Po drugie istnieje wiele pakietów LaTeX-a począwszy od składu etykiet czy
978 kopert do ładnych wielostronicowych tabel.
979 Przejrzyj archiwum CTAN aby poznać więcej szczegółów (zobacz sekcję
980 \begin_inset LatexCommand ref
988 \begin_layout Standard
989 Jeśli potrzebujesz zrobić trochę dzikich i ładnych rzeczy wewnątrz dokumentu,
990 bądź pewien swoich konstrukcji korzystając z dobrej książki o LaTeX-u.
994 \begin_layout Standard
995 Pewna liczba poleceń LaTeX-a musi być umieszczona przed początkiem tekstu.
996 Powinny one zostać umieszczone w preambule co opisano w następnej sekcji.
999 \begin_layout Section
1000 Preambuła LyX-a i LaTeX-a
1003 \begin_layout Subsection
1007 \begin_layout Standard
1008 \begin_inset LatexCommand label
1013 Jeśli już znasz LaTeX-a, to nie potrzebujesz tutaj wyjaśnienia do czego
1015 Jeśli nie wiesz, to dajemy Ci kilka porad -- zalecamy abyś znów zapoznał
1016 się z książką o LaTeX-u aby poznać więcej informacji.
1017 W innym przypadku powinieneś czytać poniższe sekcje, ponieważ w nich jest
1018 wyjaśnione co możesz zrobić i czego nie musisz zrobić w preambule LyX-owego
1022 \begin_layout Standard
1023 Preambuła LaTeX-a znajduje się na samym początku dokumentu
1031 \begin_layout Itemize
1032 deklaracji klasy dokumentu.
1033 LyX już wykonuje to za Ciebie.
1037 \begin_layout Standard
1038 Jeśli jesteś LaTeX-nikiem i masz już trochę dopasowanych klas dokumentów,
1039 których chcesz używać, to zajrzyj do podręcznika
1043 aby dowiedzieć się jak wykonać do nich interfejs.
1044 Nie zapomnij wysłać swoich osiągnięć do LyX Team-u aby je włączyć do przyszłych
1049 \begin_layout Itemize
1050 deklaracji używanych pakietów.
1051 Pakiety LaTeX-a dostarczają specjalne polecenia, które są dostępne w dokumencie
1052 tylko jeśli zadeklarujemy pakiet w preambule.
1057 wymusza wcinanie wszystkich akapitów.
1058 istnieją pakiety dla etykiet, kopert, marginesów itd.
1061 \begin_layout Itemize
1062 ustawiania liczników, zmiennych, długości i szerokości.
1063 Istnieje kilka liczników LaTeX-a i zmiennych, które
1067 być ustawione globalnie z poziomu preambuły, aby uzyskać żądany efekt [istnieją
1068 inne zmienne, które można ustawiać także wewnątrz dokumentu].
1069 Marginesy są dobrym przykładem czegoś co musi być ustawione w preambule.
1070 Innym przykładem jest format nalepek na listy.
1071 Możesz ustawić je gdziekolwiek, ale najlepszym miejscem do tego jest preambuła.
1074 \begin_layout Itemize
1075 deklaracji definiowanych przez użytkownika poleceń [za pomocą polecenia
1088 ], głównie skrótów dla poleceń LaTeX-a, które występują często w tekście
1090 Mimo to preambuła jest dobrym miejscem na deklaracje poleceń, które
1094 być deklarowane gdziekolwiek indziej [byleby
1098 ich pierwszym użyciem w tekście].
1099 To może być użyteczne jeśli mamy wiele kodu LaTeX-a w dokumencie, który
1100 normalnie nie powinien się zdarzyć.
1103 \begin_layout Standard
1104 LyX dodaje do preambuły własne definicje podczas tworzenia pliku
1109 To czyni dokumenty LaTeX-a utworzone przez LyX-a przenośnymi.
1112 \begin_layout Subsection
1116 \begin_layout Standard
1117 Polecenia, które dodaje LyX do preambuły są zafiksowane i nie możesz ich
1118 zmienić bez samodzielnego patchowania LyX-a.
1119 Możesz jednak dodać własne rzeczy do preambuły.
1120 Możesz to zrobić na dwa sposoby:
1123 \begin_layout Enumerate
1139 Otworzy się wówczas okno, w którym możesz wpisać swoje polecenia.
1143 \begin_layout Standard
1144 Edytor preambuły jest prymitywny, nie spodziewaj się po nim zbyt wiele.
1148 \begin_layout Enumerate
1149 Utwórz w swoim domyślnym szablonie dokumentu (zobacz
1150 \begin_inset LatexCommand ref
1151 reference "sec:setup"
1155 ) odpowiednie wpisy w preambule.
1156 Wówczas tworząc nowy dokument na jego podstawie preambuła będzie już wpisana.
1159 \begin_layout Standard
1160 LyX nie dodaje niczego do Twojej części preambuły.
1161 Zanim dodasz deklaracje do preambuły powinieneś upewnić się, że nie jest
1162 już to wykonane przez LyX-a [czy pamiętasz co mówiliśmy o ponownym wynalezieniu
1166 dokonuj poprawnych wpisów w preambule
1168 -- LyX nie sprawdza jej poprawności.
1171 \begin_layout Subsection
1175 \begin_layout Standard
1176 Tutaj znajduje się kilka przykładów co można dodać do preambuły:
1179 \begin_layout Subsubsection
1180 Przykład #1: Przesunięcie strony
1183 \begin_layout Standard
1184 Istnieją dwie zmienne LaTeX-a do sterowania pozycją strony:
1197 Ich nazwy są samoobjaśniające.
1198 Te zmienne są użyteczne jeśli w tej chwili o etykietach.
1199 Czasami rozmiar medium i obszar medium, na którym będziesz drukować nie
1201 Wówczas mamy polecenia
1216 \begin_layout Standard
1217 Domyślną wartością dla
1229 jest 0 pt, czyli strona nie jest przesunięta.
1232 \begin_layout Standard
1233 Niestety, niektóre sterowniki DVI wydają się zawsze przesuwać stronę.
1234 Nie mamy pomysłu dlaczego lub dlaczego Twój administrator nie poprawił
1236 Jeśli używasz LyX-a w systemie, którego osobiście nie nadzorujesz, a którego
1237 administrator to ,,doofus'', to polecenia
1249 mogą zaoszczędzić Ci dni.
1250 Na przykład Twoje marginesy lewy i górny są zawsze o pół cala zbyt duże.
1251 Należy wówczas dodać do preambuły następujące polecenia:
1254 \begin_layout LyX-Code
1262 \begin_layout LyX-Code
1270 \begin_layout Standard
1271 \SpecialChar \ldots{}
1272 a Twoje marginesy będą teraz poprawne.
1275 \begin_layout Subsubsection
1276 Przykład #2: Etykiety
1279 \begin_layout Standard
1280 Mówiąc etykiety mamy na myśli wydruk etykiet z adresami.
1281 Istnieje miły pakiet, dostępny w najbliższym Ci archiwum CTAN, do wydruku
1287 Twój system może nie mieć go domyślnie zainstalowanego -- zostawiamy Ci
1289 Pewnie będziesz chciał przeczytać dokumentację pakietu -- my nie zrobimy
1291 Jednak poniższym przykładem podpowiadamy Ci jak z niego skorzystać.
1294 \begin_layout Standard
1295 Po pierwsze wybierz klasę dokumentu
1300 Następnie wpisz do preambuły następujące deklaracje:
1303 \begin_layout LyX-Code
1309 \begin_layout LyX-Code
1315 \begin_layout LyX-Code
1321 \begin_layout LyX-Code
1327 \begin_layout LyX-Code
1333 \begin_layout LyX-Code
1339 \begin_layout LyX-Code
1345 \begin_layout Standard
1346 Te ustawienia są odpowiednie dla arkusza etykiet Avery, nr #5360.
1347 Teraz jesteś gotów do wydruku etykiet, ale potrzeba jeszcze wstawić polecenia
1348 LaTeX umieszczając polecenia
1360 wokół każdego tekstu z treścią etykiety.
1361 Ta i inne funkcje pakietu
1365 są wyjaśnione w dokumentacji.
1368 \begin_layout Standard
1369 Być może, że kiedyś, ktoś napisze plik układu LyX-a do obsługi tego pakietu
1371 Być może to będziesz Ty.
1374 \begin_layout Subsubsection
1375 Przykład #3: Wcięcie akapitu
1378 \begin_layout Standard
1379 Amerykanie są wyćwiczeni we wcinaniu pierwszego wiersza
1384 Tak jak wszystkie inne dziwne quirks, większość Amerykanów będzie wyć i
1385 jęczeć dopóki nie będą mieli wcinanych pierwszych wierszy we wszystkich
1390 \begin_layout Standard
1395 : To było napisane przez Amerykanina -- przeze
1399 ! Tak postrzegam moich rodaków.
1400 Nieprzerwanie ja nie lubię tego.
1410 \begin_layout Standard
1421 \begin_layout Standard
1422 Oczywiście takie zachowanie nie jest standardem w typografii.
1423 W książkach wcinana jest tylko pierwszy wiersz akapitu jeśli ten akapit
1424 występuje po poprzednim akapicie.
1425 Ideą wcinania pierwszego wiersza akapitu jest wyróżnienie sąsiadujących
1427 Jeśli jednak nie ma poprzedniego akapitu, np.
1428 pod rysunkiem lub na początku rozdziału czy sekcji, pierwszy akapit nie
1429 będzie wyróżniony wcięciem.
1432 \begin_layout Standard
1433 Jeśli jesteś amerykaninem, to nie przejmuj się takimi ezoterycznymi rzeczami,
1434 po prostu chcesz mieć wcięcia! Dodaj to do preambuły
1438 \begin_layout Standard
1457 automatycznie wcinają wszystkie akapity.
1465 \begin_layout LyX-Code
1468 usepackage{indentfirst}
1471 \begin_layout Standard
1472 Jeśli Twoja dystrybucja TeX-a nie jest podła, to będziesz miał ten pakiet
1473 zainstalowany i wszystkie akapity będą wcinane tak jak na to zasługują.
1476 \begin_layout Subsubsection
1477 Przykład #4: Ten dokument
1480 \begin_layout Standard
1481 Możesz także sprawdzić jaką preambułę posiada ten dokument, aby poznać jakie
1482 zaawansowane rzeczy możesz zrobić.
1483 Ponadto więcej przykładów co można wpisać do preambuły znajdziesz w tym
1487 \begin_layout Section
1488 Błędy LyX-a i LaTeX-a
1491 \begin_layout Standard
1492 Gdy LyX wywołuje LaTeX-a, informuje go aby ignorował wszelkie błędy i przetwarza
1494 Można to wykorzystać do przejrzenia logu przebiegu LaTeX i wykonania post-morte
1496 Jak wspomnieliśmy wcześniej, LyX tworzy dwa rodzaje plików
1500 , jeden z nich jest używany do lokalizacji błędów w dokumencie.
1501 Jeśli pojawi się błąd, to LyX umieści prostokąt ze słowem ,,Błąd'' w odpowiedni
1502 m miejscu w dokumencie
1506 \begin_layout Standard
1507 LyX okazjonalnie nie odgadnie miejsca, w którym zdarzył się błąd.
1508 To się zdarza zwykle przy tabelach, rysunkach, matematyce i preambule.
1514 Zostanie także wyświetlony komunikat informujący o fakcie wystąpienia błędów
1517 \begin_layout Standard
1518 Możesz nawigować pomiędzy błędami za pomocą polecenia
1530 Możesz ,,otwierać'' znaczniki błędów i podejrzeć komunikaty LaTeX-a przez
1531 kliknięcie na znaczniku.
1534 \begin_layout Standard
1535 Wiele osób lubi zobaczyć wprost cały log, który jest dostępny z menu
1540 odgląd\SpecialChar \menuseparator
1548 Istniej kilka powszechnych komunikatów błędów i ostrzeżeń.
1550 Powinieneś zajrzeć do dobrej książki o LaTeX-u dla zapoznania się z pełną
1554 \begin_layout Itemize
1561 \begin_layout Standard
1562 Komunikat zaczynające się tymi słowy jest komunikatem diagnostycznym LaTeX-a.
1563 Otrzymasz podobne ostrzeżenie gdy dodasz lub zmienisz odnośnik lub wpis
1564 bibliografii, wówczas LaTeX komunikuje Ci, że powinien zostać uruchomiony
1568 \begin_layout Standard
1569 Ostrzeżenie można w większości zignorować.
1573 \begin_layout Itemize
1580 \begin_layout Standard
1581 Inny komunikat ostrzegawczy, tym razem o fontach, których LaTeX nie potrafił
1583 Reszta komunikatu często informuje jakich fontów użył LaTeX w zastępstwie.
1586 \begin_layout Standard
1587 Możesz go bezpiecznie zignorować.
1591 \begin_layout Itemize
1600 \begin_layout Standard
1605 dawać takie komunikaty.
1606 Ostrzeżenia dotyczą wierszy, które są zbyt długie i wystają poza prawy
1608 Prawie zawsze jest to niezauważalne na wydruku.
1609 Albo jeden lub dwa znaki przekraczają prawy margines.
1610 LaTeX zdaje się generować co najmniej jeden taki komunikat dla dowolnego
1611 dokumentu jaki napiszesz.
1614 \begin_layout Standard
1615 Możesz ignorować te głupie komunikaty.
1616 Zobaczysz na własne oczy jeśli coś będzie zbyt szerokie, spójrz na wynik
1621 \begin_layout Itemize
1630 \begin_layout Standard
1631 LaTeX komunikuje nam, że zbyt małe wypełnienie wiersza zmusza go do wstawienia
1632 zbyt dużych odstępów między wyrazami.
1636 \begin_layout Standard
1637 Możesz go także zignorować.
1641 \begin_layout Itemize
1656 \begin_layout Standard
1657 Ostrzeżenie o kłopotach z łamaniem stron -- zbyt małych lub zbyt dużych
1658 odstępach pionowych.
1659 Jeszcze raz spójrz na wynik przetwarzania.
1660 Zobaczysz na własne oczy jeśli coś będzie zbyt szerokie.
1664 \begin_layout Itemize
1668 \begin_inset Quotes els
1672 \begin_inset Quotes ers
1679 \begin_layout Standard
1680 Plik ,,Xxxx'' nie jest zainstalowany w systemie.
1681 Ten komunikat pojawia się często, gdy nie zainstalowałeś pakietów użytych
1683 Jeśli nie dotykałeś preambuły lub nie używałeś polecenia
1689 , to znaczy że brakuje jednego z pakietów, które próbuje załadować LyX.
1695 omoc\SpecialChar \menuseparator
1702 aby zobaczyć listę pakietów znanych LyX-owi.
1703 Ten plik jest uaktualniany podczas każdej rekonfiguracji LyX-a (polecenie
1711 \SpecialChar \menuseparator
1716 ) i zawiera informacje, które pakiety zostały wykryte i do czego służą.
1719 \begin_layout Standard
1730 i pakiet nie został zainstalowany, to należy zainstalować go samodzielnie.
1734 \begin_layout Itemize
1737 LaTeX Error: Unknown option
1741 \begin_layout Standard
1742 Błąd pojawia się gdy podano niezdefiniowaną (lub błędną) opcję użytego pakietu.
1743 Sprawdź dokumentację do pakietu.
1747 \begin_layout Itemize
1750 Undefined control sequence
1754 \begin_layout Standard
1755 Jeśli wstawiłeś polecenie LaTeX w dokumencie, ale popełniłeś np.
1756 błąd literowy, to otrzymasz taki właśnie komunikat błędu.
1757 Być może zapomniałeś załadować jakiś pakiet.
1758 W ogólnym przypadku, komunikat błędu zwykle oznacza, że użyłeś niezdefiniowaneg
1763 \begin_layout Standard
1764 Istnieją jeszcze inne komunikaty błędów i ostrzeżeń, a wiele z nich jest
1766 Podane są częstymi komunikatami.
1767 Inne są naprawdę zaszyfrowane.
1768 To są aktualne komunikaty TeX-a i my na prawdę nie mamy klucza jak je odszyfrow
1772 \begin_layout Standard
1773 Oto ogólny tok postępowania jeśli zdarzy się błąd:
1776 \begin_layout Enumerate
1777 Sprawdź poprawność poleceń LaTeX-a wstawionych w dokumencie.
1780 \begin_layout Enumerate
1781 Jeśli nie ma błędów literowych, to sprawdź poprawność ich użycia.
1784 \begin_layout Enumerate
1785 Jeśli dostaniesz pęk znaczników błędów na samym początku dokumentu, to znaczy,
1786 że jest jakiś błąd w preambule.
1787 Zacznij debugować swoją preambułę.
1790 \begin_layout Enumerate
1791 Jeśli nie dodałeś niczego do preambuły i nie wstawiłeś żadnych poleceń LaTeX-a
1792 do dokumentu, to najpierw sprawdź swoją dystrybucję LaTeX.
1793 Sprawdź brakujące pakiety i zainstaluj je.
1796 \begin_layout Enumerate
1797 OK, nie brakuje pakietów.
1798 Czy nie użyłeś jakieś opcji dopasowującej w LyX-ie? Precyzując, czy nie
1799 użyłeś jej niewłaściwie, jak próba ręcznego wstawienia wielu
1811 s? Czy próbowałeś to kludge coś razem z nimi zamiast użyć odpowiednich środowisk
1815 \begin_layout Enumerate
1816 OK, nie użyłeś żadnej opcji dopasowującej, postępujesz zgodnie z zasadami.
1817 Czy próbowałeś przeprowadzić jakiś fantastyczny manewr? Czy zrobiłeś coś
1818 wspaniałego w tabeli czy równaniu, jak wstawienie grafiki do komórki tabeli?
1821 \begin_layout Enumerate
1822 Czy nie masz zbyt długich akapitów tekstu gdzie LaTeX nie może znaleźć miejsca
1823 na przełamanie wiersza? Domyślnie LaTeX jest dokładny w dodawaniu ekstra
1824 odstępów między wyrazami aby przełamać wiersz.
1825 Proponowane jest przerobienie akapitów aby usunąć ten problem.
1826 Jeśli to nie jest możliwe, możesz objąć swój tekst w
1832 aby obniżyć wymagania LaTeX-a przy łamaniu wierszy.
1835 \begin_layout Enumerate
1836 Czy nie przesadziłeś z zagnieżdżaniem? LyX [aktualnie] nie sprawdza czy
1837 nie przekroczyłeś limitu zagnieżdżenia środowiska.
1838 Jeśli zagnieździłeś środowiska aż do 17 poziomu, to może być problem.
1841 \begin_layout Enumerate
1842 Nie otrzymałeś żadnych komunikatów błędów ale wynik źle wygląda.
1843 Jeśli masz tabelę lub rysunek szerszy lub dłuższy od strony, to powinieneś:
1847 \begin_layout Enumerate
1848 przeskalować rysunek do odpowiednich wymiarów,
1851 \begin_layout Enumerate
1852 skrócić tabelę, tak aby pasowała.
1855 \begin_layout Standard
1856 Jeśli dalej jest źle z wynikiem i nie próbowałeś przeprowadzić żadnych wspaniały
1857 ch lub kludge opcji dopasowujących, to my nie wiemy co jest nie tak.
1861 \begin_layout Standard
1862 Jeśli to nie pomoże, to
1866 znalazłeś błąd w LyX-ie\SpecialChar \ldots{}
1870 \begin_layout Chapter
1871 Dodatkowe narzędzia składu dokumentu
1874 \begin_layout Section
1875 Przygotowanie bibliografii za pomocą BibTeX-a
1878 \begin_layout Standard
1885 \begin_layout Standard
1886 Ressler is to blame for all of Chapter 1 except where noted.
1894 \begin_layout Standard
1895 STOP! jeśli wiesz czym jest BibTeX lub masz dobry pomysł na jego zastosowanie
1897 ułożenie swojej własnej bazy bibliograficznej) nie idź, a biegnij do swojego
1898 egzemplarza drugiego wydania Lamporta
1900 LaTeX: A Document Preparation System
1907 W dalszej dyskusji zakładamy, że masz utworzony poprawny plik bibliografii
1908 oraz masz poprawnie ustawione wszystkie odpowiednie zmienne środowiska
1922 ) oraz jeśli jesteś odpowiednio zdesperowany powinieneś utworzyć plik LaTeX-a
1930 \begin_layout Standard
1931 Dla tych, którzy nie znają BibTeX-a, jest to system do tworzenia wielkich
1932 baz Twoich często używanych odnośników do literatury.
1935 \begin_layout Standard
1936 Dla wszystkich przyszłych artykułów, zapisz tylko potrzebne pozycje literatury
1937 do wstawienia do bazy i oznacz odpowiednim kluczem każdy odnośnik.
1938 Nawet jeśli piszesz tylko kilka dokumentów z kilkoma odnośnikami w każdym,
1939 to warto poświęcić Twój czas na sprawdzenie BibTeX-a i zdecydować czy będzie
1940 użyteczny dla Ciebie.
1943 \begin_layout Standard
1944 Aby używać BibTeX-a w LyX-ie należy najpierw zapoznać się
1946 Podręcznikiem Użytkownika
1948 , w którym opisano sposób wstawiania cytowań.
1949 Podstawowy mechanizm wstawiania odnośników BibTeX-a jest taki sam.
1950 Umieść kursor na końcu dokumentu i wybierz
1955 staw\SpecialChar \menuseparator
1960 pisy\SpecialChar \menuseparator
1968 W otwartym oknie dialogowym wypełnij dwa pola:
1971 \begin_layout Description
1973 Danych podaj nazwę pliku
1977 ale BEZ rozszerzenia
1982 Dla wyszukiwania w wielu plikach
1986 należy podać ich nazwy rozdzielając je przecinkiem.
1989 \begin_layout Description
1990 Styl podaj nazwę pliku stylu BibTeX-a BEZ rozszerzenia
1995 Domyślnym stylem jest
2003 \begin_layout Standard
2004 Dostępne są również style zgodne z polskimi zwyczajami typograficznymi o
2028 (który powinien być dołączony do Twojej dystrybucji LaTeX-a, tak że nie
2029 musisz przejmować się utworzeniem go).
2032 \begin_layout Standard
2033 Zakładamy, że dla każdego cytowania źródło znajduje się w pliku
2037 , wywołujemy polecenie
2042 staw\SpecialChar \menuseparator
2049 w odpowiednim miejscu w tekście i wybierz z listy właściwy klucz odnośnika.
2050 Nie potrzeba nic więcej; gdy wywołujemy na przykład polecenie
2055 odgląd\SpecialChar \menuseparator
2062 , powinieneś zobaczyć że BibTeX i LaTeX są wywoływane gdy zachodzi potrzeba,
2063 włączając wielokrotne wywołanie LaTeX-a.
2066 \begin_layout Section
2070 \begin_layout Standard
2071 Dobry indeks jest jedną z najtrudniejszych rzeczy do zrobienia w długim
2073 LyX pomaga wykonać rzeczy trochę prościej za pomocą interfejsu do programu
2080 \begin_layout Standard
2081 Dla dokumentów polskojęzycznych powinien być wywoływany program
2094 , który można znaleźć w dystrybucjach.
2097 \begin_layout Standard
2098 Wstawianie indeksu i zaznaczanie słów do włączenia do indeksu odbywa się
2099 taką samą drogą jak przygotowanie bibliografii opisanej w poprzedniej sekcji.
2102 \begin_layout Standard
2103 Najpierw przejdź na koniec swojego dokumentu i wybierz
2108 staw\SpecialChar \menuseparator
2113 pisy\SpecialChar \menuseparator
2121 Następnie, dla każdego słowa, które chcesz dodać do indeksu, umieść kursor
2122 na końcu tego słowa i wybierz
2127 staw\SpecialChar \menuseparator
2128 Wstaw poprzedzające słowo do indeksu
2131 To spowoduje umieszczenie znacznika pokazującego słowo, które pojawi się
2135 \begin_layout Standard
2136 Jeżeli chcesz dokładnie podać co ma pojawić się w indeksie -- na przykład
2137 potrzebujesz mieć słowo ,,kot'' w indeksie, które będzie odnosiło się do
2138 słów w tekście ,,kot'' i ,,koty'' to po prostu wybierz polecenie
2140 Wstaw\SpecialChar \menuseparator
2143 i wpisz słowo ,,kot'' w oknie dialogowym.
2146 \begin_layout Standard
2148 LyX automatycznie wywoła
2152 i samodzielnie utworzy indeks.
2155 \begin_layout Standard
2156 Bądź ostrożny i nie wstawiaj spacji pomiędzy słowem a znacznikiem indeksu,
2157 ponieważ może się zdarzyć utworzenie niewłaściwego numeru strony w indeksie.
2160 \begin_layout Standard
2161 Powinieneś zdawać sobie sprawę, że istnieją bardziej zaawansowane metody
2166 : spójrz w dokumentację dołączoną do Twojej dystrybucji LaTeX-a i znajdź
2167 jak wykonać zagnieżdżone wpisy itp.
2170 \begin_layout Section
2171 Dokumenty wieloczęściowe
2174 \begin_layout Subsection
2178 \begin_layout Standard
2179 Przy pracy z dużymi plikami zawierającymi wiele sekcji i rozdziałów, często
2180 jest wygodniej podzielić dokument na kilka plików lub być może masz ---
2181 perhaps you have something where a table may change from time to time,
2182 but the preceding text does not.
2183 W takim przypadku powinieneś na serio rozważyć użycie dokumentów wieloczęściowy
2185 Na przykład prace naukowe często składają się z pięciu głównych części:
2186 wprowadzenia, obserwacji, wyników, dyskusji i podsumowania.
2187 Każda z tych części może być zapisana w oddzielnym pliku LyX-a, gdzie jeden
2188 plik będzie dokumentem głównym zawierającym tytuł, autorów, streszczenie,
2190 oraz pięć dołączonych plików dokumentów składowych (podrzędnych).
2191 Należy zwrócić uwagę, że każdy z plików podrzędnych włączanych do dokumentu
2192 głównego stanowi niezależny dokument, który może być formatowany i drukowany
2194 Można dołączać również pliki LaTeX-a, ale pliki te nie mogą posiadać własnej
2195 preambuły (wszystko przed
2207 musi być usunięte) gdyż w przeciwnym wypadku LaTeX zgłosi błąd podczas
2208 przetwarzania dokumentu głównego.
2211 \begin_layout Standard
2212 LyX pozwala łatwo włączać pliki poleceniem z menu
2217 staw\SpecialChar \menuseparator
2225 Po wybraniu polecenia otwiera się okno wyboru dokumentu.
2226 Po wybraniu dokumentu do wstawienia/dołączenia, w bieżącej pozycji kursora
2227 wstawiany jest mały prostokąt.
2228 Kliknięcie na prostokącie wyświetla okno dialogowe dołączania dokumentu.
2229 W tym oknie można wybrać plik do dołączenia i metodę dołączenia.
2230 Wybór pliku powinien być już jasny.
2231 W oknie mamy do wyboru trzy metody dołączania plików; ,,dołącz'', ,,wstaw''
2233 Różnica pomiędzy ,,dołącz'' a ,,wstaw'' jest w pełni jasna tylko dla LaTeX-pert
2235 Praktycznie różnica polega na tym, że pliki ,,dołączane'' zaczynają się
2236 od nowej strony, a pliki ,,wstawiane'' od miejsca wstawienia.
2239 \begin_layout Standard
2240 Generalnie, plik główny jest konwertowany do formatu LaTeX przed składaniem,
2241 podczas gdy dołączane pliki są konwertowane do formatu LaTeX, który nie
2243 Zaznaczenie pola Nie
2247 zabezpiecza przed konwersją.
2250 \begin_layout Standard
2251 Dołączanie plików metodą ,,maszynopis'' pozwala na dołączanie ,,dosłowne''
2252 plików w środowisku verbatim z czcionką o stałej szerokości.
2253 Normalnie spacje w pliku są niewidzialne, dwie kolejne spacje są zachowywane,
2254 inaczej niż standardowo w LyX-ie.
2259 pozwala na zachowanie spacji lub przywraca standardową interpretację spacji
2263 \begin_layout Subsection
2264 Odnośniki pomiędzy plikami
2267 \begin_layout Standard
2268 Jest możliwe ustawienie odnośników pomiędzy różnymi plikami.
2269 Najpierw otwórz wszystkie pliki pomiędzy którymi chcesz wykonać odnośniki,
2270 na przykład dwa pliki A i B, gdzie plik B jest dołączony do pliku A.
2271 Wstawiliśmy etykietę w pliku A i chcemy odnośnik do niej w pliku B.
2272 Będąc w dokumencie A z menu wybieramy
2277 staw \SpecialChar \menuseparator
2285 Teraz przełączamy się na dokument B bez zamykania okna odnośnika.
2286 Wstawiamy odnośnik i już!
2289 \begin_layout Standard
2290 Gdy przeglądasz plik A wszystko jest poprawnie dołączone i etykietowane.
2291 Jeśli zamkniesz okno odnośnika i ponownie otworzysz je w dokumencie B to
2292 zobaczysz tylko etykiety pliku B.
2293 Ta procedura może nie jest intuicyjna (czasami zdarza się błąd) ale działa.
2296 \begin_layout Section
2300 \begin_layout Standard
2303 (z konfiguracji LaTeX)
2306 \begin_layout Standard
2311 jest potrzebny do wydania ,,wstawek algorytmów''.
2312 Jest on użyteczny przy umieszczaniu krótkich algorytmów w miejscu złamania
2313 strony i obsługuje także spis algorytmów.
2316 \begin_layout Section
2320 \begin_layout Standard
2323 (z konfiguracji LaTeX)
2326 \begin_layout Standard
2331 jest używany w LyX-ie podczas wyboru ,,Podrysunek'' w oknie Rysunek.
2332 Kilka rysunków zaznaczonych w ten sposób może być upakowanych w jednej
2333 wstawce w indywidualnymi podpisami.
2336 \begin_layout Section
2337 Ozdobne nagłówki i stopki
2341 \begin_layout Standard
2342 Właściwie powinnyśmy używać nazw:
2360 \begin_layout Standard
2361 Domyślny układ strony jest raczej nieskomplikowany -- plain; dla klasy artykuł
2362 numery stron są wycentrowane u dołu strony.
2363 Ten dokument jest klasy książka (book) i jest trochę bardziej ozdobny,
2364 ale aby rzeczywiście postawić na wygląd potrzebujesz użyć stylu ,,fancy''
2367 Podręczniku Użytkownika
2370 Ta sekcja opisuje polecenia LaTeX-a, które trzeba wstawić w preambule lub
2371 w tekście aby otrzymać żądany efekt.
2374 \begin_layout Standard
2375 Nagłówek i stopka strony są podzielone na trzy pola określające lewą, środkową
2377 Poleceniami LaTeX-a do ustawiania tych pól w najprostszy sposób są
2402 przypuśćmy, że chcesz wstawić swoje nazwisko w lewym górnym narożniku każdej
2404 Po prostu wstaw następujące polecenie w preambule:
2407 \begin_layout Standard
2416 \begin_layout Standard
2417 Zobaczysz w podglądzie swoje nazwisko w lewym górnym narożniku każdej strony.
2418 Jeśli pole ma domyślną wartość, której chcesz się pozbyć (często numer
2419 strony pojawia się w centralnej części stopki) to po prostu wstaw polecenie
2420 z pustym argumentem, jak w przykładzie:
2423 \begin_layout Standard
2431 \begin_layout Standard
2432 Zróbmy rzeczywiście ozdobną stronę: wstawmy w nagłówku po lewej nazwę sekcji
2433 wraz ze słowem ,,Sekcja'' (np.
2434 Sekcja 3) oraz numer strony po prawej (np.
2435 Strona 4), natomiast w stopce po lewej swoje nazwisko i datę po prawej.
2436 Do tego będą nam potrzebne następujące polecenia w preambule:
2439 \begin_layout Standard
2449 \begin_layout Standard
2457 \begin_layout Standard
2467 \begin_layout Standard
2476 \begin_layout Standard
2484 \begin_layout Standard
2494 \begin_layout Standard
2507 dają dostęp do liczników sekcji i stron LaTeX-a, i będą wydrukowane w bieżącej
2508 sekcji i numerze strony.
2515 wydrukuje bieżącą datę.
2518 \begin_layout Standard
2519 Cienką linię oddzielającą nagłówek i stopkę od treści strony możemy także
2521 Jeśli nie chcesz linii w nagłówku to ustal jej grubość na 0.
2522 Domyślną grubością linii nagłówkowej jest 0.4pt, dla linii stopki zaś jest
2524 Możesz użyć polecenia
2530 headrulewidth}{0.4pt}
2538 footrulewidth}{0.4pt}
2540 do ustawiania ich grubości.
2543 \begin_layout Standard
2544 Możesz przełączać i wyłączać ustawienia nagłówków/stopek za pomocą poleceń:
2549 thispagestyle{empty}
2555 thispagestyle{plain}
2561 thispagestyle{fancy}
2564 Po prostu wstaw je w tekście na stronie, którą chcesz zmienić i zaznacz
2566 Strony tytułowe są oznaczone domyślnie jako plain, podczas gdy kolejne
2567 strony są w stylu fancy gdy używasz globalnego ustawienia fancy.
2570 \begin_layout Standard
2571 Istnieje wiele złożonych poleceń, które będą wstawiały rzeczy w lewym górnym
2572 narożniku na stronach nieparzystych itd.
2573 ale po szczegóły odsyłamy Cię do dokumentacji pakietu
2578 Na przykład jeśli masz instalację teTeX-a zobacz
2580 /usr/share/texmf/doc/latex/fancyhdr/fancyhdr.dvi
2585 \begin_layout Standard
2586 Końcowym przykładem jest możliwość wstawienia pliku Encapsulated PostScript
2587 do nagłówka lub stopki.
2588 Pewnie będziesz chciał wstawić logo firmy do lewego dolnego narożnika strony.
2589 Spróbuj wstawić następujące polecenie
2592 \begin_layout Standard
2601 includegraphics{logo.eps}}}
2604 \begin_layout Standard
2606 (będzie potrzebne w preambule polecenie
2610 usepackage{graphics}
2615 \begin_layout Section
2619 \begin_layout Standard
2620 LaTeX dostarcza mechanizmu do tworzenia strony wewnątrz strony, zwanych
2621 ministronami (minipages).
2622 Wewnątrz ministrony są dostępne wszystkie zwykłe reguły wcinania, łamania
2624 LyX także dostarcza tę możliwość.
2627 \begin_layout Standard
2628 Ministrony posiadają własną wstawkę, aby wstawić ministronę wybierz polecenie
2634 staw \SpecialChar \menuseparator
2642 Klikając prawym klawiszem myszy na wstawkę otwiera się okienko, w którym
2643 można ustalić wyrównianie i szerokość ministrony.
2646 \begin_layout Standard
2648 Jeśli ministrona jest zbyt długa aby zmieścić się na stronie, to zostanie
2649 skrócona, a nie wcięta na następnej stronie (nie pojawi się reszta na następnej
2653 \begin_layout Standard
2654 Są dwie dalsze opcje ministron.
2655 Jeśli umieścisz dwie ministrony obok siebie, to można wstawić
2660 staw\SpecialChar \menuseparator
2668 nak specjalny\SpecialChar \menuseparator
2671 do maksymalnego rozsunięcia ich, który wymuszi początek pierwszej ministrony
2672 od lewego marginesu a koniec następnej na prawym marginesie.
2673 Sprawdź tą opcję dla drugiej ministrony, nie dla pierwszej.
2676 \begin_layout Standard
2677 \begin_inset Box Frameless
2686 height_special "totalheight"
2689 \begin_layout Standard
2690 To jest ministrona, która nie używa hfill.
2691 To jest drugie zdanie ministrony, która nie używa hfill.
2699 \begin_layout Standard
2700 \begin_inset Box Frameless
2709 height_special "totalheight"
2712 \begin_layout Standard
2713 To jest druga ministrona, która nie używa hfill.
2714 To jest drugie zdanie drugiej ministrony, która nie używa hfill.
2722 \begin_layout Standard
2723 \begin_inset VSpace medskip
2729 \begin_layout Standard
2730 To jest zwykły tekst, który rozdziela dwa przykłady
2733 \begin_layout Standard
2734 \begin_inset VSpace medskip
2740 \begin_layout Standard
2741 \begin_inset Box Frameless
2750 height_special "totalheight"
2753 \begin_layout Standard
2754 To jest ministrona, która używa hfill.
2755 To jest drugie zdanie ministrony, która używa hfill.
2763 \begin_inset Box Frameless
2772 height_special "totalheight"
2775 \begin_layout Standard
2776 To jest druga ministrona, która używa hfill.
2777 To jest drugie zdanie drugiej ministrony, która używa hfill.
2785 \begin_layout Section
2786 Oblewanie rysunku tekstem
2787 \begin_inset LatexCommand label
2795 \begin_layout Standard
2796 \begin_inset Wrap figure
2801 \begin_layout Standard
2802 \begin_inset Graphics
2803 filename ../mobius.eps
2813 \begin_layout Standard
2814 \begin_inset Caption
2816 \begin_layout Standard
2817 Ten rysunek jest oblany tekstem, a to jest śliczny podpis
2830 \begin_layout Standard
2831 Często zadawanym pytaniem jest pytanie o możliwość ,,oblewania'' rysunków
2832 tekstem w ten sposób, że rysunek zajmuje część kolumny a reszta jest wypełniona
2834 Jeśli masz zainstalowany pakiet LaTeX-a
2838 (jest często włączany do dystrybucji lub dostępny w archiwach CTAN), to
2842 \begin_layout Standard
2843 Obok znajduje się rysunek pętli Moebiusa -- powinieneś go już zobaczyć w
2846 Podręczniku Użytkownika
2849 Aby oblać tekstem rysunek jak ten, nalezy wybrac z menu polecenie
2854 staw\SpecialChar \menuseparator
2862 stawki\SpecialChar \menuseparator
2868 \begin_layout Standard
2869 Uwaga: ten pakiet jest bardzo kruchy
2873 \begin_layout Standard
2874 Kruchy w sensie LaTeX-a.
2882 Dla przykładu, mając rysunek zbyt blisko końca strony będzie zamieszanie
2883 treści powyżej, gdy będziemy mieć dwa rysunki blisko siebie.
2884 Używaj tego pakietu oszczędnie i czytaj dokumentację zawartą w pakiecie.
2887 \begin_layout Standard
2888 Miejmy nadzieję, że w przyszłości LyX będzie obsługiwał te funkcje natywnie.
2891 \begin_layout Section
2895 \begin_layout Standard
2896 Standardowy układ tabel będzie odpowiedni w 99% wszystkich Twoich tabel,
2897 ale w 1% prawdopodobnie będziesz potrzebował tabel specjalnie dostosowanych
2904 kład\SpecialChar \menuseparator
2914 otwiera okno formatowania tabeli.
2923 znajduje się dostęp do kilku poleceń wyrównywania kolumn.
2926 \begin_layout Standard
2927 Teraz krótkie wspomnienie o LaTeX-u: gdy ustawiamy tabelę w LaTeX-u to dla
2928 każdej kolumny deklarujemy typ wyrównania.
2929 Dla przykładu możesz podać ,,
2941 '' dla justowania do lewej, wyśrodkowania i wyrównania kolumny do prawej
2942 (co w LyX-ie objawia się trzema przyciskami
2955 Czwartym typem jest ,,
2959 '', który deklaruje szerokość kolumny (w LyX-ie mamy pole
2963 ) co powoduje automatyczne łamanie wierszy.
2964 Piątym typem jest ,,
2968 '' (vertical bar), który raczej służy do tworzenia pionowych kresek ramek
2969 (w LyX-ie mamy do tego przyciski w polu
2974 Kończąc, istnieje typ ,,
2978 '', który pozwala użyć cokolwiek jako separatora kolumn co jest zamknięte
2979 w towarzyszących nawiasach włączając argument pusty.
2980 Powody robienia tego mogą nie być jasne, ale cechy te mogą być bardzo użyteczne.
2981 Najlepiej to pokazać na przykładach.
2984 \begin_layout Subsection
2985 Usuwanie dodatkowej przestrzeni tabeli
2988 \begin_layout Standard
2989 Tutaj znajduje się standardowa tabela:
2992 \begin_layout Standard
2993 \begin_inset VSpace 0.3cm
2999 \begin_layout Standard
3001 \begin_inset Tabular
3002 <lyxtabular version="3" rows="3" columns="2">
3004 <column alignment="left" valignment="top" width="0pt">
3005 <column alignment="left" valignment="top" leftline="true" width="0pt">
3006 <row bottomline="true">
3007 <cell alignment="left" valignment="top" topline="true" usebox="none">
3010 \begin_layout Standard
3016 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
3019 \begin_layout Standard
3027 <cell alignment="left" valignment="top" topline="true" usebox="none">
3030 \begin_layout Standard
3036 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3039 \begin_layout Standard
3047 <cell alignment="center" valignment="top" topline="true" usebox="none">
3050 \begin_layout Standard
3056 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3059 \begin_layout Standard
3073 \begin_layout Standard
3074 \begin_inset VSpace 0.3cm
3080 \begin_layout Standard
3081 Zwróć uwagę, że poziome kreski wystają troszkę z obu strona poza tekst.
3082 Jeśli chcesz aby linie zaczynały i kończyły się równo z tekstem, to można
3083 wstawić pusty separator na końcu aby zwolnić trochę miejsca dodawanego
3084 domyślnie przez LaTeX-a.
3088 \begin_layout Standard
3089 \begin_inset VSpace 0.3cm
3095 \begin_layout Standard
3097 \begin_inset Tabular
3098 <lyxtabular version="3" rows="3" columns="2">
3100 <column alignment="left" valignment="top" width="0pt" special="@{} l">
3101 <column alignment="left" valignment="top" leftline="true" width="0pt" special="l @{}">
3102 <row bottomline="true">
3103 <cell alignment="left" valignment="top" topline="true" usebox="none">
3106 \begin_layout Standard
3112 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
3115 \begin_layout Standard
3123 <cell alignment="left" valignment="top" topline="true" usebox="none">
3126 \begin_layout Standard
3132 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3135 \begin_layout Standard
3143 <cell alignment="center" valignment="top" topline="true" usebox="none">
3146 \begin_layout Standard
3152 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3155 \begin_layout Standard
3169 \begin_layout Standard
3170 \begin_inset VSpace 0.3cm
3176 \begin_layout Standard
3177 W tym przypadku w polu
3185 dla lewej kolumny wpisano ,,
3189 '', natomiast dla prawej wpisano ,,
3193 '', co wstawia puste znaki na końcach.
3196 \begin_layout Subsection
3197 Zmiana znaku separatora kolumn
3200 \begin_layout Standard
3201 Teraz proponujemy zastosowanie
3202 \begin_inset Formula $\sqrt{\pi}$
3205 z odrobiną miejsca obok jako separatora kolumn tabeli.
3206 Po prostu wyłącz pionowe ramki i wpisz w polu
3212 Kolumna specjalna ,,
3224 \begin_layout Standard
3225 \begin_inset VSpace 0.3cm
3231 \begin_layout Standard
3234 \begin_inset Tabular
3235 <lyxtabular version="3" rows="3" columns="2">
3237 <column alignment="left" valignment="top" width="0pt">
3238 <column alignment="left" valignment="top" width="0pt" special="@{~$\sqrt{\pi}$~}l">
3239 <row bottomline="true">
3240 <cell alignment="left" valignment="top" topline="true" usebox="none">
3243 \begin_layout Standard
3249 <cell alignment="left" valignment="top" topline="true" usebox="none">
3252 \begin_layout Standard
3260 <cell alignment="left" valignment="top" topline="true" usebox="none">
3263 \begin_layout Standard
3269 <cell alignment="center" valignment="top" topline="true" usebox="none">
3272 \begin_layout Standard
3280 <cell alignment="center" valignment="top" topline="true" usebox="none">
3283 \begin_layout Standard
3289 <cell alignment="center" valignment="top" topline="true" usebox="none">
3292 \begin_layout Standard
3306 \begin_layout Standard
3307 \begin_inset VSpace 0.3cm
3313 \begin_layout Subsection
3314 Wyrównanie kolumny według cyfr znaczących
3317 \begin_layout Standard
3318 Proponujemy wyrównanie kolumny według cyfr znaczących.
3319 Standardowym trickiem LaTeX-a jest podzielenie liczby na dwie kolumny;
3320 w lewej -- przeznaczonej dla części całkowitej -- wyrównujemy do prawej
3321 strony, a w prawej -- przeznaczonej dla części ułamkowej -- wyrównujemy
3322 do lewej, natomiast separator kolumn ustawiamy jako pusty.
3326 \begin_layout Standard
3327 \begin_inset VSpace 0.3cm
3333 \begin_layout Standard
3335 \begin_inset Tabular
3336 <lyxtabular version="3" rows="5" columns="3">
3338 <column alignment="center" valignment="top" width="0pt">
3339 <column alignment="right" valignment="top" leftline="true" width="0pt">
3340 <column alignment="center" valignment="top" width="0pt" special="@{} l">
3341 <row bottomline="true">
3342 <cell alignment="center" valignment="top" topline="true" usebox="none">
3345 \begin_layout Standard
3351 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3354 \begin_layout Standard
3360 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3363 \begin_layout Standard
3371 <cell alignment="center" valignment="top" topline="true" usebox="none">
3374 \begin_layout Standard
3375 \begin_inset Formula $\pi$
3383 <cell alignment="right" valignment="top" topline="true" leftline="true" usebox="none">
3386 \begin_layout Standard
3392 <cell alignment="center" valignment="top" topline="true" usebox="none">
3395 \begin_layout Standard
3403 <cell alignment="center" valignment="top" topline="true" usebox="none">
3406 \begin_layout Standard
3407 \begin_inset Formula $\pi^{\pi}$
3415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3418 \begin_layout Standard
3424 <cell alignment="center" valignment="top" topline="true" usebox="none">
3427 \begin_layout Standard
3435 <cell alignment="center" valignment="top" topline="true" usebox="none">
3438 \begin_layout Standard
3439 \begin_inset Formula $(\pi^{\pi})^{\pi}$
3447 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3450 \begin_layout Standard
3456 <cell alignment="center" valignment="top" topline="true" usebox="none">
3459 \begin_layout Standard
3467 <cell alignment="center" valignment="top" topline="true" usebox="none">
3470 \begin_layout Standard
3471 \begin_inset Formula $\pi^{\pi^{\pi}}$
3479 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3482 \begin_layout Standard
3488 <cell alignment="center" valignment="top" topline="true" usebox="none">
3491 \begin_layout Standard
3493 \begin_inset Formula $\times10^{18}$
3509 \begin_layout Standard
3510 \begin_inset VSpace 0.3cm
3516 \begin_layout Standard
3517 Mimo że będzie to wyglądało trochę śmiesznie w LyX-ie, to na wydruku pojawią
3518 się dwukolumnowa tabela, w której prawa kolumna jest wyrównana według cyfr
3519 znaczących, a nagłówek jest wyśrodkowany.
3522 \begin_layout Standard
3523 Myślę, że najlepiej będzie jak opiszę jak to zrobiłem: Najpierw utworzyłem
3524 tabelę 3 x 3 i usunąłem wszystkie ramki.
3525 Następnie dodałem ramki pod nagłówkiem i rozdzielającą pierwszą i drugą
3527 Pierwsza kolumna jest wyśrodkowana.
3528 W drugiej kolumnie wpisałem
3545 , i wyrównałem tę kolumnę do prawej.
3546 W trzeciej kolumnie wpisałem
3557 \begin_inset Formula $\times10^{18}$
3562 oraz ustawiłem wyrównanie
3571 w środkowej kolumnie, podświetliłem je, wyrównałem do prawej.
3575 \begin_layout Subsection
3576 Lepsze rozwiązanie wyrównania według cyfr znaczących
3579 \begin_layout Standard
3580 Alternatywnym rozwiązaniem wyrównania według cyfr znaczących w tabelach
3586 Dodaj następujący tekst do preambuły LaTeX-a:
3589 \begin_layout LyX-Code
3595 \begin_layout LyX-Code
3598 newcolumntype{d}[1]{D{.}{.}{#1}}
3601 \begin_layout Standard
3602 Aby mieć kolumny wyrównane według cyfr znaczących wpisz w polu
3606 w oknie formatu tabeli w zakładce
3613 \begin_layout LyX-Code
3614 d{liczba miejsc dziesiętnych danych}
3617 \begin_layout LyX-Code
3621 [Przykładową tabelę usunięto.
3628 w katalogu examples.]
3631 \begin_layout Standard
3632 Do utworzenia dodatkowego miejsca zwiększ liczbę miejsc dziesiętnych w
3641 dla pojedynczej komórki niewrażliwy na wyrównanie względem cyfr znaczących.
3642 Wadą tej metody jest to, że tryb matematyczny nie jest dopuszczalny w kolumnie
3643 z wyrównaniem względem cyfr znaczących z wyjątkiem jeśli atrybut multicolumn
3647 \begin_layout Standard
3648 Ta metoda oferuje taką samą elastyczność jak pakiet
3653 Możemy, na przykład zmienić separator wyrównania i mamy różne znaki separatorów
3654 dla różnych kolumn przez definicję typów wielokrotnych kolumn w preambule.
3655 Składnia jest następująca:
3658 \begin_layout LyX-Code
3659 D{separator_wej}{separator_wyj}{liczba_miejsc_dzieś}
3662 \begin_layout Standard
3663 Zainteresowanym czytelnikom polecamy dokumentację do pakietu
3670 \begin_layout Section
3671 Wybór znaku wyliczenia
3672 \begin_inset LatexCommand label
3680 \begin_layout Standard
3686 \begin_layout Subsection
3690 \begin_layout Standard
3691 LyX dostarcza 216 znaków dostępnych wprost z menu.
3692 Użycie tego menu daje Ci możliwość łatwego wyboru odpowiedniego znaku dla
3693 każdego poziomu zagnieżdżenia wyliczeń.
3694 Te ustawienia są globalne dla całego dokumentu i nie można ustawić różnych
3695 znaków w różnych akapitach
3699 \begin_layout Standard
3700 Można tego dokonać tylko ręcznie
3708 \begin_layout Subsection
3712 \begin_layout Standard
3718 kład\SpecialChar \menuseparator
3732 W zakładce wyświetlona jest tabela znaków wyliczenia.
3733 Za pomocą przycisków umieszczonych po lewej stronie okna mamy dostęp do
3734 sześciu zestawów znaków.
3735 Przyciski umieszczone w górnej części okna przeznaczone są do wyboru głębokości
3736 zagnieżdżenia wyliczenia.
3737 Tekst pod tabelą zestawu znaków wyświetla nazwę LaTeX-a aktualnie wybranego
3739 Można również w tym miejscu podać własne definicje znaku wyliczenia.
3740 Jeśli zmodyfikujesz domyślne ustawienia to będziesz potrzebował podać potrzebne
3741 pakiety w preambule.
3742 Znaki podzielone są na sześć zestawów ze względu na wymagane pakiety.
3743 Poniższa tabela przedstawia przypisanie zestawów do pakietów LaTeX-a.
3746 \begin_layout Standard
3747 \begin_inset VSpace 0.3cm
3753 \begin_layout Standard
3755 \begin_inset Tabular
3756 <lyxtabular version="3" rows="7" columns="2">
3758 <column alignment="center" valignment="top" leftline="true" width="0pt">
3759 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
3760 <row topline="true" bottomline="true">
3761 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3764 \begin_layout Standard
3770 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3773 \begin_layout Standard
3780 <row topline="true">
3781 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3784 \begin_layout Standard
3792 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3795 \begin_layout Standard
3804 <row topline="true">
3805 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3808 \begin_layout Standard
3816 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3819 \begin_layout Standard
3828 <row topline="true">
3829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3832 \begin_layout Standard
3840 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3843 \begin_layout Standard
3852 <row topline="true">
3853 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3856 \begin_layout Standard
3864 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3867 \begin_layout Standard
3876 <row topline="true">
3877 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3880 \begin_layout Standard
3888 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3891 \begin_layout Standard
3900 <row topline="true" bottomline="true">
3901 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3904 \begin_layout Standard
3912 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3915 \begin_layout Standard
3931 \begin_layout Standard
3932 \begin_inset VSpace 0.3cm
3938 \begin_layout Standard
3939 LyX nie zatrzyma Cię przed użyciem znaku z pakietu którego nie masz.
3940 Jeśli otrzymasz komunikat błędu LaTeX-a podczas próby podglądu lub wydruku
3941 będzie on oznaczał brak wymaganego pakietu.
3942 LyX nie będzie ograniczał użycia przy lokalnej edycji i eksporcie gdziekolwiek.
3945 \begin_layout Subsection
3949 \begin_layout Standard
3950 Wybierz przycisk głębokości wyliczenia i następnie wybierz znak i wielkość.
3951 Zmiana nie będzie widoczna w LyX-ie, ale będzie widoczna w podglądzie dokumentu
3952 przy użyciu xdvi lub ghostview.
3955 \begin_layout Standard
3956 Możesz przywrócić domyślny znak wyliczenia przez kliknięcie prawym klawiszem
3957 myszy na przycisku poziomu wyliczenia.
3960 \begin_layout Standard
3961 Jeśli rzeczywiście chcesz mieć wiele układów akapitów z różnymi zestawami
3962 znaków wyliczenia w każdym musisz wykonać trochę brudnej roboty.
3963 Okno wyboru znaku wyliczenia może pomóc w znalezieniu nazwy LaTeX-owej
3965 Aby zrobić własne akapity musisz mieś następującą opcję:
3968 \begin_layout Standard
3972 \begin_layout Standard
3983 \begin_layout Standard
3987 \begin_layout Standard
4009 \begin_layout Itemize
4010 Użyj polecenia LaTeX-a
4016 do specyfikacji nowego znaku wyliczenia dla zadanej głębokości zagnieżdżenia.
4017 To będzie także potrzebne do zapisu bieżącego znaku i jego późniejszego
4018 ponownego przywołania.
4019 W tym wyliczeniu zostały użyte następujące kody LaTeX-a do zmiany znaku
4020 wyliczenia w pierwszym poziomie.
4048 Uwaga głębokość zagnieżdżenia w poleceniu
4054 jest podawana cyframi rzymskimi (podobnie jak numeracja części).
4057 \begin_layout Itemize
4061 \begin_layout Standard
4074 Podaj dla każdego indywidualnego wiersza wyliczenia kod znaku zamknięty
4075 w nawiasy prostokątne i wpisane w trybie TeX.
4076 Na przykład ten wiersz zaczyna się znakiem
4089 \begin_layout Itemize
4090 Poczekaj na LyX 1.2.
4091 Następne stabilne wydanie LyX-a powinna mieć wbudowaną obsługę definiowania
4092 dla każdego wyliczenia oddzielnego zestawu znaków.
4095 \begin_layout Standard
4099 \begin_layout Standard
4115 \begin_layout Standard
4116 Jeśli będziesz potrzebował przywrócić z powrotem poprzednie globalne ustawienia
4117 znaków to należy wpisać:
4130 \begin_layout Chapter
4131 Specjalne klasy dokumentu
4134 \begin_layout Section
4138 \begin_layout Standard
4144 \begin_layout Standard
4145 \begin_inset VSpace bigskip
4151 \begin_layout Standard
4153 Układ AMS-Math jest zestawem styli zalecanymi dla składu pism matematycznych
4154 przesyłanych do wydawnictwa American Mathematical Society.
4155 Układ nie jest przycięty do specyfiki pisma, ale można to łatwo zrobić.
4156 Powinieneś przejrzeć dokumentację AMS pod kątem specyficznych instrukcji
4157 dla każdego pisma (często wymagana jest tylko zmiana w jednym wierszu).
4158 Dokumentacja AMS jest dostępna w internecie na stronie
4159 \begin_inset LatexCommand url
4160 target "http://www.ams.org"
4165 \begin_inset LatexCommand url
4166 target "ftp://ftp.ams.org/pub/tex/amslatex/"
4171 Te układy są odpowiednie i użyteczne dla zapisu matematyki.
4172 Są aktualnie dostępne różne układy AMS-math:
4175 \begin_layout Enumerate
4176 amsart -- standardowy format artykułu -- AMS article.
4177 Wszystkie równania i wyrażenia są numerowane jako
4178 \begin_inset Formula $(n.m)$
4181 , gdzie pierwsza liczba oznacza sekcję, a druga odpowiada kolejnemu numerowi
4182 środowiska (Theorems, Corollaries, Propositions, Definitions, Remarks,
4184 Istnieje także kilka (ale nie wszystkie) środowisk nienumerowanych, które
4185 są używane okazjonalnie.
4186 Nazwy nienumerowanych środowisk kończą się znakiem gwiazdki (*).
4189 \begin_layout Enumerate
4190 amsart-seq -- tutaj, twierdzenia, definicje itd.
4191 są numerowane kolejno, bez odniesienia do numeru sekcji.
4192 Dostępne są również nienumerowane środowiska (ale nie wszystkie), do okazjonaln
4194 Nazwy nienumerowanych środowisk kończą się znakiem gwiazdki (*).
4197 \begin_layout Enumerate
4198 amsbook - standardowy format książki -- AMS book (prawdziwe monografie).
4199 Numeracja jest podobna jak w układzie amsart, z wyjątkiem numeracji wszystkiego
4201 \begin_inset Formula $(n,m,p)$
4204 , gdzie pierwszy numer odnosi się do numeru rozdziału, drugi do sekcji,
4205 a trzeci jest numerem kolejnym wyrażenia (Theorems, Corollaries, Propositions,
4206 Definitions, Remarks, itd.) w tej sekcji.
4207 Istnieje także kilka (ale nie wszystkie) środowisk nienumerowanych, które
4208 są używane okazjonalnie.
4209 Nazwy nienumerowanych środowisk kończą się znakiem gwiazdki (*).
4212 \begin_layout Standard
4213 Dowolne pliki LyX-a ams-* mogą być konwertowane do schematu przez prostą
4214 zmianę klasy dokumentu w menu
4219 kład\SpecialChar \menuseparator
4229 \begin_layout Subsection
4230 Co daje ten szablon?
4233 \begin_layout Standard
4234 Te układy dostarczają długą listę środowisk.
4235 Najbardziej matematyczne pisma i książki będą korzystać w większości z
4236 tych środowisk, AMS-LaTeX-u sprzyja definiowaniu nieograniczonej liczby
4237 rozmaitych takich deklaracji.
4238 Jednak zalecane przez AMS środowiska są dostępne w LyX-ie.
4239 Oto lista nowych środowisk (nie wyliczamy typowych takich jak
4241 sections, bibliography, title, author, date
4246 \begin_layout Description
4247 Theorem This is typically used for the statements of major results.
4252 '' wyświetlane jest czcionką półgrubą, along with an automatically-determined
4253 number (an unnumbered version,
4257 , is also available).
4258 Tekst jest pochylony.
4261 \begin_layout Description
4262 Corollary This is used for statements which follow fairly directly from
4263 previous statements.
4264 Again, these can be major results.
4272 \begin_layout Description
4273 Lemma These are smaller results needed to prove other statements.
4276 \begin_layout Description
4277 Proposition These are less major results which (hopefully) add to the general
4278 theory being discussed.
4281 \begin_layout Description
4282 Conjecture These are statements provided without justification, which the
4283 author does not know how to prove, but which seem to be true (to the author,
4287 \begin_layout Description
4288 Criterion A required condition.
4291 \begin_layout Description
4292 Algorithm A general procedure to be used.
4295 \begin_layout Description
4296 Axiom This is a property or statement taken as true within the system being
4300 \begin_layout Description
4301 Definition Guess what this is for.
4302 The font, both on-screen and in the output, is different for this environment
4303 than for the previous ones.
4304 The heading (,,definition'') is still set in boldface, along with the number,
4305 if any, but the rest is set upright.
4308 \begin_layout Description
4309 Example Skład jest podobny do Definition.
4312 \begin_layout Description
4316 \begin_layout Description
4320 \begin_layout Description
4324 \begin_layout Description
4325 Remark This environment is also a new type of theorem.
4326 This is set with the word Remark in italics, and the rest upright.
4329 \begin_layout Description
4330 Note Set similarly to the Remark environment.
4333 \begin_layout Description
4337 \begin_layout Description
4341 \begin_layout Description
4345 \begin_layout Description
4349 \begin_layout Description
4350 Case Generally, these are used to break up long arguments, using specific
4351 instances of some condition.
4352 The numbering scheme for cases is on its own, not together with other numbered
4356 \begin_layout Description
4360 \begin_layout Description
4364 \begin_layout Description
4369 '' jest pisane kursywą, but the rest is set upright.
4370 At the end of this environment (other environments can be nested within
4371 this one, of course) a QED symbol (usually a square, but it can vary with
4372 different styles) is placed.
4375 \begin_layout Description
4376 Address Tu powinien być podany stały adres autora.
4379 \begin_layout Description
4380 Current\InsetSpace ~
4381 Address Tu powinien być podany czasowy adres autora, gdy wysyłał
4382 dokument, o ile jest różny od podanego powyżej w Address.
4385 \begin_layout Description
4386 Email Adres e-mail autora
4389 \begin_layout Description
4390 URL Adres strony internetowej autora.
4393 \begin_layout Description
4394 Keywords Słowa kluczowe i frazy używane do identyfikacji specyficznych dyskutowa
4395 nych tematów w prasie.
4398 \begin_layout Description
4399 Subjectclass These refer to the AMS Subject Classifications, published and
4402 Mathematical Reviews
4405 These are also available online at the AMS cites listed above.
4408 \begin_layout Description
4412 \begin_layout Description
4416 \begin_layout Description
4420 \begin_layout Standard
4421 Ponadto, środowiska automatycznie włączają pakiety AMS-LaTeX i czcionki
4422 AMS, które muszą być dostępne w Twoim systemie, aby można było używać tych
4426 \begin_layout Section
4430 \begin_layout Standard
4435 może być użyta do pisania listów zgodnie z niemiecką konwencją.
4436 Dla Ciebie w folderze
4438 .../lyx/share/templates
4440 znajduje się plik przykładowy, aby było łatwiej zacząć.
4443 \begin_layout Section
4447 \begin_layout Standard
4452 jest alternatywą dla standardowej klasy
4457 Daje ona podobną funkcjonalność, ale można preferować w tym układzie bezszeryfo
4458 we tytularia i jeszcze więcej.
4461 \begin_layout Section
4465 \begin_layout Standard
4475 \begin_layout Subsection
4479 \begin_layout Standard
4480 W tej sekcji opisano jak można użyć LyX-a do pisania artykułów do pism naukowych
4483 Astronomy and Astrophysics
4489 przy użyciu klasy dokumentu
4493 z pakietu makr wydawnictwa Springer.
4494 Ten pakiet może być ściągnięty z serwera ftp Springera
4497 \begin_layout Standard
4498 \begin_inset VSpace medskip
4504 \begin_layout Standard
4506 \begin_inset LatexCommand url
4507 target "ftp://ftp.springer.de/pub/tex/latex/aa"
4514 \begin_layout Standard
4515 \begin_inset VSpace medskip
4521 \begin_layout Standard
4522 Instrukcja do A&A Paper jest dostarczana razem z pakietem.
4523 Ten tekst nie ma na celu zastąpienia oryginalnej instrukcji ale jest krótkim
4524 przewodnikiem jak wykorzystać ten format.
4527 \begin_layout Subsection
4531 \begin_layout Standard
4532 Aby zacząć nowy dokument wybieramy z menu
4537 lik\SpecialChar \menuseparator
4552 lik\SpecialChar \menuseparator
4562 \begin_layout Standard
4563 Zalecamy korzystanie z szablonu.
4564 Either create one yourself, or ask the local system administrator to suply
4565 a site-wide version.
4566 Przykładowy szablon jest częścią standardowej dystrybucji LyX-a.
4574 Jeśli nie użyłeś szablonu to zwróć uwagę na następujące ustawienia:
4577 \begin_layout Itemize
4578 Wybierz klasę dokumentu
4596 \begin_layout Itemize
4609 Układ jest zrobiony za pomocą makr i nie powinieneś niczego zmieniać.
4612 \begin_layout Itemize
4613 Możesz chcieć użyć czcionki
4624 , jako sugerowanej przez wydawnictwo Springer dla jednolitego wyglądu tekstu
4628 \begin_layout Subsection
4632 \begin_layout Standard
4633 Pierwszą rzeczą do wprowadzenia jest dane nagłówkowe.
4634 Które zawierają osiem wpisów, z których kilka jest opcjonalnych.
4638 \begin_layout Itemize
4643 : [wymagane] Zobacz podręcznik Springera.
4646 \begin_layout Itemize
4654 \begin_layout Itemize
4662 \begin_layout Itemize
4670 \begin_layout Itemize
4678 \begin_layout Itemize
4683 : [opcjonalne] jeśli jest więcej niż jeden autor, to komu wysłać odbitki.
4686 \begin_layout Itemize
4691 : [opcjonalne] adres e-mail dla kontaktu z autorem.
4694 \begin_layout Itemize
4702 Received: <date> / Accepted <date>
4705 \begin_layout Standard
4706 Nie potrzeba wydawać polecenia
4712 , jest to robione automatycznie przez LyX gdy nagłówek jest zakończony.
4713 Although the order of the single header entries doesn't matter it is advised
4714 to keep the above sequence, just to get the best optics and meets the layout
4715 of the real document.
4718 \begin_layout Standard
4719 Jeśli chcesz umieścić przypis w nagłówku, np.
4720 dla wskazania twojego aktualnego adresu, możesz użyć standardowego przypisu
4726 staw\SpecialChar \menuseparator
4734 LyX w takim przypadku użyje automatycznie określenia
4743 \begin_layout Standard
4744 In addition to these topics, Springer uses two additional LaTeX commands
4745 that have no counterpart in LyX:
4748 \begin_layout Itemize
4755 do oddzielenia różnych nazw takich jak autorzy, instytucje.
4758 \begin_layout Itemize
4765 to mark corresponding author/institute pairs.
4766 The institutes are numbered sequentially as they appear in the
4770 field, so you have to put a marker to each author.
4773 \begin_layout Standard
4774 In both cases, the appropriate command has to be entered in LyX an marked
4779 \begin_layout Subsection
4783 \begin_layout Standard
4784 Streszczenie powinno się znajdować bezpośrednio za nagłówkiem.
4787 \begin_layout Standard
4788 The only special thing about the abstract environment is that it should
4789 contain an entry with the keywords.
4790 This is not yet implemented for LyX, therefore you have to enter the LaTeX
4797 by hand and mark it as LaTeX code.
4798 Zobacz przykładowy artykuł.
4801 \begin_layout Subsection
4802 Obsługiwane środowiska
4805 \begin_layout Standard
4806 Układ A&A paper obsługuje następujące środowiska dla strukturyzacji tekstu:
4809 \begin_layout Itemize
4815 \begin_layout Itemize
4821 \begin_layout Itemize
4827 \begin_layout Itemize
4833 \begin_layout Itemize
4839 \begin_layout Itemize
4845 \begin_layout Itemize
4851 \begin_layout Itemize
4857 \begin_layout Itemize
4863 \begin_layout Itemize
4869 \begin_layout Itemize
4875 \begin_layout Itemize
4881 \begin_layout Subsection
4882 Polecenia nie obsługiwane przez LyX
4885 \begin_layout Standard
4886 Kilka poleceń układu
4890 nie jest jeszcze obsługiwane w LyX-ie.
4891 Kilka zostało już omówionych.
4892 Dla kompletności poniżej są one wszystkie wypisane:
4895 \begin_layout Itemize
4903 \begin_layout Itemize
4911 \begin_layout Itemize
4919 \begin_layout Itemize
4927 \begin_layout Itemize
4935 \begin_layout Itemize
4943 \begin_layout Itemize
4951 \begin_layout Standard
4952 Jeśli chcesz użyć któregoś z tych poleceń, to musisz wpisać je sam.
4953 I nie zapomnij wpisywać je w trybie LaTeX-a!
4956 \begin_layout Subsection
4957 Wstawki -- rysunki i tabele
4960 \begin_layout Standard
4961 LyX obsługuje niezbędne środowiska wstawek
4963 figure, figure*, table
4969 , dlatego nie wspominamy o nich tutaj więcej.
4972 Podręcznika Użytkownika
4975 Pamiętaj, że tabele powinny być wyrównane lewostronnie.
4976 Do tego celu wybierz tabelę i zmień wyrównanie w
4981 kład\SpecialChar \menuseparator
4989 \begin_layout Standard
4990 Jest tylko jedna specjalna rzecz: rysunki z podpisami.
4991 Aby utworzyć takie rysunki musisz wykonać poniższe kroki:
4994 \begin_layout Enumerate
4995 Utwórz szeroką wstawkę:
5000 staw\SpecialChar \menuseparator
5005 stawki\SpecialChar \menuseparator
5015 \begin_layout Enumerate
5016 Wpisz treść podpisu rysunku.
5019 \begin_layout Enumerate
5024 aby przesunąć kursor powyżej podpisu,
5027 \begin_layout Enumerate
5028 Wstaw swój rysunek (eps),
5031 \begin_layout Enumerate
5032 Ustaw kursor za rysunkiem i wstaw odstęp poziomy:
5037 staw\SpecialChar \menuseparator
5047 \SpecialChar \menuseparator
5055 \begin_layout Enumerate
5056 Przełącz się do trybu LaTeX:
5064 \begin_layout Enumerate
5073 Nie zamykaj nawiasu!
5076 \begin_layout Enumerate
5077 Ustaw kursor za podpisem, przełącz się do trybu LaTeX-a i wstaw brakujący
5085 \begin_layout Standard
5086 Zobacz także rysunek w przykładowym artykule.
5089 \begin_layout Subsection
5093 \begin_layout Standard
5094 For submission, the paper has to be formated in a special double-spacing
5096 For this purpose, you have to give the option
5100 to the documentclass.
5101 This must be done using the
5112 Document\InsetSpace ~
5116 Just enter the string
5123 \begin_layout Subsection
5127 \begin_layout Standard
5132 znajduje się plik przykładowy artykuł napisany w LyX-ie.
5133 To jest przykład z oryginalnago pakietu makr Springera przetłumaczonego
5135 Użyj go jako inspirację i porównanie oryginalnego kodu LaTeX-a z LyX-owym
5139 \begin_layout Section
5143 \begin_layout Standard
5149 \begin_layout Subsection
5153 \begin_layout Standard
5154 AASTeX jest zestawem makr wydanych przez American Astronomical Society dla
5155 ułatwienia wysyłania elektronicznych manuskryptów do trzech pism wydawanych
5158 Astrophysical Journal
5160 (włączając Listy i Suplement),
5162 Astronomical Journal
5166 Publications of the Astronomical Society of the Pacific
5169 LyX wymaga co najmniej wersji 5.0 tych makr.
5170 Wersje starsze od 5.0 są przeznaczone dla LaTeX2.09 i są niekompatybilne
5172 Pakiet AASTeX można pobrać z serwera ftp AAS
5175 \begin_layout Standard
5176 \begin_inset VSpace medskip
5182 \begin_layout Standard
5184 \begin_inset LatexCommand url
5185 target "ftp://ftp.aas.org/pubs"
5192 \begin_layout Standard
5193 \begin_inset VSpace medskip
5199 \begin_layout Standard
5200 A complete user guide is contained in that package and you should familiarize
5201 yourself with it thoroughly before embarking on writing a paper in LyX.
5202 LyX will not reduce the need to figure out all the AASTeX commands, it
5203 will only reduce the drudgery of typing everything in.
5204 It is your responsibility to ensure that the final exported LaTeX document
5205 conforms completely to the requirements of the journal to which you are
5206 submitting your paper.
5209 \begin_layout Subsection
5210 Starting a New Paper
5213 \begin_layout Standard
5214 I strongly suggest that you start with the AASTeX template file.
5217 File\SpecialChar \menuseparator
5220 , enter the new file name, then choose the
5225 This will show the most common fields found in a manuscript.
5226 Simply overwrite the existing text (including the brackets,
5230 ) with the correct information.
5231 Many of the AASTeX commands and environments can be implemented directly
5232 in LyX, but some cannot: most noticeably
5244 , which should stick out like a sore thumb if you actually just opened the
5246 For commands such as these, the LaTeX code must be entered directly and
5248 Such commands are referred to as ERT, or Evil Red Text.
5249 I tried to minimize the amount of ERT needed in an AASTeX document, but
5250 there is still more required than any of us would like.
5253 \begin_layout Subsection
5254 Finishing Your Paper
5257 \begin_layout Standard
5258 When the paper is finished to your satisfaction and previews/prints correctly,
5260 \begin_inset Quotes eld
5264 \begin_inset Quotes erd
5267 actions which need to be done before you submit it to the journals.
5270 \begin_layout Enumerate
5271 Export your paper as a LaTeX file (
5273 File\SpecialChar \menuseparator
5274 Export\SpecialChar \menuseparator
5280 \begin_layout Enumerate
5285 file with your favorite text editor
5289 \begin_layout Enumerate
5290 remove the comment lines before the
5299 \begin_layout Enumerate
5304 usepackage...{fontenc}
5306 line if it appears (usually just after
5321 \begin_layout Enumerate
5322 remove everything between (and including) the
5334 commands, except for any commands you specifically put into the LaTeX preamble
5335 (which should appear immediately after the
5336 \begin_inset Quotes eld
5339 User specified LaTeX commands
5340 \begin_inset Quotes erd
5350 \begin_layout Enumerate
5357 commands and replace
5358 \begin_inset Quotes eld
5366 \begin_inset Quotes erd
5369 with the correct, real file name.
5372 \begin_layout Enumerate
5379 commands, if necessary (see section
5380 \begin_inset LatexCommand ref
5389 \begin_layout Enumerate
5390 Run the resulting file through LaTeX to make sure it still processes correctly.
5393 \begin_layout Enumerate
5394 Reread the journal requirements to make sure your filenames and formats
5398 \begin_layout Enumerate
5402 \begin_layout Subsection
5403 Comments On Specific Commands
5406 \begin_layout Standard
5407 I will not describe the detailed usage of the individual AASTeX commands:
5408 the AASTeX User Guide (
5412 ) gives a good description of each.
5413 Thus it's probably easiest for me to go down the list as found in the guide
5414 and offer comments where necessary.
5415 So let's begin \SpecialChar \ldots{}
5419 \begin_layout Subsubsection
5420 Things that work as expected
5423 \begin_layout Standard
5427 \begin_layout Standard
5439 \begin_layout Standard
5440 Because they work as you might expect, I simply list them and the section
5535 begin{thebibliography}
5567 (2.14.4, amongst other places),
5594 \begin_layout Standard
5595 The following style options also work correctly:
5618 Layout\SpecialChar \menuseparator
5624 \begin_layout Standard
5628 \begin_layout Standard
5640 \begin_layout Subsubsection
5641 Things that work, but require more comment
5644 \begin_layout Standard
5645 The following items work, but require a little more discussion:
5648 \begin_layout Itemize
5649 These items are reserved for use by the journal editors, but you can put
5650 them into the LaTeX preamble if you feel compelled to do so:
5683 \begin_layout Itemize
5684 These items may be placed in the LaTeX preamble, and are included as blanks
5685 in the template file:
5706 \begin_layout Itemize
5713 (2.3) -- can only be used
5714 \begin_inset Quotes eld
5718 \begin_inset Quotes erd
5721 , not in the middle of a paragraph.
5722 Use ERT if you need to embed it.
5725 \begin_layout Itemize
5732 (2.3) -- will have extra {} after it.
5733 This should not cause an error.
5736 \begin_layout Itemize
5743 (2.6) -- can only be used
5744 \begin_inset Quotes eld
5748 \begin_inset Quotes erd
5751 , not in the middle of a paragraph.
5752 Use ERT if you need to embed it.
5755 \begin_layout Itemize
5762 (2.8) -- can't insert a cross-reference tag, you must type the tag name
5766 \begin_layout Itemize
5773 (2.8) -- same as for
5780 \begin_layout Itemize
5787 (2.9) -- will have extra {} after it.
5788 This should not cause an error.
5791 \begin_layout Itemize
5798 (2.10) -- will have extra {} after it.
5799 This should not cause an error.
5802 \begin_layout Itemize
5809 (2.13.2) -- you will have to edit the optional argument by hand in the final
5813 \begin_layout Subsubsection
5814 Things not implemented, use ERT
5817 \begin_layout Standard
5821 \begin_layout Standard
5833 \begin_layout Standard
5856 setcounter{equation}
5870 (2.12), Journal name abbreviations (2.12.4),
5906 (2.14.4, insert it as the first element in the lefthand cell after where
5908 Don't use any of LyX's rules in the table),
5920 (2.14.5), most everything in Misc (2.15, except
5959 \begin_layout Standard
5963 \begin_layout Standard
5975 \begin_layout Subsubsection
5976 Things that cannot be implemented
5979 \begin_layout Standard
5980 \SpecialChar \ldots{}
5981 at least in any meaningful sort of way, so I suggest ignoring them.
5982 They are the references environment (2.12.3), and the deluxetable environment
5984 If you really, really need to use deluxetable, I suggest editing it in
5985 a separate file with a text editor, then using
5987 Insert\SpecialChar \menuseparator
5990 to include it in your LyX document.
5995 file to see an example of this.
5998 \begin_layout Subsection
5999 FAQs, Tips, Tricks, and Other Ruminations
6002 \begin_layout Subsubsection
6003 Getting LyX and AASTeX to cooperate
6006 \begin_layout Standard
6007 It can be a bit tricky to get LyX to recognize a new layout and document
6009 When all else fails, do this:
6012 \begin_layout Enumerate
6013 Make certain that LaTeX can find AASTeX.
6014 Copy sample.tex (and perhaps table.tex) from the AASTeX distribution into
6015 a directory completely unrelated to LaTeX or AASTeX and run LaTeX on
6022 \begin_layout Enumerate
6029 /usr/.../share/lyx/layouts
6038 \begin_layout Enumerate
6041 Options\SpecialChar \menuseparator
6044 in LyX, then restart LyX.
6047 \begin_layout Enumerate
6048 Open a regular new file, not from a template.
6049 Does AASTeX appear in
6051 Layout\SpecialChar \menuseparator
6052 Document\SpecialChar \menuseparator
6058 \begin_layout Standard
6059 If you get a warning from an existing AASTeX document about not being able
6060 to find the AASTeX layout or a message about
6061 \begin_inset Quotes eld
6064 You should not mix title layouts with normal ones
6065 \begin_inset Quotes erd
6068 , things haven't been installed correctly.
6071 \begin_layout Subsubsection
6072 LaTeX error processing a table
6075 \begin_layout Standard
6076 LyX, by default, attempts to center the table caption/title.
6077 This seems to produce a bad interaction in AASTeX so you should click somewhere
6078 in the caption/title, then select
6080 Layout\SpecialChar \menuseparator
6092 This took care of it for me.
6095 \begin_layout Subsubsection
6097 \begin_inset LatexCommand label
6105 \begin_layout Standard
6106 A few things: 1) I have noticed some funny spacing in the reference entries
6108 When you enter the bibliography item data, make sure their is
6112 space between the last author and the parenthesis setting off the year;
6125 2) I am really unhappy that I can't make
6137 more automatic, but that would require changes to the LyX source code.
6138 For now you can do one of two things: a) enter all your citations using
6141 Insert\SpecialChar \menuseparator
6144 mechanism; at least you can take advantage of the automatic insertions.
6145 Then edit the exported LaTeX file by hand changing the
6151 entries to the appropriate
6163 commands before you submit it (
6169 is currently equivalent to
6175 , so you wouldn't necessarily have to change those).
6176 Or b) you can simply enter all your citations as ERT using the same key
6177 for the argument that you used in the bibliography popup,
6187 Neither choice is pleasant, but until LyX's citation mechanism understands
6191 , we'll have to put up with it.
6192 3) Entering the references at all is not obvious.
6193 The easiest thing is to start typing your first reference at the end of
6194 the document, then mark it as type
6199 That will put a small gray box in front of what you just typed.
6200 Click on the box to fill in the rest of the information.
6201 For new references, go to the end of an existing reference and press return.
6202 That will create a new line with its own box, etc.
6205 \begin_layout Subsubsection
6206 Włączanie plików EPS
6209 \begin_layout Standard
6210 With all due respect to Chris Biemesderfer and the others who have helped
6211 to write the AASTeX package, the figure handling mechanism smells really
6220 commands as ERT into a Figure Float box, but I never have much luck getting
6222 My advice would be to avoid all EPS inclusions in the manuscript you submit
6223 to the journal, but then use the standard LyX EPS file inclusion mechanism
6224 when you want to make your nicer looking preprints.
6229 usepackage{graphics}
6231 command into the LaTeX preamble and handle the figures in the standard
6233 Anyone who attempts to print your AASTeX 5.0 manuscript must have a LaTeX2e
6234 installation anyway, so why not take advantage of the infinitely better
6235 graphics handling mechanism? If they complain about LaTeX2e or the graphics
6236 package, point out that it appears in the second edition of Lamport (1994),
6237 so it was time to upgrade six years ago.
6240 \begin_layout Subsubsection
6241 Things I could have done, but didn't
6244 \begin_layout Standard
6245 There are a few ,,pretty'' things I could have implemented, but chose not
6247 For instance, I saw no point in double-spacing the text in the LyX window,
6248 even though it is double-spaced in the paper manuscript.
6249 Also, I chose not to make separate layouts for the preprint and preprint2
6251 Since I assume you will spend most of your time in the plain manuscript
6252 mode anyway, I decided not to chew up more disk space with this.
6253 If you feel strongly that I should make such layouts, I will adhere to
6254 the spirit of the rules laid out by the Mudgeeraba Creek Emu-Riding and
6255 Boomerang-Throwing Association:
6258 \begin_layout Quotation
6259 ,,Decisions of the judges will be final unless shouted down by a really
6260 overwhelming majority of the crowd present.
6261 Abusive and obscene language may not be used by contestants when addressing
6262 members of the judging panel, or, conversely, by members of the judging
6263 panel when addressing contestants (unless struck by a boomerang)''.
6266 \begin_layout Subsection
6270 \begin_layout Standard
6271 To mangle the infamous quote by Donald Knuth about a computer algorithm,
6272 ,,I have only proved this to be correct, I have not actually tried it''.
6273 I believe following the above procedures will produce an acceptable AASTeX
6274 document, but as of this update (Jan 25, 2000), I have not yet submitted
6276 Hopefully in the next few months \SpecialChar \ldots{}
6280 \begin_layout Section
6284 \begin_layout Standard
6287 Panayotis Papasotiriou
6290 \begin_layout Subsection
6294 \begin_layout Standard
6295 The ijmpd package is a set of macros that facilitates electronic manuscript
6298 International Journal of Modern Physics D
6300 published by World Scientific.
6301 The name of the document class is
6306 This file, together with instructions for the authors, can be downloaded
6308 \begin_inset LatexCommand url
6309 target "http://www.worldscinet.com/ijmpd/mkt/guidelines.shtml"
6314 The ijmpd package is a modified version of the standard
6315 \begin_inset Quotes eld
6319 \begin_inset Quotes erd
6323 Most of its features are supported by LyX.
6324 I have recently used LyX successfully to write an article submitted to
6327 International Journal of Modern Physics D
6332 \begin_layout Subsection
6336 \begin_layout Standard
6337 As usual, the easiest way to write a paper is to start with a template.
6343 ile\SpecialChar \menuseparator
6358 This will give an (almost) empty document that includes the most common
6359 fields found in a manuscript.
6360 Simply overwrite the existing text (including the brackets,
6364 ) with the correct information.
6365 You should keep in mind the following remarks.
6368 \begin_layout Enumerate
6369 LyX won't let you change the font size and the page style of the document,
6370 because the ijmpd package does not allow such modifications.
6373 \begin_layout Enumerate
6374 The ijmpd package requires that the language of the document should not
6376 Before previewing your paper, be sure that the babel package is not used.
6377 To do this, click on
6382 dit\SpecialChar \menuseparator
6397 tab), then deselect the
6415 , if you wish to make this change permanent).
6418 \begin_layout Enumerate
6419 Two new environments, named
6420 \begin_inset Quotes eld
6424 \begin_inset Quotes erd
6428 \begin_inset Quotes eld
6432 \begin_inset Quotes erd
6435 are available (their use is obvious).
6438 \begin_layout Enumerate
6439 Appendices may be added to the paper.
6440 LyX offers a special environment, called
6441 \begin_inset Quotes eld
6445 \begin_inset Quotes erd
6448 which marks the beginning of the appendix.
6449 An appendix can contain normal sections, subsections, or subsubsections.
6452 \begin_layout Enumerate
6453 The ijmpd package implements table captions quite differently than LyX does.
6454 As a result, a table created by LyX is printed correctly, but its caption
6456 If you need table captions, you should implement the whole table float
6461 file, then include this file to the LyX document (
6466 nsert\SpecialChar \menuseparator
6474 Details on how to create an ijmpd table float can be found in the file
6479 , which is included in the ijmpd package.
6482 \begin_layout Subsection
6483 Preparing a paper for submission
6486 \begin_layout Standard
6487 Before you submit your paper you must export the LyX document as a LaTeX
6493 ile\SpecialChar \menuseparator
6498 xport\SpecialChar \menuseparator
6505 ), then make the following changes to the resulting
6512 \begin_layout Enumerate
6513 Remove the comment lines before the
6522 \begin_layout Enumerate
6523 Remove everything between (and including) the
6535 commands, except for any commands you specifically put into the LaTeX preamble.
6538 \begin_layout Standard
6543 file should be saved and processed through LaTeX as many times as necessary.
6544 You may also want to check the resulting
6551 \begin_layout Subsection
6555 \begin_layout Standard
6556 Użycie wstawek ERT jest opcjonalne i jest zredukowane do trzech poleceń,
6557 which affect the look of the page.
6558 If you started writing your paper by using the
6562 template, the ERT needed is already in its place; you usually don't need
6564 You may only change the first ERT to specify the information printed to
6565 the top of odd and even pages (authors' names and short paper's title,
6567 This ERT must have the form
6571 markboth{Authors' Names}{Short Paper's Title}
6576 \begin_layout Section
6580 \begin_layout Standard
6583 Panayotis Papasotiriou
6586 \begin_layout Subsection
6590 \begin_layout Standard
6591 Pakiet Kluwer jest zestawem makr wydanych przez Kluwer Academic Publishers
6592 aby ułatwić elektroniczną wysyłkę manuskryptów do pism wydawanych przez
6594 Najbardziej znane z nich (at least in my domain of interest), to
6596 Astrophysics and Space Science
6602 , ale istnieje wiele innych (zobacz kompletną listę pod adresem
6603 \begin_inset LatexCommand url
6604 target "http://www.wkap.nl/jrnllist.htm/JRNLHOME"
6609 Pakiet Kluwer można pobrać z serwisu
6610 \begin_inset LatexCommand url
6611 target "http://www.wkap.nl/kaphtml.htm/STYLEFILES"
6616 Kompletna dokumentacja jest zawarta w pakiecie (ale można pobrać ją oddzielnie).
6619 \begin_layout Standard
6620 LyX obsługuje wiele cech pakietu ale nie wszystkie.
6621 Mimo to wstawki ERT są potrzebne do redukcji ,,osobliwych'' poleceń pakietu
6623 \begin_inset LatexCommand ref
6624 reference "subsec:kluwer_peculiarities"
6629 Ja ostatnio napisałem bez żadnych problemów artykuł wysłany do pisma
6631 Astrophysics and Space Science
6636 \begin_layout Subsection
6640 \begin_layout Standard
6641 Najłatwiejszą drogą do napisania nowego artykułu jest skorzystanie z szablonu.
6642 Wybierz polecenie z menu
6644 Plik\SpecialChar \menuseparator
6647 , a następnie wybierz plik szablonu
6652 Otrzymasz wówczas (prawie) pusty dokument, który zawiera większość pól
6653 z manuskryptu z krótkim opisem ich użycia.
6654 I jak w większości szablonów zastąp istniejące teksty (włączając nawiasy
6659 ) poprawnymi informacjami.
6662 \begin_layout Subsection
6663 Przygotowanie artykułu do wysłania
6666 \begin_layout Standard
6667 Podobnie jak przy pakiecie AASTeX przed wysyłką artykułu do wydawnictwa,
6668 artykuł należy przetworzyć, co opisano dalej w kolejnych krokach:
6671 \begin_layout Enumerate
6672 Wyeksportuj artykuł do pliku LaTeX.
6673 Zrób to przez wybór polecenia z menu
6678 lik\SpecialChar \menuseparator
6686 ksportuj\SpecialChar \menuseparator
6700 \begin_layout Enumerate
6701 Wyedytuj uzyskany plik
6705 w edytorze tekstowym dokonując następujących zmian:
6709 \begin_layout Enumerate
6710 usuń wiersze komentarza przed poleceniem
6719 \begin_layout Enumerate
6720 usuń wszystko pomiędzy dyrektywami
6732 włącznie, z wyjątkiem Twoich specyficznych poleceń wstawionych do preambuły.
6735 \begin_layout Standard
6736 Zapisz uzyskany plik
6744 \begin_layout Enumerate
6749 przez LaTeX tyle razy ile potrzeba (zwykle do trzech razy).
6752 \begin_layout Enumerate
6753 Zobacz utworzony plik
6757 korzystając z przeglądarki np.
6762 i sprawdź czy wszystko jest ok (tak powinno być jeśli nie popełniłeś błędów).
6765 \begin_layout Subsection
6766 ,,Osobliwości'' pakietu Kluwer
6767 \begin_inset LatexCommand label
6768 name "subsec:kluwer_peculiarities"
6775 \begin_layout Standard
6776 Pakiet Kluwer posiada następujące ,,osobliwości'':
6779 \begin_layout Enumerate
6780 Jest możliwe pisanie wielu artykułów w tym samym pliku LaTeX-a
6784 \begin_layout Standard
6785 Nie mogę wyobrazić sobie innego dobrego powodu aby to zrobić
6791 Każdy artykuł musi być zawarty w środowisku ,,article''.
6792 Niestety, tego środowiska nie można pominąć, nawet jeśli piszemy tylko
6794 Dlatego każdy artykuł zaczyna się poleceniem
6800 i kończy oczywiście poleceniem
6807 Mimo to można to zaimplementować w LyX-ie, ale ja nie dołączam tego, od
6808 czasu jak to wygląda brzydko i może peszyć nowych użytkowników.
6809 Dlatego Ty potrzebujesz wpisać te polecenia wprost jako kod LaTeX (jako
6813 \begin_layout Enumerate
6814 Informacje podane na początku artykułu (np.: title, subtitle, author, institution
6815 , running title, running author, abstract i keywords) muszą znajdować się
6817 środowisku ,,opening''.
6818 Tego nie zaimplementowano w LyX-ie, tak że Ty musisz umieścić title, subtitle
6820 pomiędzy dwoma wstawkami ERT (
6835 \begin_layout Enumerate
6836 Według podręcznika użytkownika etykieta każdej pozycji bibliografii musi
6860 \begin_layout Standard
6865 zajmuje się tymi wszystkimi ,,osobliwościami'' Jeśli zaczynasz z nowym
6866 artykułem korzystając z tego szablonu, to nie potrzebujesz robić nic specjalneg
6871 \begin_layout Enumerate
6872 nie usuwaj wstawek ERT dołączonych do szablonu i
6875 \begin_layout Enumerate
6876 skopiuj przykładową bibliografię dołączona do szablonu i dostosuj ją przez
6877 dopisanie nowych pozycji.
6880 \begin_layout Section
6884 \begin_layout Standard
6890 \begin_layout Subsection
6894 \begin_layout Standard
6895 LyX-owe klasy dokumentu
6897 article (koma-script)
6901 report (koma-script)
6911 odpowiadają LaTeX-owym klasom odpowiednio
6927 , z rodziny Koma-Script.
6928 Zastępują one standardowe klasy dokumentu odpowiednio
6944 , i są bliższe europejskim konwencjom typograficznym
6947 \begin_layout Itemize
6948 Standardową wielkością czcionki jest 11pt w
6950 article (koma-script)
6954 report (koma-script)
6962 letter (koma-script)
6967 \begin_layout Itemize
6968 Tytularia, etykiety opisu środowisk i kilka elementów klasy
6970 letter (koma-script)
6972 są składane czcionką półgrubą bezszeryfową
6976 \begin_layout Standard
6977 Istnieje duża różnica pomiędzy starymi półgrubymi czcionkami bezszeryfowymi
6978 rodziny cm, a nowymi rodziny ec, szczególnie w wyglądzie tytulariów.
6979 Dla porównania półgruba czcionka bezszeryfowa rodziny ec wygląda na troszkę
6989 pomaga tworzyć ,,zwykły'' wygląd przy użyciu czcionek ec.
6995 Numeracja tytułów rozdziałów jest zrobiona tak samo jak numeracja sekcji,
6996 czyli bez wiersza ,,Rozdział\SpecialChar \ldots{}
6998 Ponadto wygląd tytulariów może być zmieniony za pomocą kilku opcji (w LyX-ie
6999 wprowadza się je w polach
7008 kład\SpecialChar \menuseparator
7018 \begin_layout Itemize
7019 Głównym zamierzeniem projektowania obszaru pisania klas dokumentu Koma-Script
7028 (w LyX-ie wprowadza się je w polach
7037 kład\SpecialChar \menuseparator
7045 Dzięki nim mamy klarowną możliwość zmiany szerokości marginesów jako opcje
7051 kład\SpecialChar \menuseparator
7061 \begin_layout Itemize
7062 Klasy LaTeX-owe rodziny Koma-Script definiują kilka dodatkowych poleceń.
7063 Część z nich, które mają sens w LyX-ie są zaimplementowane w odpowiednich
7067 \begin_layout Standard
7068 Szczegółowy opis (w języku niemieckim) LaTeX-owych klas dokumentu rodziny
7069 Koma-Script można znaleźć w dokumentacji Koma-Script
7075 \begin_layout Standard
7076 Istnieje angielskie tłumaczenie --
7080 , ale nie jest kompletne
7087 Dalsze punkty opisują tylko te aspekty, które są związane z LyX-em.
7090 \begin_layout Subsection
7091 Klasy article (koma-script), report (koma-script) i book (koma-script)
7094 \begin_layout Standard
7097 article (koma-script)
7101 report (koma-script)
7107 są zaimplementowane w plikach układu, odpowiednio:
7120 Zawierają one wszystkie środowiska odpowiednich standardowych klas dokumentu
7133 , częściowo zmienione z wyłączeniem LyX-owego środowiska
7137 , które jest zastąpione przez nowe środowisko
7141 o takiej samej funkcji.
7146 zostało dodane do kilku nowych środowisk, ale nie są one częścią klasy
7149 letter (koma-script)
7154 \begin_layout Itemize
7163 : są odpowiednikami dla
7171 , dodatkowo dają wpis do spisu treści.
7176 nie istnieje w klasie
7178 article (koma-script)
7183 \begin_layout Itemize
7192 : zachowują się dokładnie tak jak
7200 , additionally clearing running heads.
7205 nie istnieje w klasie
7207 article (koma-script)
7212 \begin_layout Itemize
7217 : generuje tytuł tuż nad następnym akapitem w standardowej wielkości czcionki
7218 bez wpływu na strukturę dokumentu.
7221 \begin_layout Standard
7222 Następujące środowiska, razem ze standardowymi:
7234 , tworzą stronę tytułową dokumentu.
7235 Muszą być wstawione na początku pierwszego ,,normalnego'' akapitu
7239 \begin_layout Standard
7240 Odpowiednie polecenia LaTeX muszą pojawić się przed poleceniem
7249 Gdy dane środowisko jest użyte częściej niż jeden raz, to zostanie uwzględnione
7250 tylko ostatnie jego wystąpienie w tekście.
7251 Te dodatkowe środowiska, podobnie jak
7263 , nie wpływają na wygląd tworzonego dokumentu.
7266 \begin_layout Itemize
7271 : tworzy wyśrodkowany akapit powyżej podstawowego tytułu (
7283 ) z tematem dokumentu.
7286 \begin_layout Itemize
7291 : tworzy wyśrodkowany akapit poniżej podstawowego tytułu (
7306 \begin_layout Itemize
7313 report (koma-script)
7319 tworzy wyśrodkowany akapit z dedykacją na oddzielnej stronie za stroną
7320 tytułową, a w klasie
7322 article (koma-script)
7324 tworzy wyśrodkowany akapit z dedykacją poniżej podstawowego tytułu (
7339 \begin_layout Itemize
7344 : tworzy wyrównany do lewej powyżej podstawowego tytułu (
7356 ) dla nagłówka dokumentu.
7359 \begin_layout Itemize
7364 : tworzy w druku dwustronnym w klasach
7366 report (koma-script)
7372 na tyle strony tytułowej u góry wyrównany do lewej akapit, a w przypadku
7373 druku jednostronnego lub klasy
7375 article (koma-script)
7380 \begin_layout Itemize
7385 : tworzy w druku dwustronnym w klasach
7387 report (koma-script)
7393 na tyle strony tytułowej u dołu wyrównany do lewej akapit, a w przypadku
7394 druku jednostronnego lub klasy
7396 article (koma-script)
7401 \begin_layout Itemize
7406 : tworzy specjalną ,,brudną'' stronę na początku dokumentu zawierającą akapit
7407 bez specjalnego formatowania.
7410 \begin_layout Standard
7411 Pliki układu dla klas dokumentu
7413 article (koma-script)
7417 report (koma-script)
7428 Który jest właściwym miejscem do definiowania własnych środowisk.
7433 do swojego osobistego foldera układów i wyedytuj go!
7436 \begin_layout Subsection
7437 Klasa letter (koma-script)
7440 \begin_layout Standard
7444 \begin_layout Standard
7456 \begin_layout Standard
7460 letter (koma-script)
7462 jest zaimplementowana w pliku układu
7467 Zawiera on wszystkie środowiska odpowiadające standardowej klasie
7471 , częściowo zmienione z wyłączeniem LyX-owych środowisk
7487 , które są zastąpione przez nowe środowisko
7491 o takiej samej funkcji.
7492 Ponadto zawiera, w odróżnieniu od standardowej klasy, standardowe środowiska
7510 Dodatkowo jest kilka nowych specyficznych środowisk.
7513 \begin_layout Standard
7517 \begin_layout Standard
7529 \begin_layout Standard
7530 Wygląd listu złożonego w tej klasie dokumentu może być sterowany za pomocą
7531 kilku poleceń LaTeX-a (w LyX-ie można je wprowadzić wybierając z menu
7536 kład\SpecialChar \menuseparator
7547 \begin_layout Standard
7548 Na przykład, standardowy wygląd nagłówka listu zawierający nazwę i adres
7549 jest całkowicie self-willed.
7550 ,,Podstawowy'' nagłówek jest tworzony za pomocą następujących poleceń w
7554 \begin_layout LyX-Code
7564 \begin_layout LyX-Code
7580 \begin_layout LyX-Code
7590 \begin_layout LyX-Code
7610 Dzięki temu autor listu może utworzyć swój własny układ.
7611 Szczegółowy opis (w języku niemieckim) LaTeX-owych klas dokumentu rodziny
7612 Koma-Script można znaleźć w dokumentacji Koma-Script
7619 \begin_layout Standard
7628 definiują początek listu i muszą być użyte w każdym liście.
7629 Dla podkreślenia ich w dokumencie, są zaznaczone literami odpowiednio
7637 na lewym marginesie.
7638 To umożliwia napisanie dowolnej liczby listów w jednym pliku.
7643 tworzy nowy list używając tego samego adresu, a
7664 są podstawowymi środowiskami i mogą być używane wielokrotnie w tym samym
7668 \begin_layout Itemize
7673 : tworzy akapit na adres i definiuje początek listu.
7676 \begin_layout Itemize
7681 : tworzy akapit dla adresu i zaczyna nowy list.
7684 \begin_layout Itemize
7689 : tworzy akapit na tekst zamykający list.
7692 \begin_layout Itemize
7697 : tworzy akapit na Postscriptum.
7700 \begin_layout Itemize
7705 : tworzy akapit na listę rozdzielnika (Do wiadomości).
7708 \begin_layout Itemize
7713 : tworzy akapit dla załączników.
7716 \begin_layout Standard
7757 wyświetlają etykiety, dla ułatwienia wpisywania, których zawartość jest
7758 przetwarzana przez klasę letter (Koma-Script)
7762 \begin_layout Standard
7763 It could be seen as a matter of inconsequence, that the types
7771 described above are not such input types as well.
7772 Because of the special meaning of those types, however, I have implemented
7773 them as ordinary paragraph types with a one letter mark in the left margin.
7774 Moreover, it would affect my feeling of symmetry, if the
7782 type had such a serious different appearance.
7787 Te środowiska muszą być użyte na początku odpowiedniego środowiska
7794 \begin_layout Standard
7795 Implementacja tych środowisk w trybie WYSIWYG nie ma sensu, ponieważ rzeczywisty
7796 wygląd złożonego listu zależy nie tylko od użycia właściwego środowiska,
7797 ale także innych czynników.
7798 Na przykład podpis wprowadzony w środowisku
7802 będzie pojawiał się tylko w liście, w którym użyto środowiska
7807 Zawartość środowiska
7811 standardowo nie będzie pojawiać się przy wszystkich złożonych listach.
7812 Możliwość projektowania wolnych nagłówków listu jest już wspomniana w przypisie
7816 \begin_layout Standard
7817 Środowiska mogą być także używane jako puste akapity.
7828 nie zostało w ogóle użyte, to standardowo jest zastępowane zawartością
7833 , ale jeśli mamy puste środowisko
7837 to nie jest niczym zastępowane.
7840 \begin_layout Standard
7841 Przez użycie środowisk można utworzyć szablon listu, z częściowo wypełnionymi
7842 polami środowisk (np.
7846 \begin_layout Itemize
7851 : nazwa nadawcy, standardowo pojawia się jako wyśrodkowany akapit w nagłówku
7853 Tekst pisany jest dużymi literami.
7856 \begin_layout Itemize
7861 : podpis nadawcy, standardowo pojawia się poniżej treści środowiska
7866 Jeśli nie użyto środowiska
7870 to zamiast niego pojawia się zawartość
7877 \begin_layout Itemize
7882 : adres nadawcy, standardowo pojawia się jako wyśrodkowany akapit w nagłówku
7883 listu, poniżej nazwy nadawcy.
7886 \begin_layout Itemize
7891 : numer telefonu nadawcy, pojawia się tylko, gdy jest włączona zmienna LaTeX
7901 \begin_layout Itemize
7906 : miejsce napisania listu.
7909 \begin_layout Itemize
7914 : data napisania listu.
7923 standardowo składane są w wierszu poniżej pola adresu nadawcy wyrównane
7929 jest puste, to zawartość środowiska
7934 Jeśli nie użyto środowiska
7938 , to domyślnie pobierana jest data składu.
7941 \begin_layout Itemize
7946 : adres zwrotny, standardowo składany jest powyżej adresu docelowego małą
7947 czcionką bezszeryfową.
7950 \begin_layout Itemize
7955 : uwagi dla poczty (np.
7956 do rąk własnych), standardowo pojawiają się pomiędzy adresem zwrotnym a
7957 docelowym, i są podkreślone.
7960 \begin_layout Itemize
7965 : dodatkowa informacja, standardowo pojawia się przy prawym marginesie poniżej
7969 \begin_layout Itemize
7974 : tytuł listu, standardowo pojawia się złożony wielką i półgrubą czcionką
7975 bezszeryfową powyżej tematu listu.
7978 \begin_layout Itemize
7983 : temat listu, standard złożony jest czcionką półgrubą powyżej akapitu
7990 \begin_layout Standard
8011 tworzą listy firmowe przez złożenie zawartości tych środowisk powyżej wiersza
8013 Dla pola daty używana jest zawartość środowiska
8018 Jeśli wykorzystane jest choć jedno ze środowisk ,,biznesowych'', to zawartość
8023 nie jest składana, tylko ustawiana jest zmienna LaTeX
8027 \begin_layout Standard
8041 te środowiska muszą być użyte przed odpowiednim środowiskiem
8048 \begin_layout Itemize
8053 : Wasz znak (Your ref.)
8056 \begin_layout Itemize
8061 : Wasz list (Your letter of.)
8064 \begin_layout Itemize
8069 : Nasz znak (Our ref.)
8072 \begin_layout Itemize
8077 : Klient (Customer no.)
8080 \begin_layout Itemize
8085 : Nr faktury (Invoice no.)
8088 \begin_layout Subsection
8092 \begin_layout Standard
8093 Przedstawienie WYSIWYG w LyX-ie dokumentów w klasie Koma-Script powoduje
8097 \begin_layout Itemize
8098 Numery rozdziałów środowisk
8102 są wyświetlane w wierszu powyżej tytułu rozdziału.
8103 Taki przypadek jest spowodowany wewnętrznym przetwarzaniem przez LyX środowiska
8111 \begin_layout Itemize
8120 są wstawione tylko do ,,prawdziwego'' LaTeX-owego spisu treści, a nie są
8121 wyświetlane LyX-owym spisie treści (
8131 \begin_layout Itemize
8132 Tryb separacji akapitów w dokumencie
8136 wyświetlany jest jako odstęp, a nie wcięcie.
8137 To jest standardowe zachowanie, do tego nie potrzeba żadnego polecenia
8144 kład\SpecialChar \menuseparator
8151 odpowiedni przełącznik wskazuje na załączony tryb
8166 daje efekt po użyciu odpowiedniego polecenia LaTeX-a wstawionego do dokumentu
8167 do wytworzenia odstępu.
8170 \begin_layout Section
8178 \begin_layout Standard
8184 \begin_layout Subsection
8188 \begin_layout Standard
8189 Tutaj opisujemy klasy i pliki układu używanych dla niektórych pism wydawanych
8190 przez wydawnictwo Springer Verlag i wymienionych na stronie
8191 \begin_inset LatexCommand url
8192 target "http://www.springer.de/author/tex/help-journals.html"
8196 , skąd powinieneś móc pobrać pliki klasy (tak, oczywiście teraz dla LaTeX2e!).
8197 To jest modularny system: wspólne części dla wszystkich pism są zaimplementowan
8202 , z którego korzystają specyficzne dla danego pisma pliki układu (np.:
8213 \begin_layout Standard
8214 Oznacza to, że implementacja wsparcia dla innego pisma wydawnictwa Springer
8215 wymaga napisania własnego pliku układu
8231 \begin_layout Standard
8232 Klasa dokumentu LyX-a była testowana tylko dla pisma
8245 są zawarte w standardowej dystrybucji LyX-a.
8246 Zainstaluj pobraną z serwera wydawnictwa Springer odpowiednią klasę LaTeX-ową
8247 w odpowiednim katalogu TeX-a, odśwież bazę pakietów TeX-a (w teTeX-u uruchom
8252 , jako root jeśli jest to niezbędne), zrekonfiguruj LyX-a i powinno już
8256 \begin_layout Subsection
8260 \begin_layout Standard
8261 Duża liczba stylów typu theorem --
8267 \SpecialChar \ldots{}
8273 \begin_layout Standard
8276 Headnote, Dedication, Subtitle, Running_LaTeX_Title, Author_Running, Institute,
8277 Mail, Offprints, Keywords, Acknowledgements, Acknowledgement
8280 Zobacz dokumentację do pakietu aby poznać szczegóły.
8283 \begin_layout Subsection
8287 \begin_layout Itemize
8299 \begin_layout Itemize
8302 Probability Theory and Related Fields
8308 -- Jean-Marc Lasgouttes
8311 \begin_layout Standard
8312 Dodaj własne -- to nie jest trudne!
8315 \begin_layout Subsection
8319 \begin_layout Standard
8320 Te pliki bazują częściowo na starszym pliku układu
8324 , który bazował na starym stylu LaTeX 2.09 z wydawnictwa Springer.
8330 Jean-Marc Lasgouttes bardzo pomógł mi znaleźć drogę implementacji układu
8334 \begin_layout Subsection
8338 \begin_layout Standard
8340 Ale prawdopodobnie mniej niż w starej klasie
8347 \begin_layout Standard
8348 Ograniczenia np.: nie wyświetla numeru środowisk typu theorem, w tej chwili
8352 \begin_layout Section
8360 \begin_layout Standard
8366 \begin_layout Subsection
8370 \begin_layout Standard
8371 These are the layout files for some of the journals of the American Geophysical
8373 It is assumed that you have both the AGU's own class files and AGUplus
8374 installed (everything to be found at
8375 \begin_inset LatexCommand url
8376 target "ftp://ftp.agu.org/journals/latex/journals"
8383 \begin_layout Subsection
8387 \begin_layout Standard
8397 They are still called this in the LyX GUI, though their LaTeX equivalents
8398 in the AGU classes are
8409 \begin_layout Standard
8410 Newly defined styles are
8447 These are mostly manuscript attributes and defined in the AGU class documentati
8451 \begin_layout Standard
8452 I suspect this is still badly incomplete.
8455 \begin_layout Subsection
8459 \begin_layout Standard
8476 \begin_layout Subsection
8480 \begin_layout Itemize
8483 Journal of Geophysical Research
8492 \begin_layout Standard
8493 Add your own, it isn't so hard! Look at the
8504 \begin_layout Section
8512 \begin_layout Standard
8518 \begin_layout Subsection
8522 \begin_layout Standard
8523 This is the layout file for the European Geophysical Society journals.
8528 can be downloaded from the web site of the EGS under
8529 \begin_inset LatexCommand url
8530 target "www.copernicus.org"
8537 \begin_layout Subsection
8541 \begin_layout Standard
8544 Right_address, Latex_Title, Affil, Journal, msnumber, FirstAuthor, Received,
8552 The current layout file is unfortunately very unmodular and would benefit
8553 from using the various
8560 \begin_layout Section
8566 \begin_inset LatexCommand label
8574 \begin_layout Standard
8580 \begin_layout Subsection
8584 \begin_layout Standard
8585 W tej sekcji opisujemy jak użyć LyX-a do przygotowania slajdów do rzutników.
8586 Istnieją dwie klasy dokumentów, które można do tego celu zastosować: domyślnie
8596 W tej sekcji opisano pierwszą z nich.
8599 \begin_layout Standard
8600 Powiem to jeszcze raz, jasno, aby nie buło nieporozumień:
8603 \begin_layout Standard
8604 \begin_inset VSpace bigskip
8610 \begin_layout Standard
8614 Ta sekcja dokumentu opisuje
8625 \begin_layout Standard
8626 \begin_inset VSpace bigskip
8632 \begin_layout Standard
8633 Jeśli szukasz dokumentacji do
8637 '', zajrzyj do sekcji\InsetSpace ~
8639 \begin_inset LatexCommand ref
8640 reference "sec:foiltex"
8653 ''] jest aktualnie trochę lepsza niż domyślnie klasa
8661 \begin_layout Standard
8662 \SpecialChar \ldots{}
8663 lub tak powtarzam za jej adwokatami.
8664 Nigdy jej nie używałem i nie wiem czy to jest prawda czy nie.
8672 \begin_layout Standard
8673 Ta klasa jest ulepszeniem LaTeX2e starego pakietu
8678 Każda dystrybucja LaTeX2e zawiera tę klasę [którą, od teraz, będę nazywał
8683 ''], tak więc jesteś zmuszony ją mieć.
8684 Jak wspomniałem wcześniej istnieją inne klasy, jak np.
8689 , które także tworzą slajdy do rzutnika i wykonują to zadanie lepiej niż
8691 Jednak istnieje kilka rzeczy, które klasa
8695 może zrobić, a inne nie, np.
8696 generowanie overlays.
8697 Czytaj dalej aby dowiedzieć się więcej!
8700 \begin_layout Subsection
8702 \begin_inset LatexCommand label
8703 name "sec:slidesetup"
8710 \begin_layout Standard
8711 Oczywiście, aby użyć tej klasy dokumentu, potrzebujesz wybrać klasę
8727 Jest kilka rzeczy, które powinieneś wiedzieć o tej klasie:
8730 \begin_layout Itemize
8740 Nie są one obsługiwane przez klasę
8747 \begin_layout Itemize
8752 lista styli dostępna w polu
8759 zachowuje się troszkę inaczej dla tej klasy.
8760 Dostępne są nastepujące style:
8764 \begin_layout Description
8769 W prawym dolnym narożniku slajdu umieszony zostanie numer slajdu,
8772 \begin_layout Description
8781 , ale dodatkowo zostana wstawione krzyżyki w rogach folii dla dokładnego
8782 pozycjonowania przy nakładaniu folii jedna na drugą.
8783 To jest styl domyślny.
8786 \begin_layout Description
8791 Nie jest dodawany numer, data ani znaczniki wyrównania.
8795 \begin_layout Itemize
8800 posiada dodatkową opcję:
8805 Aby ją użyć, wpisz ,,
8825 \begin_layout Standard
8826 Użycie tej opcji pozwala dodać znacznik daty do
8831 Zobacz sekcję\InsetSpace ~
8833 \begin_inset LatexCommand ref
8834 reference "sec:slideNote"
8838 aby poznać więcej szczegółów.
8842 \begin_layout Standard
8843 Możesz użyć szablonu ,,
8847 '' aby automatycznie ustawić klasę nowego dokumentu na
8851 [za pomoca polecenia
8856 lik\SpecialChar \menuseparator
8860 aby utworzyć nowy dokument].
8861 Plik szablonu zawiera także kilka przykładów specjalnych środowisk akapitów
8863 Będzie to opisane dalej.
8866 \begin_layout Subsection
8870 \begin_layout Subsubsection
8871 Obsługiwane środowiska
8874 \begin_layout Standard
8875 Pierwszą rzeczą, którą powinieneś zauważyć gdy zaczynasz nowy dokument slajdów
8876 jest rozmiar i typ czcionki: odpowiednio ,,
8880 '' i czcionka bezszeryfowa
8886 This is also what's used in the output.
8888 \begin_inset Quotes eld
8892 \begin_inset Quotes erd
8895 to remind you that this is a slide.
8896 Your final slides will use a larger font; ergo, you'll have less space.
8897 Of course, the larger default screen font isn't WYSIWYG, only a reminder.
8900 \begin_layout Standard
8901 The next thing that becomes obvious is the changes to the paragraph environment
8902 pull-down box [at the far-left end of the toolbar].
8903 Most of the paragraph environments you're used to seeing are missing.
8904 There are also four new ones.
8909 class itself only supports certain paragraph environments:
8912 \begin_layout Itemize
8918 \begin_layout Itemize
8924 \begin_layout Itemize
8930 \begin_layout Itemize
8936 \begin_layout Itemize
8942 \begin_layout Itemize
8948 \begin_layout Itemize
8954 \begin_layout Itemize
8960 \begin_layout Itemize
8966 \begin_layout Itemize
8972 \begin_layout Itemize
8978 \begin_layout Itemize
8984 \begin_layout Standard
8985 Wszystkie inne standardowe środowiska włączając środowiska sekcji nie są
8991 Z drugiej zaś strony zauważysz nowe środowiska:
8995 \begin_layout Standard
8996 In prior versions of this class, there was the mandatory
9000 paragraph environment.
9004 is deprecated; it will convert to a
9009 You should probably remove it.
9019 \begin_layout Itemize
9025 \begin_layout Itemize
9031 \begin_layout Itemize
9037 \begin_layout Itemize
9043 \begin_layout Standard
9044 These five are kind of quirky, due to a
9045 \begin_inset Quotes eld
9049 \begin_inset Quotes erd
9053 You see, LyX doesn't permit you to nest any other paragraph environment
9054 into an empty environment.
9055 Now, that's fine and dandy, but it means that you wouldn't be able to start
9056 a slide with anything except plain text.
9057 To deal with this, I've performed a little
9058 \begin_inset Quotes eld
9062 \begin_inset Quotes erd
9068 \begin_layout Subsubsection
9069 Quirks of the New Environments
9070 \begin_inset LatexCommand label
9071 name "sec:slideQuirk"
9078 \begin_layout Standard
9079 All five of the new paragraph environments are somewhat quirky due to inherent
9080 limitiations in the current version of LyX.
9081 As I just mentioned, LyX forbids environments that begin with another environme
9083 To get around this, the
9087 environment isn't a paragraph environment as described in the
9094 \begin_layout Standard
9107 to be ,,pseudo-environments''.
9108 They look like a section heading or a
9109 \begin_inset Quotes eld
9117 \begin_inset Quotes erd
9120 but really begin a [and, if necessary, end the previous] paragraph environment.
9130 \begin_inset Quotes eld
9134 \begin_inset Quotes erd
9137 These two perform some action.
9140 \begin_layout Standard
9141 A common feature of all five environments,
9161 , is a rather long-ish label.
9162 The text following this label --- ordinarily the contents of the paragraph
9163 environment --- is utterly irrelevant for
9184 LyX completely ignores it.
9185 In fact, you can leave these five environments completely empty.
9188 \begin_layout Standard
9193 to put any text after the rather long-ish label, you might want to.
9194 This could be a short description of the contents of the
9199 In that case, enter in your descriptive comment and hit
9203 as you normally would.
9206 \begin_layout Standard
9207 If, on the other hand, you don't want to enter in any descriptive text,
9208 you'll hit another LyX quirk.
9209 LyX, like nature, abhors a vacuum, and will not let you start a new paragraph
9210 environment until you put something in the old one.
9214 \begin_layout Itemize
9215 Start entering the text that will
9242 \begin_layout Itemize
9243 Now move to the beginning of that paragraph.
9246 \begin_layout Itemize
9254 \begin_layout Itemize
9255 Finally, change this new, empty paragraph to a
9278 \begin_layout Standard
9279 Some future version of LyX will, hopefully, resolve this quirkiness\SpecialChar \ldots{}
9283 \begin_layout Subsection
9284 Tworzenie prezentacji używając
9297 \begin_layout Subsubsection
9303 \begin_layout Standard
9304 If you're expecting this section to teach you how to actually make a presentatio
9305 n, you'll be sorely disappointed.
9306 Naturally, I'll describe all of the ways the
9310 class can assist you in preparing the materials for a presentation.
9311 Filling in the contents, however, is up to you.
9316 the LyX philosophy.]
9319 \begin_layout Standard
9324 environment [in the manner described in section\InsetSpace ~
9326 \begin_inset LatexCommand ref
9327 reference "sec:slideQuirk"
9331 ] tells LyX to begin a new slide [duh].
9332 The label for this environment/
9333 \begin_inset Quotes erd
9337 \begin_inset Quotes erd
9341 \begin_inset Quotes eld
9345 \begin_inset Quotes erd
9348 in cool blue, followed by the label,
9349 \begin_inset Quotes eld
9353 \begin_inset Quotes erd
9357 Any text or paragraph environments that follow this one go on the new slide.
9361 \begin_layout Standard
9362 Slides are probably the only time you'll need to forcibly end pages in LyX.
9363 In fact, you'll want to, once you finish entering the contents of one slide.
9364 If you've entered more text than can physically fit on a slide, the extra
9365 overflows onto a new slide.
9366 I don't recommend doing this, however, since the overflow slide won't have
9367 any page number on it.
9368 Furthermore, it may interfere with any
9372 you've made to accompany the oversized
9379 \begin_layout Standard
9388 environments work the same way as the
9394 \begin_inset Quotes eld
9398 \begin_inset Quotes erd
9401 followed by a label [
9402 \begin_inset Quotes eld
9406 \begin_inset Quotes erd
9410 \begin_inset Quotes eld
9414 \begin_inset Quotes erd
9418 The color is a stunning magenta instead of blue, and the
9419 \begin_inset Quotes eld
9423 \begin_inset Quotes erd
9426 will look different, in style and in length.
9427 The label fonts of all three also differ from one another.
9430 \begin_layout Standard
9435 , if the contents of a
9443 exceed the physical size of a slide or sheet of paper, the extra will overflow
9445 Again, you should avoid this.
9446 It defeats the whole purpose of
9457 \begin_layout Subsubsection
9467 \begin_layout Standard
9472 is a slide that sits atop another slide.
9473 Perhaps you wish to discuss a figure on the main
9477 before displaying the text associated with it.
9478 One way to accomplish this is tape a flap of dark paper over the part of
9483 you want to display later.
9484 This method fails, however, if you wish to overlap one graph with another,
9486 You would then have to fumble while speaking to align the two separate,
9491 s to align the two graphs.
9496 environment in both cases makes life much easier.
9499 \begin_layout Standard
9504 receives the page number of its
9505 \begin_inset Quotes eld
9509 \begin_inset Quotes erd
9517 \begin_inset Quotes eld
9525 \begin_inset Quotes erd
9532 \begin_layout Standard
9533 Presumably, mutliple
9538 \begin_inset Quotes eld
9546 \begin_inset Quotes erd
9550 \begin_inset Quotes eld
9558 \begin_inset Quotes erd
9562 \begin_inset Quotes eld
9570 \begin_inset Quotes erd
9574 appended to the page number of the parent
9591 to each fit on a single physical slide! You should probably consider an
9605 class provides a visual cue for this: the label at the start of an
9609 is shorter than that at the start of a
9614 Lastly, when you generate printable output, you'll find alignment markers
9615 in all four corners of both the
9624 These will assist you in lining up the two physical slides.
9627 \begin_layout Standard
9628 The major problem in overlaying two slides is aligning the contents of the
9630 How much space should you leave for that graph on the second slide? Worse
9631 still, what if you want a graph and a sentence on second slide, but there
9632 is text on the main transparency that goes in between them? You could try
9633 and insert vertical space of the right size.
9634 The better way is to use
9645 \begin_layout Standard
9646 As their names imply,
9654 are two command-like paragraph environments that make all subsequent text
9655 invisible and visible, respectively.
9656 Note from section\InsetSpace ~
9658 \begin_inset LatexCommand ref
9659 reference "sec:slideQuirk"
9663 that you don't place anything
9667 these two environments, however.
9672 , it inserts a centered, sky-blue label into the page reading
9673 \begin_inset Quotes eld
9676 <Invisible Text Follows>
9677 \begin_inset Quotes erd
9681 For paragraphs following this label, the parts of the
9689 ; it doesn't matter which] where they would be contain instead blank space.
9692 \begin_layout Standard
9697 , the corresponding centered label is
9698 \begin_inset Quotes eld
9701 <Visible Text Follows>
9702 \begin_inset Quotes erd
9706 Paragraphs following this label behave normally.
9707 Note that the beginning of a new
9719 automatically shuts off an
9724 It's therefore not necessary to use
9735 \begin_layout Standard
9736 By now, it should be obvious how to create overlay transparencies using
9737 the proper combination of
9756 \begin_layout Enumerate
9761 , including everything that will appear on it, whether on the main slide
9769 \begin_layout Enumerate
9770 Before each figure or paragraph that will appear only on the
9779 If necessary, insert a
9783 environment after the
9790 \begin_layout Enumerate
9795 immediately following the
9802 \begin_layout Enumerate
9803 Copy the contents of this
9814 \begin_layout Enumerate
9830 \begin_layout Standard
9839 \begin_layout Standard
9840 There's one problem with the way I've designed the LyX
9844 class: you can't make text in the middle of a paragraph invisible, nor
9845 make text in the middle of an invisible paragraph visible again.
9846 To accomplish this feat, you'll need to use some inlined LaTeX codes.
9850 \begin_layout Standard
9851 The commands of interest are:
9854 \begin_layout Itemize
9859 invisible \SpecialChar \ldots{}
9863 \begin_layout Itemize
9868 visible \SpecialChar \ldots{}
9872 \begin_layout Standard
9873 \SpecialChar \ldots{}
9874 and need to be marked as TeX.
9876 \begin_inset Quotes eld
9880 \begin_inset Quotes erd
9883 you wish to change goes in between the brackets [and after the
9896 If you don't know how to mark text as TeX, see the apprpriate section of
9915 \begin_inset LatexCommand label
9916 name "sec:slideNote"
9923 \begin_layout Standard
9932 is associated with a
9933 \begin_inset Quotes eld
9937 \begin_inset Quotes erd
9949 class provides visual cues.
9954 is shorter than that of a
9958 [yet longer than that of an
9962 ] and, like the label of an
9966 is shockingly magenta.
9967 Additionally, the printed
9971 has the page number of its
9972 \begin_inset Quotes eld
9976 \begin_inset Quotes erd
9984 \begin_inset Quotes eld
9992 \begin_inset Quotes erd
9996 \begin_inset Quotes eld
10004 \begin_inset Quotes erd
10008 \begin_inset Quotes eld
10016 \begin_inset Quotes erd
10020 You can have multiple
10024 s associated with a single
10036 , you'll probably want to break up long
10040 s so that they fit on a single sheet of paper.
10043 \begin_layout Standard
10048 is obvious: it contains anything additional you might want to say about
10054 It could also be used as a sheet of reminders for a particular
10059 In the case of the latter, you might want to make use of time markers.
10065 \begin_inset Quotes eld
10069 \begin_inset Quotes erd
10072 support for time markers, a
10077 So, you'll have to resort to using the LaTeX codes.
10080 \begin_layout Standard
10081 To use time markers, you'll need to specify the extra class option
10082 \begin_inset Quotes eld
10090 \begin_inset Quotes erd
10093 [see section\InsetSpace ~
10095 \begin_inset LatexCommand ref
10096 reference "sec:slidesetup"
10101 This option turns on timing marks, which will appear in the lower-left-hand
10107 To set what appears in the time marker, you use the LaTeX commands
10108 \begin_inset Quotes eld
10118 \begin_inset Quotes erd
10122 \begin_inset Quotes eld
10132 \begin_inset Quotes erd
10136 The arguments of both commands are time measured in seconds.
10137 \begin_inset Quotes eld
10147 \begin_inset Quotes erd
10150 sets the time marker to a given time.
10151 \begin_inset Quotes eld
10161 \begin_inset Quotes erd
10164 increments the time marker by the specified amount.
10165 Using time markers and
10169 s in this fashion, you can remind yourself how much time to spend on a particula
10177 \begin_layout Standard
10178 There's one last feature to describe.
10179 Clearly, you'd like to print out all of your
10187 s on transparencies while printing all of your
10203 with which it is associated.
10204 What's a person to do?
10207 \begin_layout Standard
10208 Luckily, there are two LaTeX commands that allow you to select what to print
10210 Both must be placed into the preamble of your document.
10212 \begin_inset Quotes eld
10224 \begin_inset Quotes erd
10227 will cause the output to contain only the
10236 Correspondingly, the command
10237 \begin_inset Quotes eld
10249 \begin_inset Quotes erd
10252 prevents the output of anything but
10257 I'd advise placing both commands in the preamble and initially comment
10259 You can then preview your entire presentation as you write.
10260 When you're done writing, you can then uncomment one of the two to select
10261 what you want to print.
10262 I like to uncomment
10263 \begin_inset Quotes eld
10275 \begin_inset Quotes erd
10278 , print to a file with
10279 \begin_inset Quotes eld
10287 \begin_inset Quotes erd
10290 in its name, comment it back out, then uncomment
10291 \begin_inset Quotes eld
10303 \begin_inset Quotes erd
10307 \begin_inset Quotes eld
10315 \begin_inset Quotes erd
10319 I can then send either file to a printer, loading transparencies or plain
10320 paper as appropriate.
10323 \begin_layout Standard
10324 You can also provide other arguments to the
10325 \begin_inset Quotes eld
10335 \begin_inset Quotes erd
10339 \begin_inset Quotes eld
10349 \begin_inset Quotes erd
10353 See a good LaTeX book for details.
10356 \begin_layout Subsection
10357 Plik szablonu klasy
10362 \begin_layout Standard
10367 dostarczyłem także plik szablonu
10372 Aby go użyć zacznij Twoją nową prezentację przez
10377 lik\SpecialChar \menuseparator
10388 Twój nowy plik prezentacji będzie zawierał jako przykład trójkę
10409 dodatkowo zawierają jako przykład użycia tekst niewidzialny (
10418 Na koniec zawartość preambuły:
10421 \begin_layout LyX-Code
10422 % Uncomment to print out only slides and overlays
10425 \begin_layout LyX-Code
10429 \begin_layout LyX-Code
10439 \begin_layout LyX-Code
10440 % Uncomment to print out only notes
10443 \begin_layout LyX-Code
10447 \begin_layout LyX-Code
10455 \begin_layout Standard
10456 I ostatnia rzecz: utworzyłem tę klasę LyX-a do obsługi klasy LaTeX2e ,,
10460 TeX emulation'', one of the built-in LaTeX2e classes.
10461 Neither I nor the rest of the LyX Team endorse or oppose the use of this
10462 built-in slide class.
10463 It's here if you want it or need it.
10464 Istnieją inne klasy LaTeX2e do tworzenia prezentacji, takie jak:
10468 [zobacz\InsetSpace ~
10470 \begin_inset LatexCommand ref
10471 reference "sec:foiltex"
10479 '' [znajdujący się w wielu dystrybucjach TeX-a].
10480 Ten ostatni nie jest jeszcze obsługiwany przez LyX-a
10484 \begin_layout Standard
10485 Aktualnie znajduje się plik układu
10489 ale nie ma jeszcze pliku szablonu i dokumentacji jak z niego skorzystać
10495 Try them out to see what sort of alternative they provide.
10498 \begin_layout Section
10507 \begin_inset LatexCommand label
10515 \begin_layout Standard
10521 \begin_layout Subsection
10525 \begin_layout Standard
10526 W tej sekcji opisujemy jak użyć LyX-a do przygotowania slajdów do rzutników.
10527 Istnieją dwie klasy dokumentów, które można do tego celu zastosować: domyślnie
10537 W tej sekcji opisano tę drugą klasę.
10540 \begin_layout Standard
10541 Powiem to jeszcze raz, jasno, aby nie było nieporozumień:
10544 \begin_layout Standard
10545 \begin_inset VSpace bigskip
10551 \begin_layout Standard
10555 Ta sekcja dokumentu opisuje
10566 \begin_layout Standard
10567 \begin_inset VSpace bigskip
10573 \begin_layout Standard
10574 Jeśli szukasz dokumentacji do
10578 )'', zajrzyj do sekcji\InsetSpace ~
10580 \begin_inset LatexCommand ref
10581 reference "sec:slitex"
10586 Jeśli w Twoim systemie nie masz zainstalowanej klasy
10594 ''], to prawdopodobnie musisz użyć domyślnej klasy
10598 , która nie jest tak dobra jak
10603 \begin_layout Standard
10608 jest zaprojektowana do użycia z wersją 2.1 LaTeX-owej klasy
10612 , która jest teraz integralną częścią LaTeX2e.
10615 \begin_layout Subsection
10619 \begin_layout Standard
10620 Oczywiście, aby użyć tej klasy dokumentu, potrzebujesz wybrać klasę
10636 Jest kilka ustawień w oknie
10640 i powinieneś znać ich specyfikę w tej klasie:
10643 \begin_layout Itemize
10653 Nie są one obsługiwane przez klasę
10660 \begin_layout Itemize
10661 Domyślną wielkością czcionki jest 20pt, inne to 17pt, 25pt i 30pt.
10664 \begin_layout Itemize
10665 Domyślną rodziną jest czcionka
10669 ale równania matematyczne są składane zwykłą czcionką szeryfową.
10672 \begin_layout Itemize
10677 TeX obsługuje formaty papieru A4 i Letter, a także specjalny rozmiar do
10678 pracy z 35mm slajdami.
10679 Nie obsługuje formatów: A5, B5, legal i executive.
10682 \begin_layout Itemize
10683 Nie zmieniaj ustawień
10687 , ponieważ są one ignorowane.
10688 Wszystkie wstawki pojawiają się w miejscu gdzie zostały umieszczone w tekście.
10691 \begin_layout Itemize
10699 zachowują się troszkę inaczej w tej klasie.
10704 TeX dostarcza rozszerzone możliwości nagłówków i stopek włączają w to logo
10706 Zobacz sekcję\InsetSpace ~
10708 \begin_inset LatexCommand ref
10709 reference "sec:foilfoot"
10713 aby poznać więcej szczegółów.
10714 Strona tytułowa jest traktowana inaczej niż inne strony dokumentu:
10718 jest nienumerowana i
10722 logo jest wycentrowane u dołu strony (jeśli je zdefiniowano).
10723 Możliwe do wyboru style strony:
10728 \labelwidthstring MMMMMMM
10735 Nie jest dodawany numer ani inne nagłówki i stopki,
10739 \labelwidthstring MMMMMMM
10746 Na dole w środku slajdu umieszczony zostanie numer slajdu.
10747 bez innych nagłówków i stopek (innych niż przypisy).
10751 \labelwidthstring MMMMMMM
10756 W prawym dolnym narożniku slajdu umieszczony zostanie numer slajdu.
10757 Dodatkowe nagłówki i stopki zostaną wyświetlone.
10758 To jest styl domyślny.
10762 \labelwidthstring MMMMMMM
10767 Umożliwia skorzystanie z pakietu
10771 mimo, że jego użycie z
10775 TeX nie jest polecane przez autorów pakietu
10779 TeX z powodu kilku możliwych rozjechań się układu strony.
10783 \begin_layout Subsubsection
10787 \begin_layout Standard
10788 Następujące opcje mogą być użyte w polu
10800 \labelwidthstring MMMMMMx
10805 Ustawia rozmiar strony 7.33 cale na 11 cali.
10806 Taki rozmiar ma identyczne proporcje jak 35mm slajd.
10807 To ustawienie ułatwia pracę z tym medium,
10811 \labelwidthstring MMMMMMx
10816 Umieszcza poziomą linię poniżej nagłówka na każdej stronie z wyjątkiem
10821 \labelwidthstring MMMMMMx
10826 Umieszcza poziomą linię powyżej stopki na każdej stronie z wyjątkiem strony
10831 \labelwidthstring MMMMMMx
10836 Ta opcja jest automatycznie włączona
10840 \begin_layout Standard
10843 Bez tej opcji możesz korzystać wprost z pdfLaTeX-a
10848 , gdy tworzysz nowy dokument w tej klasie.
10853 TeX-owi aby użył jako sterownika programu dvips do obrotu tych stron, które
10854 ustawiono jako poziome,
10858 \labelwidthstring MMMMMMx
10863 Po prostu zmienia układ strony na poziomy, ale nie dokonuje obrotu.
10864 Dla tego jeśli chcesz używać tej opcji potrzebujesz użyć zewnętrznego programu
10865 do obrotu każdej strony lub włóż papier do drukarki poziomo.
10866 Uwaga ta opcja zamienia role środowisk
10874 (nie przejmuj się jest to opisane w następnej sekcji),
10878 \labelwidthstring MMMMMMx
10883 Numeracja równań po lewej stronie równania,
10887 \labelwidthstring MMMMMMx
10892 Wyrównuje równania do lewej.
10895 \begin_layout Subsection
10896 Obsługiwane środowiska
10899 \begin_layout Standard
10900 Większość zwykłych środowisk występujących w innych klasach jest także obsługiwa
10906 Jest kilka dodatkowych środowisk dostarczanych przez
10910 TeX a także kilka dodanych przez LyX-a.
10911 Poniżej podano standardowe środowiska występujące również w innych klasach:
10914 \begin_layout Standard
10918 \begin_layout Standard
10922 begin{multicols}{2}
10930 \begin_layout Itemize
10936 \begin_layout Itemize
10942 \begin_layout Itemize
10948 \begin_layout Itemize
10954 \begin_layout Itemize
10960 \begin_layout Itemize
10966 \begin_layout Itemize
10972 \begin_layout Itemize
10978 \begin_layout Itemize
10984 \begin_layout Itemize
10990 \begin_layout Itemize
10996 \begin_layout Itemize
11002 \begin_layout Itemize
11008 \begin_layout Itemize
11014 \begin_layout Itemize
11020 \begin_layout Itemize
11026 \begin_layout Itemize
11032 \begin_layout Itemize
11038 \begin_layout Itemize
11044 \begin_layout Standard
11048 \begin_layout Standard
11060 \begin_layout Standard
11061 Następne są główne środowiska niezależnie od środowisk strukturyzujących
11063 Folie są właściwie samodzielnymi sekcjami posiadającymi tytuł i treść.
11068 TeX dostarcza specyficznych poleceń rozpoczynających nową folię, są to:
11071 \begin_layout Itemize
11077 \begin_layout Itemize
11083 \begin_layout Standard
11084 LyX dostarcza także lekko zmodyfikowane wersje powyższych środowisk o nazwach:
11087 \begin_layout Itemize
11093 \begin_layout Itemize
11096 ShortRotatefoilhead
11099 \begin_layout Standard
11100 różnice pomiędzy nimi są wyjaśnione w następnej sekcji.
11103 \begin_layout Standard
11104 Folie są często używane do prezentacji pomysłów lub nowych teorii i także
11109 TeX dostarcza szeroki wachlarz narzędzi do ich prezentacji:
11112 \begin_layout Standard
11116 \begin_layout Standard
11120 begin{multicols}{2}
11128 \begin_layout Itemize
11134 \begin_layout Itemize
11140 \begin_layout Itemize
11146 \begin_layout Itemize
11152 \begin_layout Itemize
11158 \begin_layout Itemize
11164 \begin_layout Itemize
11170 \begin_layout Itemize
11176 \begin_layout Itemize
11182 \begin_layout Itemize
11188 \begin_layout Itemize
11194 \begin_layout Standard
11198 \begin_layout Standard
11210 \begin_layout Standard
11211 Wersje z gwiazdką są środowiskami nienumerowanymi, a bez gwiazdki są numerowane.
11212 Są jeszcze dwa środowiska list dodane przez LyX i są to:
11215 \begin_layout Itemize
11221 \begin_layout Itemize
11227 \begin_layout Standard
11228 Jest jeszcze kilka poleceń
11232 TeX-a, które nie są obsługiwane przez LyX.
11233 Wspomnimy o nich i ich przeznaczeniu w sekcji\InsetSpace ~
11235 \begin_inset LatexCommand ref
11236 reference "sec:unsuppfoils"
11243 \begin_layout Subsection
11247 \begin_layout Standard
11248 W tej sekcji podamy proste wprowadzenie jak korzystać z różnych środowisk
11249 aby utworzyć folię.
11250 Jeśli chcesz zobaczyć przykład folii zobacz plik
11259 lik\SpecialChar \menuseparator
11264 twórz\SpecialChar \ldots{}
11267 i naciśnij przycisk
11274 \begin_layout Subsubsection
11278 \begin_layout Standard
11279 Nie tak jak inne klasy dostarczające środowisk
11299 tworzy tytuł na własnej stronie.
11300 Jeśli opuścisz środowisko
11304 , to LaTeX w zastępstwie wstawi bieżącą datę (aktualizowaną przy każdym
11308 \begin_layout Subsubsection
11309 Rozpoczęcie nowej folii
11312 \begin_layout Standard
11313 Jak wspomniałem wcześniej, mamy cztery sposoby na utworzenie nowej folii.
11314 Dla folii pionowych powinieneś użyć
11323 Różnica pomiędzy tymi środowiskami polega na wielkości odstępu pomiędzy
11327 \begin_layout Standard
11328 Folie poziome tworzymy za pomocą środowisk
11334 ShortRotatefoilhead
11337 Znów różnica miedzy nimi polega na odstępie pomiędzy tytułem a treścią.
11338 W obu skróconych wersjach mamy o pół cala mniejszy odstęp.
11341 \begin_layout Standard
11342 Jednym problemem z obsługą poziomych slajdów jest wymóg użycia sterownika
11347 do utworzenia pliku PostScriptŽ, w przeciwnym razie folia nie zostanie
11349 Jest możliwość uzyskania poziomych folii nawet jeśli nie masz programu
11354 , po prostu musisz włożyć folie poziomo do drukarki;-)
11357 \begin_layout Subsubsection
11358 Theorems, Lemmas, Proofs i więcej
11361 \begin_layout Standard
11362 Z powodu małego błędu w LyX-ie nie można umieścić dwóch środowisk tego samego
11363 typu bezpośrednio jedno po drugim.
11364 Musza one być czymkolwiek rozdzielone.
11365 Jeśli spróbujesz , będziesz mógł rozciągnąć poprzednie środowisko, tak
11366 abyś miał połączone dwa środowiska razem.
11367 A jak rozwiązać ten problem? Najprostszym rozwiązaniem jest wstawienie
11368 tekstu pomiędzy dwa środowiska lub wstawienie wstawki
11372 pomiędzy te środowiska zawierającej znak komentarza ,,
11377 To wymusi na LyX-ie utworzenie dwóch oddzielnych środowisk i da poprawny
11379 Przykład jest zawarty w dostarczonym pliku w dystrybucji LyX-a.
11380 pamiętaj, problem pojawia się tylko jeśli próbujesz umieścić dwa środowiska
11381 takie jak Theorem bezpośrednio jedno za drugim.
11384 \begin_layout Subsubsection
11388 \begin_layout Standard
11389 Możesz korzystać ze wszystkich obsługiwanych i występujących w innych klasach,
11390 środowisk list, a także z dwóch nowych.
11391 Tutaj opiszę tylko te nowe.
11392 Jeśli chcesz znaleźć więcej informacji o innych środowiskach list zajrzyj
11395 Podręcznika Użytkownika
11398 Jeśli zamierzasz korzystać z wyliczeń powinieneś także przeczytać sekcję
11400 \begin_inset LatexCommand ref
11401 reference "sec:bullet"
11407 Wybór znaku wyliczenia
11412 \begin_layout Standard
11413 Dwa nowe style list
11421 , zaprojektowano aby ułatwić Ci tworzenie list czynności wykonanych i nie
11422 lub co jest w porządku lub złe, przez dostarczenie dedykowanych środowisk,
11423 które używają haczyka (akceptacji) lub krzyżyka (negacji) jako znaku wyliczenia.
11424 Te listy są w rzeczywistości dedykowanymi wariantami środowiska
11429 Wymagają one jednak zainstalowanego pakietu
11436 \begin_layout Subsubsection
11440 \begin_layout Standard
11445 TeX redefiniuje wstawki tabel i rysunków tak, aby pojawiły się dokładnie
11446 w miejscu ich wystąpienia w tekście.
11447 W rzeczywistości zmiany pozycji wstawki są ignorowane.
11450 \begin_layout Subsubsection
11452 \begin_inset LatexCommand label
11453 name "sec:foilfoot"
11460 \begin_layout Standard
11473 są przeznaczone do sterowania lewą stopką.
11474 Pierwsze pozwala na dołączenie
11478 \begin_layout Standard
11481 Aby dołączyć logo graficzne to należy jako argument polecenia
11493 includegraphics{nazwapliku}
11495 oraz umieścić w preambule polecenie:
11501 usepackage{graphicx}
11507 usepackage{graphics}
11512 logo graficznego do folii, a domyślnie wpisuje ,,--Typeset by FoilTeX--''.
11513 Drugie polecenie pozwala na wprowadzenie klasyfikacji dostępności, np.
11520 Domyślnie jest puste.
11523 \begin_layout Standard
11524 Pozostałe narożniki można wypełnić poleceniami
11529 (domyślnie numer folii),
11542 \begin_layout Subsection
11543 Nieobsługiwane funkcje
11548 \begin_inset LatexCommand label
11549 name "sec:unsuppfoils"
11556 \begin_layout Standard
11557 Wszystkie polecenia wyjaśnione poniżej należy wstawiać w środowisku
11565 wewnątrz innych środowisk.
11568 \begin_layout Subsubsection
11572 \begin_layout Standard
11573 Wszystkie długości są ustawiane poleceniem
11599 powinno być zastąpione nazwą długości, która chcesz zmienić, a
11604 Dla wszystkich długości należy podać jednostkę, np.
11617 ) lub jednostki względne w dokumencie lub długości odnoszące się do wielkości
11627 \begin_layout Standard
11628 Można zmieniać odstęp pomiędzy tytułem folii a treścią, przez zmianę długości
11636 Na przykład, aby na
11640 foliach tytuły były bliżej treści o pół cala, to wpisz do preambuły:
11648 foilheadskip}{-0.5in}
11651 \begin_layout Standard
11652 Odstępy wokół wstawek mogą być ustawiane przez zmianę następujących długości:
11656 \labelwidthstring MMMMMMMMMMM
11663 odstęp pomiędzy tekstem a górą wstawki,
11667 \labelwidthstring MMMMMMMMMMM
11674 odstęp pomiędzy wstawką a podpisem,
11678 \labelwidthstring MMMMMMMMMMM
11685 odstęp pomiędzy podpisem a dalszym tekstem,
11689 \labelwidthstring MMMMMMMMMMM
11696 Możesz zadać węższy podpis wstawki niż otaczający tekst przez ustawienie
11698 Najlepiej odnosić się do długości
11707 \begin_layout Standard
11708 Jest jeszcze kilka długości związanymi ze strona tytułowa, które mogą być
11709 użyteczne jeśli masz długie tytuły lub kilku autorów:
11713 \labelwidthstring MMMMMMMMMMM
11720 odstęp pomiędzy nagłówkiem a
11728 \labelwidthstring MMMMMMMMMMM
11735 odstęp pomiędzy środowiskami
11747 \labelwidthstring MMMMMMMMMMM
11754 odstęp pomiędzy wielokrotnymi wierszami środowiska
11762 \labelwidthstring MMMMMMMMMMM
11769 odstęp pomiędzy środowiskami
11781 \labelwidthstring MMMMMMMMMMM
11788 odstęp pomiędzy środowiskami
11799 \begin_layout Standard
11800 Ostatnia długość odnosi się do wszystkich środowisk list.
11811 środowiska listy, wtedy wszystkie odstępy pionowe pomiędzy elementami listy
11813 Uwaga -- to jest polecenie, a nie długość i nie wymaga
11819 tak jak wspomniane powyżej długości.
11822 \begin_layout Subsubsection
11824 \begin_inset LatexCommand label
11825 name "sec:foilfoot"
11832 \begin_layout Standard
11845 sterują wyświetlaniem na danym slajdzie logo zdefiniowanym poleceniem
11852 Jeśli wpiszesz polecenie
11858 do preambuły, to wówczas na żadnej folii nie pojawi się logo.
11859 Jeśli nie chcesz aby pojawiło się logo na jednej z folii, to umieść na
11866 tuż po tytule strony, a następnie umieść polecenie
11872 po tytule następnej folii.
11875 \begin_layout Standard
11876 Pozostałe polecenia sterujące:
11880 \labelwidthstring MMMMMMMMM
11887 prawa stopka, domyślnie zawiera numer strony
11891 \labelwidthstring MMMMMMMMM
11902 \labelwidthstring MMMMMMMMM
11912 \begin_layout Standard
11913 Jeśli zdecydujesz się użyć styl strony
11921 , prawdopodobnie powinieneś dodać
11935 do preambuły, tak aby nagłówki i stopki były właściwie umieszczone na poziomych
11937 Jest to spowodowane niezgodnością układów stron dostarczanych przez pakiet
11949 \begin_layout Section
11950 Latex8 (Dokumenty konferencyjne IEEE )
11953 \begin_layout Standard
11959 \begin_layout Subsection
11963 \begin_layout Standard
11964 Since this class is specifically for writing submissions to IEEE sponsored
11965 conferences I strongly recommend that you get a copy of their Authors Kit.
11970 package and associated bibliography style file is included in the kit.
11971 The Authors Kit is usually sent out by email once your initial submission
11973 There is a lot of useful information in the Authors Kit explaining formatting
11974 restrictions and so on and I will assume you have read this since that
11975 means I don't have to repeat it all here.
11978 \begin_layout Subsection
11982 \begin_layout Standard
11987 \begin_layout Subsection
11988 Obsługiwane środowiska
11991 \begin_layout Itemize
11995 \begin_layout Itemize
11999 \begin_layout Itemize
12003 \begin_layout Itemize
12007 \begin_layout Itemize
12011 \begin_layout Itemize
12015 \begin_layout Itemize
12019 \begin_layout Itemize
12023 \begin_layout Itemize
12027 \begin_layout Subsection
12028 Różnice pomiędzy ekranem a dokumentem
12031 \begin_layout Standard
12032 There are slight differences in appearance mainly with the presentation
12033 of section counters.
12034 On screen the trailing period of the section counter is missing but it
12035 will appear in the output so don't let this worry you.
12038 \begin_layout Section
12039 Hollywood (Hollywood spec scripts)
12042 \begin_layout Standard
12048 \begin_layout Subsection
12052 \begin_layout Standard
12053 Getting the format of a Hollywood script right is a ,,rite of passage''.
12054 Został zaprojektowany do czytania ze zwróceniem uwagi na treść oraz aby
12055 być łatwym i przyjaznym w czytaniu dla aktorów.
12056 Każda strona scenariusza powinna być jedną minutą filmu.
12057 Nie pisz tego czego nie możesz zobaczyć lub usłyszeć na ekranie.
12058 W całym dokumencie powinna być stosowana czcionka Courier 12pkt, bez kursywy.
12061 \begin_layout Subsection
12065 \begin_layout Standard
12066 Tekst mówcy nie powinien być NIGDY łamany w połowie zdania.
12067 Jeśli tekst mówcy jest kontynuowany na następnej stronie, powtórz
12078 \begin_layout Subsection
12082 \begin_layout Standard
12083 Wstaw nazwę mówcy (
12087 ) jako etykietę, a dalej wykorzystuj ją przez odnośniki wewnętrzne.
12088 Okno odnośników będzie wyświetlało obsadę.
12089 Odnośniki możesz używać do wstawiania nazwy mówcy również w tekście narratora.
12092 \begin_layout Subsection
12093 Rozmiar papieru i marginesy
12096 \begin_layout Standard
12097 USLetter, lewy 1.6in, prawy 0.75in, górny 0.5in, dolny 0.75in
12100 \begin_layout Subsection
12104 \begin_layout Standard
12105 Dostępne są następujące środowiska.
12106 Możesz użyć układu hollywood.bind aby uzyskać skróty klawiszowe jak poniżej.
12109 \begin_layout Itemize
12116 Użyj gdzie nic innego nie pasuje.
12117 Próbuj nie korzystać z niego.
12120 \begin_layout Itemize
12129 Used to describe stage setting and the action.
12130 Pierwsze użycie nazwy aktora napisz kapitalikiem.
12133 \begin_layout Itemize
12147 Usually followed by something like ,,on Sally waking up''.
12150 \begin_layout Itemize
12159 Introduces a new INTERIOR camera set-up.
12160 Always followed by DAY or NIGHT, or something similar to define the lighting
12162 Pisz zawsze dużymi literami.
12165 \begin_layout Itemize
12174 Introduces a new EXTERIOR camera set-up.
12175 Pisz zawsze dużymi literami.
12178 \begin_layout Itemize
12187 The character speaking.
12190 \begin_layout Itemize
12199 Instrukcje dla mówcy.
12200 Nawiasy ,,()'' są wstawiane automatycznie i wyświetlane są tylko w LyX-ie,
12201 ale zawsze będa drukowane.
12204 \begin_layout Itemize
12220 \begin_layout Itemize
12229 Instrukcja przemieszczania dla kamery, np.
12233 \begin_layout Itemize
12242 \begin_layout Itemize
12250 \begin_layout Itemize
12258 \begin_layout Itemize
12267 \begin_layout Subsection
12271 \begin_layout Itemize
12272 (O.S) --- off screen
12275 \begin_layout Itemize
12276 (V.0) --- voice over
12279 \begin_layout Itemize
12284 \begin_layout Itemize
12289 \begin_layout Itemize
12290 PAN --- przesunięcie kamery
12293 \begin_layout Itemize
12294 INSERT --- cut to close-up of
12297 \begin_layout Section
12301 \begin_layout Standard
12307 \begin_layout Subsection
12311 \begin_layout Standard
12312 Klasa Broadway jest przeznaczona dla piszących scenariusze teatralne.
12313 Ten format jest bardziej dekoracyjny i o wiele mniej ustandaryzowany.
12314 Ten format powinien być odpowiedni dla workshopów.
12317 \begin_layout Subsection
12321 \begin_layout Standard
12322 Podobnie jak format Hollywood.
12325 \begin_layout Subsection
12329 \begin_layout Standard
12330 Wstaw nazwę mówcy (
12334 ) jako etykietę, a dalej wykorzystuj ją przez odnośniki wewnętrzne.
12335 Okno odnośników wewnętrznych będzie wyświetlać aktualną obsadę.
12338 \begin_layout Subsection
12339 Rozmiar papieru i marginesy
12342 \begin_layout Standard
12343 USLetter, lewy 1.6in, prawy 0.75in, górny 0.5in, dolny 0.75in
12346 \begin_layout Subsection
12350 \begin_layout Standard
12351 Dostępne są następujące środowiska.
12352 Możesz użyć układu broadway.bind aby uzyskać skróty klawiszowe jak poniżej.
12355 \begin_layout Itemize
12362 Nie powinieneś go używać, ale jest jeśli inne nie będą Ci odpowiadać.
12365 \begin_layout Itemize
12374 Used to describe stage setting and the action.
12375 Pierwsze użycie nazwy aktora napisz kapitalikiem.
12378 \begin_layout Itemize
12387 Automatycznie numerowane.
12388 Na ekranie będzie numeracja liczbami arabskimi, a na wydruku rzymskimi.
12391 \begin_layout Itemize
12400 Tekst jest centrowany.
12403 \begin_layout Itemize
12412 Nie jest numerowane automatycznie.
12414 This is because I couldn't figure out how.
12417 \begin_layout Itemize
12427 A special case of Narrative to describe the setting and action as the curtain
12431 \begin_layout Itemize
12440 Nazwa mówcy (aktora), wyśrodkowana napisana będzie kapitalikiem.
12443 \begin_layout Itemize
12452 Instrukcje dla mówcy.
12453 Nawiasy ,,()'' są wstawiane automatycznie, ale wyświetlane są tylko w LyX-ie,
12454 ale zawsze będa drukowane.
12455 To środowisko jest używane tylko wewnątrz środowiska
12462 \begin_layout Itemize
12474 \begin_layout Itemize
12483 Opuszczenie kurtyny.
12486 \begin_layout Itemize
12494 \begin_layout Itemize
12502 \begin_layout Itemize
12510 \begin_layout Standard
12514 \begin_layout Section
12518 \begin_layout Standard
12524 \begin_layout Standard
12527 Revtex\InsetSpace ~
12530 współpracuje z klasą RevTeX 4.0 (wydanie
12531 \begin_inset Formula $\beta$
12534 z maja 1999 roku) American Physical Society.
12535 LyX ma klasę dokumentu
12539 , która współpracuje z RevTeX 3.1.
12540 Jednak wersja 3.1 jest generalnie przestarzała jako współpracująca z LaTeX2.09,
12541 co oznacza, że współpraca z LyX-em nie jest najlepsza., ponieważ LyX wymaga
12543 Since RevTeX 4.0 has been designed to work much more cleanly with LaTeX2e,
12546 RevTeX\InsetSpace ~
12549 textclass should also be pretty easy to use.
12552 \begin_layout Standard
12553 These documents are supposed to be used in
12557 to the RevTeX 4.0 documents, so we don't describe any of the special RevTeX
12558 macros, and assume you'll know what to put in the preamble if necessary.
12561 \begin_layout Subsection
12565 \begin_layout Standard
12566 All you need to do is install RevTeX 4, as described in the package's README
12568 the package can be found at
12569 \begin_inset LatexCommand url
12570 name "The RevTeX 4 Web Site"
12571 target "http://publish.aps.org/revtex4/"
12576 Install it somewhere that LaTeX can see it.
12577 Test it by trying to LaTeX a short RevTeX 4 document in some random directory
12578 (i.e., not the directory where you installed the class file.) Then, if you
12579 reconfigure LyX, it will find the class file and let you use the RevTeX4
12583 \begin_layout Standard
12584 Probably the easiest way to get started is either to import a RevTeX 4 document
12591 Revtex\InsetSpace ~
12594 template, found in the templates directory.
12597 \begin_layout Subsection
12601 \begin_layout Standard
12602 Optional arguments to
12608 , like ,,preprint'' and ,,aps'', go in the
12621 Remember that in RevTeX, at least one optional argument is required!
12624 \begin_layout Standard
12625 Other preamble matter, like
12636 popup, also as usual.
12639 \begin_layout Subsection
12643 \begin_layout Standard
12644 The layouts basically correspond to the commands in RevTeX4.0.
12645 For example, the Email layout corresponds to
12652 Note that (at least as of RevTeX 4.0 Beta), the
12660 layouts are exactly equivalent, so you shouldn't need to use both.
12664 \begin_layout Standard
12665 In case you're curious, both were included so that
12669 would be able to translate both
12689 \begin_layout Standard
12690 There are a couple of important unique aspects of RevTeX 4 which might cause
12691 bugs that will be even more confusing in LyX.
12694 \begin_layout Standard
12712 The LyX equivalent is that there is a separate Thanks layout.
12717 write footnotes in the
12721 layout, or weird things may happen.
12722 See the RevTeX 4 documentation for more details.
12725 \begin_layout Standard
12728 Author\InsetSpace ~
12733 Author\InsetSpace ~
12740 layouts must be placed
12748 layout and the corresponding
12765 , the LaTeX won't compile.
12768 \begin_layout Subsection
12772 \begin_layout Standard
12773 The main problem with this layout is that you can't use the optional arguments
12774 to layouts like Email and Title.
12775 (The problem is not unique to this layout; in LyX 1.0, you can't use optional
12776 arguments to the Section layouts.) This means that after you export that
12777 file to LaTeX (which you'll need to do eventually to send it in to APS),
12778 you'll need to edit the LaTeX file with a text editor to add the optional
12779 arguments to set, e.g., the running title for the page headers.
12780 Lacking these layouts makes the
12786 (and the equivalent
12792 ) useless, so the corresponding layouts don't exist, and will have to be
12794 This drawback will be fixed in LyX 1.2.
12797 \begin_layout Section
12798 article (mwart), book (mwbk) i report (mwrep)
12801 \begin_layout Standard
12807 \begin_layout Standard
12820 autorstwa marcina Wolińskiego odpowiadają klasom LateX-a odpowiednio:
12833 Zastępują one standardowe klasy:
12846 Są one zgodne z polskimi zwyczajami typograficznymi.
12849 \begin_layout Standard
12850 Podstawowe różnice:
12853 \begin_layout Itemize
12854 Nienumerowane tytularia ( z gwiazdką) są dopisywane do spisu treści.
12857 \begin_layout Itemize
12858 Dodatkowe style strony:
12862 \begin_layout Description
12863 uheadings pagina górna z linią oddzielającą,
12866 \begin_layout Description
12867 myheadings pagina górna z zadawaną treścią poleceniami:
12882 \begin_layout Description
12883 myuheadings pagina górna z zadawaną treścią z linią oddzielającą,
12886 \begin_layout Description
12887 outer paginacja w stopce od strony zewnętrznego marginesu
12891 \begin_layout Itemize
12896 \begin_layout Description
12897 rmheadings szeryfowe tytularia -- opcja domyślna
12900 \begin_layout Description
12901 sfheadings bezszeryfowe tytularia
12904 \begin_layout Description
12905 authortitle najpierw autor poniżej tytuł -- opcja domyślna
12908 \begin_layout Description
12909 titleauthor najpierw tytuł poniżej autor
12912 \begin_layout Description
12913 withmarginpar rezerwuje miejsce na marginalia
12917 \begin_layout Chapter
12918 Import i eksport innych formatów plików
12921 \begin_layout Section
12925 \begin_layout Standard
12926 Zagadnienie importu i eksportu z/do innych formatów plików zostało wspomniane
12929 Podręczniku Użytkownika
12932 W tym rozdziale jest opisane więcej szczegółów potrzebnych do zrozumienia
12933 tego co się dzieje po naciśnięciu polecenia
12938 lik\SpecialChar \menuseparator
12950 lik\SpecialChar \menuseparator
12960 \begin_layout Section
12961 Import z innych formatów
12964 \begin_layout Subsection
12968 \begin_layout Standard
12969 Tłumaczenie z LaTeX-a do LyX-a jest dokonywane przez Perl za pomocą skryptów
12970 wywoływanych przez reLyX.
12971 Ponadto jest to samodzielny program, który może być wywoływany z wiersza
12973 LyX wywołuje go automatycznie podczas importu pliku LaTeX-a.
12975 \begin_inset LatexCommand ref
12976 reference "sec:reLyX"
12980 dla pełniejszego opisu.
12981 Nie ma parametrów do ustawiania przez użytkownika.
12984 \begin_layout Subsection
12988 \begin_layout Standard
12989 Są dwie metody importu plików tekstowych ASCII.
12990 Import ,,jako wiersze'' zachowuje wszystkie końce wierszy z pliku ASCII
12991 do LyX-a, wówczas każdy wiersz jest oddzielnym akapitem.
12992 Podczas importu ,,jako akapit'' kolejne wiersze łączone są w jeden akapit.
12993 Pusty wiersz traktowany jest jako separator akapitów.
12996 \begin_layout Subsection
13000 \begin_layout Standard
13003 [Editor's note: Needs to be written, obviously - any volunteers? --- mer]
13006 \begin_layout Section
13007 Eksport do innych formatów
13010 \begin_layout Subsection
13014 \begin_layout Standard
13015 LyX tworzy dwa typy plików LaTeX-owych: pliki do normalnego przetwarzania
13016 (do podglądu DVI itp.), które nie są nigdy oglądane oraz pliki o formie
13017 czytelnej dla ludzi.
13018 Jedyną możliwą do ustawienia jest dyrektywa
13024 określająca maksymalną długość wiersza pliku, domyślną wartością jest 75
13026 Plik wynikowy jest poprawnym plikiem LaTeX-a, lecz preambuła może wyglądać
13027 trochę przerażająco ponieważ zawiera kilka definicji używanych przez LyX-a,
13028 które nie wyglądają na utworzone przez człowieka.
13031 \begin_layout Subsection
13035 \begin_layout Standard
13048 ndependent -- ,,sprzętowo niezależne'') są tworzone podczas przetwarzania
13049 Twojego dokumentu przez LaTeX.
13050 Nie ma żadnych opcji do ustawienia przez użytkownika.
13053 \begin_layout Subsection
13057 \begin_layout Standard
13058 Następny krokiem w łańcuchu konwersji jest konwersja pliku DVI do PostScript.
13059 Najczęściej używanym do tego celu programem jest program
13064 Wybrany program należy podać w pliku
13075 Argumenty wiersza poleceń, np.
13076 dla dvips polecenia druku w odwrotnej kolejności (
13080 ) można podać w dyrektywie
13084 print_extra_options
13089 \begin_layout Subsection
13093 \begin_layout Standard
13094 Eksport do ASCII próbuje zachować ,,kształt'' dokumentu jak to możliwe,
13095 ale takie elementy jak centrowanie i wcięcia są odrzucane, a akapity są
13096 rozdzielane pustym wierszem.
13097 Numeracja sekcji i odnośników jest wykonana poprawnie, tak że w efekcie
13098 plik jest dość przejrzysty.
13099 Jedyną możliwą do ustawienia jest dyrektywa
13105 określająca maksymalną długość wiersza pliku ASCII.
13108 \begin_layout Subsection
13112 \begin_layout Standard
13113 Dokumenty LyX-a mogą być konwertowane do formatu hipertekstowego, zwykle
13114 najpierw dokonywana jest konwersja do LaTeX-a, który konwertuje do formatu
13118 \begin_layout Standard
13119 Aktualnie są dostępne dla LyX-a trzy konwertery LaTeX
13120 \begin_inset Formula $\rightarrow$
13136 Są one wykrywane automatycznie, jednak można wymusić wybór jednego z nich
13137 dyrektywą w pliku konfiguracyjnym
13144 W tej dyrektywie można także dołączyć argumenty wiersza poleceń.
13145 Czytaj komentarze w pliku
13149 , które zawierają najbardziej aktualne informacje dotyczące szczegółów użycia
13150 poszczególnych dyrektyw.
13153 \begin_layout Subsection
13157 \begin_layout Standard
13165 \begin_layout Standard
13166 Najszybszą drogą do tworzenia plików PDF (bez znaczników, linków itp.) w
13167 dowolnej wersji LyX-a jest zapisanie dokumentu w formacie PostScript, a
13168 następnie uruchomienie polecenia
13173 Począwszy od wersji 1.1.6 dostępna jest pozycja menu
13178 lik\SpecialChar \menuseparator
13179 Exportuj\SpecialChar \menuseparator
13183 Od wersji 1.1.6 jest to najlepsza droga do uzyskania porządnych plików PDF.
13184 Jest trochę kłopotów z czcionkami, na które powinieneś uważać -- zobacz
13185 \begin_inset LatexCommand ref
13186 reference "sec:badfonts"
13193 \begin_layout Subsubsection
13197 \begin_layout Standard
13198 Korzystając z pdfLaTeX potrzebujesz skonwertować swoje obrazki EPS do formatu
13200 \begin_inset LatexCommand ref
13201 reference "sec:pdfeps"
13205 ) i nie możesz używać pstricks.
13206 Z drugiej strony, korzystając z pdfLaTeX można wstawiać wprost rysunki
13207 w formatach JPEG lub PNG, używać czcionek TrueType i wiele innych.
13210 \begin_layout Subsubsection
13211 Dlaczego tekst wygląda mało czytelnie przy podglądzie za pomocą Acrobat
13213 \begin_inset LatexCommand label
13214 name "sec:badfonts"
13221 \begin_layout Standard
13222 Źródłem kłopotów są czcionki bitmapowe brzydko wyświetlane przez Acrobat
13224 Podczas tworzenia pliku PDF z pliku LyX-a potrzebujesz czcionek obwiedniowych
13225 zamiast bitmapowych (w rzeczywistości powinieneś także używać czcionek
13226 obwiedniowych w plikach postscriptowych).
13229 \begin_layout Standard
13230 Ostatnie dystrybucje LaTeX-a posiadają standardowe czcionki CM (Computer
13231 Modern) PostScript Type 1.
13232 PdfLaTeX używa tych czcionek domyślnie.
13233 Dvips nie używa ich domyślnie, dla ich użycia należy dopisać do pliku
13237 następujące wiersze
13240 \begin_layout LyX-Code
13244 \begin_layout LyX-Code
13248 \begin_layout Standard
13249 Jeśli używane jest domyślne kodowanie LaTeX-a (OT1), to nie trzeba robić
13251 Ale jeśli używane jest kodowanie T1 to LaTeX używa nowych czcionek EC,
13252 dla których nie ma wersji Type1.
13253 Rozwiązaniem jest użycie pakietu ae, który emuluje kodowanie T1 używając
13255 Należy wówczas w preambule dopisać
13259 usepackage{ae,aecompl}
13262 Jednak niektórych znaków brakuje w czcionkach CM (np.
13263 eth, thorn) i są one pobierane z czcionek EC.
13264 Dlatego pobierane są znaki jako bitmapy.
13267 \begin_layout Standard
13268 Uwaga: LyX używa domyślnie kodowania T1.
13269 Jeśli chcesz stosować domyślne kodowanie (co nie jest zalecane chyba że
13270 piszesz tylko w języku angielskim), dodaj wiersz
13274 font_encoding default
13285 \begin_layout Standard
13286 Dla składu w języku polskim zaleca się stosować kodowanie OT4 oraz pakiet
13300 włącza spolonizowane czcionki CM w układzie OT4 zwane czcionkami PL.
13301 Czcionki PL występują również w wersji obwiedniowej co rozwiązuje problemy
13302 z Acrobat Readerem.
13309 Alternatywą jest użycie standardowych czcionek postscriptowych zamiast
13311 Do tego potrzebujesz wybrać pslatex jako globalną czcionkę w oknie układu
13313 Gdy używamy czcionek postsciptowych to pliki PDF są mniejsze o czcionki
13314 nie dołączone do pliku.
13315 Ponadto czcionki postscriptowe dołączają wszystkie krzywe T1.
13316 Z drugiej zaś strony czcionki postscriptowe nie posiadają półgrubych czcionek
13317 symboli i muszą być użyte pmb (poor man's bold, zobacz
13318 \begin_inset LatexCommand ref
13319 reference "sec:pdfbold"
13324 Czcionki postscriptowe także wyglądają inaczej z zestawu czcionek CM.
13327 \begin_layout Standard
13328 Podsumowując czcionki postscriptowe i Computer Modern dają dobre rezultaty
13329 (z kilkoma wyjątkami).
13330 Decyzja których używać jest kwestią gustu.
13333 \begin_layout Subsubsection
13334 Jak mogę użyć pdfLaTeX z obrazkami w formacie EPS?
13335 \begin_inset LatexCommand label
13343 \begin_layout Standard
13344 PdfLaTeX nie obsługuje włączania plików EPS, ale obsługuje włączanie plików
13346 Jeśli masz dokumenty z włączonymi rysunkami EPS, np.
13354 \begin_layout Enumerate
13364 \begin_layout Enumerate
13365 Kiedy wstawiasz rysunek w dokumencie nie podawaj rozszerzenia nazwy pliku:
13366 na przykład, wstawiając plik
13370 wystarczy wpisać tylko
13374 w oknie dialogowym.
13377 \begin_layout Standard
13378 Uwaga: W LyX 1.2.0 będzie możliwe wstawianie różnych rodzajów rysunków ze
13379 wszystkimi niezbędnymi transformacjami.
13380 Częściowo funkcjonalne wstawianie istnieje w wersji 1.1.6, do użycia należy
13383 M-x graphics-insert
13388 \begin_layout Subsubsection
13391 boldsymbol{} nie działa gdy używam pslatex?
13392 \begin_inset LatexCommand label
13400 \begin_layout Standard
13401 Czcionki PostScript nie posiadają symboli półgrubych.
13402 Rozwiązaniem jest użycie polecenia
13411 \begin_layout Standard
13412 Jest to możliwe przez przedefiniowanie polecenia
13427 \begin_layout LyX-Code
13437 \begin_layout Standard
13441 \begin_layout Subsubsection
13442 Czy jest możliwe zapisanie kodu przetwarzanego tylko przez pdfLaTeX-a?
13445 \begin_layout Standard
13450 \begin_layout LyX-Code
13458 \begin_layout LyX-Code
13468 \begin_layout LyX-Code
13474 \begin_layout LyX-Code
13480 \begin_layout LyX-Code
13486 \begin_layout LyX-Code
13492 \begin_layout LyX-Code
13496 \begin_layout LyX-Code
13502 \begin_layout LyX-Code
13505 pdfinfo { /Author (your name and e-mail address)
13508 \begin_layout LyX-Code
13509 /Title (official title -- i.e., title element)
13512 \begin_layout LyX-Code
13513 /Subject (one line description of the document)
13516 \begin_layout LyX-Code
13520 \begin_layout LyX-Code
13523 pdfcatalog { /PageMode (/UseNone)
13526 \begin_layout LyX-Code
13527 % /OpenAction (fitbh)
13530 \begin_layout LyX-Code
13534 \begin_layout LyX-Code
13537 usepackage[pdftex]{hyperref}
13540 \begin_layout LyX-Code
13546 \begin_layout LyX-Code
13549 usepackage[ps2pdf]{hyperref}
13552 \begin_layout LyX-Code
13558 \begin_layout Subsection
13559 Eksport użytkownika
13562 \begin_layout Standard
13563 Eksport użytkownika jest możliwy jeśli masz dziwny format do którego chcesz
13564 konwertować, zakładając, że masz odpowiedni konwerter.
13565 Format pliku wejściowego jest podany w dyrektywie
13569 custom_export_format
13572 LyX będzie automatycznie konwertował plik do tego miejsca, a wtedy zostanie
13573 on przekazany do Twojego konwertera.
13574 Możliwymi wartościami są:
13597 \begin_layout Standard
13598 Polecenie wywołania konwertera jest podane w dyrektywie
13602 custom_export_command
13605 To powinno być kompletne polecenie wiersza poleceń, które wykorzystuje
13610 do przekazania nazwy pliku głównego.
13613 \begin_layout Standard
13614 Może będziesz musiał trochę poprawić podaną sekwencję, dla zgodności z twoją
13618 \begin_layout Standard
13619 Omawiany sposób eksportu ustawia się w domyślnym lokalnym pliku
13624 Gdy wybierzesz polecenie
13629 lik\SpecialChar \menuseparator
13637 ksportuj\SpecialChar \menuseparator
13647 , pojawi się okno, w którym można zmienić dowolną wartość.
13650 \begin_layout Section
13652 \begin_inset LatexCommand label
13660 \begin_layout Subsection
13664 \begin_layout Standard
13665 Najprostszym sposobem użycia reLyX-a jest użycie polecenia
13667 Plik\SpecialChar \menuseparator
13670 (polecenie jest dostępne w LyX-ie począwszy od wersji 1.0.0).
13671 Polecenie uruchamia reLyX i podaje mu plik wejściowy, a następnie wczytuje
13673 Ten sposób powinieneś spróbować jako pierwszy, a korzystać z wywołania
13674 z wiersza poleceń tylko, jeśli potrzebujesz bardziej skomplikowanych opcji.
13677 \begin_layout Standard
13731 \begin_layout Standard
13781 \begin_layout Standard
13787 \begin_layout Subsection
13791 \begin_layout Description
13793 Domyślnie, gdy reLyX zobaczy polecenie
13799 , tworzy plik klasy ,,foo'' i wczytuje plik układu LyX-a dla tej klasy (zwykle
13800 /usr/share/lyx/layouts/foo.layout lub
13804 /.lyx/layouts/foo.layout).
13809 aby zadeklarować inną klasę dokumentu (i wczytać inny plik układu).
13812 \begin_layout Description
13813 -d Diagnostyka (debug).
13814 Domyślnie, reLyX rzadko daje wyjście i usuwa pliki tymczasowe utworzone
13820 utworzy wiele więcej informacji wyjściowych (do stdout i stderr) i pozostawia
13824 \begin_layout Description
13826 reLyX nie uruchamia się jeśli plik .lyx, który ma zostać utworzony istnieje.
13827 Użyj (ostrożnie) opcji
13831 aby zastąpić istniejące pliki.
13834 \begin_layout Description
13836 Drukuje informacje o sposobie użycia i kończy pracę.
13839 \begin_layout Description
13840 -o Katalog wyjściowy (output directory).
13841 W przypadku użycia tej opcji, wszystkie pliki tymczasowe i wyjściowe LyX-a
13842 (dla podanego pliku wejściowego lub dla dowolnych plików częściowych podanych
13847 ) zostaną umieszczone w katalogu
13852 W innym przypadku, dla każdego pliku
13856 , pliki tymczasowe i pliki wyjściowe LyX-a zostaną umieszczone w katalogu
13862 To może być użyteczne jeśli włączasz pliki z innych katalogów, a które
13863 chcesz umieścić we wspólnym folderze lub nie masz praw zapisu w ich folderach
13867 \begin_layout Description
13868 -p Plik częściowy (partial).
13869 Wejściem jest fragment pliku LaTeX-a bez preambuły lub bez polecenia
13876 Ta opcja wymaga parametru
13880 , ponieważ plik źródłowy nie posiada preambuły z deklaracją klasy:
13887 Gdy używasz tej opcji, to możesz konwertować więcej niż jeden plik, dopóki
13888 wszystkie pliki są tej samej klasy.
13889 Pliki LyX-a utworzone przez reLyX mogą być dołączane do istniejących plików
13890 LyX-a za pomocą polecenia
13892 Wstaw\SpecialChar \menuseparator
13898 \begin_layout Description
13899 -r Środowiska regularne (regular environments) (zobacz sekcję
13904 Jeśli podajesz więcej niż jedno środowisko, to rozdzielaj je przecinkiem
13906 Będziesz prawdopodobnie potrzebował listę środowisk umieścić w cudzysłowie,
13907 szczególnie gdy umieściłeś na liście środowiska z gwiazdką (foo*).
13908 Jeśli często używasz tego parametru, to rozważ utworzenie osobistego pliku
13912 \begin_layout Description
13913 -s Plik składni (syntax file).
13914 Dodatkowe pliki składni (umieszczaj w cudzysłowie, rozdzielaj przecinkiem)
13915 do wczytania (zobacz sekcję
13919 aby poznać szczegóły).
13922 \begin_layout Subsection
13926 \begin_layout Subsubsection
13930 \begin_layout Standard
13931 reLyX tworzy plik LyX-a
13935 na podstawie pliku LaTeX-a
13939 (jeśli nie podano opcji
13946 \begin_layout Standard
13947 Rozszerzenia plików .tex, .ltx i .latex są obsługiwane.
13952 nie istnieje lub nie posiada żadnego z podanych rozszerzeń, to reLyX próbuje
13957 (zachowuje się podobnie jak LaTeX.)
13960 \begin_layout Standard
13961 Przeznaczeniem reLyX jest translacja
13965 z LaTeX2e do LyX-a.
13966 Jeśli twój plik LaTeX nie kompiluje się lub robi dziwne rzeczy, jak przedefinio
13967 wywanie standardowych poleceń LaTeX -- it may choke.
13968 Pliki LaTeX209 są konwertowane poprawnie, ale bez gwarancji.
13971 \begin_layout Standard
13972 reLyX ma kilka błędów i brak mu kilku funkcji.
13973 Jednak głównymi celami są:
13976 \begin_layout Itemize
13977 Uporać się z plikiem LaTeX2e bez upadku,
13980 \begin_layout Itemize
13981 Translacja wielu takich plików,
13984 \begin_layout Itemize
13985 Lokalizacja części, które nie mogą być tłumaczone i kopiowanie ich w trybie
13989 \begin_layout Standard
13990 Te główne cele są osiągane dla większości plików.
13993 \begin_layout Standard
13994 Istnieje wiele ulepszeń, które mogą być i będą wprowadzone do reLyX-a w
13996 Jednak, my chcemy korzystać z reLyX jak najwcześniej, aby ułatwić nowym
13997 użytkownikom LyX wczytywanie ich istniejących plików LaTeX-a.
14000 \begin_layout Subsubsection
14004 \begin_layout Standard
14005 Tutaj znajduje się dłuższy opis co powinieneś zrobić, aby skonwertować dokument
14006 LaTeX do dokumentu LyX-a.
14009 \begin_layout Itemize
14014 \begin_layout Standard
14015 reLyX będzie informował Ciebie o postępach i wysyłał ostrzeżenia do stderr,
14016 jeśli nie chcesz żadnych informacji spróbuj ,,
14018 reLyX foo.tex > /dev/null
14021 Nie powinieneś przekierowywać standardowego wyjścia do
14029 \begin_layout Itemize
14030 Uruchom LyX (wersja 0.12 lub późniejsza) z wynikowym plikiem .lyx.
14034 \begin_layout Standard
14035 Teoretycznie większość pliku zostanie przetłumaczona, a jeśli coś nie zostanie
14036 przetłumaczone, to zostanie zaznaczone na czerwono (tryb TeX).
14037 Teoretycznie LyX potrafi wczytać plik i utworzyć dokument na jego podstawie,
14038 ponieważ wszystkie nieprzetłumaczone rzeczy zostaną wstawione w trybie
14039 all that untranslated red stuff will be passed directly back to LaTeX,
14040 which LyX uses as a backend.
14041 Niestety rzeczywistość nie zawsze jest odzwierciedla teorię.
14042 Jeśli reLyX przewraca się lub LyX nie potrafi wczytać utworzonego pliku
14047 gdzieś w tym dokumencie lub w pliku
14055 \begin_layout Itemize
14056 Zmień podświetlone na czerwono (tryb TeX) rzeczy ręcznie w LyX-ie.
14060 \begin_layout Standard
14061 Jak wspomniałem powyżej, powinieneś móc wydrukować plik LyX bez robienia
14063 Jednak zmiany poleceń z trybu TeX na odpowiednie obiekty LyX-a pozwolą
14064 na bardziej zaawansowaną edycję w trybie WYSIWYM.
14067 \begin_layout Standard
14068 reLyX nie gwarantuje utworzenia pliku LyX, który utworzy dokładnie identyczny
14069 wydruk jak z pliku LaTeX, ale powinien być zbliżony.
14070 reLyX will generally err on the side of translating less to ensure that
14071 dvi or ps files are accurate, even though this leads to more
14072 \begin_inset Quotes eld
14076 \begin_inset Quotes erd
14083 \begin_layout Itemize
14084 Dokonaj KOREKTY dokumentu!
14088 \begin_layout Standard
14089 I'm sure you were planning on doing this anyway, but it's particularly important
14090 after translating a LaTeX document.
14091 reLyX is, at least now, better at
14092 \begin_inset Quotes eld
14096 \begin_inset Quotes erd
14099 (translating the whole document) than
14100 \begin_inset Quotes eld
14104 \begin_inset Quotes erd
14107 (translating every little detail).
14108 For example, you may see extra spaces or deleted spaces.
14109 Space handling has improved, but it's not perfect.
14113 \begin_layout Subsubsection
14114 Co reLyX może przechwycić
14117 \begin_layout Standard
14118 reLyX rozumie wiele poleceń LaTeX-a.
14119 Zostaną skonwertowane:
14122 \begin_layout Itemize
14123 zwykły tekst, włączając minipolecenia takie jak: ~, '',
14135 , a także akcentowane znaki takie jak
14141 i przypadki specjalne ?` i !`
14144 \begin_layout Itemize
14145 polecenia strony tytułowej takie jak
14176 \begin_layout Itemize
14177 polecenia struktury tekstu takie jak
14183 włączając polecenia z gwiazdką (np.
14193 \begin_layout Itemize
14219 \begin_layout Itemize
14239 Również zagnieżdżone listy
14242 \begin_layout Itemize
14243 polecenia odnośników:
14268 \begin_layout Itemize
14282 \begin_layout Itemize
14283 polecenia zmiany czcionki włączając
14301 i odpowiednie polecenia do zmiany rodziny, grubości, odmiany i wielkości
14304 \begin_layout Itemize
14324 Polecenia Plain TeX
14336 '') są również obsługiwane
14339 \begin_layout Itemize
14344 i jego polecenia takie jak
14365 \begin_layout Itemize
14374 , a także polecenie
14381 \begin_layout Itemize
14392 , a także polecenia BibTeX-a
14405 \begin_layout Itemize
14432 \SpecialChar \ldots{}
14436 \begin_layout Itemize
14437 środowiska specyficzne dla klasy dokumentu (i trochę poleceń), które mogą
14438 być konwertowane do pliku układu LyX-a
14441 \begin_layout Itemize
14442 argumenty pewnych niekonwertowalnych poleceń (np.
14452 \begin_layout Standard
14453 Niektóre z nich mogą nie być jeszcze wspierane w 100%.
14454 Zobacz poniżej szczegóły
14457 \begin_layout Standard
14458 reLyX kopiuje matematykę (prawie) wprost z twojego pliku LaTeX-a.
14459 Szczęśliwie wczytuje matematykę LaTeX-a (prawie), która jest obsługiwana
14460 przez LyX-a i działa świetnie.
14461 Niektóre polecenia matematyczne, które nie są obsługiwane przez LyX-a zostaną
14462 zastąpione ich ekwiwalentami, np.
14469 będzie skonwertowane do
14480 aby poznać więcej szczegółów.
14483 \begin_layout Standard
14484 reLyX także kopiuje polecenia preambuły (np.
14491 ), so fancy stuff you've got in your preamble should be conserved in dvi
14492 and printed documents, although it will not of course show up in the LyX
14499 ormatowanie\SpecialChar \menuseparator
14505 \begin_layout Subsubsection
14506 Czego reLyX nie może przechwycić -- ale jest OK
14509 \begin_layout Itemize
14517 \begin_layout Itemize
14521 \begin_layout Itemize
14522 polecenia odstępów (
14543 \begin_layout Itemize
14563 \begin_layout Itemize
14575 reLyX kopiuje je ostrożnie i
14579 , włączając komentarze i białe spacje.
14582 \begin_layout Itemize
14584 utworzone przez użytkownika) środowiska i polecenia
14587 \begin_layout Standard
14588 reLyX kopiuje nieznane polecenia wraz z ich argumentami dosłownie do pliku
14590 Ponadto, jeśli zobaczy
14596 gdzie nie rozpozna środowiska ,,foo'', skopiuje dosłownie aż do
14602 (bez użycia parametru
14607 Hopefully, then, most of these unknown commands won't cause reLyX to break;
14608 they'll merely require you to do some editing once you've loaded the file
14610 That should be less painful than editing either the .tex or the .lyx file
14611 using a text editor.
14614 \begin_layout Subsubsection
14615 Co reLyX przechwytuje niepoprawnie -- są błędy
14618 \begin_layout Standard
14619 reLyX jest względnie nowy i ma kilka problemów.
14620 As it matures, these bugs will be squished.
14621 Listę błędów i brakujących cech można znaleźć w LyX bug tracker
14622 \begin_inset LatexCommand url
14623 name "LyX Bugzilla"
14624 target "http://bugzilla.lyx.org/"
14631 \begin_layout Standard
14632 If reLyX is choking on something lub LyX nie potrafi wczytać go po konwersji
14633 przez reLyX, to najlepszą rzeczą do zrobienia jest wstawienie poleceń
14639 przed podejrzany tekst i
14646 Ja nazywam to ,,skip'' blok.
14647 reLyX będzie kopiował ten blok dokładnie w trybie TeX.
14648 Następnie wyedytuj wynikowy plik LyX i przetłumacz nieznane rzeczy ręcznie.
14653 jest magiczne; polecenia
14665 nie będą wstawione do pliku LyX.
14668 \begin_layout Itemize
14669 ,,Dokładne'' kopiowanie nieznanych środowisk i poleceń nie jest zupełnie
14671 Wyszczególniając, komentarze i nowe wiersze mogą zostać utracone.
14672 To będzie dawać z siebie brzydkiego LyX-a, ale w prawie wszystkich przypadkach
14673 wynik będzie taki sam.
14674 Mimo to, pewne części pliku będą kopiowane perfekcyjnie z białymi spacjami
14675 i komentarzami włącznie.
14676 Włączając w to: preambułę LaTeX-a, środowisko
14689 \begin_layout Itemize
14690 reLyX konwertuje tylko kilka opcji polecenia
14696 (Wyszczególniając: 1[012]pt, [letter|legal|executive|a4|a5|b5]paper, [one|two]s
14697 ide, landscape i [one|two]column.) Inne opcje są umieszczane w polu
14706 ormatowanie\SpecialChar \menuseparator
14720 \begin_layout Standard
14721 Co ważniejsze, reLyX nie tłumaczy polecenia
14727 , poleceń marginesów,
14733 , w rzeczywistości niczego w preambule.
14734 Po prostu kopiuje je do preambuły LaTeX w dokumencie LyX-a.
14735 Jeśli masz polecenie marginesu w preambule, to plik LyX-a będzie generował
14737 jednak te marginesy będą zastąpione prze marginesy ustawione w oknie
14749 Tak że powinieneś usunąć te opcje z preambuły (
14754 ormatowanie-Preambuła
14756 ) aby się zabezpieczyć.
14757 Podobnie dzieje się z wyborem języka przez babel,
14773 \begin_layout Itemize
14774 Klasa foil ma parę błędów.
14775 reLyX may do weird things z opcjonalnymi argumentami polecenia
14788 może być obsłużone niepoprawnie (although the stuff in the environment
14789 should translate normally).
14792 \begin_layout Standard
14793 Więcej znaczących błędów możesz znaleźć w pliku
14800 \begin_layout Standard
14801 reLyX is hopefully rather robust.
14802 Jak wspomniałem powyżej, może on nie konwertować twojego pliku perfekcyjnie,
14803 ale nie powinien się przewracać.
14804 Jeśli jednak się przewraca -- i problemem nie jest jednym ze wspomnianych
14805 powyżej lub w pliku
14816 \begin_layout Subsubsection
14817 Czego reLyX nie potrafi przechwycić
14820 \begin_layout Standard
14821 LyX wewnętrznie nie obsługuje paru rzeczy, tak że gdyby reLyX przetłumaczył
14822 to perfekcyjnie, LyX miałby problem wczytać je.
14823 Jeśli na pewno potrzebujesz tych cech, to możesz po ukończeniu pracy nad
14824 dokumentem wyeksportować go do LaTeX-a i wstawić je tam z powrotem.
14829 aby poznać więcej szczegółów odnośnie błędów.
14832 \begin_layout Itemize
14833 Dla kilku poleceń LyX nie obsługuje argumentów opcjonalnych.
14834 Na przykład zawartych w
14846 (i inne polecenia struktury tekstu) i
14855 reLyX będzie automatycznie pomijał opcjonalne argumenty i wysyłał ostrzeżenie
14857 LyX także ignoruje argument width w środowisku
14864 \begin_layout Itemize
14865 Środkowanie (lub wyrównanie do lewej lub prawej) działa na pełnych akapitach.
14868 \begin_layout Itemize
14869 Obsługa tabel przez LyX-a nie jest perfekcyjna.
14870 Dla skomplikowanych tabel użyj bloku ,,skip'', tak że one zostaną skopiowane
14874 \begin_layout Itemize
14875 Edytor wyrażeń matematycznych LyX-a nie obsługuje środowisk AMS-LaTeX takich
14876 jak align, split itd.
14877 Te środowiska zostaną skopiowane w trybie TeX.
14878 Możesz zmienić środowisko
14882 do dokładnego odpowiednika
14886 , a wówczas konwersja będzie poprawna.
14889 \begin_layout Subsubsection
14893 \begin_layout Standard
14894 W przyszłości więcej poleceń i środowisk będzie obsługiwanych przez reLyX.
14895 Błędy zostaną wyeliminowane.
14898 \begin_layout Standard
14899 Zobacz plik TODO dla poznania szczegółów.
14902 \begin_layout Subsection
14906 \begin_layout Standard
14910 \begin_inset Quotes eld
14914 \begin_inset Quotes erd
14918 \begin_inset Quotes eld
14922 \begin_inset Quotes erd
14925 foo.tex > foo.debug
14928 \begin_layout Standard
14929 Powyższe polecenie utworzy plik
14937 , zastępując istniejący jeśli istnieje.
14947 , skonwertuje zawartość bloku, ale polecenia
14959 skopiuje w trybie TeX-a.
14960 Kończąc, zachowa pliki tymczasowe (znajdują się one w
14964 ) i zapisze dużo informacji diagnostycznych do pliku
14971 \begin_layout Subsection
14975 \begin_layout Subsubsection
14979 \begin_layout Standard
14980 If reLyX is crashing or otherwise acting strangely---in ways other than
14981 those described in the section on
14989 file---then please run reLyX
14994 That will allow you to figure out where in the reLyXing process it crashed.
14995 That, in turn, will allow you to write a better bug report, which will
14996 allow the developers to fix it more quickly and easily.
14999 \begin_layout Standard
15000 Bug reports should be sent to the LyX developers' mailing list.
15001 Its address is currently lyx-devel@lists.lyx.org, but you can check the LyX
15002 home page, http://www.lyx.org if that bounces.
15003 If you are running reLyX on a huge file, please do not send all of the
15004 output in your bug report.
15005 Just include the last ten or twenty lines of output, along with the piece
15006 of the LaTeX file it crashed on.
15007 Or, even better, attach a small but complete file which causes the same
15008 problem as your original file.
15011 \begin_layout Subsubsection
15012 Szczegóły implementacji
15015 \begin_layout Standard
15016 reLyX wykonuje kilka ,,przebiegów'' w celu konwersji pliku LaTeX-a.
15017 W każdym przebiegu tworzony jest jeden lub dwa pliku.
15020 \begin_layout Description
15021 Przebieg\InsetSpace ~
15025 Zanim zrobi cokolwiek, wczytuje plik (lub pliki) składni .
15028 \begin_layout Description
15029 Przebieg\InsetSpace ~
15033 Oddziela preambułę (cokolwiek przed poleceniem
15040 Zapisuje dwie części w oddzielnych plikach.
15041 To jest niezbędne, ponieważ w preambule mogą być dziwne rzeczy.
15042 Także ignoruje cokolwiek jest za poleceniem
15048 , zakładając że to nie jest LaTeX.
15051 \begin_layout Description
15052 Przebieg\InsetSpace ~
15056 Konwertuje preambułę.
15057 Aktualnie oznacza to konwersję polecenia
15063 i dokładne skopiowanie reszty do preambuły LyX-e.
15067 \begin_layout Standard
15068 Jak pozna klasę dokumentu, to wczytuje plik układu LyX-a dla tej klasy.
15072 \begin_layout Description
15073 Przebieg\InsetSpace ~
15077 ,,Czyści'' plik TeX, generując nieznacznie dokładniej LaTeX-a.
15082 \begin_layout Itemize
15083 Zamiana, np: x^2 na ekwiwalent, ale przejrzystszy x^{2}
15086 \begin_layout Itemize
15087 Usuwa opcjonalne argumenty, których LyX nie obsługuje (np.
15097 \begin_layout Itemize
15111 To jest konieczne, ponieważ w innym wypadku LyX zawsze zapisuje jako nielokalne.
15112 This should very rarely make a difference.
15116 \begin_layout Description
15117 Przebieg\InsetSpace ~
15121 Konwertuje tekst LaTeX-a, polecenia i środowiska do LyX-a.
15124 \begin_layout Description
15125 Przebieg\InsetSpace ~
15129 Składa obie części razem i wykonuje some final tweaking, aby utworzyć
15133 \begin_layout Standard
15134 Jeśli są jakieś polecenia
15146 , reLyX zacznie przetwarzać także dołączane pliki.
15147 Zakłada on, że dołączane pliki są tej samej klasy co dokument główny i
15148 nie posiadają preambuły.
15149 (Jeśli ma polecenie
15155 w preambule pliku, to polecenia zostaną dokładnie skopiowane do LaTeX-owej
15156 części preambuły pliku LyX, a dołączane pliki nie będą konwertowane).
15157 Podczas konwersji dołączonych plików pomijany jest przebieg 0 i 1.
15160 \begin_layout Standard
15161 Jeśli reLyX nie znajdzie plików, które chciałeś dołączyć, wyśle Ci ostrzeżenie
15162 ale będzie kontynuował konwersję pozostałych znalezionych plików.
15165 \begin_layout Subsubsection
15169 \begin_layout Standard
15170 reLyX wczytuje plik układu LyX-a aby wiedzieć jak obsługiwać środowiska
15171 LaTeX-a i polecenia, które będą konwertowane do układu LyX-a.
15172 Ten plik dołącza wszystkie ,,normalne'' niematematyczne środowiska (np.
15173 włączając w to quote i itemize, ale nie tabular, minipage i kilka środowisk
15174 fancy) i polecenia takie jak
15187 jeśli chcesz konwertować reLyX-em klasę, dla której nie istniej plik układu
15188 LyX-a, to będziesz musiał najpierw go utworzyć.
15189 Tak czy owak będziesz musiał to zrobić, z powodu pliku LyX, ponieważ zależy
15190 on od pliku układu, w którym podany jest sposób jego wyświetlania i przetwarzan
15192 Sprawdź dokumentację LyX-a dla pomocy w tym zadaniu (które może być trudne
15193 lub łatwe, w zależności od klasy, dla której chcesz utworzyć plik układu).
15194 jeśli Twoja klasa jest zupełnie podobna do klasy, dla której istnieje plik
15195 układu, to rozważ użycie opcji
15202 \begin_layout Subsubsection
15206 \begin_layout Standard
15207 reLyX zawsze wczytuje co najmniej jeden plik składni, zwany domyślnym plikiem
15209 reLyX wczytuje twój osobisty plik składni jeśli istnieje, jeśli nie istnieje
15210 to wczytuje plik systemowy.
15211 reLyX wczytuje także dodatkowe pliki składni wyspecyfikowane w opcji
15215 (These extra files should have the same format as the default file, but
15216 will tend to be shorter, since they only have to specify extra commands
15217 not found in the default file).
15218 A syntax file tells reLyX a few things.
15221 \begin_layout Standard
15222 First, it describes the syntax of each command, that is, how many required
15223 arguments and how many optional arguments the command takes.
15224 Knowing this makes it easier for reLyX to copy (in TeX mode) commands that
15225 it doesn't know how to translate.
15226 The syntax file simply has a command, followed by braces or brackets describing
15227 its arguments in the correct order.
15228 For example, a syntax file entry
15240 command takes an optional argument followed by a required one, while the
15253 command takes no arguments at all.
15254 When reLyX encounters a token that it doesn't know how to translate into
15255 LyX, it will copy the token---along with the correct number of arguments---exac
15257 If the token is not in the syntax file, then reLyX just copies as many
15258 arguments as it finds.
15259 This means that it may copy too much.
15260 But since the user can specify additional syntax files, that shouldn't
15264 \begin_layout Standard
15265 Some commands that cannot be translated to LyX, like
15271 , have as one of their arguments regular LaTeX text.
15273 \begin_inset Quotes eld
15277 \begin_inset Quotes erd
15280 is put into an argument of an (untranslatable) command in the syntax file,
15281 then reLyX will translate that argument instead of copying it verbatim.
15282 So, for example, the default syntax file has
15286 raisebox{}[][]{translate}
15289 This means that the
15295 command and the first argument (and optional arguments if they exist) are
15296 copied in TeX mode, but the last argument (which may contain math, complicated
15297 LaTeX, other untranslatable commands, etc.) will be translated into LyX.
15299 \begin_inset Quotes eld
15303 \begin_inset Quotes erd
15306 on optional arguments.
15309 \begin_layout Standard
15310 User-defined syntax files are allowed to define new commands and their syntax,
15311 or override the number of arguments for a command given in the default
15313 (E.g., if you're using a style that gives an extra argument to some command...)
15314 However, this will only be useful for commands copied in TeX mode.
15315 Commands which are actually translated by reLyX (like
15321 ) have their argument syntax hard-coded.
15322 The hard-coded commands are identified in the default syntax file.
15325 \begin_layout Standard
15326 Second, the syntax file describes any
15327 \begin_inset Quotes eld
15330 regular environments
15331 \begin_inset Quotes erd
15335 Usually, an entire unknown environment will be copied in TeX mode.
15336 If you define a regular environment
15337 \begin_inset Quotes eld
15341 \begin_inset Quotes erd
15344 , though, then only the
15356 commands will be copied in TeX mode; the text within the environment will
15357 be treated (i.e., translated) by reLyX as regular LaTeX, rather than being
15358 copied into TeX mode.
15359 Don't try to declare
15367 as regular environments, as the text within those environments will confuse
15368 reLyX; use this capability for new environments you create that have plain
15369 text or math or simple commands in them.
15370 You also can't declare unknown math environments (like
15374 ) as regular environments, either, since the LyX math editor won't understand
15376 The names of regular environments appear, whitespace-separated, between
15388 statements in the syntax file.
15389 (If you have a regular environment which you won't use very often, you
15394 option rather than writing a syntax file.)
15397 \begin_layout Standard
15398 Third, the syntax file describes a math translation table.
15399 The LyX math editor doesn't support a few commands.
15404 is supported, but the equivalent
15411 Put any commands you'd like translate between
15425 \begin_inset Quotes eld
15437 \begin_inset Quotes erd
15446 in math mode will be converted to
15447 \begin_inset Quotes eld
15457 \begin_inset Quotes erd
15460 (in cases where a token made up of a backslash and a non-letter is translated
15461 to something with letters at the end, a space is added by reLyX.
15463 \begin_inset Quotes eld
15473 \begin_inset Quotes erd
15476 is correctly translated to
15477 \begin_inset Quotes eld
15487 \begin_inset Quotes erd
15493 \begin_layout Subsubsection
15497 \begin_layout Standard
15498 Potrzebujesz Perl-a 5.002 lub nowszego do uruchomienia reLyX-a.
15499 Jeśli nie masz Perl-a to powinieneś go ściągnąć (
15503 \begin_layout Standard
15507 url{http://www.perl.com}
15512 ), ponieważ jest rzeczywiście użytecznym narzędziem do bardzo wielu rzeczy.
15515 \begin_layout Subsection
15519 \begin_layout Standard
15520 reLyX powinien zawsze wyjaśnić dlaczego nie powiodło się tłumaczenie, jeśli
15522 Niektóre komunikaty diagnostyczne mogą być bardzo techniczne, jeśli pochodzą
15523 one z wnętrza kodu.
15524 reLyX daje znacznie więcej informacji gdy zostanie uruchomiony z opcją
15529 , ale nie powinieneś tego potrzebować jeśli nic złego się nie zdarzyło.
15532 \begin_layout Standard
15533 Gdy zakończy pracę, reLyX będzie Cię informował o pomyślnym zakończeniu
15534 lub o błędzie, który spowodował przerwanie przetwarzania.
15537 \begin_layout Subsection
15541 \begin_layout Standard
15542 Zawsze zachowaj kopię oryginalnego pliku LaTeX-a pod inną nazwą lub w innym
15544 Istnieje kilka sposobów, w których użycie LyX-a prowadzi do nadpisania
15545 oryginalnego pliku LaTeX-a.
15548 \begin_layout Standard
15549 Jeśli importujesz plik foo.tex utworzysz foo.lyx, następnie edytujesz plik
15550 foo.lyx i chcesz ponownie wyeksportować go, to zauważ, że zastąpisz oryginalny
15551 plik foo.tex (LyX zapyta cię czy chcesz zastąpić go).
15554 \begin_layout Standard
15555 Jeśli ustawiłeś zmienną
15557 use_tempdir na false w swoim pliku lyxrc, wówczas LyX utworzy pliki tymczasowe
15558 w twoim lokalnym katalogu, co oznacza, że Twój oryginalny plik LaTeX może
15559 zostać zastąpiony (bez ostrzeżenia ze strony LyX) gdy wykonasz podgląd
15560 lub wydruk dokumentu LyX-a.
15563 \begin_layout Subsection
15567 \begin_layout Description
15572 /layouts/*.layout \InsetSpace ~
15575 Osobiste pliki układów dokumentów
15578 \begin_layout Description
15583 /reLyX/syntax.default \InsetSpace ~
15586 Osobisty plik składni
15589 \begin_layout Description
15594 /layouts/*.layout \InsetSpace ~
15597 Systemowy pliki układów dokumentów
15600 \begin_layout Description
15605 /reLyX/syntax.default \InsetSpace ~
15608 Systemowy plik składni LaTeX-a
15611 \begin_layout Standard
15616 jest katalogiem instalacyjnym LyX, często /usr/local/share/lyx/.
15621 jest osobistym katalogiem LyX-a, zwykle nazywa się .lyx/ i znajduje się
15622 w Twoim katalogu domowym.
15625 \begin_layout Subsection
15629 \begin_layout Standard
15641 \begin_layout Subsection
15645 \begin_layout Standard
15646 Copyright (c) 1998-9 Amir Karger (karger@voth.chem.utah.edu)
15649 \begin_layout Standard
15653 \begin_layout Itemize
15654 John Weiss napisał oryginalny CleanTeX pass.
15657 \begin_layout Itemize
15661 \begin_layout Itemize
15662 José Abı́lio Oliveira Matos
15665 \begin_layout Itemize
15666 David Suarez de Lis
15669 \begin_layout Standard
15670 Inni współpracownicy:
15673 \begin_layout Itemize
15674 Jean-Marc Lasgouttes worked on the wrapper script and offered lots of bug
15675 reports, advice, and feature suggestions.
15678 \begin_layout Itemize
15680 Alstrup Nielsen i Marc Pavese doradzający.
15683 \begin_layout Itemize
15684 Różni członkowie list dyskusyjnych LyX developers' i users' dostarczający
15685 raporty o błędach i sugerowanie nowych cech.
15688 \begin_layout Standard
15689 reLyX używa zmodyfikowanej wersji Perl-owego parsera TeX -- pakiet Text::TeX
15690 napisanego przez Ilya Zakharevich (ilya@math.ohio-state.edu), dostępnego
15694 \begin_layout Chapter
15695 Funkcje LyX-a wymagające zewnętrznych programów
15698 \begin_layout Section
15702 \begin_layout Standard
15708 \begin_layout Subsection
15709 Wysyłanie faksów wprost z LyX-a
15712 \begin_layout Standard
15713 Przede wszystkim musimy wspomnieć, że LyX potrafi wysyłać faksy pod warunkiem,
15714 że masz zainstalowane i działające oprogramowanie do wysyłania faksów (np.
15715 HylaFax, efax, mgetty+sendfax, \SpecialChar \ldots{}
15717 LyX pracuje tylko jako graficzny interfejs (front end) do tych programów!
15720 \begin_layout Standard
15721 W zależności od używanego oprogramowania faksowego musisz ustawić kilka
15730 \begin_layout Description
15737 Tutaj należy podać polecenie, które ma wywołać LyX aby wysłać faks.
15738 Polecenie powinno być zdolne przetworzyć plik PostScript, wytworzony przez
15740 Łańcuch polecenia może zawierać następujące zmienne:
15744 \begin_layout Description
15749 zastępuje nazwę zmiennej środowiska FAX_SERVER
15752 \begin_layout Description
15757 zastępuje zawartość pola komentarz
15760 \begin_layout Description
15765 zastępuje zawartość pola Firma
15768 \begin_layout Description
15773 zastępuje zawartość pola nazwa
15776 \begin_layout Description
15781 zastępuje zawartość pola numer faksu
15784 \begin_layout Description
15789 zastępuje nazwę pliku, który ma zostać wysłany
15793 \begin_layout Paragraph
15797 \begin_layout Standard
15798 Przyjmujemy, że nazwałeś plik ,,
15802 '' i chciałbyś wysłać go wprost do faksu nie opuszczając LyX-a.
15803 Masz zainstalowane oprogramowanie HylaFax i twoja zmienna środowiska
15811 '' i podałeś te wartości w oknie faksowania:
15815 \labelwidthstring 00.00.0000
15825 \labelwidthstring 00.00.0000
15835 \labelwidthstring 00.00.0000
15844 \labelwidthstring 00.00.0000
15849 This comment string
15852 \begin_layout Standard
15853 Z podanymi niżej ustawieniami:
15856 \begin_layout LyX-Code
15860 \begin_inset Quotes eld
15863 sendfax -n -h '$$Host' -c '$$Comment'
15866 \begin_layout LyX-Code
15867 -x '$$Enterprise' -d '$$Name'@'$$Phone' '$$FName'
15868 \begin_inset Quotes erd
15874 \begin_layout Standard
15875 zostanie wykonane polecenie:
15878 \begin_layout LyX-Code
15879 sendfax -n -h faxhost.mydomain -c 'This comment string'
15882 \begin_layout LyX-Code
15883 -x 'Startrek' -d 'Someone'@'+39-2-444666'
15886 \begin_layout LyX-Code
15887 <tempfile-path>/newfile.ps
15890 \begin_layout Description
15897 Zawiera nazwę pliku książki telefonicznej, którą możesz utworzyć w oknie
15899 Domyślną wartością jest
15901 $HOME/.lyx/phonebook.
15904 \begin_layout Paragraph
15908 \begin_layout LyX-Code
15911 phone_book myphonebook
15914 \begin_layout Standard
15915 zapisuje i czyta plik książki telefonicznej z pliku
15917 $HOME/.lyx/myphonebook
15920 \begin_layout LyX-Code
15923 phone_book /var/lib/phonebook
15926 \begin_layout Standard
15927 zapisuje i czyta plik książki telefonicznej
15932 \begin_layout Description
15939 W tym miejscu podajesz program, który LyX wywoła jako zewnętrzny program
15940 do wysłania Twojego faksu (np.
15941 tkhylafax), zamiast wbudowanego formularza faksu.
15942 Dopuszczalna jest tylko zmienna
15949 \begin_layout Paragraph
15953 \begin_layout LyX-Code
15957 \begin_inset Quotes eld
15960 tkhylafax '$$Fname'
15961 \begin_inset Quotes erd
15967 \begin_layout Standard
15968 Przy powyższych założeniach zostanie wykonane następujące polecenie:
15971 \begin_layout LyX-Code
15972 tkhylafax <tempfile-path>/newfile.ps
15975 \begin_layout Section
15979 \begin_layout Standard
15985 \begin_layout Subsection
15989 \begin_layout Standard
15994 możesz znaleźć polecenie
16004 Ta funkcja LyX-a wymaga posiadania zainstalowanego zewnętrznego programu
16009 i jest wygaszone jeśli go nie posiadasz.
16010 Możesz go pobrać z archiwów CTAN lub z
16011 \begin_inset LatexCommand url
16012 target "http://www.ifi.uio.no/~jensthi/chktex/"
16019 \begin_layout Standard
16024 jest programem napisanym przez sfrustrowanego
16029 , ponieważ wiele konstrukcji LaTeX-a czasami jest nieintuicyjnych i łatwych
16031 Program przetwarzając Twój plik LaTeX-a sprawdza integralność pliku i zaznacza
16033 W języku technicznym jest to
16040 \begin_layout Standard
16041 Czy CheckTeX jest kontrolerem składni, którego użycie zapewni poprawne pliki
16042 LateX-a? Odpowiedź jest prosta: Tak jak
16046 nie tylko sprawdza składnię programów w języku C, semantykę, wyłapuje wiele
16047 typowych błędów typograficznych.
16052 potrafi wykryć wiele podstawowych błędów, takich jak:
16055 \begin_layout Itemize
16056 Ellipsis detection:
16058 Use \SpecialChar \ldots{}
16062 \begin_layout Itemize
16063 No space in front of/after parenthesis:
16068 \begin_layout Itemize
16069 Enforcement of normal space after common abbreviations:
16073 is too wide spacing.
16076 \begin_layout Itemize
16077 Enforcement of end-of-sentence space when the last sentence ends with a
16081 And this is wrong spacing.
16084 \begin_layout Itemize
16085 Space in front of labels and similar commands:
16087 The label should stick right
16088 up to the text to avoid falling to a wrong page.
16089 \begin_inset LatexCommand label
16098 \begin_layout Standard
16099 This footnote is in danger of falling off to a wrong page
16107 \begin_layout Itemize
16108 Space in front of references, instead of hard spaces:
16110 In you are in bad luck,
16111 the text will break right between the referenced text and reference number,
16114 \begin_inset LatexCommand ref
16115 reference "sec:chktex"
16122 \begin_layout Itemize
16123 Use of ,,x'' instead of
16124 \begin_inset Formula $\times$
16129 2x2 looks cheap compared to
16130 \begin_inset Formula $2\times2$
16136 \begin_layout Standard
16137 i inne \SpecialChar \ldots{}
16138 To jest nieocenione narzędzie gdy ,,zakończyliśmy'' pracę nad dokumentem.
16139 Przed wydrukowaniem powinniśmy sprawdzić obligatoryjnie pisownię i uruchomić
16143 \begin_layout Subsection
16147 \begin_layout Standard
16148 Jeśli masz zainstalowany program
16152 , po prostu wybierz z menu polecenie
16157 dycja\SpecialChar \menuseparator
16165 To spowoduje utworzenie pliku LaTeX-a na podstawie Twojego dokumentu, sprawdzen
16170 i wstawienie ,,okienek błędów'' do dokumentu z ostrzeżeniami
16174 , jeśli jakieś znalazł.
16175 Ostrzeżenia zostaną umieszczone blisko miejsca wystąpienia błędu, które
16176 możesz szybko odnaleźć za pomocą polecenia z menu
16181 awigacja\SpecialChar \menuseparator
16184 lub za pomocą skótu klawiszowego
16188 w domyślnym pliku bind
16193 Okienko błędu otwiera się przez kliknięcie na nim myszką lub domyślnym
16198 albo skrótem z pliku bind
16207 Przeczytaj uwagi i popraw błędy jeśli są.
16208 Jeśli masz kłopoty ze zrozumieniem co oznaczają ostrzeżenia, możesz spokojnie
16210 Remember that there is a hidden layer between the document on screen and
16211 the technical details in invoking
16215 , and this gap can make some warnings seem arcane or just right down plain
16219 \begin_layout Standard
16220 This document is an excellent testing bed for the feature, and it should
16221 provide quite a few warnings for you to fiddle with.
16222 Since computers are only so smart, expect most of the warnings to be false
16226 \begin_layout Subsection
16230 \begin_layout Standard
16231 Sometimes, you'll find that
16235 makes more noise than suits your mood.
16236 Then you can choose not to use it, wait until your mood changes, or try
16241 to get better along with you.
16242 Another choice in the most desperate situations is to use
16247 dycja\SpecialChar \menuseparator
16255 suń wszystkie okienka błędów
16257 , which will get rid of all warnings instantly.
16260 \begin_layout Standard
16269 bardzo konfigurowalny i extensible, nie powinieneś spodziewać się rozwiązania
16270 wszystkich problemów przez
16275 Since LyX has to generate a somewhat special LaTeX file to be able to match
16276 the line numbers from
16284 \begin_layout Standard
16285 You can inspect the specific output from
16291 Edit\SpecialChar \menuseparator
16305 to appear correctly.
16306 Są dwie rzeczy, które możesz wykonać :
16309 \begin_layout Itemize
16310 Dopasuj polecenia wywołania
16318 lub w globalnym pliku konfiguracyjnym instalacji
16322 (zwykle jest to plik
16324 /usr/local/share/chktexrc
16327 Zobacz poniżej jak można włączać i wyłączać ostrzeżenia w wierszu poleceń.
16330 \begin_layout Itemize
16331 Wyeksportuj swoj dokument do LaTeX-a za pomocą polecenia
16336 lik\SpecialChar \menuseparator
16341 ksportuj\SpecialChar \menuseparator
16356 Invoked in this way, it can be a hassle to find the corresponding place
16357 in the document inside LyX, but with a little patience, you should be able
16361 \begin_layout Standard
16362 Poniższe komunikaty ostrzeżeń mogą być aktywowane lub wyłączone za pomocą
16363 odpowiednich wpisów w dyrektywie
16378 aby wyłączyć ostrzeżenie i
16383 Ostrzeżenia napisane kursywą są domyślnie wyłączone, przez domyślny wpis
16386 chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38
16391 \begin_layout Standard
16392 Notice that you should only use the options that enable and disable warnings,
16393 because LyX relies on some of the other command line parameters to be set
16394 in a specific way to have a chance to communicate with
16401 \begin_layout Enumerate
16405 Command terminated with space.
16408 \begin_layout Enumerate
16411 Non-breaking space (,,
16415 '') should have been used.
16418 \begin_layout Enumerate
16422 You should enclose the previous parenthesis with ,,
16429 \begin_layout Enumerate
16432 Italic correction (,,
16438 '') found in non-italic buffer.
16441 \begin_layout Enumerate
16444 Italic correction (,,
16450 '') found more than once.
16453 \begin_layout Enumerate
16457 No italic correction (,,
16466 \begin_layout Enumerate
16480 \begin_layout Enumerate
16483 Wrong length of dash may have been used.
16486 \begin_layout Enumerate
16494 '' expected, found ,,
16501 \begin_layout Enumerate
16511 \begin_layout Enumerate
16518 '' to achieve an ellipsis.
16521 \begin_layout Enumerate
16524 Inter-word spacing (,,
16530 '') should perhaps be used.
16533 \begin_layout Enumerate
16536 Inter-sentence spacing (,,
16542 '') should perhaps be used.
16545 \begin_layout Enumerate
16548 Could not find argument for command.
16551 \begin_layout Enumerate
16554 No match found for ,,
16561 \begin_layout Enumerate
16564 Math mode still on at end of LaTeX file.
16567 \begin_layout Enumerate
16574 '' doesn't match the number of ,,
16581 \begin_layout Enumerate
16584 You should use either
16592 as an alternative to ,,
16599 \begin_layout Enumerate
16606 '' (ASCII 39) instead of ,,
16613 \begin_layout Enumerate
16616 User-specified pattern found.
16619 \begin_layout Enumerate
16622 This command might not be intended.
16625 \begin_layout Enumerate
16632 \begin_layout Enumerate
16650 \begin_layout Enumerate
16653 Delete this space to maintain correct page references.
16656 \begin_layout Enumerate
16660 You might wish to put this between a pair of ,,
16667 \begin_layout Enumerate
16670 You ought to remove spaces in front of punctuation.
16673 \begin_layout Enumerate
16676 Could not execute LaTeX command.
16679 \begin_layout Enumerate
16688 in front of small punctuation.
16691 \begin_layout Enumerate
16699 may look prettier here.
16702 \begin_layout Enumerate
16706 Multiple spaces detected in output.
16709 \begin_layout Enumerate
16712 This text may be ignored.
16715 \begin_layout Enumerate
16722 to begin quotation, not '.
16725 \begin_layout Enumerate
16732 to end quotation, not
16739 \begin_layout Enumerate
16745 \begin_layout Enumerate
16748 You should perhaps use ,,
16755 \begin_layout Enumerate
16758 You should put a space in front of/after parenthesis.
16761 \begin_layout Enumerate
16764 You should avoid spaces in front of/after parenthesis.
16767 \begin_layout Enumerate
16771 You should not use punctuation in front of/after quotes.
16774 \begin_layout Enumerate
16777 Double space found.
16780 \begin_layout Enumerate
16783 You should put punctuation outside inner/inside display math mode.
16786 \begin_layout Enumerate
16789 You ought to not use primitive TeX in LaTeX code.
16792 \begin_layout Enumerate
16795 You should remove spaces in front of ,,
16802 \begin_layout Enumerate
16809 '' is normally not followed by ,,
16816 \begin_layout Standard
16817 Mam nadzieję, że w następnych wersjach LyX-a dostarczymy bardziej kompletny
16818 interfejs dla tego narzędzia (i jego mniejszego kuzyna
16822 ) dla wykorzystania jego pełnych możliwości.
16823 But it's not exactly useless as it is now: go try it on one of your existing
16824 documents of a certain length and be surprised.
16827 \begin_layout Section
16828 Kontrola wersji (RCS) w LyX
16831 \begin_layout Standard
16834 Lars Gullik Bjřnnes
16837 \begin_layout Subsection
16841 \begin_layout Standard
16842 Moi przyjaciele chcieli użyć LyX-a do projektu grupowego.
16843 Gdy nie znaleźli obsługi kontroli wersji ani blokowania plików, porzucili
16845 To na tyle mnie zirytowało, że postanowiłem zrobić obsługę dla RCS (z możliwośc
16846 ią obsługi CVS i/lub SCCS jako przyszłościowe ulepszenie).
16847 To już zostało zrobione i teraz LyX obsługuje najbardziej podstawowe polecenia
16851 \begin_layout Standard
16852 Jeśli potrzebujesz zrobić coś bardziej wyszukanego to będziesz musiał zrobić
16853 to ręcznie w terminalu xterm.
16856 \begin_layout Standard
16857 Zanim zaczniesz używać kontroli wersji w LyX-ie powinieneś wpierw przeczytać
16867 W tym pliku są opisane wszystkie podstawowe funkcje RCS.
16868 Powinieneś zwrócić szczególną uwagę na katalog RCS oraz na plik główny
16872 \begin_layout Standard
16873 W LyX-ie dokonano implementacji dla ostatniej wersji pakietu GNU RCS --
16874 nie gwarantujemy wykonania dla starszych wersji.
16877 \begin_layout Subsection
16878 Polecenia RCS w LyX
16881 \begin_layout Standard
16882 W dalszych sekcjach opisano polecenia RCS obsługiwane przez LyX-a.
16883 Możesz je znaleźć w menu
16888 lik\SpecialChar \menuseparator
16898 \begin_layout Subsubsection
16904 \begin_layout Standard
16905 Jeśli dokument nie jest objęty kontrolą wersji, to wyświetlone jest tylko
16907 A jeśli dokument jest objęty kontrolą wersji, to te polecenie jest wyłączone.
16910 \begin_layout Standard
16911 To polecenie rejestruje dokument w RCS.
16912 Zostaniesz zapytany o początkowy opis dokumentu.
16913 Dokument jest teraz w trybie TylkoDoOdczytu i aby dokonać jego edycji musisz
16919 Dokument objęty kontrolą wersji ma oznaczenie w buforze: [RCS:<version>
16923 \begin_layout Standard
16926 ci -q -u -i -t-"<initial description>" <file-name>
16929 \begin_layout Standard
16934 aby poznać parametry wywołania polecenia.
16937 \begin_layout Subsubsection
16941 \begin_layout Standard
16942 Gdy skończyłeś edycję pliku wprowadź zmianę do RCS.
16943 Gdy to zrobisz, zostaniesz zapytany o opis zmian, który zostanie zapisany
16944 w historii dokumentu.
16945 Numer wersji zostanie zwiększony, a twoje zmiany dopisane do głównego pliku
16947 Dokument jest odblokowany i ustawiony w tryb TylkoDoOdczytu.
16950 \begin_layout Standard
16953 ci -q -u -m"<description>" <file-name>
16956 \begin_layout Subsubsection
16960 \begin_layout Standard
16961 Za pomocą tego polecenia blokujemy dokument dla siebie i możemy go edytować.
16962 Polecenie ustawia plik w tryb ZapisOdczyt tylko dla Ciebie.
16963 Możesz kontynuować edycję do czasu, aż do wydania polecenia
16968 W wierszu statusowym zaznaczone jest że plik został zablokowany.
16971 \begin_layout Standard
16974 co -q -l <file-name>
16977 \begin_layout Subsubsection
16978 Wróć do ostatniej wersji
16981 \begin_layout Standard
16982 Polecenie usuwa wszystkie wprowadzone zmiany do dokumentu od czasu ostatniej
16983 rewizji (zwolnienia).
16984 Zostaniesz przedtem ostrzeżony.
16987 \begin_layout Standard
16990 co -f -u<version> <file-name>
16993 \begin_layout Subsubsection
16994 Usuń ostatnio wprowadzone zmiany
16997 \begin_layout Standard
16998 Wynikiem polecenia jest jak gdyby ostatnia rewizja się nie zdarzyła.
16999 W dokumencie LyX-a nie są dokonywane żadne zmiany, ale ostatnia wersja
17000 jest usuwana z głównego pliku RCS.
17003 \begin_layout Standard
17006 rcs -o<version> <file-name>
17011 \begin_layout Subsubsection
17012 Pokaż historię zmian
17015 \begin_layout Standard
17016 Polecenie wyświetla pełną historię dokumentu.
17017 Wyświetlony zostaje
17026 aby poznać więcej informacji.
17029 \begin_layout Section
17030 Literate Programming
17033 \begin_layout Standard
17036 Edmar Wienskoski Jr.
17039 (edmar-w-jr@technologist.com)
17042 \begin_layout Subsection
17046 \begin_layout Standard
17047 The main purpose of this documentation is to show you how to use LyX for
17048 literate programming.
17049 Where it is assumed that you are familiar with this programming technique,
17051 \begin_inset Quotes eld
17055 \begin_inset Quotes erd
17059 \begin_inset Quotes eld
17063 \begin_inset Quotes erd
17067 If that is not the case, please follow the web links provided in the following
17069 There is a lot of good documentation out there covering old development
17070 history to the latest tools tips.
17073 \begin_layout Standard
17074 It is also assumed that you are familiar with LyX itself to a point that
17075 you are comfortable changing your
17079 file, and X resources file.
17080 If that is not the case please refer to other LyX documentation to cover
17081 your specific needs.
17084 \begin_layout Subsection
17085 Literate Programming
17088 \begin_layout Standard
17089 From the Literate Programming FAQ :
17092 \begin_layout Quotation
17093 Literate programming is the combination of documentation and source together
17094 in a fashion suited for reading by human beings.
17095 In fact, literate programs should be enjoyable reading, even inviting!
17096 (Sorry Bob, I couldn't resist!) In general, literate programs combine source
17097 and documentation in a single file.
17098 Literate programming tools then parse the file to produce either readable
17099 documentation or compilable source.
17100 The WEB style of literate programming was created by D.E.
17101 Knuth during the development of his TeX typesetting software.
17104 \begin_layout Standard
17105 Another excerpt says:
17108 \begin_layout Quotation
17111 How is literate programming different from verbose commenting?
17114 \begin_layout Quotation
17115 There are three distinguishing characteristics.
17116 In order of importance, they are:
17120 \begin_layout Itemize
17121 flexible order of elaboration
17124 \begin_layout Itemize
17125 automatic support for browsing
17128 \begin_layout Itemize
17129 typeset documentation, especially diagrams and mathematics
17133 \begin_layout Standard
17134 Now that I sparked your curiosity, take a look in the references.
17137 \begin_layout Subsubsection
17141 \begin_layout Standard
17142 The complete Literate Programming FAQ can be found at:
17145 \begin_layout Quote
17146 http://shelob.ce.ttu.edu/daves/faq.html
17149 \begin_layout Standard
17150 The FAQ lists 23 (twenty three !) different literate programming tools.
17151 Where some are specialized or
17152 \begin_inset Quotes eld
17156 \begin_inset Quotes erd
17159 for particular programming languages, while other have general scope.
17164 for my own use for several reasons:
17167 \begin_layout Itemize
17168 It can generate the documentation either in latex or html.
17171 \begin_layout Itemize
17172 It has a open architecture, i.e., it is easy to plug in new filters and to
17173 perform special processing that you may need.
17176 \begin_layout Itemize
17177 There is a good selection of filters available already (the html is one
17181 \begin_layout Itemize
17185 \begin_layout Standard
17186 The Noweb web page can be found at:
17189 \begin_layout Quote
17190 http://www.cs.virginia.edu/~nr/noweb
17193 \begin_layout Standard
17194 Starting from there you can reach many other interesting links and even
17195 some literate program examples.
17198 \begin_layout Subsection
17199 LyX and Literate Programming
17202 \begin_layout Standard
17203 Some changes to LyX were required to enable it to interact with Noweb.
17204 Those changes were rather simple, and were done in a
17205 \begin_inset Quotes eld
17209 \begin_inset Quotes erd
17212 way, i.e., I expect that you will be able to use this new LyX feature with
17213 some other literate programming tool of your choice by just re-configuring
17217 \begin_layout Subsubsection
17218 Generowanie dokumentów i kodu (weaving and tangling)
17221 \begin_layout Paragraph
17222 Wybor klasy dokumentu
17225 \begin_layout Standard
17226 If you have installed Noweb and LyX successfully, whenever you open a new
17227 document or try to change the document class of an existing one, you will
17228 find that there are three new document classes available:
17231 \begin_layout Itemize
17235 \begin_layout Itemize
17239 \begin_layout Itemize
17243 \begin_layout Standard
17244 You must select one of them to create your literate documents from.
17247 \begin_layout Standard
17248 Note that literate documents are not limited to these three classes.
17249 New classes can be generated from other styles like letter or in combination
17250 with other class variations like Article (AMS).
17251 I have limited the choice to these three because I didn't want to clog
17252 the list of options with all possible variations.
17253 If you have special needs that cannot be covered by one of the existing
17254 classes, let me know and I will arrange to insert a new entry, or teach
17259 \begin_layout Standard
17260 It is very simple, it involves the creation of a file with four lines, and
17261 re-running of the auto configuration.
17266 a new set of document classes for it.
17269 \begin_layout Paragraph
17273 \begin_layout Standard
17274 LyX enables you to write code with a layout named
17282 \begin_layout Standard
17283 The equivalent Noweb term is
17284 \begin_inset Quotes eld
17288 \begin_inset Quotes erd
17292 For historical reasons, I got used to the term
17293 \begin_inset Quotes eld
17297 \begin_inset Quotes erd
17300 introduced by other literate tool named Nuweb, which I used for many years
17301 before rendering myself to Noweb.
17309 \begin_layout LyX-Code
17313 \begin_layout LyX-Code
17317 \begin_layout LyX-Code
17321 \begin_layout LyX-Code
17325 \begin_layout LyX-Code
17329 \begin_layout Standard
17330 The problem is that whatever is written in between the << and the
17334 must be taken literally, i.e., LyX should be prevented from making any special
17335 interpretation of what has been written.
17336 For that reason, I defined a new layout named Scrap, that works like a
17337 LaTeX paragraph but has a free spacing capability.
17338 In other words, it is a combination of the LaTeX and the LyX-Code layouts.
17341 \begin_layout Standard
17342 The down side of this
17343 \begin_inset Quotes eld
17347 \begin_inset Quotes erd
17350 is that consecutive paragraphs of code will be spaced with one empty line
17351 in the source code and also in the printed documentation.
17352 Of course I don't want this.
17353 The work around is to enter each line of code within a single Scrap, with
17354 a newline (ctrl-return).
17355 The example above will look like this:
17359 \begin_layout Standard
17360 If you have a printed version of this document you will not see any difference
17361 between the previous example and this one.
17377 \begin_layout Standard
17378 This layout works fine.
17379 The only real inconvenience is that you have to type ctrl-return instead
17384 \begin_layout Standard
17385 It is in my list of
17386 \begin_inset Quotes eld
17390 \begin_inset Quotes erd
17398 e to enter a blank character.
17399 I believe these problems are a small price to pay for the benefits LyX
17400 brings to you for typing, compiling, and debugging your literate program.
17403 \begin_layout Paragraph
17404 Generowanie dokumentacji
17407 \begin_layout Standard
17408 At this point you already have a new document file with a proper document
17409 class, and with some code and text on it.
17410 How do I print it ? The answer is simple, you select ,,Update dvi'' or
17411 ,,Update PostScript'' or ,,View dvi'', etc.
17412 Just like you would do for a plain document.
17413 No special procedure is required.
17416 \begin_layout Standard
17417 To help orientate you, I will now explain what happens inside LyX:
17420 \begin_layout Enumerate
17421 When the ,,Update dvi'' menu option is chosen, a latex file is generated.
17425 \begin_layout Standard
17426 If the document is of any literate class the generated file will be named
17427 with an extension name defined by
17433 , otherwise the file will have the usual
17441 \begin_layout Enumerate
17442 Note that the only difference so far is in the name of the file, no special
17443 processing is required by LyX.
17444 Given that you formatted the code using the Scrap layout that, by itself,
17445 takes care of the business.
17448 \begin_layout Enumerate
17449 If the document is of any literate class LyX will execute:
17453 \begin_layout LyX-Code
17454 \begin_inset Quotes eld
17460 \begin_inset Quotes erd
17474 \begin_layout LyX-Code
17475 \begin_inset Quotes eld
17480 literate_error_filter
17481 \begin_inset Quotes erd
17495 \begin_layout Standard
17496 Otherwise it will just skip this step.
17500 \begin_layout Enumerate
17501 Finally, LaTeX is invoked and the regular post processing continues as in
17505 \begin_layout Standard
17512 is to transform the newly created
17523 \begin_layout Standard
17528 literate_error_filter
17530 command is to help LyX display error boxes when the
17536 reports any errors.
17537 This filter can be a C program, a script, or any thing you want.
17538 Its job is to identify error messages from your literate tool, in our case
17539 Noweb, and convert them to a common format that LyX understands.
17540 A separate document,
17544 , in the examples directory (accessed with the
17548 button in the file popup), has a literate C program that can be used to
17549 parse Noweb error messages.
17550 This scheme introduces one more command for the user to configure, but
17551 has the advantage of
17552 \begin_inset Quotes eld
17556 \begin_inset Quotes erd
17560 Moreover, if you don't bother to set it, you can still use the system,
17561 you just loose the ability to have a nice display and interaction with
17562 the error messages.
17565 \begin_layout Paragraph
17569 \begin_layout Standard
17570 When the ,,Build Program'' File menu option is chosen or the corresponding
17571 button in the toolbar is pressed, a latex file with extension
17577 is generated just like step 1 above.
17584 to generate the code and
17590 to process the compilation error messages, as in step 3 above.
17593 \begin_layout Standard
17594 Note that no special processing is required from LyX.
17597 \begin_layout Standard
17598 Also note that I am assuming that you are familiar with Noweb.
17599 In this case you will know what to do to get an executable file starting
17600 from a noweb file (
17605 It is likely that you will create a makefile for that purpose.
17606 For that reason, after LyX creates the noweb file, it invokes the command
17613 , with a default of
17614 \begin_inset Quotes eld
17618 \begin_inset Quotes erd
17622 In case you want to process your literate file with a script, or some other
17623 program, just insert in your lyxrc file an entry with:
17626 \begin_layout LyX-Code
17630 \begin_inset Quotes eld
17633 my_script my_arguments
17634 \begin_inset Quotes erd
17640 \begin_layout Standard
17651 literate_error_filter
17653 only in that the former will identify error messages from your compiler.
17654 The same example program mentioned before can also parse gcc, or xlc error
17656 If you have a different compiler you may want to change this program or
17658 Again, the same comments from the previous section are valid here: this
17659 is optional, you can skip it if you can afford to loose the LyX error handling
17663 \begin_layout Standard
17664 In summary, the ,,Build Program'' internal function sequence is pretty much
17665 like the ,,Update dvi'' one but involving different commands.
17669 \begin_layout LyX-Code
17670 ,,Update dvi'' -> generate .tex
17673 \begin_layout LyX-Code
17674 -> invoke -> show latex errors
17677 \begin_layout LyX-Code
17683 \begin_layout LyX-Code
17687 \begin_layout LyX-Code
17688 ,,Update dvi'' -> generate same -> invoke
17691 \begin_layout LyX-Code
17692 -> invoke -> show latex errors
17695 \begin_layout LyX-Code
17696 on literate doc file with .nw
17705 \begin_layout LyX-Code
17708 _______ -> show literate errors
17711 \begin_layout LyX-Code
17715 \begin_layout LyX-Code
17716 ,,Build Program'' -> generate same -> invoke
17719 \begin_layout LyX-Code
17720 -> show compilation error
17723 \begin_layout LyX-Code
17724 on literate doc file with .nw
17729 \begin_layout LyX-Code
17733 \begin_layout Subsubsection
17737 \begin_layout Standard
17738 There are five new controls that you can put in your lyxrc file:
17741 \begin_layout Description
17748 specifies which literate tool you are going to use.
17749 During normal LyX configuration, the auto configuration script will try
17750 to find the noweb package for you.
17751 If the search is successful, the default value for this control is set
17756 \begin_layout LyX-Code
17757 noweave -delay -index
17760 \begin_layout Standard
17761 Otherwise the default value is set to
17762 \begin_inset Quotes eld
17766 \begin_inset Quotes erd
17773 \begin_layout Description
17780 specifies the filename extension to be used for literate documents.
17781 Some literate tools requires specific file extension names.
17782 The default is set during configuration as either
17783 \begin_inset Quotes eld
17787 \begin_inset Quotes erd
17791 \begin_inset Quotes eld
17795 \begin_inset Quotes erd
17798 , depending on whether the auto configuration found the noweb package or
17802 \begin_layout Description
17810 \begin_inset Quotes eld
17814 \begin_inset Quotes erd
17818 You need to create a makefile to do the tangling, compilation, etc.
17822 \begin_layout Standard
17823 Another way is to maintain the makefile or building script itself as part
17825 That way every project can be compiled with the same command line:
17828 \begin_layout LyX-Code
17829 notangle -Rbuild-script
17836 \begin_layout Standard
17837 To use this scheme, create a script named
17841 that executes the command above:
17844 \begin_layout LyX-Code
17848 \begin_layout LyX-Code
17849 notangle -Rbuild-script $1 | sh
17852 \begin_layout Standard
17853 Finally set LyX to execute the
17860 \begin_layout LyX-Code
17863 build_command project-build
17866 \begin_layout Standard
17867 Every time you start a new project, define a scrap with name
17871 that will do the compilation for that project.
17872 Whenever you select
17873 \begin_inset Quotes eld
17877 \begin_inset Quotes erd
17880 , LyX will extract that scrap (
17882 notangle -Rbuild-script...
17892 \begin_layout Description
17897 literate_error_filter
17899 defaults to ,,cat''.
17900 If you compile the program given in
17902 Literate_example.lyx
17908 \begin_layout LyX-Code
17911 literate_error_filter
17912 \begin_inset Quotes eld
17916 \begin_inset Quotes erd
17922 \begin_layout Standard
17923 to process Noweb(noweave) error messages
17927 \begin_layout Description
17935 \begin_inset Quotes eld
17939 \begin_inset Quotes erd
17943 If you compile the program given in
17945 Literate_example.lyx
17951 \begin_layout LyX-Code
17955 \begin_inset Quotes eld
17959 \begin_inset Quotes erd
17965 \begin_layout Standard
17966 to process both Noweb(notangle) error messages and gcc error messages.
17970 \begin_layout Subsubsection
17971 Rozszerzenia diagnostyczne
17974 \begin_layout Standard
17975 There is also a new function implemented in the LyX server, the ,,server-goto-fi
17976 le-row'' function, to be used with ddd/gdb or other debugger.
17979 \begin_layout Standard
17980 When debugging code with ddd/gdb, it is possible to invoke a text editor
17981 at the current execution position with a single key stroke.
17982 The default ddd configuration for that is shift-ctrl-V.
17983 It happens that you can define the editor command line invocation in ddd
17984 by accessing the edit\SpecialChar \menuseparator
17985 preferences\SpecialChar \menuseparator
17986 helpers window and changing the ,,Edit
17990 \begin_layout Standard
17991 I take advantage of the new created LyX server function and this ddd feature,
17993 \begin_inset Quotes eld
17997 \begin_inset Quotes erd
18003 \begin_layout Quote
18004 echo "LYXCMD:monitor:server-goto-file-row:@FILE@ @LINE@" >~/.lyxpipe.in
18007 \begin_layout Standard
18008 With this, whenever you are using ddd and find a point in the program that
18009 you want to edit, you just press shift-ctrl-V (in the ddd window), and
18010 ddd you forward this information to LyX through the LyX server and then
18011 the LyX window will show the same file with the cursor at the same position
18012 ddd was pointing to.
18013 No more guessing or long scrolling to locate a point in the program back
18017 \begin_layout Standard
18018 Note however that you must enable the LyX server to get this feature working
18019 (it is disabled by default).
18020 To enable it, insert in your lyxrc file:
18023 \begin_layout Quote
18026 serverpipe "/home/<your home directory>/.lyxpipe"
18029 \begin_layout Standard
18030 Read the LyX server documentation for further information.
18033 \begin_layout Subsubsection
18034 Rozszerzenia paska narzędzi
18037 \begin_layout Standard
18038 I created six new buttons that can be added to your LyX toolbar.
18039 Five of these buttons are short cuts to layout styles: Standard, Section,
18040 LaTeX, LyX-Code, and Scrap.
18041 I created those because they are the ones I use most and I was tired of
18042 scrolling the layout menu looking for the one I wanted.
18043 The last one is a short cut to the
18044 \begin_inset Quotes eld
18048 \begin_inset Quotes erd
18054 \begin_layout Standard
18055 LyX has a range of buttons that are available for tool bar customization.
18056 In my toolbar I like to combine the six short cuts above with two more:
18058 \begin_inset Quotes eld
18062 \begin_inset Quotes erd
18066 \begin_inset Quotes eld
18070 \begin_inset Quotes erd
18074 Here is how it looks like:
18077 \begin_layout LyX-Code
18083 \begin_layout LyX-Code
18089 \begin_layout LyX-Code
18092 add layout Standard
18095 \begin_layout LyX-Code
18101 \begin_layout LyX-Code
18107 \begin_layout LyX-Code
18110 add layout LyX-Code
18113 \begin_layout LyX-Code
18119 \begin_layout LyX-Code
18125 \begin_layout LyX-Code
18131 \begin_layout LyX-Code
18137 \begin_layout LyX-Code
18143 \begin_layout LyX-Code
18149 \begin_layout LyX-Code
18153 \begin_layout LyX-Code
18157 \begin_layout LyX-Code
18161 \begin_layout LyX-Code
18167 \begin_layout Subsubsection
18168 Dopasowanie kolorów
18171 \begin_layout Standard
18172 There are a number of colors in LyX that can be customized.
18173 For each one there are two ways to do it: either by inserting a line in
18174 your X resource files, or by adding a flag in the LyX command line.
18177 \begin_layout Standard
18178 One of the things that bothers people is the LaTeX font color.
18179 The default color is red, since the scraps uses LaTeX font, and there is
18180 a lot of scraps in literate documents, you may get tired of seeing everything
18185 \begin_layout Itemize
18186 In the X resource file:
18190 \begin_layout Quote
18191 lyx*LatexColor: gold
18195 \begin_layout Itemize
18196 In the command line:
18200 \begin_layout Quote
18201 lyx -LatexColor gold
18205 \begin_layout Standard
18206 The next thing is the visible presence of the newline character in the screen.
18207 You can choose the color of this particular character and make it blend
18209 I recommend you choosing a color that is close to the background but not
18210 equal, that way you still can see it is there, but it is not bothering
18215 \begin_layout Itemize
18216 In the X resource file:
18220 \begin_layout Quote
18221 lyx*BackgroundColor: gray20
18224 \begin_layout Quote
18225 lyx*NewLineColor: gray35
18229 \begin_layout Itemize
18230 In the command line:
18234 \begin_layout Quote
18235 lyx -BackgroundColor gray20 -NewLineColor gray35
18239 \begin_layout Standard
18240 If you don't like a bright clear background burning your eyes all day long,
18241 you can reverse background and foreground colors with this:
18244 \begin_layout Itemize
18245 In the X resource file:
18249 \begin_layout Quote
18254 \begin_layout Itemize
18255 In the command line:
18259 \begin_layout Quote
18264 \begin_layout Standard
18265 The problem with all those color alterations is that you may need to change
18266 other colors as well to ensure that math, inset, etc, are
18267 \begin_inset Quotes eld
18271 \begin_inset Quotes erd
18274 with respect to the rest.
18275 The following is the selection I use in my own X resource file.
18276 It is just a suggestion.
18277 I encourage you to try to find the color set that work best for you.
18280 \begin_layout LyX-Code
18284 \begin_layout LyX-Code
18285 lyx*MathColor: green
18288 \begin_layout LyX-Code
18289 lyx*LatexColor: gold
18292 \begin_layout LyX-Code
18293 lyx*OnOffLineColor: magenta
18296 \begin_layout LyX-Code
18297 lyx*InsetColor: yellow
18300 \begin_layout LyX-Code
18301 lyx*LightedColor: gray50
18304 \begin_layout LyX-Code
18305 lyx*NewLineColor: gray35
18308 \begin_layout LyX-Code
18309 lyx*BackgroundColor: gray20
18312 \begin_layout Chapter
18316 \begin_layout Standard
18317 Mimo że LyX jest silnym narzędziem, to nie można mieć nadziei na obsługę
18318 wszystkiego co zostało zrobione dla TeX-a/LaTeX-a.
18319 Jednak wiele tricków TeX-a i LaTeX-a może być wykonane w LyX-ie, jeśli
18320 nie obawiasz się użyć przycisku ,,TeX'' z paska narzędzi lub dokonywać
18321 wpisów w preambule LaTeX-a (w menu
18326 kład\SpecialChar \menuseparator
18343 \begin_layout Standard
18344 W tym rozdziale opisano kilka sposobów i pomysłów, aby Twoje dokumenty były
18345 trochę sprytniejsze.
18346 Wypróbuj je w domu i zacznij od czegoś małego i mniej ważnego.
18349 \begin_layout Standard
18350 Większość pomysłów tego rozdziału wymaga mniej podstawowych plików w Twojej
18351 instalacji LaTeX-a.
18352 Jeśli masz system taki jak teTeX, większość będzie już dostępnych.
18353 Kilka jednak będzie trzeba ściągnąć z archiwów CTAN.
18354 Często istnieje kilka dróg do wykonania tego samego lub kilka plików stylów
18355 LaTeX-a które robią te same rzeczy.
18356 Nie chcemy przedkładać jednego pakietu nad inne, po prostu chcemy wykonać
18357 określone zadanie za pomocą określonego pliku.
18360 \begin_layout Section
18361 Triki w przypisach i marginaliach
18364 \begin_layout Standard
18370 \begin_layout Subsection
18374 \begin_layout Standard
18375 LyX jeszcze nie potrafi ustawić numeracji przypisów z powrotem od 1 po każdej
18376 sekcji w klasie dokumentu ,,article'' lub zmianie stylu licznika.
18377 Aby to osiągnąć będziesz potrzebował następujących poleceń LaTeX-a:
18380 \begin_layout Standard
18384 \begin_layout Standard
18388 setcounter{footnote}{0}
18397 setcounter{footnote}{0}
18399 ustawi licznik z powrotem na 1
18403 \begin_layout Standard
18404 Licznik został ustawiony na 1.
18412 \begin_layout Standard
18413 Następujące polecenie zmienia numerację przypisów na numerowanie małymi
18415 Zobacz w podglądzie jak to wygląda.
18418 \begin_layout Standard
18422 \begin_layout Standard
18439 \begin_layout Standard
18440 To jest przykład przypisu numerowanego alfabetycznie.
18457 Następne polecenie ustawia styl licznika z powrotem na domyślny, np.
18468 \begin_layout Standard
18485 \begin_layout Standard
18496 aby przywrócić styl licznika na domyślny -- numeryczny
18506 \begin_layout Standard
18537 i innych stylów liczników.
18540 \begin_layout Subsection
18544 \begin_layout Standard
18545 Tutaj znajdują się dwa przykłady jak wstawić marginalia przy użyciu poleceń
18549 \begin_layout Standard
18550 Następujące polecenie utworzy poziomą linię pojawiającą obok tekstu:
18553 \begin_layout Standard
18560 rule[-10mm]{30mm}{5mm}}
18566 \begin_layout Standard
18572 rule[-10mm]{30mm}{5mm}}
18580 \begin_layout Standard
18581 Zobacz na wydruku co robi następujące polecenie.
18584 \begin_layout Standard
18588 \begin_layout Standard
18597 Right -- wstawi notkę marginesową na ,,złej'' stronie dwustronnego dokumentu.
18598 \begin_inset Marginal
18601 \begin_layout Standard
18608 \begin_layout Standard
18625 \begin_layout Section
18626 Skład wieloszpaltowy
18629 \begin_layout Standard
18635 \begin_layout Subsection
18639 \begin_layout Standard
18644 \begin_layout Standard
18645 Przypis edytora: Oryginalny rozdział Lars'a był pełnym opisem zastosowania
18651 jednak był on zbyt długi do włączenia go do tego dokumentu.
18652 Dlatego wybrałem najważniejsze tematy (przepraszam Lars); możesz przeczytać
18653 oryginalny rozdział w przykładowym pliku
18655 examples/multicol.lyx
18663 jest przedstawienie jak można użyć LaTeX-owy pakiet
18667 w dokumencie LyX-a.
18670 \begin_layout Standard
18671 LyX jako taki jeszcze nie obsługuje pakietu
18675 natywnie, ale mamy na to swój sposób.
18676 Po przeczytaniu tej sekcji powinieneś umieć go wykorzystać.
18679 \begin_layout Subsection
18683 \begin_layout Standard
18688 pozwala na przełączanie pomiędzy jedną a wieloma szpaltami na jednej stronie.
18689 Przypisy są obsługiwane poprawnie (w większej części), ale zostaną umieszczone
18690 u dołu strony i nie pod odpowiednią kolumną.
18691 LaTeX-owy mechanizm wstawek jest częściowo zablokowany w aktualnej implementacj
18693 Od tego momentu tylko wstawki o szerokości strony mogą być używane wewnątrz
18694 wspomnianego środowiska.
18697 \begin_layout Subsection
18701 \begin_layout Subsubsection
18705 \begin_layout Standard
18706 Jeśli chcesz mieć dwie szpalty w tekście, u trybie LaTeX-a wstaw polecenie
18711 begin{multicols}{2}
18713 w miejscu, od którego chcesz zacząć dwie szpalty i wstaw polecenie
18719 w miejscu, gdzie chcesz je zakończyć.
18723 \begin_layout Standard
18727 \begin_layout Standard
18731 begin{multicols}{2}
18739 \begin_layout Standard
18744 The Adventure of the Empty House
18750 Sir Arthur Conan Doyle
18753 \begin_layout Standard
18756 It was in the spring of the year 1894 that all London was interested, and
18757 the fashionable world dismayed, by the murder of the Honourable Ronald
18758 Adair under most unusual and inexplicable circumstances.
18759 The public has already learned those particulars of the crime which came
18760 out in the police investigation, but a good deal was suppressed upon that
18761 occasion, since the case for the prosecution was so overwhelmingly strong
18762 that it was not necessary to bring forward all the facts.
18763 Only now, at the end of nearly ten years, am I allowed to supply those
18764 missing links which make up the whole of that remarkable chain.
18765 The crime was of interest in itself, but that interest was as nothing to
18766 me compared to the inconceivable sequel, which afforded me the greatest
18767 shock and surprise of any event in my adventurous life.
18771 \begin_layout Standard
18774 Even now, after this long interval, I find myself thrilling as I think of
18775 it, and feeling once more that sudden flood of joy, amazement, and incredulity
18776 which utterly submerged my mind.
18777 Let me say to that public, which has shown some interest in those glimpses
18778 which I have occasionally given them of the thoughts and actions of a very
18779 remarkable man, that they are not to blame me if I have not shared my knowledge
18780 with them, for I should have considered it my first duty to do so, had
18781 I not been barred by a positive prohibition from his own lips, which was
18782 only withdrawn upon the third of last month.
18785 \begin_layout Standard
18789 \begin_layout Standard
18801 \begin_layout Subsubsection
18802 Układ wieloszpaltowy
18805 \begin_layout Standard
18806 Ten sam przepis jest używany gdy chcesz utworzyć więcej niż dwie szpalty:
18809 \begin_layout Standard
18813 \begin_layout Standard
18817 begin{multicols}{3}
18825 \begin_layout Standard
18828 It can be imagined that my close intimacy with Sherlock Holmes had interested
18829 me deeply in crime, and that after his disappearance I never failed to
18830 read with care the various problems which came before the public.
18831 And I even attempted, more than once, for my own private satisfaction,
18832 to employ his methods in their solution, though with indifferent success.
18833 There was none, however, which appealed to me like this tragedy of Ronald
18835 As I read the evidence at the inquest, which led up to a verdict of willful
18836 murder against some person or persons unknown, I realized more clearly
18837 than I had ever done the loss which the community had sustained by the
18838 death of Sherlock Holmes.
18839 There were points about this strange business which would, I was sure,
18840 have specially appealed to him, and the efforts of the police would have
18841 been supplemented, or more probably anticipated, by the trained observation
18842 and the alert mind of the first criminal agent in Europe.
18843 All day, as I drove upon my round, I turned over the case in my mind and
18844 found no explanation which appeared to me to be adequate.
18845 At the risk of telling a twice-told tale, I will recapitulate the facts
18846 as they were known to the public at the conclusion of the inquest.
18849 \begin_layout Standard
18853 \begin_layout Standard
18865 \begin_layout Standard
18866 Możesz mieć więcej niż trzy szpalty jeśli chcesz, ale to nie będzie przyjemne
18870 \begin_layout Subsubsection
18871 Szpalty wewnątrz szpalty
18874 \begin_layout Standard
18875 Możesz umieścić szpalty wewnątrz szpalty:
18878 \begin_layout Standard
18882 \begin_layout Standard
18886 begin{multicols}{2}
18894 \begin_layout Standard
18897 The Honourable Ronald Adair was the second son of the Earl of Maynooth,
18898 at that time governor of one of the Australian colonies.
18899 Adair's mother had returned from Australia to undergo the operation for
18900 cataract, and she, her son Ronald, and her daughter Hilda were living together
18904 \begin_layout Standard
18908 \begin_layout Standard
18912 begin{multicols}{2}
18920 \begin_layout Standard
18923 The youth moved in the best society--had, so far as was known, no enemies
18924 and no particular vices.
18925 He had been engaged to Miss Edith Woodley, of Carstairs, but the engagement
18926 had been broken off by mutual consent some months before, and there was
18927 no sign that it had left any very profound feeling behind it.
18928 For the rest {sic} the man's life moved in a narrow and conventional circle,
18929 for his habits were quiet and his nature unemotional.
18933 \begin_layout Standard
18937 \begin_layout Standard
18949 \begin_layout Standard
18952 Yet it was upon this easy-going young aristocrat that death came, in most
18953 strange and unexpected form, between the hours of ten and eleven-twenty
18954 on the night of March 30, 1894.
18957 \begin_layout Standard
18960 Ronald Adair was fond of cards--playing continually, but never for such
18961 stakes as would hurt him.
18962 He was a member of the Baldwin, the Cavendish, and the Bagatelle card clubs.
18963 It was shown that, after dinner on the day of his death, he had played
18964 a rubber of whist at the latter club.
18965 He had also played there in the afternoon.The evidence of those who had
18966 played with him-- Mr.
18967 Murray, Sir John Hardy, and Colonel Moran--showed that the game was whist,
18968 and that there was a fairly equal fall of the cards.
18969 Adair might have lost five pounds, but not more.
18970 His fortune was a considerable one, and such a loss could not in any way
18972 He had played nearly every day at one club or other, but he was a cautious
18973 player, and usually rose a winner.
18974 It came out in evidence that, in partnership with Colonel Moran, he had
18975 actually won as much as four hundred and twenty pounds in a sitting, some
18976 weeks before, from Godfrey Milner and Lord Balmoral.
18977 So much for his recent history as it came out at the inquest.
18980 \begin_layout Standard
18984 \begin_layout Standard
18996 \begin_layout Standard
18997 Proszę przeczytać plik
18999 examples/multicol.lyx
19001 dla poznania bardziej zaawansowanych przykładów włączania odstępów pomiędzy
19002 szpaltami i nagłówkiem, pionowych linii separujących i innych.
19005 \begin_layout Section
19006 Numeracja w środowisku wyliczenia akapitów
19009 \begin_layout Standard
19015 \begin_layout Standard
19016 \begin_inset VSpace bigskip
19022 \begin_layout Standard
19023 Domyślna numeracja akapitów w środowisku wyliczenia zaczyna się od cyfr
19024 arabskich, a kończy się na dużych literach alfabetu.
19025 Prawdopodobnie jednak będziesz chciał inaczej numerować akapity.
19026 Oto przykład jak zmienić schemat numeracji:
19029 \begin_layout LyX-Code
19039 \begin_layout LyX-Code
19049 \begin_layout LyX-Code
19059 \begin_layout LyX-Code
19069 \begin_layout Standard
19070 \SpecialChar \ldots{}
19071 który zmienia schemat na następujący: cyfry rzymskie, duże litery, cyfry
19072 arabskie i małe litery.
19073 Ponadto poprzedni przykład także dodaje kropkę do numeracji.
19074 Na przykład pierwszy akapit pierwszego poziomu będzie oznaczony ,,I.''.
19075 Dla lepszej orientacji opiszemy jak wygląda numeracja z użyciem naszego
19076 schematu: <,,I.'', ,,A.'', ,,1.'', ,,a.)''>.
19079 \begin_layout Standard
19080 Można zobaczyć w przykładzie, gdzie są polecenia dla każdego zagnieżdżonego
19087 \SpecialChar \ldots{}
19094 , podobnie jak liczniki,
19098 \SpecialChar \ldots{}
19104 Znajduje się także pięć poleceń ,,drukowania numeru'',
19134 , każdy z nich pobiera jeden licznik jako argument.
19135 Można dodać znaki przed lub po, ale nie ma potrzeby dodawania spacji.
19138 \begin_layout Standard
19139 Możesz rzeczywiście otrzymać ozdobny schemat numeracji, na przykład:
19142 \begin_layout LyX-Code
19156 \begin_layout LyX-Code
19168 \begin_layout LyX-Code
19178 \begin_layout LyX-Code
19188 \begin_layout Standard
19189 Otrzymujemy wówczas następującą numerację: <,,#A#'', ,,A.1'', ,,a+'', ,,(i)''>.
19192 \begin_layout Section
19193 Przestrzeń pomiędzy wierszami tabel
19196 \begin_layout Standard
19202 \begin_layout Standard
19203 \begin_inset VSpace bigskip
19209 \begin_layout Standard
19210 LaTeX pozwala wstawiać trochę wolnego miejsca pomiędzy wierszami tabeli
19211 przez podanie opcjonalnego argumentu końca wiersza (
19220 Ta metoda nie jest formalnie zaimplementowana w LyX-ie, ale podajemy dwa
19221 drobne tricki do wykonania tego samego zadania.
19224 \begin_layout Standard
19225 Pierwszy sposób jest bardziej formalny, ale bardziej zawikłany.
19226 W preambule należy dodać następującą definicję polecenia:
19229 \begin_layout Standard
19236 extratablespace}[1]{
19241 \begin_layout Standard
19242 To polecenie pobiera pojedynczy argument -- ilość miejsca, którą chcesz
19244 Wstaw polecenie w pierwszej kolumnie następnego wiersza gdzie chciałbyś
19245 aby pojawiło się wolne miejsce.
19246 Oto przykład (usunąłem wszystkie ramki używając
19251 kład\SpecialChar \menuseparator
19261 \begin_layout Standard
19262 \begin_inset VSpace 0.3cm
19268 \begin_layout Standard
19270 \begin_inset Tabular
19271 <lyxtabular version="3" rows="4" columns="3">
19273 <column alignment="center" valignment="top" width="0pt">
19274 <column alignment="center" valignment="top" width="0pt">
19275 <column alignment="center" valignment="top" width="0pt">
19277 <cell alignment="center" valignment="top" topline="true" usebox="none">
19280 \begin_layout Standard
19286 <cell alignment="center" valignment="top" topline="true" usebox="none">
19289 \begin_layout Standard
19295 <cell alignment="center" valignment="top" topline="true" usebox="none">
19298 \begin_layout Standard
19306 <cell alignment="center" valignment="top" topline="true" usebox="none">
19309 \begin_layout Standard
19315 <cell alignment="center" valignment="top" topline="true" usebox="none">
19318 \begin_layout Standard
19324 <cell alignment="center" valignment="top" topline="true" usebox="none">
19327 \begin_layout Standard
19335 <cell alignment="center" valignment="top" topline="true" usebox="none">
19338 \begin_layout Standard
19342 \begin_layout Standard
19346 extratablespace{2ex}
19356 <cell alignment="center" valignment="top" topline="true" usebox="none">
19359 \begin_layout Standard
19365 <cell alignment="center" valignment="top" topline="true" usebox="none">
19368 \begin_layout Standard
19376 <cell alignment="center" valignment="top" topline="true" usebox="none">
19379 \begin_layout Standard
19385 <cell alignment="center" valignment="top" topline="true" usebox="none">
19388 \begin_layout Standard
19394 <cell alignment="center" valignment="top" topline="true" usebox="none">
19397 \begin_layout Standard
19411 \begin_layout Standard
19412 \begin_inset VSpace 0.3cm
19418 \begin_layout Standard
19419 Drugi sposób jest szybszy.
19420 Po prostu umieść w odpowiednim wierszu opcjonalny argument końca wiersza.
19421 Żadne eleganckie definicje nie są potrzebne jak w poprzednim przykładzie,
19422 ale dodawane będzie więcej miejsca, ponieważ de facto dodawany jest pusty
19423 wiersz plus odstęp.
19424 Jeśli zbyt dużo jest dodawanego miejsca to użyj liczby ujemnej, jak w przykładz
19428 \begin_layout Standard
19429 \begin_inset VSpace 0.3cm
19435 \begin_layout Standard
19437 \begin_inset Tabular
19438 <lyxtabular version="3" rows="4" columns="3">
19440 <column alignment="center" valignment="top" width="0pt">
19441 <column alignment="center" valignment="top" width="0pt">
19442 <column alignment="center" valignment="top" width="0pt">
19444 <cell alignment="center" valignment="top" topline="true" usebox="none">
19447 \begin_layout Standard
19453 <cell alignment="center" valignment="top" topline="true" usebox="none">
19456 \begin_layout Standard
19462 <cell alignment="center" valignment="top" topline="true" usebox="none">
19465 \begin_layout Standard
19473 <cell alignment="center" valignment="top" topline="true" usebox="none">
19476 \begin_layout Standard
19482 <cell alignment="center" valignment="top" topline="true" usebox="none">
19485 \begin_layout Standard
19491 <cell alignment="center" valignment="top" topline="true" usebox="none">
19494 \begin_layout Standard
19502 <cell alignment="center" valignment="top" topline="true" usebox="none">
19505 \begin_layout Standard
19509 \begin_layout Standard
19525 <cell alignment="center" valignment="top" topline="true" usebox="none">
19528 \begin_layout Standard
19534 <cell alignment="center" valignment="top" topline="true" usebox="none">
19537 \begin_layout Standard
19545 <cell alignment="center" valignment="top" topline="true" usebox="none">
19548 \begin_layout Standard
19554 <cell alignment="center" valignment="top" topline="true" usebox="none">
19557 \begin_layout Standard
19563 <cell alignment="center" valignment="top" topline="true" usebox="none">
19566 \begin_layout Standard
19580 \begin_layout Standard
19581 \begin_inset VSpace 0.3cm
19587 \begin_layout Standard
19588 To pozwala szybko wykonać pracę, ale zdarza się, że brzydko wygląda.
19591 \begin_layout Section
19595 \begin_layout Standard
19601 \begin_layout Standard
19602 \begin_inset VSpace bigskip
19608 \begin_layout Standard
19613 \begin_layout Standard
19619 tmpfont}{cmr17 scaled 2500}{
19631 \begin_layout Standard
19636 \begin_layout Standard
19647 i którzy lubią styl starych książek prawdopodobnie także lubią ,,inicjały''
19648 --- tę wielką literę rozpoczynającą każdy nowy rozdział czy sekcję.
19649 Implementacja tego jest prosta (zakładając, że znasz trochę plain TeX-a!)
19650 ale nie wymaga wiele pracy i powtórzeń, co mogłeś zobaczyć na początku
19651 akapitu w brzydkim trybie TeX-a.
19654 \begin_layout Standard
19658 \begin_layout Standard
19664 bigdrop{-1em}{3}{ptmri}{I}+
19669 stnieje oczywiście o wiele łatwiejsza droga.
19678 ) z archiwum CTAN pozwala na prostszą metodę uzyskania inicjałów w dokumencie.
19679 Od jakiegoś czasu pakiet ten nie jest standardową częścią teTeX-a.
19680 Nie mogę go zademonstrować w tym dokumencie ale jeśli skopiujesz ten akapit
19681 do nowego dokumentu, usuniesz ,,
19687 '' oraz znaki plus z kodu TeX-a na początku akapitu i dodasz do preambuły
19692 usepackage{dropcaps}
19694 to otrzymasz literę I zapisaną czcionką Times Roman Italic o wysokości
19695 trzech wierszy tekstu przesuniętą o 1 em za margines.
19696 Pierwszym argumentem jest wielkość wcięcia, ujemna wartość powoduje przesunięci
19697 e inicjału za margines.
19698 Drugi argument zawiera wysokość inicjału, podaje się ją w wierszach.
19699 Trzeci argument jest nazwą czcionki, czcionki wirtualne posiadające pliki
19700 tfm powinny działać (przebrnij przez katalog
19702 .../texmf/fonts/tfm
19704 aby sprawdzić możliwości).
19705 Moim osobistym faworytem jest
19709 , ozdobna czcionka niemiecka specjalnie zaprojektowana do inicjałów.
19710 Czwartym argumentem jest litera lub litery, które mają być inicjałem.
19713 \begin_layout Standard
19717 \begin_layout Standard
19732 \begin_layout Standard
19735 Aby zobaczyć wynik pracy pakietu
19739 to należy wykonać czynności podobne jak poprzednio, jedynie w preambule
19744 usepackage{dropping}
19753 także oferuje polecenie
19759 o identycznej składni jak w pakiecie
19763 , a także trochę uproszczone polecenie
19769 trzech argumentach.
19770 Pierwszy -- opcjonalny -- określa odległość od lewego marginesu -- domyślnie
19772 Drugi zawiera wysokość inicjału podawaną w wierszach.
19773 Trzecim argumentem jest litera lub litery, które mają być inicjałem.
19776 \begin_layout Section
19777 Niestandardowe kształty akapitów
19780 \begin_layout Standard
19786 \begin_layout Standard
19787 \begin_inset VSpace bigskip
19793 \begin_layout Standard
19797 \begin_layout Standard
19804 \begin_layout Standard
19808 \begin_layout Standard
19817 \begin_layout Standard
19831 \begin_layout Standard
19836 \begin_layout Standard
19847 \begin_layout Standard
19856 \begin_layout Standard
19865 \begin_layout Standard
19874 \begin_layout Standard
19883 \begin_layout Standard
19892 \begin_layout Standard
19901 \begin_layout Standard
19910 \begin_layout Standard
19919 \begin_layout Standard
19928 \begin_layout Standard
19937 \begin_layout Standard
19946 \begin_layout Standard
19955 \begin_layout Standard
19964 \begin_layout Standard
19973 \begin_layout Standard
19982 \begin_layout Standard
19991 \begin_layout Standard
20000 \begin_layout Standard
20009 \begin_layout Standard
20018 \begin_layout Standard
20027 \begin_layout Standard
20036 \begin_layout Standard
20045 \begin_layout Standard
20054 \begin_layout Standard
20063 \begin_layout Standard
20069 Oto nadszedł czas, w\InsetSpace ~
20070 którym musimy obalić tyranię prostokątnych akapitów.
20071 W tej sytuacji, wywołamy do tego radosne polecenie plain TeX-a
20078 Jak możesz zobaczyć, w pełni dowolny kształt może być osiągnięty przez
20079 odpowiednie ustawienie definicji długości wiersza.
20080 Ten kształt akapitu może wyglądać trochę idiotycznie, chyba że wyobrazimy
20081 sobie sytuację taką jak dokładnie ustawione inicjały, oblane tekstem rysunki
20082 o nieregularnym kształcie itp.
20083 dające wrażenie ręcznej pracy.
20086 \begin_layout Standard
20087 \begin_inset VSpace bigskip
20093 \begin_layout Standard
20098 parshape numlines #1indent #1length #2indent #2length \SpecialChar \ldots{}
20105 określa liczbę wierszy tekstu która definiuje akapit.
20106 Jeśli liczba wierszy będzie mniejsza od założonej, to kształt zostanie
20108 Jeśli zaś wierszy będzie więcej niż założono, to kolejne nadmiarowe wiersze
20109 zachowają parametry ostatniego definiowanego wiersza.
20118 określają odstęp wiersza od lewego marginesu i długość wiersza mierzone
20120 Kształt dotyczy tylko bieżącego akapitu, następny akapit jest formatowany
20124 \begin_layout Standard
20128 \begin_layout Standard
20140 \begin_layout Section
20144 \begin_layout Standard
20145 Jak można zobaczyć, przykłady w tym rozdziale zaczynają się od użytecznych
20147 Nie spodziewam się aby ktoś potrzebował kształtu akapitu jak ostatnim rozdziale
20148 , ale ważne jest to że możesz zrobić prawie wszystko co chcesz w LyX-ie
20149 jeśli będziesz miał ochotę wyobrazić sobie jak to zrobić w TeX-u i LaTeX-u.
20152 \begin_layout Standard
20153 TeX jest fantastycznym systemem składu i jego możliwości są dostępne dla
20154 Ciebie przez LyX-a wykorzystującego go w tle.
20158 \begin_layout Standard