1 #LyX 1.6.0 created this file. For more info see http://www.lyx.org/
5 \use_default_options false
9 \newcommand{\extratablespace}[1]{\noalign{\vskip#1}}
11 %\usepackage[colorlinks=true,linkcolor=black]{hyperref}
17 \font_typewriter default
18 \font_default_family default
24 \paperfontsize default
33 \paperorientation portrait
36 \paragraph_separation indent
38 \quotes_language german
41 \paperpagestyle default
42 \tracking_changes false
51 LyX -- Zaawansowane możliwości
59 \begin_layout Plain Layout
61 Opiekunem tego pliku jest aktualnie
66 Proszę wysyłać komentarze i poprawki błędów na podany adres.
72 \begin_inset Newline newline
76 \begin_inset Newline newline
83 \begin_layout Plain Layout
85 Opiekunem wersji polskiej tego pliku jest aktualnie
90 Proszę wysyłać komentarze i poprawki błędów na podany adres.
95 przy współpracy Pawła Dziekońskiego
102 \begin_layout Plain Layout
114 \begin_layout Standard
115 \begin_inset CommandInset toc
116 LatexCommand tableofcontents
123 \begin_layout Chapter
127 \begin_layout Standard
132 , który właśnie czytasz jest właściwie drugą częścią
134 Podręcznika Użytkownika
137 Powód podziału jest prosty:
139 Podręcznik Użytkownika
141 jest już dość obszerny i zawiera opis wszystkich podstawowych funkcji,
142 które trzeba poznać do przygotowania większości dokumentów.
145 \begin_layout Standard
146 LyX Team ma długoterminowy cel tworzenia rozszerzeń LyX-a przez różne pliki
148 To oznacza, że jeśli chcesz obsługiwać pakiet LaTeX-a
152 , to możesz utworzyć plik układu dla tego pakietu bez konieczności dokonywania
153 samodzielnie zmian w LyX-ie.
154 Już przyczyniliśmy się do powstania kilku nowych funkcji tą drogą.
155 Ten podręcznik, to jest miejsce, gdzie wszystko to udokumentowano.
158 \begin_layout Standard
159 Ten podręcznik dokumentuje także kilka funkcji specjalnych, jak faksowanie,
160 kontrola wersji, obsługa SGML-u, które wymagają dodatkowego oprogramowania
162 Ostatni rozdział traktuje o narzędziach i sposobach LaTeX-a, które można
163 zastosować do wykończenia Twoich dokumentów używając funkcji LaTeX-a.
164 Poza tym LyX jest tylko edytorem WYSIWYM i będzie zawsze tylko interfejsem
165 do pewnych funkcji LaTeX-a.
166 Oczywiście, z udokumentowanymi wszystkimi funkcjami.
169 \begin_layout Standard
170 Jeśli nie przeczytałeś jeszcze wprowadzenia, to właśnie czytasz niewłaściwy
172 Wprowadzenie jest pierwszym miejscem, od którego powinieneś zacząć.
173 Opisuje on notację i format wszystkich podręczników.
174 Powinieneś gruntownie zaznajomić się z
176 Podręcznikiem Użytkownika
178 i wszystkimi podstawowymi funkcjami LyX-a.
181 \begin_layout Standard
182 Wiele rozdziałów w tym dokumencie jest niezależnymi artykułami napisanymi
183 przez pojedyncze osoby i są one odpowiednio zaznaczone.
184 Tymi osobami są generalnie ci, którzy napisali nowy plik układu (layout)
185 dla nowej klasy dokumentu lub pakietu LaTeX-a, lub zaimplementowali jakąś
187 Jeśli nie wspomniano o autorze w rozdziale lub sekcji to znaczy, że został
188 napisany przez LyX Documentation Team.
191 \begin_layout Standard
192 Pierwszy rozdział stanowi suplement do narzędzi edycyjnych LyX-a, nie ujętych
195 Podręczniku Użytkownika
197 i przeznaczony jest dla bardziej zaawansowanych użytkowników.
200 \begin_layout Standard
201 Wszystkie rozdziały tego podręcznika są w różnym stopniu, ale jednak, opisują
202 współpracę LyX-a i LaTeX-a, pierwszy rozdział opisuje wewnętrzną pracę
203 LyX-a, jak prosto LyX tworzy kod LaTeX-a jeśli chcesz.
204 To jest oczywiste dla wielu użytkowników LyX-a.
207 \begin_layout Chapter
211 \begin_layout Section
212 Jak LyX używa LaTeX-a
215 \begin_layout Standard
216 To jest rozdział dla TeX-ników i dla ciekawych LaTeX-a.
217 Wyjaśnimy w nim jak pracują LyX i LaTeX tworząc wynikowe dokumenty do druku.
218 Tylko w tym miejscu i tylko w tym podręczniku zakładamy Twoją znajomość
222 \begin_layout Standard
223 Od jakiegoś czasu LyX-a nazywamy ,,WYSIWYM frontendem do LaTeX'', ale to
224 nie jest dalej prawdą.
225 Istnieją również inne frontendy do LaTeX-a.
226 To są generalnie edytory potrafiące uruchomić LaTeX-a i zaznaczać błędy
236 uruchomić LaTeX-a, i również zaznaczać błędy, i także wiele, wiele więcej.
237 Dzięki koncepcji WYSIWYM
241 \begin_layout Plain Layout
242 What You See Is What You Mean -- dostajesz to o co Ci chodzi
247 , nie musisz znać LaTeX-a aby efektywnie używać LyX-a.
248 LyX posiada także kilka rozszerzeń do LaTeX-a
252 \begin_layout Plain Layout
253 The Team did this for parsing/coding reasons.
254 The new macros allow LyX to more easily produce LaTeX code and ensure that
255 the resulting code is correct.
256 Nothing that you, the user, need worry about.
262 Spróbuj kiedyś wybrać polecenie
264 Eksportuj\SpecialChar \menuseparator
274 i spójrz na preambułę utworzonego pliku
279 Będziesz mógł zauważyć różne nowe makra zdefiniowane specjalnie przez LyX-a
283 \begin_layout Plain Layout
284 Trochę historii: kiedyś wszystkie makra znajdowały się w pliku
289 Pewnego dnia The Team zdecydował, że utworzone pliki
293 powinny być bardziej przenośne.
294 Tak teraz makra są umieszczone w preambule.
300 Jednak to wszystko dzieje się przeźroczyście dla użytkownika.
303 \begin_layout Standard
304 Mamy kilka poleceń, które automatycznie wywołują LaTeX-a.
308 \begin_layout Itemize
311 Podgląd\SpecialChar \menuseparator
315 \begin_layout Itemize
318 Podgląd\SpecialChar \menuseparator
322 \begin_layout Itemize
325 Podgląd\SpecialChar \menuseparator
326 Aktualizuj\SpecialChar \menuseparator
330 \begin_layout Itemize
333 Podgląd\SpecialChar \menuseparator
334 Aktualizuj\SpecialChar \menuseparator
338 \begin_layout Itemize
341 Plik\SpecialChar \menuseparator
345 \begin_layout Standard
346 Tylko te polecenia wywołują LaTeX-a jeśli dokument się zmienił od czasu
347 ostatniego uruchomienia LaTeX-a
350 \begin_layout Standard
351 Podczas uruchomienia LaTeX-a podczas edycji pliku, LyX wykonuje następujące
355 \begin_layout Enumerate
360 do LaTeX-a i zapisuje plik z rozszerzeniem
367 \begin_layout Enumerate
368 Uruchamia LaTeX-a z plikiem
372 (być może kilka razy).
375 \begin_layout Enumerate
376 Jeśli są błędy , to zaznacza je w dokumencie.
379 \begin_layout Standard
380 Jeśli uruchamiasz LaTeX-a poleceniem podglądu
393 Jeśli użyłeś polecenia podglądu
404 , LyX wykonuje dwa kroki więcej:
407 \begin_layout Itemize
412 do konwersji pliku Dvi do pliku postscriptowego:
416 \begin_layout Itemize
421 , plik wyjściowy ma rozszerzenie
426 \begin_layout Itemize
434 , plik wyjściowy ma rozszerzenie
438 , jak można było się spodziewać.
442 \begin_layout Itemize
447 lub wysyła plik postscriptowy do drukarki.
450 \begin_layout Section
451 ,,Pomocy! LyX utworzył nieczytelny plik
458 \begin_layout Standard
459 Użytkownicy LaTeX-a będą krzyczeć to przez całą noc, gdy deklaracje LyX-a
460 są nie do wykorzystania --- oni po prostu nie czytali dokumentacji do LyX-a
465 \begin_layout Plain Layout
470 : I know a certain faculty member who actually did complain to me that LyX
471 doesn't generate LaTeX files.
472 Ain't it funny how, sometimes, faculty are the worst at reading instructions?
480 \begin_layout Standard
481 Należy postawić sprawę jasno.
482 LyX produkuje dwa rodzaje plików LaTeX-owych.
483 Jedne są czytelne dla ludzi.
484 Inne są czytelne dla LyX-a.
485 Za każdym wywołaniem LaTeX-a przez LyX-a, tworzy on plik LaTeX-a, który
486 może być łatwo skanowany w celu poszukiwania błędów.
491 nie jest czytelny dla ludzi.
492 Nie próbuj go czytać.
493 Jeśli chcesz mieć plik
497 aby móc wysłać go koledze, to wybierz polecenie
499 Eksportuj\SpecialChar \menuseparator
512 \begin_layout Standard
513 Powtórzymy to jeszcze raz, specjalnie dla podkreślenia :
516 \begin_layout Standard
517 \begin_inset VSpace 0.23cm
528 móc wysłać koledze, to wybierz polecenie
530 Eksportuj\SpecialChar \menuseparator
543 \begin_layout Standard
544 \begin_inset VSpace 0.23cm
550 \begin_layout Section
551 Importowanie plików LaTeX-a do LyX-a
552 \begin_inset CommandInset label
554 name "sec:Importowanie-plików-LaTeX-a"
561 \begin_layout Standard
564 You can import a LaTeX file into LyX by using the
569 ile\SpecialChar \menuseparator
574 mport\SpecialChar \menuseparator
582 This will call a program named
586 ---which will create a file
594 ---and then open that file.
597 \begin_layout Standard
603 will translate most legal LaTeX, but not everything.
604 It will leave things it doesn't understand in TeX mode, so after translating
609 , you can look for red text and hand-edit it to look right.
612 \begin_layout Standard
615 If you just want to put a piece of LaTeX code into a LyX file, see
618 \begin_inset CommandInset ref
620 reference "sec:latexcodes"
627 \begin_layout Section
628 Wstawianie poleceń LaTeX-a do dokumentów LyX-a
631 \begin_layout Standard
632 \begin_inset CommandInset label
634 name "sec:latexcodes"
638 To jest raczej ważny punkt: możesz zawsze wstawić kod LaTeX-a do dowolnego
640 LyX po prostu nie może i prawdopodobnie nigdy nie będzie mógł wyświetlić
641 wszystkich możliwych konstrukcji LaTeX.
642 Jeśli potrzebujesz wstawić polecenie LaTeX-a do dokumentu LyX-a, to użyj
643 wstawki ERT, którą możesz wstawić do dokumentu poleceniem
648 staw\SpecialChar \menuseparator
656 Wstawka ERT może występować w trzech formach:
669 Pierwsze dwie formy są podobne do innych rozwijalnych wstawek (takich jak
671 wstawka przypisu) i są wygodne do zaznaczenia poleceń LaTeX-a.
676 wstawki wyświetla jej zawartość, co jest wygodne dla krótkich fragmentów
682 \begin_layout Plain Layout
692 \begin_layout Standard
693 Możesz przełączać się pomiędzy tymi formami przez kliknięcie prawym klawiszem
695 Uwaga jeśli chcesz więcej niż jeden wiersz poleceń LaTeX-a, to nie możesz
703 \begin_layout Standard
704 Tutaj jest przykład wstawienia poleceń LaTeX-a w dokumencie LyX-a.
708 \begin_layout LyX-Code
712 \begin_inset Newline newline
718 \begin_inset Newline newline
721 This is an example for a minipage environment.
723 \begin_inset Newline newline
726 can put nearly everything in it, even (non-floating)
727 \begin_inset Newline newline
732 \begin_inset Newline newline
738 \begin_inset Newline newline
742 \begin_inset Newline newline
748 \begin_inset Newline newline
754 \begin_inset Newline newline
760 \begin_inset Newline newline
765 \begin_inset Newline newline
771 \begin_inset Newline newline
777 \begin_inset Newline newline
783 \begin_inset Newline newline
791 \begin_layout Standard
792 Wstawka ERT zawierająca powyższy tekst jest umieszczona bezpośrednio po
794 Jeśli czytasz ten podręcznik w LyX-ie, to zobaczysz tylko przycisk z czerwonym
796 Czytając drukowaną wersję tego podręcznika zobaczysz rezultaty:
799 \begin_layout Standard
803 \begin_layout Plain Layout
810 \begin_layout Plain Layout
817 \begin_layout Plain Layout
819 This is an example for a minipage environment.
820 You can put nearly everything in it, even (non-floating) figures and tables.
824 \begin_layout Plain Layout
831 \begin_layout Plain Layout
836 \begin_layout Plain Layout
843 \begin_layout Plain Layout
850 \begin_layout Plain Layout
857 \begin_layout Plain Layout
863 \begin_layout Plain Layout
870 \begin_layout Plain Layout
877 \begin_layout Plain Layout
884 \begin_layout Plain Layout
896 \begin_layout Standard
897 Ponadto możesz utworzyć oddzielny plik zawierający skomplikowaną strukturę
898 LaTeX-a i dołączyć go poleceniem
903 staw\SpecialChar \menuseparator
910 (powinieneś wybrać opcję
918 Zalecamy abyś dołączał pliki
927 W innym wypadku będziesz miał sporo zajęcia z wyszukiwaniem błędów\SpecialChar \ldots{}
931 \begin_layout Standard
932 Kilka ostatnich uwag o wyróżnieniu:
935 \begin_layout Itemize
936 Wewnątrz LyX-a, kod LaTeX-a pojawia się
943 \begin_layout Itemize
948 sprawdza poprawności Twojego kodu LaTeX-owego,
951 \begin_layout Itemize
952 Staraj się nie odkrywać koła na nowo.
955 \begin_layout Standard
956 Na koniec dwie uwagi.
957 Po pierwsze, LyX posiada niewiele funkcji całkowicie wbudowanych ale będzie
959 Bądź pewien, sprawdzając podręcznik, że danej funkcji LyX nie posiada zanim
960 zaczniesz kodować ją w LaTeX-u
964 \begin_layout Plain Layout
969 -a: I seem to do this an awful lot.
970 Sat down and merrily began coding something to print out labels, only to
971 learn that there were already 2 different LaTeX packages to do this.
972 Worse yet - I had them already!
978 Po drugie istnieje wiele pakietów LaTeX-a począwszy od składu etykiet czy
979 kopert do ładnych wielostronicowych tabel.
980 Przejrzyj archiwum CTAN aby poznać więcej szczegółów.
983 \begin_layout Standard
984 Jeśli potrzebujesz zrobić trochę dzikich i ładnych rzeczy wewnątrz dokumentu,
985 bądź pewien swoich konstrukcji korzystając z dobrej książki o LaTeX-u.
989 \begin_layout Standard
990 Pewna liczba poleceń LaTeX-a musi być umieszczona przed początkiem tekstu.
991 Powinny one zostać umieszczone w preambule co opisano w następnej sekcji.
994 \begin_layout Section
995 Preambuła LyX-a i LaTeX-a
998 \begin_layout Subsection
1002 \begin_layout Standard
1003 Jeśli już znasz LaTeX-a, to nie potrzebujesz tutaj wyjaśnienia do czego
1005 Jeśli nie wiesz, to dajemy Ci kilka porad -- zalecamy abyś znów zapoznał
1006 się z książką o LaTeX-u aby poznać więcej informacji.
1007 W innym przypadku powinieneś czytać poniższe sekcje, ponieważ w nich jest
1008 wyjaśnione co możesz zrobić i czego nie musisz zrobić w preambule LyX-owego
1012 \begin_layout Standard
1013 Preambuła LaTeX-a znajduje się na samym początku dokumentu
1021 \begin_layout Itemize
1022 deklaracji klasy dokumentu.
1023 LyX już wykonuje to za Ciebie.
1027 \begin_layout Standard
1028 Jeśli jesteś LaTeX-nikiem i masz już trochę dopasowanych klas dokumentów,
1029 których chcesz używać, to zajrzyj do podręcznika
1033 aby dowiedzieć się jak wykonać do nich interfejs.
1034 Nie zapomnij wysłać swoich osiągnięć do LyX Team-u aby je włączyć do przyszłych
1039 \begin_layout Itemize
1040 deklaracji używanych pakietów.
1041 Pakiety LaTeX-a dostarczają specjalne polecenia, które są dostępne w dokumencie
1042 tylko jeśli zadeklarujemy pakiet w preambule.
1047 wymusza wcinanie wszystkich akapitów.
1048 istnieją pakiety dla etykiet, kopert, marginesów itd.
1051 \begin_layout Itemize
1052 ustawiania liczników, zmiennych, długości i szerokości.
1053 Istnieje kilka liczników LaTeX-a i zmiennych, które
1057 być ustawione globalnie z poziomu preambuły, aby uzyskać żądany efekt [istnieją
1058 inne zmienne, które można ustawiać także wewnątrz dokumentu].
1059 Marginesy są dobrym przykładem czegoś co musi być ustawione w preambule.
1060 Innym przykładem jest format nalepek na listy.
1061 Możesz ustawić je gdziekolwiek, ale najlepszym miejscem do tego jest preambuła.
1064 \begin_layout Itemize
1065 deklaracji definiowanych przez użytkownika poleceń [za pomocą polecenia
1078 ], głównie skrótów dla poleceń LaTeX-a, które występują często w tekście
1080 Mimo to preambuła jest dobrym miejscem na deklaracje poleceń, które
1084 być deklarowane gdziekolwiek indziej [byleby
1088 ich pierwszym użyciem w tekście].
1089 To może być użyteczne jeśli mamy wiele kodu LaTeX-a w dokumencie, który
1090 normalnie nie powinien się zdarzyć.
1093 \begin_layout Standard
1094 LyX dodaje do preambuły własne definicje podczas tworzenia pliku
1099 To czyni dokumenty LaTeX-a utworzone przez LyX-a przenośnymi.
1102 \begin_layout Subsection
1106 \begin_layout Standard
1107 Polecenia, które dodaje LyX do preambuły są zafiksowane i nie możesz ich
1108 zmienić bez samodzielnego patchowania LyX-a.
1109 Możesz jednak dodać własne rzeczy do preambuły.
1110 Możesz to zrobić na dwa sposoby:
1113 \begin_layout Enumerate
1129 Otworzy się wówczas okno, w którym możesz wpisać swoje polecenia.
1133 \begin_layout Standard
1134 Edytor preambuły jest prymitywny, nie spodziewaj się po nim zbyt wiele.
1138 \begin_layout Enumerate
1139 Utwórz w swoim domyślnym szablonie dokumentu odpowiednie wpisy w preambule.
1140 Wówczas tworząc nowy dokument na jego podstawie preambuła będzie już wpisana.
1143 \begin_layout Standard
1144 LyX nie dodaje niczego do Twojej części preambuły.
1145 Zanim dodasz deklaracje do preambuły powinieneś upewnić się, że nie jest
1146 już to wykonane przez LyX-a [czy pamiętasz co mówiliśmy o ponownym wynalezieniu
1150 dokonuj poprawnych wpisów w preambule
1152 -- LyX nie sprawdza jej poprawności.
1155 \begin_layout Subsection
1159 \begin_layout Standard
1160 Tutaj znajduje się kilka przykładów co można dodać do preambuły:
1163 \begin_layout Subsubsection
1164 Przykład #1: Przesunięcie strony
1167 \begin_layout Standard
1168 Istnieją dwie zmienne LaTeX-a do sterowania pozycją strony:
1181 Ich nazwy są samoobjaśniające.
1182 Te zmienne są użyteczne jeśli w tej chwili o etykietach.
1183 Czasami rozmiar medium i obszar medium, na którym będziesz drukować nie
1185 Wówczas mamy polecenia
1200 \begin_layout Standard
1201 Domyślną wartością dla
1213 jest 0 pt, czyli strona nie jest przesunięta.
1216 \begin_layout Standard
1217 Niestety, niektóre sterowniki DVI wydają się zawsze przesuwać stronę.
1218 Nie mamy pomysłu dlaczego lub dlaczego Twój administrator nie poprawił
1220 Jeśli używasz LyX-a w systemie, którego osobiście nie nadzorujesz, a którego
1221 administrator to ,,doofus'', to polecenia
1233 mogą zaoszczędzić Ci dni.
1234 Na przykład Twoje marginesy lewy i górny są zawsze o pół cala zbyt duże.
1235 Należy wówczas dodać do preambuły następujące polecenia:
1238 \begin_layout LyX-Code
1246 \begin_layout LyX-Code
1254 \begin_layout Standard
1255 \SpecialChar \ldots{}
1256 a Twoje marginesy będą teraz poprawne.
1259 \begin_layout Subsubsection
1260 Przykład #2: Etykiety
1263 \begin_layout Standard
1264 Mówiąc etykiety mamy na myśli wydruk etykiet z adresami.
1265 Istnieje miły pakiet, dostępny w najbliższym Ci archiwum CTAN, do wydruku
1271 Twój system może nie mieć go domyślnie zainstalowanego -- zostawiamy Ci
1273 Pewnie będziesz chciał przeczytać dokumentację pakietu -- my nie zrobimy
1275 Jednak poniższym przykładem podpowiadamy Ci jak z niego skorzystać.
1278 \begin_layout Standard
1279 Po pierwsze wybierz klasę dokumentu
1284 Następnie wpisz do preambuły następujące deklaracje:
1287 \begin_layout LyX-Code
1293 \begin_layout LyX-Code
1299 \begin_layout LyX-Code
1305 \begin_layout LyX-Code
1311 \begin_layout LyX-Code
1317 \begin_layout LyX-Code
1323 \begin_layout LyX-Code
1329 \begin_layout Standard
1330 Te ustawienia są odpowiednie dla arkusza etykiet Avery, nr #5360.
1331 Teraz jesteś gotów do wydruku etykiet, ale potrzeba jeszcze wstawić polecenia
1332 LaTeX umieszczając polecenia
1344 wokół każdego tekstu z treścią etykiety.
1345 Ta i inne funkcje pakietu
1349 są wyjaśnione w dokumentacji.
1352 \begin_layout Standard
1353 Być może, że kiedyś, ktoś napisze plik układu LyX-a do obsługi tego pakietu
1355 Być może to będziesz Ty.
1358 \begin_layout Subsubsection
1359 Przykład #3: Wcięcie akapitu
1362 \begin_layout Standard
1363 Amerykanie są wyćwiczeni we wcinaniu pierwszego wiersza
1368 Tak jak wszystkie inne dziwne quirks, większość Amerykanów będzie wyć i
1369 jęczeć dopóki nie będą mieli wcinanych pierwszych wierszy we wszystkich
1374 \begin_layout Plain Layout
1379 : To było napisane przez Amerykanina -- przeze
1383 ! Tak postrzegam moich rodaków.
1384 Nieprzerwanie ja nie lubię tego.
1394 \begin_layout Plain Layout
1405 \begin_layout Standard
1406 Oczywiście takie zachowanie nie jest standardem w typografii.
1407 W książkach wcinana jest tylko pierwszy wiersz akapitu jeśli ten akapit
1408 występuje po poprzednim akapicie.
1409 Ideą wcinania pierwszego wiersza akapitu jest wyróżnienie sąsiadujących
1411 Jeśli jednak nie ma poprzedniego akapitu, np.
1412 pod rysunkiem lub na początku rozdziału czy sekcji, pierwszy akapit nie
1413 będzie wyróżniony wcięciem.
1416 \begin_layout Standard
1417 Jeśli jesteś amerykaninem, to nie przejmuj się takimi ezoterycznymi rzeczami,
1418 po prostu chcesz mieć wcięcia! Dodaj to do preambuły
1422 \begin_layout Plain Layout
1441 automatycznie wcinają wszystkie akapity.
1449 \begin_layout LyX-Code
1452 usepackage{indentfirst}
1455 \begin_layout Standard
1456 Jeśli Twoja dystrybucja TeX-a nie jest podła, to będziesz miał ten pakiet
1457 zainstalowany i wszystkie akapity będą wcinane tak jak na to zasługują.
1460 \begin_layout Subsubsection
1461 Przykład #4: Ten dokument
1464 \begin_layout Standard
1465 Możesz także sprawdzić jaką preambułę posiada ten dokument, aby poznać jakie
1466 zaawansowane rzeczy możesz zrobić.
1467 Ponadto więcej przykładów co można wpisać do preambuły znajdziesz w tym
1471 \begin_layout Section
1472 Błędy LyX-a i LaTeX-a
1475 \begin_layout Standard
1476 Gdy LyX wywołuje LaTeX-a, informuje go aby ignorował wszelkie błędy i przetwarza
1478 Można to wykorzystać do przejrzenia logu przebiegu LaTeX i wykonania post-morte
1480 Jak wspomnieliśmy wcześniej, LyX tworzy dwa rodzaje plików
1484 , jeden z nich jest używany do lokalizacji błędów w dokumencie.
1485 Jeśli pojawi się błąd, to LyX umieści prostokąt ze słowem ,,Błąd'' w odpowiedni
1486 m miejscu w dokumencie
1490 \begin_layout Plain Layout
1491 LyX okazjonalnie nie odgadnie miejsca, w którym zdarzył się błąd.
1492 To się zdarza zwykle przy tabelach, rysunkach, matematyce i preambule.
1498 Zostanie także wyświetlony komunikat informujący o fakcie wystąpienia błędów
1501 \begin_layout Standard
1502 Możesz nawigować pomiędzy błędami za pomocą polecenia
1514 Możesz ,,otwierać'' znaczniki błędów i podejrzeć komunikaty LaTeX-a przez
1515 kliknięcie na znaczniku.
1518 \begin_layout Standard
1519 Wiele osób lubi zobaczyć wprost cały log, który jest dostępny z menu
1524 odgląd\SpecialChar \menuseparator
1532 Istniej kilka powszechnych komunikatów błędów i ostrzeżeń.
1534 Powinieneś zajrzeć do dobrej książki o LaTeX-u dla zapoznania się z pełną
1538 \begin_layout Itemize
1545 \begin_layout Standard
1546 Komunikat zaczynające się tymi słowy jest komunikatem diagnostycznym LaTeX-a.
1547 Otrzymasz podobne ostrzeżenie gdy dodasz lub zmienisz odnośnik lub wpis
1548 bibliografii, wówczas LaTeX komunikuje Ci, że powinien zostać uruchomiony
1552 \begin_layout Standard
1553 Ostrzeżenie można w większości zignorować.
1557 \begin_layout Itemize
1564 \begin_layout Standard
1565 Inny komunikat ostrzegawczy, tym razem o fontach, których LaTeX nie potrafił
1567 Reszta komunikatu często informuje jakich fontów użył LaTeX w zastępstwie.
1570 \begin_layout Standard
1571 Możesz go bezpiecznie zignorować.
1575 \begin_layout Itemize
1584 \begin_layout Standard
1589 dawać takie komunikaty.
1590 Ostrzeżenia dotyczą wierszy, które są zbyt długie i wystają poza prawy
1592 Prawie zawsze jest to niezauważalne na wydruku.
1593 Albo jeden lub dwa znaki przekraczają prawy margines.
1594 LaTeX zdaje się generować co najmniej jeden taki komunikat dla dowolnego
1595 dokumentu jaki napiszesz.
1598 \begin_layout Standard
1599 Możesz ignorować te głupie komunikaty.
1600 Zobaczysz na własne oczy jeśli coś będzie zbyt szerokie, spójrz na wynik
1605 \begin_layout Itemize
1614 \begin_layout Standard
1615 LaTeX komunikuje nam, że zbyt małe wypełnienie wiersza zmusza go do wstawienia
1616 zbyt dużych odstępów między wyrazami.
1620 \begin_layout Standard
1621 Możesz go także zignorować.
1625 \begin_layout Itemize
1640 \begin_layout Standard
1641 Ostrzeżenie o kłopotach z łamaniem stron -- zbyt małych lub zbyt dużych
1642 odstępach pionowych.
1643 Jeszcze raz spójrz na wynik przetwarzania.
1644 Zobaczysz na własne oczy jeśli coś będzie zbyt szerokie.
1648 \begin_layout Itemize
1652 \begin_inset Quotes els
1656 \begin_inset Quotes ers
1663 \begin_layout Standard
1664 Plik ,,Xxxx'' nie jest zainstalowany w systemie.
1665 Ten komunikat pojawia się często, gdy nie zainstalowałeś pakietów użytych
1667 Jeśli nie dotykałeś preambuły lub nie używałeś polecenia
1673 , to znaczy że brakuje jednego z pakietów, które próbuje załadować LyX.
1679 omoc\SpecialChar \menuseparator
1686 aby zobaczyć listę pakietów znanych LyX-owi.
1687 Ten plik jest uaktualniany podczas każdej rekonfiguracji LyX-a (polecenie
1695 \SpecialChar \menuseparator
1700 ) i zawiera informacje, które pakiety zostały wykryte i do czego służą.
1703 \begin_layout Standard
1714 i pakiet nie został zainstalowany, to należy zainstalować go samodzielnie.
1718 \begin_layout Itemize
1721 LaTeX Error: Unknown option
1725 \begin_layout Standard
1726 Błąd pojawia się gdy podano niezdefiniowaną (lub błędną) opcję użytego pakietu.
1727 Sprawdź dokumentację do pakietu.
1731 \begin_layout Itemize
1734 Undefined control sequence
1738 \begin_layout Standard
1739 Jeśli wstawiłeś polecenie LaTeX w dokumencie, ale popełniłeś np.
1740 błąd literowy, to otrzymasz taki właśnie komunikat błędu.
1741 Być może zapomniałeś załadować jakiś pakiet.
1742 W ogólnym przypadku, komunikat błędu zwykle oznacza, że użyłeś niezdefiniowaneg
1747 \begin_layout Standard
1748 Istnieją jeszcze inne komunikaty błędów i ostrzeżeń, a wiele z nich jest
1750 Podane są częstymi komunikatami.
1751 Inne są naprawdę zaszyfrowane.
1752 To są aktualne komunikaty TeX-a i my na prawdę nie mamy klucza jak je odszyfrow
1756 \begin_layout Standard
1757 Oto ogólny tok postępowania jeśli zdarzy się błąd:
1760 \begin_layout Enumerate
1761 Sprawdź poprawność poleceń LaTeX-a wstawionych w dokumencie.
1764 \begin_layout Enumerate
1765 Jeśli nie ma błędów literowych, to sprawdź poprawność ich użycia.
1768 \begin_layout Enumerate
1769 Jeśli dostaniesz pęk znaczników błędów na samym początku dokumentu, to znaczy,
1770 że jest jakiś błąd w preambule.
1771 Zacznij debugować swoją preambułę.
1774 \begin_layout Enumerate
1775 Jeśli nie dodałeś niczego do preambuły i nie wstawiłeś żadnych poleceń LaTeX-a
1776 do dokumentu, to najpierw sprawdź swoją dystrybucję LaTeX.
1777 Sprawdź brakujące pakiety i zainstaluj je.
1780 \begin_layout Enumerate
1781 OK, nie brakuje pakietów.
1782 Czy nie użyłeś jakieś opcji dopasowującej w LyX-ie? Precyzując, czy nie
1783 użyłeś jej niewłaściwie, jak próba ręcznego wstawienia wielu
1795 s? Czy próbowałeś to kludge coś razem z nimi zamiast użyć odpowiednich środowisk
1799 \begin_layout Enumerate
1800 OK, nie użyłeś żadnej opcji dopasowującej, postępujesz zgodnie z zasadami.
1801 Czy próbowałeś przeprowadzić jakiś fantastyczny manewr? Czy zrobiłeś coś
1802 wspaniałego w tabeli czy równaniu, jak wstawienie grafiki do komórki tabeli?
1805 \begin_layout Enumerate
1806 Czy nie masz zbyt długich akapitów tekstu gdzie LaTeX nie może znaleźć miejsca
1807 na przełamanie wiersza? Domyślnie LaTeX jest dokładny w dodawaniu ekstra
1808 odstępów między wyrazami aby przełamać wiersz.
1809 Proponowane jest przerobienie akapitów aby usunąć ten problem.
1810 Jeśli to nie jest możliwe, możesz objąć swój tekst w
1816 aby obniżyć wymagania LaTeX-a przy łamaniu wierszy.
1819 \begin_layout Enumerate
1820 Czy nie przesadziłeś z zagnieżdżaniem? LyX [aktualnie] nie sprawdza czy
1821 nie przekroczyłeś limitu zagnieżdżenia środowiska.
1822 Jeśli zagnieździłeś środowiska aż do 17 poziomu, to może być problem.
1825 \begin_layout Enumerate
1826 Nie otrzymałeś żadnych komunikatów błędów ale wynik źle wygląda.
1827 Jeśli masz tabelę lub rysunek szerszy lub dłuższy od strony, to powinieneś:
1831 \begin_layout Enumerate
1832 przeskalować rysunek do odpowiednich wymiarów,
1835 \begin_layout Enumerate
1836 skrócić tabelę, tak aby pasowała.
1839 \begin_layout Standard
1840 Jeśli dalej jest źle z wynikiem i nie próbowałeś przeprowadzić żadnych wspaniały
1841 ch lub kludge opcji dopasowujących, to my nie wiemy co jest nie tak.
1845 \begin_layout Standard
1846 Jeśli to nie pomoże, to
1850 znalazłeś błąd w LyX-ie\SpecialChar \ldots{}
1854 \begin_layout Chapter
1855 Dodatkowe narzędzia składu dokumentu
1858 \begin_layout Section
1859 Przygotowanie bibliografii za pomocą BibTeX-a
1862 \begin_layout Standard
1869 \begin_layout Plain Layout
1870 Ressler is to blame for all of Chapter 1 except where noted.
1878 \begin_layout Standard
1879 STOP! jeśli wiesz czym jest BibTeX lub masz dobry pomysł na jego zastosowanie
1881 ułożenie swojej własnej bazy bibliograficznej) nie idź, a biegnij do swojego
1882 egzemplarza drugiego wydania Lamporta
1884 LaTeX: A Document Preparation System
1891 W dalszej dyskusji zakładamy, że masz utworzony poprawny plik bibliografii
1892 oraz masz poprawnie ustawione wszystkie odpowiednie zmienne środowiska
1906 ) oraz jeśli jesteś odpowiednio zdesperowany powinieneś utworzyć plik LaTeX-a
1914 \begin_layout Standard
1915 Dla tych, którzy nie znają BibTeX-a, jest to system do tworzenia wielkich
1916 baz Twoich często używanych odnośników do literatury.
1919 \begin_layout Standard
1920 Dla wszystkich przyszłych artykułów, zapisz tylko potrzebne pozycje literatury
1921 do wstawienia do bazy i oznacz odpowiednim kluczem każdy odnośnik.
1922 Nawet jeśli piszesz tylko kilka dokumentów z kilkoma odnośnikami w każdym,
1923 to warto poświęcić Twój czas na sprawdzenie BibTeX-a i zdecydować czy będzie
1924 użyteczny dla Ciebie.
1927 \begin_layout Standard
1928 Aby używać BibTeX-a w LyX-ie należy najpierw zapoznać się
1930 Podręcznikiem Użytkownika
1932 , w którym opisano sposób wstawiania cytowań.
1933 Podstawowy mechanizm wstawiania odnośników BibTeX-a jest taki sam.
1934 Umieść kursor na końcu dokumentu i wybierz
1939 staw\SpecialChar \menuseparator
1944 pisy\SpecialChar \menuseparator
1952 W otwartym oknie dialogowym wypełnij dwa pola:
1955 \begin_layout Description
1957 \begin_inset space ~
1960 Danych podaj nazwę pliku
1964 ale BEZ rozszerzenia
1969 Dla wyszukiwania w wielu plikach
1973 należy podać ich nazwy rozdzielając je przecinkiem.
1976 \begin_layout Description
1977 Styl podaj nazwę pliku stylu BibTeX-a BEZ rozszerzenia
1982 Domyślnym stylem jest
1990 \begin_layout Plain Layout
1991 Dostępne są również style zgodne z polskimi zwyczajami typograficznymi o
2015 (który powinien być dołączony do Twojej dystrybucji LaTeX-a, tak że nie
2016 musisz przejmować się utworzeniem go).
2019 \begin_layout Standard
2020 Zakładamy, że dla każdego cytowania źródło znajduje się w pliku
2024 , wywołujemy polecenie
2029 staw\SpecialChar \menuseparator
2036 w odpowiednim miejscu w tekście i wybierz z listy właściwy klucz odnośnika.
2037 Nie potrzeba nic więcej; gdy wywołujemy na przykład polecenie
2042 odgląd\SpecialChar \menuseparator
2049 , powinieneś zobaczyć że BibTeX i LaTeX są wywoływane gdy zachodzi potrzeba,
2050 włączając wielokrotne wywołanie LaTeX-a.
2053 \begin_layout Section
2057 \begin_layout Standard
2058 Dobry indeks jest jedną z najtrudniejszych rzeczy do zrobienia w długim
2060 LyX pomaga wykonać rzeczy trochę prościej za pomocą interfejsu do programu
2067 \begin_layout Plain Layout
2068 Dla dokumentów polskojęzycznych powinien być wywoływany program
2081 , który można znaleźć w dystrybucjach.
2084 \begin_layout Standard
2085 Wstawianie indeksu i zaznaczanie słów do włączenia do indeksu odbywa się
2086 taką samą drogą jak przygotowanie bibliografii opisanej w poprzedniej sekcji.
2089 \begin_layout Standard
2090 Najpierw przejdź na koniec swojego dokumentu i wybierz
2095 staw\SpecialChar \menuseparator
2100 pisy\SpecialChar \menuseparator
2108 Następnie, dla każdego słowa, które chcesz dodać do indeksu, umieść kursor
2109 na końcu tego słowa i wybierz
2114 staw\SpecialChar \menuseparator
2115 Wstaw poprzedzające słowo do indeksu
2118 To spowoduje umieszczenie znacznika pokazującego słowo, które pojawi się
2122 \begin_layout Standard
2123 Jeżeli chcesz dokładnie podać co ma pojawić się w indeksie -- na przykład
2124 potrzebujesz mieć słowo ,,kot'' w indeksie, które będzie odnosiło się do
2125 słów w tekście ,,kot'' i ,,koty'' to po prostu wybierz polecenie
2127 Wstaw\SpecialChar \menuseparator
2130 i wpisz słowo ,,kot'' w oknie dialogowym.
2133 \begin_layout Standard
2135 LyX automatycznie wywoła
2139 i samodzielnie utworzy indeks.
2142 \begin_layout Standard
2143 Bądź ostrożny i nie wstawiaj spacji pomiędzy słowem a znacznikiem indeksu,
2144 ponieważ może się zdarzyć utworzenie niewłaściwego numeru strony w indeksie.
2147 \begin_layout Standard
2148 Powinieneś zdawać sobie sprawę, że istnieją bardziej zaawansowane metody
2153 : spójrz w dokumentację dołączoną do Twojej dystrybucji LaTeX-a i znajdź
2154 jak wykonać zagnieżdżone wpisy itp.
2157 \begin_layout Section
2158 Dokumenty wieloczęściowe
2161 \begin_layout Subsection
2165 \begin_layout Standard
2166 Przy pracy z dużymi plikami zawierającymi wiele sekcji i rozdziałów, często
2167 jest wygodniej podzielić dokument na kilka plików lub być może masz ---
2168 perhaps you have something where a table may change from time to time,
2169 but the preceding text does not.
2170 W takim przypadku powinieneś na serio rozważyć użycie dokumentów wieloczęściowy
2172 Na przykład prace naukowe często składają się z pięciu głównych części:
2173 wprowadzenia, obserwacji, wyników, dyskusji i podsumowania.
2174 Każda z tych części może być zapisana w oddzielnym pliku LyX-a, gdzie jeden
2175 plik będzie dokumentem głównym zawierającym tytuł, autorów, streszczenie,
2177 oraz pięć dołączonych plików dokumentów składowych (podrzędnych).
2178 Należy zwrócić uwagę, że każdy z plików podrzędnych włączanych do dokumentu
2179 głównego stanowi niezależny dokument, który może być formatowany i drukowany
2181 Można dołączać również pliki LaTeX-a, ale pliki te nie mogą posiadać własnej
2182 preambuły (wszystko przed
2194 musi być usunięte) gdyż w przeciwnym wypadku LaTeX zgłosi błąd podczas
2195 przetwarzania dokumentu głównego.
2198 \begin_layout Standard
2199 LyX pozwala łatwo włączać pliki poleceniem z menu
2204 staw\SpecialChar \menuseparator
2212 Po wybraniu polecenia otwiera się okno wyboru dokumentu.
2213 Po wybraniu dokumentu do wstawienia/dołączenia, w bieżącej pozycji kursora
2214 wstawiany jest mały prostokąt.
2215 Kliknięcie na prostokącie wyświetla okno dialogowe dołączania dokumentu.
2216 W tym oknie można wybrać plik do dołączenia i metodę dołączenia.
2217 Wybór pliku powinien być już jasny.
2218 W oknie mamy do wyboru trzy metody dołączania plików; ,,dołącz'', ,,wstaw''
2220 Różnica pomiędzy ,,dołącz'' a ,,wstaw'' jest w pełni jasna tylko dla LaTeX-pert
2222 Praktycznie różnica polega na tym, że pliki ,,dołączane'' zaczynają się
2223 od nowej strony, a pliki ,,wstawiane'' od miejsca wstawienia.
2226 \begin_layout Standard
2227 Generalnie, plik główny jest konwertowany do formatu LaTeX przed składaniem,
2228 podczas gdy dołączane pliki są konwertowane do formatu LaTeX, który nie
2230 Zaznaczenie pola Nie
2234 zabezpiecza przed konwersją.
2237 \begin_layout Standard
2238 Dołączanie plików metodą ,,maszynopis'' pozwala na dołączanie ,,dosłowne''
2239 plików w środowisku verbatim z czcionką o stałej szerokości.
2240 Normalnie spacje w pliku są niewidzialne, dwie kolejne spacje są zachowywane,
2241 inaczej niż standardowo w LyX-ie.
2246 pozwala na zachowanie spacji lub przywraca standardową interpretację spacji
2250 \begin_layout Subsection
2251 Odnośniki pomiędzy plikami
2254 \begin_layout Standard
2255 Jest możliwe ustawienie odnośników pomiędzy różnymi plikami.
2256 Najpierw otwórz wszystkie pliki pomiędzy którymi chcesz wykonać odnośniki,
2257 na przykład dwa pliki A i B, gdzie plik B jest dołączony do pliku A.
2258 Wstawiliśmy etykietę w pliku A i chcemy odnośnik do niej w pliku B.
2259 Będąc w dokumencie A z menu wybieramy
2264 staw \SpecialChar \menuseparator
2272 Teraz przełączamy się na dokument B bez zamykania okna odnośnika.
2273 Wstawiamy odnośnik i już!
2276 \begin_layout Standard
2277 Gdy przeglądasz plik A wszystko jest poprawnie dołączone i etykietowane.
2278 Jeśli zamkniesz okno odnośnika i ponownie otworzysz je w dokumencie B to
2279 zobaczysz tylko etykiety pliku B.
2280 Ta procedura może nie jest intuicyjna (czasami zdarza się błąd) ale działa.
2283 \begin_layout Section
2287 \begin_layout Standard
2290 (z konfiguracji LaTeX)
2293 \begin_layout Standard
2298 jest potrzebny do wydania ,,wstawek algorytmów''.
2299 Jest on użyteczny przy umieszczaniu krótkich algorytmów w miejscu złamania
2300 strony i obsługuje także spis algorytmów.
2303 \begin_layout Section
2307 \begin_layout Standard
2310 (z konfiguracji LaTeX)
2313 \begin_layout Standard
2318 jest używany w LyX-ie podczas wyboru ,,Podrysunek'' w oknie Rysunek.
2319 Kilka rysunków zaznaczonych w ten sposób może być upakowanych w jednej
2320 wstawce w indywidualnymi podpisami.
2323 \begin_layout Section
2324 Ozdobne nagłówki i stopki
2328 \begin_layout Plain Layout
2329 Właściwie powinnyśmy używać nazw:
2347 \begin_layout Standard
2348 Domyślny układ strony jest raczej nieskomplikowany -- plain; dla klasy artykuł
2349 numery stron są wycentrowane u dołu strony.
2350 Ten dokument jest klasy książka (book) i jest trochę bardziej ozdobny,
2351 ale aby rzeczywiście postawić na wygląd potrzebujesz użyć stylu ,,fancy''
2354 Podręczniku Użytkownika
2357 Ta sekcja opisuje polecenia LaTeX-a, które trzeba wstawić w preambule lub
2358 w tekście aby otrzymać żądany efekt.
2361 \begin_layout Standard
2362 Nagłówek i stopka strony są podzielone na trzy pola określające lewą, środkową
2364 Poleceniami LaTeX-a do ustawiania tych pól w najprostszy sposób są
2389 przypuśćmy, że chcesz wstawić swoje nazwisko w lewym górnym narożniku każdej
2391 Po prostu wstaw następujące polecenie w preambule:
2394 \begin_layout Standard
2403 \begin_layout Standard
2404 Zobaczysz w podglądzie swoje nazwisko w lewym górnym narożniku każdej strony.
2405 Jeśli pole ma domyślną wartość, której chcesz się pozbyć (często numer
2406 strony pojawia się w centralnej części stopki) to po prostu wstaw polecenie
2407 z pustym argumentem, jak w przykładzie:
2410 \begin_layout Standard
2418 \begin_layout Standard
2419 Zróbmy rzeczywiście ozdobną stronę: wstawmy w nagłówku po lewej nazwę sekcji
2420 wraz ze słowem ,,Sekcja'' (np.
2421 Sekcja 3) oraz numer strony po prawej (np.
2422 Strona 4), natomiast w stopce po lewej swoje nazwisko i datę po prawej.
2423 Do tego będą nam potrzebne następujące polecenia w preambule:
2426 \begin_layout Standard
2436 \begin_layout Standard
2444 \begin_layout Standard
2454 \begin_layout Standard
2463 \begin_layout Standard
2471 \begin_layout Standard
2481 \begin_layout Standard
2494 dają dostęp do liczników sekcji i stron LaTeX-a, i będą wydrukowane w bieżącej
2495 sekcji i numerze strony.
2502 wydrukuje bieżącą datę.
2505 \begin_layout Standard
2506 Cienką linię oddzielającą nagłówek i stopkę od treści strony możemy także
2508 Jeśli nie chcesz linii w nagłówku to ustal jej grubość na 0.
2509 Domyślną grubością linii nagłówkowej jest 0.4pt, dla linii stopki zaś jest
2511 Możesz użyć polecenia
2517 headrulewidth}{0.4pt}
2525 footrulewidth}{0.4pt}
2527 do ustawiania ich grubości.
2530 \begin_layout Standard
2531 Możesz przełączać i wyłączać ustawienia nagłówków/stopek za pomocą poleceń:
2536 thispagestyle{empty}
2542 thispagestyle{plain}
2548 thispagestyle{fancy}
2551 Po prostu wstaw je w tekście na stronie, którą chcesz zmienić i zaznacz
2553 Strony tytułowe są oznaczone domyślnie jako plain, podczas gdy kolejne
2554 strony są w stylu fancy gdy używasz globalnego ustawienia fancy.
2557 \begin_layout Standard
2558 Istnieje wiele złożonych poleceń, które będą wstawiały rzeczy w lewym górnym
2559 narożniku na stronach nieparzystych itd.
2560 ale po szczegóły odsyłamy Cię do dokumentacji pakietu
2565 Na przykład jeśli masz instalację teTeX-a zobacz
2567 /usr/share/texmf/doc/latex/fancyhdr/fancyhdr.dvi
2572 \begin_layout Standard
2573 Końcowym przykładem jest możliwość wstawienia pliku Encapsulated PostScript
2574 do nagłówka lub stopki.
2575 Pewnie będziesz chciał wstawić logo firmy do lewego dolnego narożnika strony.
2576 Spróbuj wstawić następujące polecenie
2579 \begin_layout Standard
2588 includegraphics{logo.eps}}}
2591 \begin_layout Standard
2593 (będzie potrzebne w preambule polecenie
2597 usepackage{graphics}
2602 \begin_layout Section
2606 \begin_layout Standard
2607 LaTeX dostarcza mechanizmu do tworzenia strony wewnątrz strony, zwanych
2608 ministronami (minipages).
2609 Wewnątrz ministrony są dostępne wszystkie zwykłe reguły wcinania, łamania
2611 LyX także dostarcza tę możliwość.
2614 \begin_layout Standard
2615 Ministrony posiadają własną wstawkę, aby wstawić ministronę wybierz polecenie
2621 staw \SpecialChar \menuseparator
2629 Klikając prawym klawiszem myszy na wstawkę otwiera się okienko, w którym
2630 można ustalić wyrównianie i szerokość ministrony.
2633 \begin_layout Standard
2635 Jeśli ministrona jest zbyt długa aby zmieścić się na stronie, to zostanie
2636 skrócona, a nie wcięta na następnej stronie (nie pojawi się reszta na następnej
2640 \begin_layout Standard
2641 Są dwie dalsze opcje ministron.
2642 Jeśli umieścisz dwie ministrony obok siebie, to można wstawić
2647 staw\SpecialChar \menuseparator
2655 nak specjalny\SpecialChar \menuseparator
2658 do maksymalnego rozsunięcia ich, który wymuszi początek pierwszej ministrony
2659 od lewego marginesu a koniec następnej na prawym marginesie.
2660 Sprawdź tą opcję dla drugiej ministrony, nie dla pierwszej.
2663 \begin_layout Standard
2664 \begin_inset Box Frameless
2673 height_special "totalheight"
2676 \begin_layout Plain Layout
2677 To jest ministrona, która nie używa hfill.
2678 To jest drugie zdanie ministrony, która nie używa hfill.
2686 \begin_layout Standard
2687 \begin_inset Box Frameless
2696 height_special "totalheight"
2699 \begin_layout Plain Layout
2700 To jest druga ministrona, która nie używa hfill.
2701 To jest drugie zdanie drugiej ministrony, która nie używa hfill.
2709 \begin_layout Standard
2710 \begin_inset VSpace medskip
2716 \begin_layout Standard
2717 To jest zwykły tekst, który rozdziela dwa przykłady
2720 \begin_layout Standard
2721 \begin_inset VSpace medskip
2727 \begin_layout Standard
2728 \begin_inset Box Frameless
2737 height_special "totalheight"
2740 \begin_layout Plain Layout
2741 To jest ministrona, która używa hfill.
2742 To jest drugie zdanie ministrony, która używa hfill.
2748 \begin_inset space \hfill{}
2752 \begin_inset Box Frameless
2761 height_special "totalheight"
2764 \begin_layout Plain Layout
2765 To jest druga ministrona, która używa hfill.
2766 To jest drugie zdanie drugiej ministrony, która używa hfill.
2774 \begin_layout Section
2775 Oblewanie rysunku tekstem
2778 \begin_layout Standard
2779 \begin_inset Wrap figure
2786 \begin_layout Plain Layout
2787 \begin_inset Graphics
2788 filename ../clipart/mobius.eps
2797 \begin_layout Plain Layout
2798 \begin_inset Caption
2800 \begin_layout Plain Layout
2801 Ten rysunek jest oblany tekstem, a to jest śliczny podpis
2814 \begin_layout Standard
2815 Często zadawanym pytaniem jest pytanie o możliwość ,,oblewania'' rysunków
2816 tekstem w ten sposób, że rysunek zajmuje część kolumny a reszta jest wypełniona
2818 Jeśli masz zainstalowany pakiet LaTeX-a
2822 (jest często włączany do dystrybucji lub dostępny w archiwach CTAN), to
2826 \begin_layout Standard
2827 Obok znajduje się rysunek pętli Moebiusa -- powinieneś go już zobaczyć w
2830 Podręczniku Użytkownika
2833 Aby oblać tekstem rysunek jak ten, nalezy wybrac z menu polecenie
2838 staw\SpecialChar \menuseparator
2846 stawki\SpecialChar \menuseparator
2852 \begin_layout Standard
2853 Uwaga: ten pakiet jest bardzo kruchy
2857 \begin_layout Plain Layout
2858 Kruchy w sensie LaTeX-a.
2866 Dla przykładu, mając rysunek zbyt blisko końca strony będzie zamieszanie
2867 treści powyżej, gdy będziemy mieć dwa rysunki blisko siebie.
2868 Używaj tego pakietu oszczędnie i czytaj dokumentację zawartą w pakiecie.
2871 \begin_layout Standard
2872 Miejmy nadzieję, że w przyszłości LyX będzie obsługiwał te funkcje natywnie.
2875 \begin_layout Section
2879 \begin_layout Standard
2880 Standardowy układ tabel będzie odpowiedni w 99% wszystkich Twoich tabel,
2881 ale w 1% prawdopodobnie będziesz potrzebował tabel specjalnie dostosowanych
2888 kład\SpecialChar \menuseparator
2898 otwiera okno formatowania tabeli.
2907 znajduje się dostęp do kilku poleceń wyrównywania kolumn.
2910 \begin_layout Standard
2911 Teraz krótkie wspomnienie o LaTeX-u: gdy ustawiamy tabelę w LaTeX-u to dla
2912 każdej kolumny deklarujemy typ wyrównania.
2913 Dla przykładu możesz podać ,,
2925 '' dla justowania do lewej, wyśrodkowania i wyrównania kolumny do prawej
2926 (co w LyX-ie objawia się trzema przyciskami
2939 Czwartym typem jest ,,
2943 '', który deklaruje szerokość kolumny (w LyX-ie mamy pole
2947 ) co powoduje automatyczne łamanie wierszy.
2948 Piątym typem jest ,,
2952 '' (vertical bar), który raczej służy do tworzenia pionowych kresek ramek
2953 (w LyX-ie mamy do tego przyciski w polu
2958 Kończąc, istnieje typ ,,
2962 '', który pozwala użyć cokolwiek jako separatora kolumn co jest zamknięte
2963 w towarzyszących nawiasach włączając argument pusty.
2964 Powody robienia tego mogą nie być jasne, ale cechy te mogą być bardzo użyteczne.
2965 Najlepiej to pokazać na przykładach.
2968 \begin_layout Subsection
2969 Usuwanie dodatkowej przestrzeni tabeli
2972 \begin_layout Standard
2973 Tutaj znajduje się standardowa tabela:
2976 \begin_layout Standard
2977 \begin_inset VSpace 0.3cm
2983 \begin_layout Standard
2985 \begin_inset Tabular
2986 <lyxtabular version="3" rows="3" columns="2">
2988 <column alignment="left" valignment="top" width="0pt">
2989 <column alignment="left" valignment="top" width="0pt">
2991 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
2994 \begin_layout Plain Layout
3000 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3003 \begin_layout Plain Layout
3011 <cell alignment="left" valignment="top" usebox="none">
3014 \begin_layout Plain Layout
3020 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3023 \begin_layout Plain Layout
3031 <cell alignment="center" valignment="top" usebox="none">
3034 \begin_layout Plain Layout
3040 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3043 \begin_layout Plain Layout
3057 \begin_layout Standard
3058 \begin_inset VSpace 0.3cm
3064 \begin_layout Standard
3065 Zwróć uwagę, że poziome kreski wystają troszkę z obu strona poza tekst.
3066 Jeśli chcesz aby linie zaczynały i kończyły się równo z tekstem, to można
3067 wstawić pusty separator na końcu aby zwolnić trochę miejsca dodawanego
3068 domyślnie przez LaTeX-a.
3072 \begin_layout Standard
3073 \begin_inset VSpace 0.3cm
3079 \begin_layout Standard
3081 \begin_inset Tabular
3082 <lyxtabular version="3" rows="3" columns="2">
3084 <column alignment="left" valignment="top" width="0pt" special="@{} l">
3085 <column alignment="left" valignment="top" width="0pt" special="l @{}">
3087 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
3090 \begin_layout Plain Layout
3096 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3099 \begin_layout Plain Layout
3107 <cell alignment="left" valignment="top" usebox="none">
3110 \begin_layout Plain Layout
3116 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3119 \begin_layout Plain Layout
3127 <cell alignment="center" valignment="top" usebox="none">
3130 \begin_layout Plain Layout
3136 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3139 \begin_layout Plain Layout
3153 \begin_layout Standard
3154 \begin_inset VSpace 0.3cm
3160 \begin_layout Standard
3161 W tym przypadku w polu
3169 dla lewej kolumny wpisano ,,
3173 '', natomiast dla prawej wpisano ,,
3177 '', co wstawia puste znaki na końcach.
3180 \begin_layout Subsection
3181 Zmiana znaku separatora kolumn
3184 \begin_layout Standard
3185 Teraz proponujemy zastosowanie
3186 \begin_inset Formula $\sqrt{\pi}$
3189 z odrobiną miejsca obok jako separatora kolumn tabeli.
3190 Po prostu wyłącz pionowe ramki i wpisz w polu
3196 Kolumna specjalna ,,
3208 \begin_layout Standard
3209 \begin_inset VSpace 0.3cm
3215 \begin_layout Standard
3218 \begin_inset Tabular
3219 <lyxtabular version="3" rows="3" columns="2">
3221 <column alignment="left" valignment="top" width="0pt">
3222 <column alignment="left" valignment="top" width="0pt" special="@{~$\sqrt{\pi}$~}l">
3224 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
3227 \begin_layout Plain Layout
3233 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
3236 \begin_layout Plain Layout
3244 <cell alignment="left" valignment="top" usebox="none">
3247 \begin_layout Plain Layout
3253 <cell alignment="center" valignment="top" usebox="none">
3256 \begin_layout Plain Layout
3264 <cell alignment="center" valignment="top" usebox="none">
3267 \begin_layout Plain Layout
3273 <cell alignment="center" valignment="top" usebox="none">
3276 \begin_layout Plain Layout
3290 \begin_layout Standard
3291 \begin_inset VSpace 0.3cm
3297 \begin_layout Subsection
3298 Wyrównanie kolumny według cyfr znaczących
3301 \begin_layout Standard
3302 Proponujemy wyrównanie kolumny według cyfr znaczących.
3303 Standardowym trickiem LaTeX-a jest podzielenie liczby na dwie kolumny;
3304 w lewej -- przeznaczonej dla części całkowitej -- wyrównujemy do prawej
3305 strony, a w prawej -- przeznaczonej dla części ułamkowej -- wyrównujemy
3306 do lewej, natomiast separator kolumn ustawiamy jako pusty.
3310 \begin_layout Standard
3311 \begin_inset VSpace 0.3cm
3317 \begin_layout Standard
3319 \begin_inset Tabular
3320 <lyxtabular version="3" rows="5" columns="3">
3322 <column alignment="center" valignment="top" width="0pt">
3323 <column alignment="right" valignment="top" width="0pt">
3324 <column alignment="center" valignment="top" width="0pt" special="@{} l">
3326 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
3329 \begin_layout Plain Layout
3335 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3338 \begin_layout Plain Layout
3344 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3347 \begin_layout Plain Layout
3355 <cell alignment="center" valignment="top" usebox="none">
3358 \begin_layout Plain Layout
3359 \begin_inset Formula $\pi$
3367 <cell alignment="right" valignment="top" leftline="true" usebox="none">
3370 \begin_layout Plain Layout
3376 <cell alignment="center" valignment="top" usebox="none">
3379 \begin_layout Plain Layout
3387 <cell alignment="center" valignment="top" usebox="none">
3390 \begin_layout Plain Layout
3391 \begin_inset Formula $\pi^{\pi}$
3399 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3402 \begin_layout Plain Layout
3408 <cell alignment="center" valignment="top" usebox="none">
3411 \begin_layout Plain Layout
3419 <cell alignment="center" valignment="top" usebox="none">
3422 \begin_layout Plain Layout
3423 \begin_inset Formula $(\pi^{\pi})^{\pi}$
3431 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3434 \begin_layout Plain Layout
3440 <cell alignment="center" valignment="top" usebox="none">
3443 \begin_layout Plain Layout
3451 <cell alignment="center" valignment="top" usebox="none">
3454 \begin_layout Plain Layout
3455 \begin_inset Formula $\pi^{\pi^{\pi}}$
3463 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3466 \begin_layout Plain Layout
3472 <cell alignment="center" valignment="top" usebox="none">
3475 \begin_layout Plain Layout
3477 \begin_inset Formula $\times10^{18}$
3493 \begin_layout Standard
3494 \begin_inset VSpace 0.3cm
3500 \begin_layout Standard
3501 Mimo że będzie to wyglądało trochę śmiesznie w LyX-ie, to na wydruku pojawią
3502 się dwukolumnowa tabela, w której prawa kolumna jest wyrównana według cyfr
3503 znaczących, a nagłówek jest wyśrodkowany.
3506 \begin_layout Standard
3507 Myślę, że najlepiej będzie jak opiszę jak to zrobiłem: Najpierw utworzyłem
3508 tabelę 3 x 3 i usunąłem wszystkie ramki.
3509 Następnie dodałem ramki pod nagłówkiem i rozdzielającą pierwszą i drugą
3511 Pierwsza kolumna jest wyśrodkowana.
3512 W drugiej kolumnie wpisałem
3529 , i wyrównałem tę kolumnę do prawej.
3530 W trzeciej kolumnie wpisałem
3541 \begin_inset Formula $\times10^{18}$
3546 oraz ustawiłem wyrównanie
3555 w środkowej kolumnie, podświetliłem je, wyrównałem do prawej.
3559 \begin_layout Subsection
3560 Lepsze rozwiązanie wyrównania według cyfr znaczących
3563 \begin_layout Standard
3564 Alternatywnym rozwiązaniem wyrównania według cyfr znaczących w tabelach
3570 Dodaj następujący tekst do preambuły LaTeX-a:
3573 \begin_layout LyX-Code
3579 \begin_layout LyX-Code
3582 newcolumntype{d}[1]{D{.}{.}{#1}}
3585 \begin_layout Standard
3586 Aby mieć kolumny wyrównane według cyfr znaczących wpisz w polu
3590 w oknie formatu tabeli w zakładce
3597 \begin_layout LyX-Code
3598 d{liczba miejsc dziesiętnych danych}
3601 \begin_layout LyX-Code
3605 [Przykładową tabelę usunięto.
3612 w katalogu examples.]
3615 \begin_layout Standard
3616 Do utworzenia dodatkowego miejsca zwiększ liczbę miejsc dziesiętnych w
3625 dla pojedynczej komórki niewrażliwy na wyrównanie względem cyfr znaczących.
3626 Wadą tej metody jest to, że tryb matematyczny nie jest dopuszczalny w kolumnie
3627 z wyrównaniem względem cyfr znaczących z wyjątkiem jeśli atrybut multicolumn
3631 \begin_layout Standard
3632 Ta metoda oferuje taką samą elastyczność jak pakiet
3637 Możemy, na przykład zmienić separator wyrównania i mamy różne znaki separatorów
3638 dla różnych kolumn przez definicję typów wielokrotnych kolumn w preambule.
3639 Składnia jest następująca:
3642 \begin_layout LyX-Code
3643 D{separator_wej}{separator_wyj}{liczba_miejsc_dzieś}
3646 \begin_layout Standard
3647 Zainteresowanym czytelnikom polecamy dokumentację do pakietu
3654 \begin_layout Section
3655 Wybór znaku wyliczenia
3656 \begin_inset CommandInset label
3665 \begin_layout Standard
3671 \begin_layout Subsection
3675 \begin_layout Standard
3676 LyX dostarcza 216 znaków dostępnych wprost z menu.
3677 Użycie tego menu daje Ci możliwość łatwego wyboru odpowiedniego znaku dla
3678 każdego poziomu zagnieżdżenia wyliczeń.
3679 Te ustawienia są globalne dla całego dokumentu i nie można ustawić różnych
3680 znaków w różnych akapitach
3684 \begin_layout Plain Layout
3685 Można tego dokonać tylko ręcznie
3693 \begin_layout Subsection
3697 \begin_layout Standard
3703 kład\SpecialChar \menuseparator
3717 W zakładce wyświetlona jest tabela znaków wyliczenia.
3718 Za pomocą przycisków umieszczonych po lewej stronie okna mamy dostęp do
3719 sześciu zestawów znaków.
3720 Przyciski umieszczone w górnej części okna przeznaczone są do wyboru głębokości
3721 zagnieżdżenia wyliczenia.
3722 Tekst pod tabelą zestawu znaków wyświetla nazwę LaTeX-a aktualnie wybranego
3724 Można również w tym miejscu podać własne definicje znaku wyliczenia.
3725 Jeśli zmodyfikujesz domyślne ustawienia to będziesz potrzebował podać potrzebne
3726 pakiety w preambule.
3727 Znaki podzielone są na sześć zestawów ze względu na wymagane pakiety.
3728 Poniższa tabela przedstawia przypisanie zestawów do pakietów LaTeX-a.
3731 \begin_layout Standard
3732 \begin_inset VSpace 0.3cm
3738 \begin_layout Standard
3740 \begin_inset Tabular
3741 <lyxtabular version="3" rows="7" columns="2">
3743 <column alignment="center" valignment="top" width="0pt">
3744 <column alignment="center" valignment="top" width="0pt">
3746 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3749 \begin_layout Plain Layout
3755 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3758 \begin_layout Plain Layout
3766 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3769 \begin_layout Plain Layout
3777 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3780 \begin_layout Plain Layout
3790 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3793 \begin_layout Plain Layout
3801 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3804 \begin_layout Plain Layout
3814 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3817 \begin_layout Plain Layout
3825 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3828 \begin_layout Plain Layout
3838 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3841 \begin_layout Plain Layout
3849 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3852 \begin_layout Plain Layout
3862 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3865 \begin_layout Plain Layout
3873 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3876 \begin_layout Plain Layout
3886 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3889 \begin_layout Plain Layout
3897 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3900 \begin_layout Plain Layout
3916 \begin_layout Standard
3917 \begin_inset VSpace 0.3cm
3923 \begin_layout Standard
3924 LyX nie zatrzyma Cię przed użyciem znaku z pakietu którego nie masz.
3925 Jeśli otrzymasz komunikat błędu LaTeX-a podczas próby podglądu lub wydruku
3926 będzie on oznaczał brak wymaganego pakietu.
3927 LyX nie będzie ograniczał użycia przy lokalnej edycji i eksporcie gdziekolwiek.
3930 \begin_layout Subsection
3934 \begin_layout Standard
3935 Wybierz przycisk głębokości wyliczenia i następnie wybierz znak i wielkość.
3936 Zmiana nie będzie widoczna w LyX-ie, ale będzie widoczna w podglądzie dokumentu
3937 przy użyciu xdvi lub ghostview.
3940 \begin_layout Standard
3941 Możesz przywrócić domyślny znak wyliczenia przez kliknięcie prawym klawiszem
3942 myszy na przycisku poziomu wyliczenia.
3945 \begin_layout Standard
3946 Jeśli rzeczywiście chcesz mieć wiele układów akapitów z różnymi zestawami
3947 znaków wyliczenia w każdym musisz wykonać trochę brudnej roboty.
3948 Okno wyboru znaku wyliczenia może pomóc w znalezieniu nazwy LaTeX-owej
3950 Aby zrobić własne akapity musisz mieś następującą opcję:
3953 \begin_layout Standard
3957 \begin_layout Plain Layout
3968 \begin_layout Plain Layout
3972 \begin_layout Plain Layout
3994 \begin_layout Itemize
3995 Użyj polecenia LaTeX-a
4001 do specyfikacji nowego znaku wyliczenia dla zadanej głębokości zagnieżdżenia.
4002 To będzie także potrzebne do zapisu bieżącego znaku i jego późniejszego
4003 ponownego przywołania.
4004 W tym wyliczeniu zostały użyte następujące kody LaTeX-a do zmiany znaku
4005 wyliczenia w pierwszym poziomie.
4006 \begin_inset Newline newline
4018 \begin_inset Newline newline
4034 \begin_inset Newline newline
4039 Uwaga głębokość zagnieżdżenia w poleceniu
4045 jest podawana cyframi rzymskimi (podobnie jak numeracja części).
4048 \begin_layout Itemize
4052 \begin_layout Plain Layout
4065 Podaj dla każdego indywidualnego wiersza wyliczenia kod znaku zamknięty
4066 w nawiasy prostokątne i wpisane w trybie TeX.
4067 Na przykład ten wiersz zaczyna się znakiem
4080 \begin_layout Itemize
4081 Poczekaj na LyX 1.2.
4082 Następne stabilne wydanie LyX-a powinna mieć wbudowaną obsługę definiowania
4083 dla każdego wyliczenia oddzielnego zestawu znaków.
4086 \begin_layout Standard
4090 \begin_layout Plain Layout
4106 \begin_layout Standard
4107 Jeśli będziesz potrzebował przywrócić z powrotem poprzednie globalne ustawienia
4108 znaków to należy wpisać:
4109 \begin_inset Newline newline
4123 \begin_layout Chapter
4124 Specjalne klasy dokumentu
4127 \begin_layout Section
4131 \begin_layout Standard
4137 \begin_layout Standard
4138 \begin_inset VSpace bigskip
4144 \begin_layout Standard
4146 Układ AMS-Math jest zestawem styli zalecanymi dla składu pism matematycznych
4147 przesyłanych do wydawnictwa American Mathematical Society.
4148 Układ nie jest przycięty do specyfiki pisma, ale można to łatwo zrobić.
4149 Powinieneś przejrzeć dokumentację AMS pod kątem specyficznych instrukcji
4150 dla każdego pisma (często wymagana jest tylko zmiana w jednym wierszu).
4151 Dokumentacja AMS jest dostępna w internecie na stronie
4152 \begin_inset Flex URL
4155 \begin_layout Plain Layout
4163 \begin_inset Flex URL
4166 \begin_layout Plain Layout
4168 ftp://ftp.ams.org/pub/tex/amslatex/
4174 Te układy są odpowiednie i użyteczne dla zapisu matematyki.
4175 Są aktualnie dostępne różne układy AMS-math:
4178 \begin_layout Enumerate
4179 amsart -- standardowy format artykułu -- AMS article.
4180 Wszystkie równania i wyrażenia są numerowane jako
4181 \begin_inset Formula $(n.m)$
4184 , gdzie pierwsza liczba oznacza sekcję, a druga odpowiada kolejnemu numerowi
4185 środowiska (Theorems, Corollaries, Propositions, Definitions, Remarks,
4187 Istnieje także kilka (ale nie wszystkie) środowisk nienumerowanych, które
4188 są używane okazjonalnie.
4189 Nazwy nienumerowanych środowisk kończą się znakiem gwiazdki (*).
4192 \begin_layout Enumerate
4193 amsart-seq -- tutaj, twierdzenia, definicje itd.
4194 są numerowane kolejno, bez odniesienia do numeru sekcji.
4195 Dostępne są również nienumerowane środowiska (ale nie wszystkie), do okazjonaln
4197 Nazwy nienumerowanych środowisk kończą się znakiem gwiazdki (*).
4200 \begin_layout Enumerate
4201 amsbook - standardowy format książki -- AMS book (prawdziwe monografie).
4202 Numeracja jest podobna jak w układzie amsart, z wyjątkiem numeracji wszystkiego
4204 \begin_inset Formula $(n,m,p)$
4207 , gdzie pierwszy numer odnosi się do numeru rozdziału, drugi do sekcji,
4208 a trzeci jest numerem kolejnym wyrażenia (Theorems, Corollaries, Propositions,
4209 Definitions, Remarks, itd.) w tej sekcji.
4210 Istnieje także kilka (ale nie wszystkie) środowisk nienumerowanych, które
4211 są używane okazjonalnie.
4212 Nazwy nienumerowanych środowisk kończą się znakiem gwiazdki (*).
4215 \begin_layout Standard
4216 Dowolne pliki LyX-a ams-* mogą być konwertowane do schematu przez prostą
4217 zmianę klasy dokumentu w menu
4222 kład\SpecialChar \menuseparator
4232 \begin_layout Subsection
4233 Co daje ten szablon?
4236 \begin_layout Standard
4237 Te układy dostarczają długą listę środowisk.
4238 Najbardziej matematyczne pisma i książki będą korzystać w większości z
4239 tych środowisk, AMS-LaTeX-u sprzyja definiowaniu nieograniczonej liczby
4240 rozmaitych takich deklaracji.
4241 Jednak zalecane przez AMS środowiska są dostępne w LyX-ie.
4242 Oto lista nowych środowisk (nie wyliczamy typowych takich jak
4244 sections, bibliography, title, author, date
4249 \begin_layout Description
4250 Theorem This is typically used for the statements of major results.
4255 '' wyświetlane jest czcionką półgrubą, along with an automatically-determined
4256 number (an unnumbered version,
4260 , is also available).
4261 Tekst jest pochylony.
4264 \begin_layout Description
4265 Corollary This is used for statements which follow fairly directly from
4266 previous statements.
4267 Again, these can be major results.
4275 \begin_layout Description
4276 Lemma These are smaller results needed to prove other statements.
4279 \begin_layout Description
4280 Proposition These are less major results which (hopefully) add to the general
4281 theory being discussed.
4284 \begin_layout Description
4285 Conjecture These are statements provided without justification, which the
4286 author does not know how to prove, but which seem to be true (to the author,
4290 \begin_layout Description
4291 Criterion A required condition.
4294 \begin_layout Description
4295 Algorithm A general procedure to be used.
4298 \begin_layout Description
4299 Axiom This is a property or statement taken as true within the system being
4303 \begin_layout Description
4304 Definition Guess what this is for.
4305 The font, both on-screen and in the output, is different for this environment
4306 than for the previous ones.
4307 The heading (,,definition'') is still set in boldface, along with the number,
4308 if any, but the rest is set upright.
4311 \begin_layout Description
4312 Example Skład jest podobny do Definition.
4315 \begin_layout Description
4319 \begin_layout Description
4323 \begin_layout Description
4327 \begin_layout Description
4328 Remark This environment is also a new type of theorem.
4329 This is set with the word Remark in italics, and the rest upright.
4332 \begin_layout Description
4333 Note Set similarly to the Remark environment.
4336 \begin_layout Description
4340 \begin_layout Description
4344 \begin_layout Description
4348 \begin_layout Description
4352 \begin_layout Description
4353 Case Generally, these are used to break up long arguments, using specific
4354 instances of some condition.
4355 The numbering scheme for cases is on its own, not together with other numbered
4359 \begin_layout Description
4363 \begin_layout Description
4367 \begin_layout Description
4372 '' jest pisane kursywą, but the rest is set upright.
4373 At the end of this environment (other environments can be nested within
4374 this one, of course) a QED symbol (usually a square, but it can vary with
4375 different styles) is placed.
4378 \begin_layout Description
4379 Address Tu powinien być podany stały adres autora.
4382 \begin_layout Description
4384 \begin_inset space ~
4387 Address Tu powinien być podany czasowy adres autora, gdy wysyłał dokument,
4388 o ile jest różny od podanego powyżej w Address.
4391 \begin_layout Description
4392 Email Adres e-mail autora
4395 \begin_layout Description
4396 URL Adres strony internetowej autora.
4399 \begin_layout Description
4400 Keywords Słowa kluczowe i frazy używane do identyfikacji specyficznych dyskutowa
4401 nych tematów w prasie.
4404 \begin_layout Description
4405 Subjectclass These refer to the AMS Subject Classifications, published and
4408 Mathematical Reviews
4411 These are also available online at the AMS cites listed above.
4414 \begin_layout Description
4418 \begin_layout Description
4422 \begin_layout Description
4426 \begin_layout Standard
4427 Ponadto, środowiska automatycznie włączają pakiety AMS-LaTeX i czcionki
4428 AMS, które muszą być dostępne w Twoim systemie, aby można było używać tych
4432 \begin_layout Section
4436 \begin_layout Standard
4441 może być użyta do pisania listów zgodnie z niemiecką konwencją.
4442 Dla Ciebie w folderze
4444 .../lyx/share/templates
4446 znajduje się plik przykładowy, aby było łatwiej zacząć.
4449 \begin_layout Section
4453 \begin_layout Standard
4458 jest alternatywą dla standardowej klasy
4463 Daje ona podobną funkcjonalność, ale można preferować w tym układzie bezszeryfo
4464 we tytularia i jeszcze więcej.
4467 \begin_layout Section
4471 \begin_layout Standard
4481 \begin_layout Subsection
4485 \begin_layout Standard
4486 W tej sekcji opisano jak można użyć LyX-a do pisania artykułów do pism naukowych
4489 Astronomy and Astrophysics
4495 przy użyciu klasy dokumentu
4499 z pakietu makr wydawnictwa Springer.
4500 Ten pakiet może być ściągnięty z serwera ftp Springera
4503 \begin_layout Standard
4504 \begin_inset VSpace medskip
4510 \begin_layout Standard
4512 \begin_inset Flex URL
4515 \begin_layout Plain Layout
4517 ftp://ftp.springer.de/pub/tex/latex/aa
4525 \begin_layout Standard
4526 \begin_inset VSpace medskip
4532 \begin_layout Standard
4533 Instrukcja do A&A Paper jest dostarczana razem z pakietem.
4534 Ten tekst nie ma na celu zastąpienia oryginalnej instrukcji ale jest krótkim
4535 przewodnikiem jak wykorzystać ten format.
4538 \begin_layout Subsection
4542 \begin_layout Standard
4543 Aby zacząć nowy dokument wybieramy z menu
4548 lik\SpecialChar \menuseparator
4563 lik\SpecialChar \menuseparator
4565 \begin_inset space ~
4576 \begin_layout Plain Layout
4577 Zalecamy korzystanie z szablonu.
4578 Either create one yourself, or ask the local system administrator to suply
4579 a site-wide version.
4580 Przykładowy szablon jest częścią standardowej dystrybucji LyX-a.
4588 Jeśli nie użyłeś szablonu to zwróć uwagę na następujące ustawienia:
4591 \begin_layout Itemize
4592 Wybierz klasę dokumentu
4610 \begin_layout Itemize
4623 Układ jest zrobiony za pomocą makr i nie powinieneś niczego zmieniać.
4626 \begin_layout Itemize
4627 Możesz chcieć użyć czcionki
4638 , jako sugerowanej przez wydawnictwo Springer dla jednolitego wyglądu tekstu
4642 \begin_layout Subsection
4646 \begin_layout Standard
4647 Pierwszą rzeczą do wprowadzenia jest dane nagłówkowe.
4648 Które zawierają osiem wpisów, z których kilka jest opcjonalnych.
4652 \begin_layout Itemize
4657 : [wymagane] Zobacz podręcznik Springera.
4660 \begin_layout Itemize
4668 \begin_layout Itemize
4676 \begin_layout Itemize
4684 \begin_layout Itemize
4692 \begin_layout Itemize
4697 : [opcjonalne] jeśli jest więcej niż jeden autor, to komu wysłać odbitki.
4700 \begin_layout Itemize
4705 : [opcjonalne] adres e-mail dla kontaktu z autorem.
4708 \begin_layout Itemize
4716 Received: <date> / Accepted <date>
4719 \begin_layout Standard
4720 Nie potrzeba wydawać polecenia
4726 , jest to robione automatycznie przez LyX gdy nagłówek jest zakończony.
4727 Although the order of the single header entries doesn't matter it is advised
4728 to keep the above sequence, just to get the best optics and meets the layout
4729 of the real document.
4732 \begin_layout Standard
4733 Jeśli chcesz umieścić przypis w nagłówku, np.
4734 dla wskazania twojego aktualnego adresu, możesz użyć standardowego przypisu
4740 staw\SpecialChar \menuseparator
4748 LyX w takim przypadku użyje automatycznie określenia
4757 \begin_layout Standard
4758 In addition to these topics, Springer uses two additional LaTeX commands
4759 that have no counterpart in LyX:
4762 \begin_layout Itemize
4769 do oddzielenia różnych nazw takich jak autorzy, instytucje.
4772 \begin_layout Itemize
4779 to mark corresponding author/institute pairs.
4780 The institutes are numbered sequentially as they appear in the
4784 field, so you have to put a marker to each author.
4787 \begin_layout Standard
4788 In both cases, the appropriate command has to be entered in LyX an marked
4793 \begin_layout Subsection
4797 \begin_layout Standard
4798 Streszczenie powinno się znajdować bezpośrednio za nagłówkiem.
4801 \begin_layout Standard
4802 The only special thing about the abstract environment is that it should
4803 contain an entry with the keywords.
4804 This is not yet implemented for LyX, therefore you have to enter the LaTeX
4811 by hand and mark it as LaTeX code.
4812 Zobacz przykładowy artykuł.
4815 \begin_layout Subsection
4816 Obsługiwane środowiska
4819 \begin_layout Standard
4820 Układ A&A paper obsługuje następujące środowiska dla strukturyzacji tekstu:
4823 \begin_layout Itemize
4829 \begin_layout Itemize
4835 \begin_layout Itemize
4841 \begin_layout Itemize
4847 \begin_layout Itemize
4853 \begin_layout Itemize
4859 \begin_layout Itemize
4865 \begin_layout Itemize
4871 \begin_layout Itemize
4877 \begin_layout Itemize
4883 \begin_layout Itemize
4889 \begin_layout Itemize
4895 \begin_layout Subsection
4896 Polecenia nie obsługiwane przez LyX
4899 \begin_layout Standard
4900 Kilka poleceń układu
4904 nie jest jeszcze obsługiwane w LyX-ie.
4905 Kilka zostało już omówionych.
4906 Dla kompletności poniżej są one wszystkie wypisane:
4909 \begin_layout Itemize
4917 \begin_layout Itemize
4925 \begin_layout Itemize
4933 \begin_layout Itemize
4941 \begin_layout Itemize
4949 \begin_layout Itemize
4957 \begin_layout Itemize
4965 \begin_layout Standard
4966 Jeśli chcesz użyć któregoś z tych poleceń, to musisz wpisać je sam.
4967 I nie zapomnij wpisywać je w trybie LaTeX-a!
4970 \begin_layout Subsection
4971 Wstawki -- rysunki i tabele
4974 \begin_layout Standard
4975 LyX obsługuje niezbędne środowiska wstawek
4977 figure, figure*, table
4983 , dlatego nie wspominamy o nich tutaj więcej.
4986 Podręcznika Użytkownika
4989 Pamiętaj, że tabele powinny być wyrównane lewostronnie.
4990 Do tego celu wybierz tabelę i zmień wyrównanie w
4995 kład\SpecialChar \menuseparator
5003 \begin_layout Standard
5004 Jest tylko jedna specjalna rzecz: rysunki z podpisami.
5005 Aby utworzyć takie rysunki musisz wykonać poniższe kroki:
5008 \begin_layout Enumerate
5009 Utwórz szeroką wstawkę:
5014 staw\SpecialChar \menuseparator
5019 stawki\SpecialChar \menuseparator
5029 \begin_layout Enumerate
5030 Wpisz treść podpisu rysunku.
5033 \begin_layout Enumerate
5038 aby przesunąć kursor powyżej podpisu,
5041 \begin_layout Enumerate
5042 Wstaw swój rysunek (eps),
5045 \begin_layout Enumerate
5046 Ustaw kursor za rysunkiem i wstaw odstęp poziomy:
5051 staw\SpecialChar \menuseparator
5061 \SpecialChar \menuseparator
5069 \begin_layout Enumerate
5070 Przełącz się do trybu LaTeX:
5073 \begin_inset space ~
5081 \begin_layout Enumerate
5090 Nie zamykaj nawiasu!
5093 \begin_layout Enumerate
5094 Ustaw kursor za podpisem, przełącz się do trybu LaTeX-a i wstaw brakujący
5102 \begin_layout Standard
5103 Zobacz także rysunek w przykładowym artykule.
5106 \begin_layout Subsection
5110 \begin_layout Standard
5111 For submission, the paper has to be formated in a special double-spacing
5113 For this purpose, you have to give the option
5117 to the documentclass.
5118 This must be done using the
5125 \begin_inset space ~
5133 \begin_inset space ~
5139 Just enter the string
5146 \begin_layout Subsection
5150 \begin_layout Standard
5155 znajduje się plik przykładowy artykuł napisany w LyX-ie.
5156 To jest przykład z oryginalnago pakietu makr Springera przetłumaczonego
5158 Użyj go jako inspirację i porównanie oryginalnego kodu LaTeX-a z LyX-owym
5162 \begin_layout Section
5166 \begin_layout Standard
5172 \begin_layout Subsection
5176 \begin_layout Standard
5177 AASTeX jest zestawem makr wydanych przez American Astronomical Society dla
5178 ułatwienia wysyłania elektronicznych manuskryptów do trzech pism wydawanych
5181 Astrophysical Journal
5183 (włączając Listy i Suplement),
5185 Astronomical Journal
5189 Publications of the Astronomical Society of the Pacific
5192 LyX wymaga co najmniej wersji 5.0 tych makr.
5193 Wersje starsze od 5.0 są przeznaczone dla LaTeX2.09 i są niekompatybilne
5195 Pakiet AASTeX można pobrać z serwera ftp AAS
5198 \begin_layout Standard
5199 \begin_inset VSpace medskip
5205 \begin_layout Standard
5207 \begin_inset Flex URL
5210 \begin_layout Plain Layout
5212 ftp://ftp.aas.org/pubs
5220 \begin_layout Standard
5221 \begin_inset VSpace medskip
5227 \begin_layout Standard
5228 A complete user guide is contained in that package and you should familiarize
5229 yourself with it thoroughly before embarking on writing a paper in LyX.
5230 LyX will not reduce the need to figure out all the AASTeX commands, it
5231 will only reduce the drudgery of typing everything in.
5232 It is your responsibility to ensure that the final exported LaTeX document
5233 conforms completely to the requirements of the journal to which you are
5234 submitting your paper.
5237 \begin_layout Subsection
5238 Starting a New Paper
5241 \begin_layout Standard
5242 I strongly suggest that you start with the AASTeX template file.
5245 File\SpecialChar \menuseparator
5248 , enter the new file name, then choose the
5253 This will show the most common fields found in a manuscript.
5254 Simply overwrite the existing text (including the brackets,
5258 ) with the correct information.
5259 Many of the AASTeX commands and environments can be implemented directly
5260 in LyX, but some cannot: most noticeably
5272 , which should stick out like a sore thumb if you actually just opened the
5274 For commands such as these, the LaTeX code must be entered directly and
5276 Such commands are referred to as ERT, or Evil Red Text.
5277 I tried to minimize the amount of ERT needed in an AASTeX document, but
5278 there is still more required than any of us would like.
5281 \begin_layout Subsection
5282 Finishing Your Paper
5285 \begin_layout Standard
5286 When the paper is finished to your satisfaction and previews/prints correctly,
5288 \begin_inset Quotes eld
5292 \begin_inset Quotes erd
5295 actions which need to be done before you submit it to the journals.
5298 \begin_layout Enumerate
5299 Export your paper as a LaTeX file (
5301 File\SpecialChar \menuseparator
5302 Export\SpecialChar \menuseparator
5308 \begin_layout Enumerate
5313 file with your favorite text editor
5317 \begin_layout Enumerate
5318 remove the comment lines before the
5327 \begin_layout Enumerate
5332 usepackage...{fontenc}
5334 line if it appears (usually just after
5349 \begin_layout Enumerate
5350 remove everything between (and including) the
5362 commands, except for any commands you specifically put into the LaTeX preamble
5363 (which should appear immediately after the
5364 \begin_inset Quotes eld
5367 User specified LaTeX commands
5368 \begin_inset Quotes erd
5378 \begin_layout Enumerate
5385 commands and replace
5386 \begin_inset Quotes eld
5394 \begin_inset Quotes erd
5397 with the correct, real file name.
5400 \begin_layout Enumerate
5407 commands, if necessary (see section
5408 \begin_inset CommandInset ref
5418 \begin_layout Enumerate
5419 Run the resulting file through LaTeX to make sure it still processes correctly.
5422 \begin_layout Enumerate
5423 Reread the journal requirements to make sure your filenames and formats
5427 \begin_layout Enumerate
5431 \begin_layout Subsection
5432 Comments On Specific Commands
5435 \begin_layout Standard
5436 I will not describe the detailed usage of the individual AASTeX commands:
5437 the AASTeX User Guide (
5441 ) gives a good description of each.
5442 Thus it's probably easiest for me to go down the list as found in the guide
5443 and offer comments where necessary.
5444 So let's begin \SpecialChar \ldots{}
5448 \begin_layout Subsubsection
5449 Things that work as expected
5452 \begin_layout Standard
5456 \begin_layout Plain Layout
5468 \begin_layout Standard
5469 Because they work as you might expect, I simply list them and the section
5564 begin{thebibliography}
5596 (2.14.4, amongst other places),
5623 \begin_layout Standard
5624 The following style options also work correctly:
5647 Layout\SpecialChar \menuseparator
5653 \begin_layout Standard
5657 \begin_layout Plain Layout
5669 \begin_layout Subsubsection
5670 Things that work, but require more comment
5673 \begin_layout Standard
5674 The following items work, but require a little more discussion:
5677 \begin_layout Itemize
5678 These items are reserved for use by the journal editors, but you can put
5679 them into the LaTeX preamble if you feel compelled to do so:
5712 \begin_layout Itemize
5713 These items may be placed in the LaTeX preamble, and are included as blanks
5714 in the template file:
5735 \begin_layout Itemize
5742 (2.3) -- can only be used
5743 \begin_inset Quotes eld
5747 \begin_inset Quotes erd
5750 , not in the middle of a paragraph.
5751 Use ERT if you need to embed it.
5754 \begin_layout Itemize
5761 (2.3) -- will have extra {} after it.
5762 This should not cause an error.
5765 \begin_layout Itemize
5772 (2.6) -- can only be used
5773 \begin_inset Quotes eld
5777 \begin_inset Quotes erd
5780 , not in the middle of a paragraph.
5781 Use ERT if you need to embed it.
5784 \begin_layout Itemize
5791 (2.8) -- can't insert a cross-reference tag, you must type the tag name
5795 \begin_layout Itemize
5802 (2.8) -- same as for
5809 \begin_layout Itemize
5816 (2.9) -- will have extra {} after it.
5817 This should not cause an error.
5820 \begin_layout Itemize
5827 (2.10) -- will have extra {} after it.
5828 This should not cause an error.
5831 \begin_layout Itemize
5838 (2.13.2) -- you will have to edit the optional argument by hand in the final
5842 \begin_layout Subsubsection
5843 Things not implemented, use ERT
5846 \begin_layout Standard
5850 \begin_layout Plain Layout
5862 \begin_layout Standard
5885 setcounter{equation}
5899 (2.12), Journal name abbreviations (2.12.4),
5935 (2.14.4, insert it as the first element in the lefthand cell after where
5937 Don't use any of LyX's rules in the table),
5949 (2.14.5), most everything in Misc (2.15, except
5988 \begin_layout Standard
5992 \begin_layout Plain Layout
6004 \begin_layout Subsubsection
6005 Things that cannot be implemented
6008 \begin_layout Standard
6009 \SpecialChar \ldots{}
6010 at least in any meaningful sort of way, so I suggest ignoring them.
6011 They are the references environment (2.12.3), and the deluxetable environment
6013 If you really, really need to use deluxetable, I suggest editing it in
6014 a separate file with a text editor, then using
6016 Insert\SpecialChar \menuseparator
6019 to include it in your LyX document.
6024 file to see an example of this.
6027 \begin_layout Subsection
6028 FAQs, Tips, Tricks, and Other Ruminations
6031 \begin_layout Subsubsection
6032 Getting LyX and AASTeX to cooperate
6035 \begin_layout Standard
6036 It can be a bit tricky to get LyX to recognize a new layout and document
6038 When all else fails, do this:
6041 \begin_layout Enumerate
6042 Make certain that LaTeX can find AASTeX.
6043 Copy sample.tex (and perhaps table.tex) from the AASTeX distribution into
6044 a directory completely unrelated to LaTeX or AASTeX and run LaTeX on
6051 \begin_layout Enumerate
6058 /usr/.../share/lyx/layouts
6067 \begin_layout Enumerate
6070 Options\SpecialChar \menuseparator
6073 in LyX, then restart LyX.
6076 \begin_layout Enumerate
6077 Open a regular new file, not from a template.
6078 Does AASTeX appear in
6080 Layout\SpecialChar \menuseparator
6081 Document\SpecialChar \menuseparator
6087 \begin_layout Standard
6088 If you get a warning from an existing AASTeX document about not being able
6089 to find the AASTeX layout or a message about
6090 \begin_inset Quotes eld
6093 You should not mix title layouts with normal ones
6094 \begin_inset Quotes erd
6097 , things haven't been installed correctly.
6100 \begin_layout Subsubsection
6101 LaTeX error processing a table
6104 \begin_layout Standard
6105 LyX, by default, attempts to center the table caption/title.
6106 This seems to produce a bad interaction in AASTeX so you should click somewhere
6107 in the caption/title, then select
6109 Layout\SpecialChar \menuseparator
6121 This took care of it for me.
6124 \begin_layout Subsubsection
6126 \begin_inset CommandInset label
6135 \begin_layout Standard
6136 A few things: 1) I have noticed some funny spacing in the reference entries
6138 When you enter the bibliography item data, make sure their is
6142 space between the last author and the parenthesis setting off the year;
6155 2) I am really unhappy that I can't make
6167 more automatic, but that would require changes to the LyX source code.
6168 For now you can do one of two things: a) enter all your citations using
6171 Insert\SpecialChar \menuseparator
6174 mechanism; at least you can take advantage of the automatic insertions.
6175 Then edit the exported LaTeX file by hand changing the
6181 entries to the appropriate
6193 commands before you submit it (
6199 is currently equivalent to
6205 , so you wouldn't necessarily have to change those).
6206 Or b) you can simply enter all your citations as ERT using the same key
6207 for the argument that you used in the bibliography popup,
6217 Neither choice is pleasant, but until LyX's citation mechanism understands
6221 , we'll have to put up with it.
6222 3) Entering the references at all is not obvious.
6223 The easiest thing is to start typing your first reference at the end of
6224 the document, then mark it as type
6229 That will put a small gray box in front of what you just typed.
6230 Click on the box to fill in the rest of the information.
6231 For new references, go to the end of an existing reference and press return.
6232 That will create a new line with its own box, etc.
6235 \begin_layout Subsubsection
6236 Włączanie plików EPS
6239 \begin_layout Standard
6240 With all due respect to Chris Biemesderfer and the others who have helped
6241 to write the AASTeX package, the figure handling mechanism smells really
6250 commands as ERT into a Figure Float box, but I never have much luck getting
6252 My advice would be to avoid all EPS inclusions in the manuscript you submit
6253 to the journal, but then use the standard LyX EPS file inclusion mechanism
6254 when you want to make your nicer looking preprints.
6259 usepackage{graphics}
6261 command into the LaTeX preamble and handle the figures in the standard
6263 Anyone who attempts to print your AASTeX 5.0 manuscript must have a LaTeX2e
6264 installation anyway, so why not take advantage of the infinitely better
6265 graphics handling mechanism? If they complain about LaTeX2e or the graphics
6266 package, point out that it appears in the second edition of Lamport (1994),
6267 so it was time to upgrade six years ago.
6270 \begin_layout Subsubsection
6271 Things I could have done, but didn't
6274 \begin_layout Standard
6275 There are a few ,,pretty'' things I could have implemented, but chose not
6277 For instance, I saw no point in double-spacing the text in the LyX window,
6278 even though it is double-spaced in the paper manuscript.
6279 Also, I chose not to make separate layouts for the preprint and preprint2
6281 Since I assume you will spend most of your time in the plain manuscript
6282 mode anyway, I decided not to chew up more disk space with this.
6283 If you feel strongly that I should make such layouts, I will adhere to
6284 the spirit of the rules laid out by the Mudgeeraba Creek Emu-Riding and
6285 Boomerang-Throwing Association:
6288 \begin_layout Quotation
6289 ,,Decisions of the judges will be final unless shouted down by a really
6290 overwhelming majority of the crowd present.
6291 Abusive and obscene language may not be used by contestants when addressing
6292 members of the judging panel, or, conversely, by members of the judging
6293 panel when addressing contestants (unless struck by a boomerang)''.
6296 \begin_layout Subsection
6300 \begin_layout Standard
6301 To mangle the infamous quote by Donald Knuth about a computer algorithm,
6302 ,,I have only proved this to be correct, I have not actually tried it''.
6303 I believe following the above procedures will produce an acceptable AASTeX
6304 document, but as of this update (Jan 25, 2000), I have not yet submitted
6306 Hopefully in the next few months \SpecialChar \ldots{}
6310 \begin_layout Section
6314 \begin_layout Standard
6317 Panayotis Papasotiriou
6320 \begin_layout Subsection
6324 \begin_layout Standard
6325 The ijmpd package is a set of macros that facilitates electronic manuscript
6328 International Journal of Modern Physics D
6330 published by World Scientific.
6331 The name of the document class is
6336 This file, together with instructions for the authors, can be downloaded
6338 \begin_inset Flex URL
6341 \begin_layout Plain Layout
6343 http://www.worldscinet.com/ijmpd/mkt/guidelines.shtml
6349 The ijmpd package is a modified version of the standard
6350 \begin_inset Quotes eld
6354 \begin_inset Quotes erd
6358 Most of its features are supported by LyX.
6359 I have recently used LyX successfully to write an article submitted to
6362 International Journal of Modern Physics D
6367 \begin_layout Subsection
6371 \begin_layout Standard
6372 As usual, the easiest way to write a paper is to start with a template.
6378 ile\SpecialChar \menuseparator
6393 This will give an (almost) empty document that includes the most common
6394 fields found in a manuscript.
6395 Simply overwrite the existing text (including the brackets,
6399 ) with the correct information.
6400 You should keep in mind the following remarks.
6403 \begin_layout Enumerate
6404 LyX won't let you change the font size and the page style of the document,
6405 because the ijmpd package does not allow such modifications.
6408 \begin_layout Enumerate
6409 The ijmpd package requires that the language of the document should not
6411 Before previewing your paper, be sure that the babel package is not used.
6412 To do this, click on
6417 dit\SpecialChar \menuseparator
6432 tab), then deselect the
6450 , if you wish to make this change permanent).
6453 \begin_layout Enumerate
6454 Two new environments, named
6455 \begin_inset Quotes eld
6459 \begin_inset Quotes erd
6463 \begin_inset Quotes eld
6467 \begin_inset Quotes erd
6470 are available (their use is obvious).
6473 \begin_layout Enumerate
6474 Appendices may be added to the paper.
6475 LyX offers a special environment, called
6476 \begin_inset Quotes eld
6480 \begin_inset Quotes erd
6483 which marks the beginning of the appendix.
6484 An appendix can contain normal sections, subsections, or subsubsections.
6487 \begin_layout Enumerate
6488 The ijmpd package implements table captions quite differently than LyX does.
6489 As a result, a table created by LyX is printed correctly, but its caption
6491 If you need table captions, you should implement the whole table float
6496 file, then include this file to the LyX document (
6501 nsert\SpecialChar \menuseparator
6509 Details on how to create an ijmpd table float can be found in the file
6514 , which is included in the ijmpd package.
6517 \begin_layout Subsection
6518 Preparing a paper for submission
6521 \begin_layout Standard
6522 Before you submit your paper you must export the LyX document as a LaTeX
6528 ile\SpecialChar \menuseparator
6533 xport\SpecialChar \menuseparator
6540 ), then make the following changes to the resulting
6547 \begin_layout Enumerate
6548 Remove the comment lines before the
6557 \begin_layout Enumerate
6558 Remove everything between (and including) the
6570 commands, except for any commands you specifically put into the LaTeX preamble.
6573 \begin_layout Standard
6578 file should be saved and processed through LaTeX as many times as necessary.
6579 You may also want to check the resulting
6586 \begin_layout Subsection
6590 \begin_layout Standard
6591 Użycie wstawek ERT jest opcjonalne i jest zredukowane do trzech poleceń,
6592 which affect the look of the page.
6593 If you started writing your paper by using the
6597 template, the ERT needed is already in its place; you usually don't need
6599 You may only change the first ERT to specify the information printed to
6600 the top of odd and even pages (authors' names and short paper's title,
6602 This ERT must have the form
6606 markboth{Authors' Names}{Short Paper's Title}
6611 \begin_layout Section
6615 \begin_layout Standard
6618 Panayotis Papasotiriou
6621 \begin_layout Subsection
6625 \begin_layout Standard
6626 Pakiet Kluwer jest zestawem makr wydanych przez Kluwer Academic Publishers
6627 aby ułatwić elektroniczną wysyłkę manuskryptów do pism wydawanych przez
6629 Najbardziej znane z nich (at least in my domain of interest), to
6631 Astrophysics and Space Science
6637 , ale istnieje wiele innych (zobacz kompletną listę pod adresem
6638 \begin_inset Flex URL
6641 \begin_layout Plain Layout
6643 http://www.wkap.nl/jrnllist.htm/JRNLHOME
6649 Pakiet Kluwer można pobrać z serwisu
6650 \begin_inset Flex URL
6653 \begin_layout Plain Layout
6655 http://www.wkap.nl/kaphtml.htm/STYLEFILES
6661 Kompletna dokumentacja jest zawarta w pakiecie (ale można pobrać ją oddzielnie).
6664 \begin_layout Standard
6665 LyX obsługuje wiele cech pakietu ale nie wszystkie.
6666 Mimo to wstawki ERT są potrzebne do redukcji ,,osobliwych'' poleceń pakietu
6668 \begin_inset CommandInset ref
6670 reference "subsec:kluwer_peculiarities"
6675 Ja ostatnio napisałem bez żadnych problemów artykuł wysłany do pisma
6677 Astrophysics and Space Science
6682 \begin_layout Subsection
6686 \begin_layout Standard
6687 Najłatwiejszą drogą do napisania nowego artykułu jest skorzystanie z szablonu.
6688 Wybierz polecenie z menu
6690 Plik\SpecialChar \menuseparator
6693 , a następnie wybierz plik szablonu
6698 Otrzymasz wówczas (prawie) pusty dokument, który zawiera większość pól
6699 z manuskryptu z krótkim opisem ich użycia.
6700 I jak w większości szablonów zastąp istniejące teksty (włączając nawiasy
6705 ) poprawnymi informacjami.
6708 \begin_layout Subsection
6709 Przygotowanie artykułu do wysłania
6712 \begin_layout Standard
6713 Podobnie jak przy pakiecie AASTeX przed wysyłką artykułu do wydawnictwa,
6714 artykuł należy przetworzyć, co opisano dalej w kolejnych krokach:
6717 \begin_layout Enumerate
6718 Wyeksportuj artykuł do pliku LaTeX.
6719 Zrób to przez wybór polecenia z menu
6724 lik\SpecialChar \menuseparator
6732 ksportuj\SpecialChar \menuseparator
6746 \begin_layout Enumerate
6747 Wyedytuj uzyskany plik
6751 w edytorze tekstowym dokonując następujących zmian:
6755 \begin_layout Enumerate
6756 usuń wiersze komentarza przed poleceniem
6765 \begin_layout Enumerate
6766 usuń wszystko pomiędzy dyrektywami
6778 włącznie, z wyjątkiem Twoich specyficznych poleceń wstawionych do preambuły.
6781 \begin_layout Standard
6782 Zapisz uzyskany plik
6790 \begin_layout Enumerate
6795 przez LaTeX tyle razy ile potrzeba (zwykle do trzech razy).
6798 \begin_layout Enumerate
6799 Zobacz utworzony plik
6803 korzystając z przeglądarki np.
6808 i sprawdź czy wszystko jest ok (tak powinno być jeśli nie popełniłeś błędów).
6811 \begin_layout Subsection
6812 ,,Osobliwości'' pakietu Kluwer
6813 \begin_inset CommandInset label
6815 name "subsec:kluwer_peculiarities"
6822 \begin_layout Standard
6823 Pakiet Kluwer posiada następujące ,,osobliwości'':
6826 \begin_layout Enumerate
6827 Jest możliwe pisanie wielu artykułów w tym samym pliku LaTeX-a
6831 \begin_layout Plain Layout
6832 Nie mogę wyobrazić sobie innego dobrego powodu aby to zrobić
6838 Każdy artykuł musi być zawarty w środowisku ,,article''.
6839 Niestety, tego środowiska nie można pominąć, nawet jeśli piszemy tylko
6841 Dlatego każdy artykuł zaczyna się poleceniem
6847 i kończy oczywiście poleceniem
6854 Mimo to można to zaimplementować w LyX-ie, ale ja nie dołączam tego, od
6855 czasu jak to wygląda brzydko i może peszyć nowych użytkowników.
6856 Dlatego Ty potrzebujesz wpisać te polecenia wprost jako kod LaTeX (jako
6860 \begin_layout Enumerate
6861 Informacje podane na początku artykułu (np.: title, subtitle, author, institution
6862 , running title, running author, abstract i keywords) muszą znajdować się
6864 \begin_inset space ~
6867 środowisku ,,opening''.
6868 Tego nie zaimplementowano w LyX-ie, tak że Ty musisz umieścić title, subtitle
6870 pomiędzy dwoma wstawkami ERT (
6885 \begin_layout Enumerate
6886 Według podręcznika użytkownika etykieta każdej pozycji bibliografii musi
6910 \begin_layout Standard
6915 zajmuje się tymi wszystkimi ,,osobliwościami'' Jeśli zaczynasz z nowym
6916 artykułem korzystając z tego szablonu, to nie potrzebujesz robić nic specjalneg
6921 \begin_layout Enumerate
6922 nie usuwaj wstawek ERT dołączonych do szablonu i
6925 \begin_layout Enumerate
6926 skopiuj przykładową bibliografię dołączona do szablonu i dostosuj ją przez
6927 dopisanie nowych pozycji.
6930 \begin_layout Section
6934 \begin_layout Standard
6940 \begin_layout Subsection
6944 \begin_layout Standard
6945 LyX-owe klasy dokumentu
6947 article (koma-script)
6951 report (koma-script)
6961 odpowiadają LaTeX-owym klasom odpowiednio
6977 , z rodziny Koma-Script.
6978 Zastępują one standardowe klasy dokumentu odpowiednio
6994 , i są bliższe europejskim konwencjom typograficznym
6997 \begin_layout Itemize
6998 Standardową wielkością czcionki jest 11pt w
7000 article (koma-script)
7004 report (koma-script)
7012 letter (koma-script)
7017 \begin_layout Itemize
7018 Tytularia, etykiety opisu środowisk i kilka elementów klasy
7020 letter (koma-script)
7022 są składane czcionką półgrubą bezszeryfową
7026 \begin_layout Plain Layout
7027 Istnieje duża różnica pomiędzy starymi półgrubymi czcionkami bezszeryfowymi
7028 rodziny cm, a nowymi rodziny ec, szczególnie w wyglądzie tytulariów.
7029 Dla porównania półgruba czcionka bezszeryfowa rodziny ec wygląda na troszkę
7039 pomaga tworzyć ,,zwykły'' wygląd przy użyciu czcionek ec.
7045 Numeracja tytułów rozdziałów jest zrobiona tak samo jak numeracja sekcji,
7046 czyli bez wiersza ,,Rozdział\SpecialChar \ldots{}
7048 Ponadto wygląd tytulariów może być zmieniony za pomocą kilku opcji (w LyX-ie
7049 wprowadza się je w polach
7058 kład\SpecialChar \menuseparator
7068 \begin_layout Itemize
7069 Głównym zamierzeniem projektowania obszaru pisania klas dokumentu Koma-Script
7078 (w LyX-ie wprowadza się je w polach
7087 kład\SpecialChar \menuseparator
7095 Dzięki nim mamy klarowną możliwość zmiany szerokości marginesów jako opcje
7101 kład\SpecialChar \menuseparator
7111 \begin_layout Itemize
7112 Klasy LaTeX-owe rodziny Koma-Script definiują kilka dodatkowych poleceń.
7113 Część z nich, które mają sens w LyX-ie są zaimplementowane w odpowiednich
7117 \begin_layout Standard
7118 Szczegółowy opis (w języku niemieckim) LaTeX-owych klas dokumentu rodziny
7119 Koma-Script można znaleźć w dokumentacji Koma-Script
7125 \begin_layout Plain Layout
7126 Istnieje angielskie tłumaczenie --
7130 , ale nie jest kompletne
7137 Dalsze punkty opisują tylko te aspekty, które są związane z LyX-em.
7140 \begin_layout Subsection
7141 Klasy article (koma-script), report (koma-script) i book (koma-script)
7144 \begin_layout Standard
7147 article (koma-script)
7151 report (koma-script)
7157 są zaimplementowane w plikach układu, odpowiednio:
7170 Zawierają one wszystkie środowiska odpowiednich standardowych klas dokumentu
7183 , częściowo zmienione z wyłączeniem LyX-owego środowiska
7187 , które jest zastąpione przez nowe środowisko
7191 o takiej samej funkcji.
7196 zostało dodane do kilku nowych środowisk, ale nie są one częścią klasy
7199 letter (koma-script)
7204 \begin_layout Itemize
7213 : są odpowiednikami dla
7221 , dodatkowo dają wpis do spisu treści.
7226 nie istnieje w klasie
7228 article (koma-script)
7233 \begin_layout Itemize
7242 : zachowują się dokładnie tak jak
7250 , additionally clearing running heads.
7255 nie istnieje w klasie
7257 article (koma-script)
7262 \begin_layout Itemize
7267 : generuje tytuł tuż nad następnym akapitem w standardowej wielkości czcionki
7268 bez wpływu na strukturę dokumentu.
7271 \begin_layout Standard
7272 Następujące środowiska, razem ze standardowymi:
7284 , tworzą stronę tytułową dokumentu.
7285 Muszą być wstawione na początku pierwszego ,,normalnego'' akapitu
7289 \begin_layout Plain Layout
7290 Odpowiednie polecenia LaTeX muszą pojawić się przed poleceniem
7299 Gdy dane środowisko jest użyte częściej niż jeden raz, to zostanie uwzględnione
7300 tylko ostatnie jego wystąpienie w tekście.
7301 Te dodatkowe środowiska, podobnie jak
7313 , nie wpływają na wygląd tworzonego dokumentu.
7316 \begin_layout Itemize
7321 : tworzy wyśrodkowany akapit powyżej podstawowego tytułu (
7333 ) z tematem dokumentu.
7336 \begin_layout Itemize
7341 : tworzy wyśrodkowany akapit poniżej podstawowego tytułu (
7356 \begin_layout Itemize
7363 report (koma-script)
7369 tworzy wyśrodkowany akapit z dedykacją na oddzielnej stronie za stroną
7370 tytułową, a w klasie
7372 article (koma-script)
7374 tworzy wyśrodkowany akapit z dedykacją poniżej podstawowego tytułu (
7389 \begin_layout Itemize
7394 : tworzy wyrównany do lewej powyżej podstawowego tytułu (
7406 ) dla nagłówka dokumentu.
7409 \begin_layout Itemize
7414 : tworzy w druku dwustronnym w klasach
7416 report (koma-script)
7422 na tyle strony tytułowej u góry wyrównany do lewej akapit, a w przypadku
7423 druku jednostronnego lub klasy
7425 article (koma-script)
7430 \begin_layout Itemize
7435 : tworzy w druku dwustronnym w klasach
7437 report (koma-script)
7443 na tyle strony tytułowej u dołu wyrównany do lewej akapit, a w przypadku
7444 druku jednostronnego lub klasy
7446 article (koma-script)
7451 \begin_layout Itemize
7456 : tworzy specjalną ,,brudną'' stronę na początku dokumentu zawierającą akapit
7457 bez specjalnego formatowania.
7460 \begin_layout Standard
7461 Pliki układu dla klas dokumentu
7463 article (koma-script)
7467 report (koma-script)
7478 Który jest właściwym miejscem do definiowania własnych środowisk.
7483 do swojego osobistego foldera układów i wyedytuj go!
7486 \begin_layout Subsection
7487 Klasa letter (koma-script)
7490 \begin_layout Standard
7494 \begin_layout Plain Layout
7506 \begin_layout Standard
7510 letter (koma-script)
7512 jest zaimplementowana w pliku układu
7517 Zawiera on wszystkie środowiska odpowiadające standardowej klasie
7521 , częściowo zmienione z wyłączeniem LyX-owych środowisk
7537 , które są zastąpione przez nowe środowisko
7541 o takiej samej funkcji.
7542 Ponadto zawiera, w odróżnieniu od standardowej klasy, standardowe środowiska
7560 Dodatkowo jest kilka nowych specyficznych środowisk.
7563 \begin_layout Standard
7567 \begin_layout Plain Layout
7579 \begin_layout Standard
7580 Wygląd listu złożonego w tej klasie dokumentu może być sterowany za pomocą
7581 kilku poleceń LaTeX-a (w LyX-ie można je wprowadzić wybierając z menu
7586 kład\SpecialChar \menuseparator
7597 \begin_layout Plain Layout
7598 Na przykład, standardowy wygląd nagłówka listu zawierający nazwę i adres
7599 jest całkowicie self-willed.
7600 ,,Podstawowy'' nagłówek jest tworzony za pomocą następujących poleceń w
7604 \begin_layout LyX-Code
7614 \begin_layout LyX-Code
7630 \begin_layout LyX-Code
7640 \begin_layout LyX-Code
7660 Dzięki temu autor listu może utworzyć swój własny układ.
7661 Szczegółowy opis (w języku niemieckim) LaTeX-owych klas dokumentu rodziny
7662 Koma-Script można znaleźć w dokumentacji Koma-Script
7669 \begin_layout Standard
7678 definiują początek listu i muszą być użyte w każdym liście.
7679 Dla podkreślenia ich w dokumencie, są zaznaczone literami odpowiednio
7687 na lewym marginesie.
7688 To umożliwia napisanie dowolnej liczby listów w jednym pliku.
7693 tworzy nowy list używając tego samego adresu, a
7714 są podstawowymi środowiskami i mogą być używane wielokrotnie w tym samym
7718 \begin_layout Itemize
7723 : tworzy akapit na adres i definiuje początek listu.
7726 \begin_layout Itemize
7731 : tworzy akapit dla adresu i zaczyna nowy list.
7734 \begin_layout Itemize
7739 : tworzy akapit na tekst zamykający list.
7742 \begin_layout Itemize
7747 : tworzy akapit na Postscriptum.
7750 \begin_layout Itemize
7755 : tworzy akapit na listę rozdzielnika (Do wiadomości).
7758 \begin_layout Itemize
7763 : tworzy akapit dla załączników.
7766 \begin_layout Standard
7807 wyświetlają etykiety, dla ułatwienia wpisywania, których zawartość jest
7808 przetwarzana przez klasę letter (Koma-Script)
7812 \begin_layout Plain Layout
7813 It could be seen as a matter of inconsequence, that the types
7821 described above are not such input types as well.
7822 Because of the special meaning of those types, however, I have implemented
7823 them as ordinary paragraph types with a one letter mark in the left margin.
7824 Moreover, it would affect my feeling of symmetry, if the
7832 type had such a serious different appearance.
7837 Te środowiska muszą być użyte na początku odpowiedniego środowiska
7844 \begin_layout Standard
7845 Implementacja tych środowisk w trybie WYSIWYG nie ma sensu, ponieważ rzeczywisty
7846 wygląd złożonego listu zależy nie tylko od użycia właściwego środowiska,
7847 ale także innych czynników.
7848 Na przykład podpis wprowadzony w środowisku
7852 będzie pojawiał się tylko w liście, w którym użyto środowiska
7857 Zawartość środowiska
7861 standardowo nie będzie pojawiać się przy wszystkich złożonych listach.
7862 Możliwość projektowania wolnych nagłówków listu jest już wspomniana w przypisie
7866 \begin_layout Standard
7867 Środowiska mogą być także używane jako puste akapity.
7878 nie zostało w ogóle użyte, to standardowo jest zastępowane zawartością
7883 , ale jeśli mamy puste środowisko
7887 to nie jest niczym zastępowane.
7890 \begin_layout Standard
7891 Przez użycie środowisk można utworzyć szablon listu, z częściowo wypełnionymi
7892 polami środowisk (np.
7896 \begin_layout Itemize
7901 : nazwa nadawcy, standardowo pojawia się jako wyśrodkowany akapit w nagłówku
7903 Tekst pisany jest dużymi literami.
7906 \begin_layout Itemize
7911 : podpis nadawcy, standardowo pojawia się poniżej treści środowiska
7916 Jeśli nie użyto środowiska
7920 to zamiast niego pojawia się zawartość
7927 \begin_layout Itemize
7932 : adres nadawcy, standardowo pojawia się jako wyśrodkowany akapit w nagłówku
7933 listu, poniżej nazwy nadawcy.
7936 \begin_layout Itemize
7941 : numer telefonu nadawcy, pojawia się tylko, gdy jest włączona zmienna LaTeX
7951 \begin_layout Itemize
7956 : miejsce napisania listu.
7959 \begin_layout Itemize
7964 : data napisania listu.
7973 standardowo składane są w wierszu poniżej pola adresu nadawcy wyrównane
7979 jest puste, to zawartość środowiska
7984 Jeśli nie użyto środowiska
7988 , to domyślnie pobierana jest data składu.
7991 \begin_layout Itemize
7996 : adres zwrotny, standardowo składany jest powyżej adresu docelowego małą
7997 czcionką bezszeryfową.
8000 \begin_layout Itemize
8005 : uwagi dla poczty (np.
8006 do rąk własnych), standardowo pojawiają się pomiędzy adresem zwrotnym a
8007 docelowym, i są podkreślone.
8010 \begin_layout Itemize
8015 : dodatkowa informacja, standardowo pojawia się przy prawym marginesie poniżej
8019 \begin_layout Itemize
8024 : tytuł listu, standardowo pojawia się złożony wielką i półgrubą czcionką
8025 bezszeryfową powyżej tematu listu.
8028 \begin_layout Itemize
8033 : temat listu, standard złożony jest czcionką półgrubą powyżej akapitu
8040 \begin_layout Standard
8061 tworzą listy firmowe przez złożenie zawartości tych środowisk powyżej wiersza
8063 Dla pola daty używana jest zawartość środowiska
8068 Jeśli wykorzystane jest choć jedno ze środowisk ,,biznesowych'', to zawartość
8073 nie jest składana, tylko ustawiana jest zmienna LaTeX
8077 \begin_layout Plain Layout
8091 te środowiska muszą być użyte przed odpowiednim środowiskiem
8098 \begin_layout Itemize
8103 : Wasz znak (Your ref.)
8106 \begin_layout Itemize
8111 : Wasz list (Your letter of.)
8114 \begin_layout Itemize
8119 : Nasz znak (Our ref.)
8122 \begin_layout Itemize
8127 : Klient (Customer no.)
8130 \begin_layout Itemize
8135 : Nr faktury (Invoice no.)
8138 \begin_layout Subsection
8142 \begin_layout Standard
8143 Przedstawienie WYSIWYG w LyX-ie dokumentów w klasie Koma-Script powoduje
8147 \begin_layout Itemize
8148 Numery rozdziałów środowisk
8152 są wyświetlane w wierszu powyżej tytułu rozdziału.
8153 Taki przypadek jest spowodowany wewnętrznym przetwarzaniem przez LyX środowiska
8161 \begin_layout Itemize
8170 są wstawione tylko do ,,prawdziwego'' LaTeX-owego spisu treści, a nie są
8171 wyświetlane LyX-owym spisie treści (
8181 \begin_layout Itemize
8182 Tryb separacji akapitów w dokumencie
8186 wyświetlany jest jako odstęp, a nie wcięcie.
8187 To jest standardowe zachowanie, do tego nie potrzeba żadnego polecenia
8194 kład\SpecialChar \menuseparator
8201 odpowiedni przełącznik wskazuje na załączony tryb
8216 daje efekt po użyciu odpowiedniego polecenia LaTeX-a wstawionego do dokumentu
8217 do wytworzenia odstępu.
8220 \begin_layout Section
8228 \begin_layout Standard
8234 \begin_layout Subsection
8238 \begin_layout Standard
8239 Tutaj opisujemy klasy i pliki układu używanych dla niektórych pism wydawanych
8240 przez wydawnictwo Springer Verlag i wymienionych na stronie
8241 \begin_inset Flex URL
8244 \begin_layout Plain Layout
8246 http://www.springer.de/author/tex/help-journals.html
8251 , skąd powinieneś móc pobrać pliki klasy (tak, oczywiście teraz dla LaTeX2e!).
8252 To jest modularny system: wspólne części dla wszystkich pism są zaimplementowan
8257 , z którego korzystają specyficzne dla danego pisma pliki układu (np.:
8268 \begin_layout Standard
8269 Oznacza to, że implementacja wsparcia dla innego pisma wydawnictwa Springer
8270 wymaga napisania własnego pliku układu
8286 \begin_layout Standard
8287 Klasa dokumentu LyX-a była testowana tylko dla pisma
8300 są zawarte w standardowej dystrybucji LyX-a.
8301 Zainstaluj pobraną z serwera wydawnictwa Springer odpowiednią klasę LaTeX-ową
8302 w odpowiednim katalogu TeX-a, odśwież bazę pakietów TeX-a (w teTeX-u uruchom
8307 , jako root jeśli jest to niezbędne), zrekonfiguruj LyX-a i powinno już
8311 \begin_layout Subsection
8315 \begin_layout Standard
8316 Duża liczba stylów typu theorem --
8322 \SpecialChar \ldots{}
8328 \begin_layout Standard
8331 Headnote, Dedication, Subtitle, Running_LaTeX_Title, Author_Running, Institute,
8332 Mail, Offprints, Keywords, Acknowledgements, Acknowledgement
8335 Zobacz dokumentację do pakietu aby poznać szczegóły.
8338 \begin_layout Subsection
8342 \begin_layout Itemize
8354 \begin_layout Itemize
8357 Probability Theory and Related Fields
8363 -- Jean-Marc Lasgouttes
8366 \begin_layout Standard
8367 Dodaj własne -- to nie jest trudne!
8370 \begin_layout Subsection
8374 \begin_layout Standard
8375 Te pliki bazują częściowo na starszym pliku układu
8379 , który bazował na starym stylu LaTeX 2.09 z wydawnictwa Springer.
8385 Jean-Marc Lasgouttes bardzo pomógł mi znaleźć drogę implementacji układu
8389 \begin_layout Subsection
8393 \begin_layout Standard
8395 Ale prawdopodobnie mniej niż w starej klasie
8402 \begin_layout Standard
8403 Ograniczenia np.: nie wyświetla numeru środowisk typu theorem, w tej chwili
8407 \begin_layout Section
8415 \begin_layout Standard
8421 \begin_layout Subsection
8425 \begin_layout Standard
8426 These are the layout files for some of the journals of the American Geophysical
8428 It is assumed that you have both the AGU's own class files and AGUplus
8429 installed (everything to be found at
8430 \begin_inset Flex URL
8433 \begin_layout Plain Layout
8435 ftp://ftp.agu.org/journals/latex/journals
8443 \begin_layout Subsection
8447 \begin_layout Standard
8457 They are still called this in the LyX GUI, though their LaTeX equivalents
8458 in the AGU classes are
8469 \begin_layout Standard
8470 Newly defined styles are
8507 These are mostly manuscript attributes and defined in the AGU class documentati
8511 \begin_layout Standard
8512 I suspect this is still badly incomplete.
8515 \begin_layout Subsection
8519 \begin_layout Standard
8536 \begin_layout Subsection
8540 \begin_layout Itemize
8543 Journal of Geophysical Research
8552 \begin_layout Standard
8553 Add your own, it isn't so hard! Look at the
8564 \begin_layout Section
8572 \begin_layout Standard
8578 \begin_layout Subsection
8582 \begin_layout Standard
8583 This is the layout file for the European Geophysical Society journals.
8588 can be downloaded from the web site of the EGS under
8589 \begin_inset Flex URL
8592 \begin_layout Plain Layout
8602 \begin_layout Subsection
8606 \begin_layout Standard
8609 Right_address, Latex_Title, Affil, Journal, msnumber, FirstAuthor, Received,
8617 The current layout file is unfortunately very unmodular and would benefit
8618 from using the various
8625 \begin_layout Section
8631 \begin_inset CommandInset label
8640 \begin_layout Standard
8646 \begin_layout Subsection
8650 \begin_layout Standard
8651 W tej sekcji opisujemy jak użyć LyX-a do przygotowania slajdów do rzutników.
8652 Istnieją dwie klasy dokumentów, które można do tego celu zastosować: domyślnie
8662 W tej sekcji opisano pierwszą z nich.
8665 \begin_layout Standard
8666 Powiem to jeszcze raz, jasno, aby nie buło nieporozumień:
8669 \begin_layout Standard
8670 \begin_inset VSpace bigskip
8676 \begin_layout Standard
8680 Ta sekcja dokumentu opisuje
8691 \begin_layout Standard
8692 \begin_inset VSpace bigskip
8698 \begin_layout Standard
8699 Jeśli szukasz dokumentacji do
8703 '', zajrzyj do sekcji
8704 \begin_inset space ~
8708 \begin_inset CommandInset ref
8710 reference "sec:foiltex"
8723 ''] jest aktualnie trochę lepsza niż domyślnie klasa
8731 \begin_layout Plain Layout
8732 \SpecialChar \ldots{}
8733 lub tak powtarzam za jej adwokatami.
8734 Nigdy jej nie używałem i nie wiem czy to jest prawda czy nie.
8742 \begin_layout Standard
8743 Ta klasa jest ulepszeniem LaTeX2e starego pakietu
8748 Każda dystrybucja LaTeX2e zawiera tę klasę [którą, od teraz, będę nazywał
8753 ''], tak więc jesteś zmuszony ją mieć.
8754 Jak wspomniałem wcześniej istnieją inne klasy, jak np.
8759 , które także tworzą slajdy do rzutnika i wykonują to zadanie lepiej niż
8761 Jednak istnieje kilka rzeczy, które klasa
8765 może zrobić, a inne nie, np.
8766 generowanie overlays.
8767 Czytaj dalej aby dowiedzieć się więcej!
8770 \begin_layout Subsection
8772 \begin_inset CommandInset label
8774 name "sec:slidesetup"
8781 \begin_layout Standard
8782 Oczywiście, aby użyć tej klasy dokumentu, potrzebujesz wybrać klasę
8798 Jest kilka rzeczy, które powinieneś wiedzieć o tej klasie:
8801 \begin_layout Itemize
8811 Nie są one obsługiwane przez klasę
8818 \begin_layout Itemize
8823 lista styli dostępna w polu
8830 zachowuje się troszkę inaczej dla tej klasy.
8831 Dostępne są nastepujące style:
8835 \begin_layout Description
8840 W prawym dolnym narożniku slajdu umieszony zostanie numer slajdu,
8843 \begin_layout Description
8852 , ale dodatkowo zostana wstawione krzyżyki w rogach folii dla dokładnego
8853 pozycjonowania przy nakładaniu folii jedna na drugą.
8854 To jest styl domyślny.
8857 \begin_layout Description
8862 Nie jest dodawany numer, data ani znaczniki wyrównania.
8866 \begin_layout Itemize
8871 posiada dodatkową opcję:
8876 Aby ją użyć, wpisz ,,
8896 \begin_layout Standard
8897 Użycie tej opcji pozwala dodać znacznik daty do
8903 \begin_inset space ~
8907 \begin_inset CommandInset ref
8909 reference "sec:slideNote"
8913 aby poznać więcej szczegółów.
8917 \begin_layout Standard
8918 Możesz użyć szablonu ,,
8922 '' aby automatycznie ustawić klasę nowego dokumentu na
8926 [za pomoca polecenia
8931 lik\SpecialChar \menuseparator
8933 \begin_inset space ~
8938 aby utworzyć nowy dokument].
8939 Plik szablonu zawiera także kilka przykładów specjalnych środowisk akapitów
8941 Będzie to opisane dalej.
8944 \begin_layout Subsection
8948 \begin_layout Subsubsection
8949 Obsługiwane środowiska
8952 \begin_layout Standard
8953 Pierwszą rzeczą, którą powinieneś zauważyć gdy zaczynasz nowy dokument slajdów
8954 jest rozmiar i typ czcionki: odpowiednio ,,
8958 '' i czcionka bezszeryfowa
8961 \begin_inset space ~
8967 This is also what's used in the output.
8969 \begin_inset Quotes eld
8973 \begin_inset Quotes erd
8976 to remind you that this is a slide.
8977 Your final slides will use a larger font; ergo, you'll have less space.
8978 Of course, the larger default screen font isn't WYSIWYG, only a reminder.
8981 \begin_layout Standard
8982 The next thing that becomes obvious is the changes to the paragraph environment
8983 pull-down box [at the far-left end of the toolbar].
8984 Most of the paragraph environments you're used to seeing are missing.
8985 There are also four new ones.
8990 class itself only supports certain paragraph environments:
8993 \begin_layout Itemize
8999 \begin_layout Itemize
9005 \begin_layout Itemize
9011 \begin_layout Itemize
9017 \begin_layout Itemize
9023 \begin_layout Itemize
9029 \begin_layout Itemize
9035 \begin_layout Itemize
9041 \begin_layout Itemize
9047 \begin_layout Itemize
9053 \begin_layout Itemize
9059 \begin_layout Itemize
9065 \begin_layout Standard
9066 Wszystkie inne standardowe środowiska włączając środowiska sekcji nie są
9072 Z drugiej zaś strony zauważysz nowe środowiska:
9076 \begin_layout Plain Layout
9077 In prior versions of this class, there was the mandatory
9081 paragraph environment.
9085 is deprecated; it will convert to a
9090 You should probably remove it.
9100 \begin_layout Itemize
9106 \begin_layout Itemize
9112 \begin_layout Itemize
9118 \begin_layout Itemize
9124 \begin_layout Standard
9125 These five are kind of quirky, due to a
9126 \begin_inset Quotes eld
9130 \begin_inset Quotes erd
9134 You see, LyX doesn't permit you to nest any other paragraph environment
9135 into an empty environment.
9136 Now, that's fine and dandy, but it means that you wouldn't be able to start
9137 a slide with anything except plain text.
9138 To deal with this, I've performed a little
9139 \begin_inset Quotes eld
9143 \begin_inset Quotes erd
9149 \begin_layout Subsubsection
9150 Quirks of the New Environments
9151 \begin_inset CommandInset label
9153 name "sec:slideQuirk"
9160 \begin_layout Standard
9161 All five of the new paragraph environments are somewhat quirky due to inherent
9162 limitiations in the current version of LyX.
9163 As I just mentioned, LyX forbids environments that begin with another environme
9165 To get around this, the
9169 environment isn't a paragraph environment as described in the
9176 \begin_layout Standard
9189 to be ,,pseudo-environments''.
9190 They look like a section heading or a
9191 \begin_inset Quotes eld
9199 \begin_inset Quotes erd
9202 but really begin a [and, if necessary, end the previous] paragraph environment.
9212 \begin_inset Quotes eld
9216 \begin_inset Quotes erd
9219 These two perform some action.
9222 \begin_layout Standard
9223 A common feature of all five environments,
9243 , is a rather long-ish label.
9244 The text following this label --- ordinarily the contents of the paragraph
9245 environment --- is utterly irrelevant for
9266 LyX completely ignores it.
9267 In fact, you can leave these five environments completely empty.
9270 \begin_layout Standard
9275 to put any text after the rather long-ish label, you might want to.
9276 This could be a short description of the contents of the
9281 In that case, enter in your descriptive comment and hit
9285 as you normally would.
9288 \begin_layout Standard
9289 If, on the other hand, you don't want to enter in any descriptive text,
9290 you'll hit another LyX quirk.
9291 LyX, like nature, abhors a vacuum, and will not let you start a new paragraph
9292 environment until you put something in the old one.
9296 \begin_layout Itemize
9297 Start entering the text that will
9324 \begin_layout Itemize
9325 Now move to the beginning of that paragraph.
9328 \begin_layout Itemize
9336 \begin_layout Itemize
9337 Finally, change this new, empty paragraph to a
9360 \begin_layout Standard
9361 Some future version of LyX will, hopefully, resolve this quirkiness\SpecialChar \ldots{}
9365 \begin_layout Subsection
9366 Tworzenie prezentacji używając
9379 \begin_layout Subsubsection
9385 \begin_layout Standard
9386 If you're expecting this section to teach you how to actually make a presentatio
9387 n, you'll be sorely disappointed.
9388 Naturally, I'll describe all of the ways the
9392 class can assist you in preparing the materials for a presentation.
9393 Filling in the contents, however, is up to you.
9398 the LyX philosophy.]
9401 \begin_layout Standard
9406 environment [in the manner described in section
9407 \begin_inset space ~
9411 \begin_inset CommandInset ref
9413 reference "sec:slideQuirk"
9417 ] tells LyX to begin a new slide [duh].
9418 The label for this environment/
9419 \begin_inset Quotes erd
9423 \begin_inset Quotes erd
9427 \begin_inset Quotes eld
9431 \begin_inset Quotes erd
9434 in cool blue, followed by the label,
9435 \begin_inset Quotes eld
9439 \begin_inset Quotes erd
9443 Any text or paragraph environments that follow this one go on the new slide.
9447 \begin_layout Standard
9448 Slides are probably the only time you'll need to forcibly end pages in LyX.
9449 In fact, you'll want to, once you finish entering the contents of one slide.
9450 If you've entered more text than can physically fit on a slide, the extra
9451 overflows onto a new slide.
9452 I don't recommend doing this, however, since the overflow slide won't have
9453 any page number on it.
9454 Furthermore, it may interfere with any
9458 you've made to accompany the oversized
9465 \begin_layout Standard
9474 environments work the same way as the
9480 \begin_inset Quotes eld
9484 \begin_inset Quotes erd
9487 followed by a label [
9488 \begin_inset Quotes eld
9492 \begin_inset Quotes erd
9496 \begin_inset Quotes eld
9500 \begin_inset Quotes erd
9504 The color is a stunning magenta instead of blue, and the
9505 \begin_inset Quotes eld
9509 \begin_inset Quotes erd
9512 will look different, in style and in length.
9513 The label fonts of all three also differ from one another.
9516 \begin_layout Standard
9521 , if the contents of a
9529 exceed the physical size of a slide or sheet of paper, the extra will overflow
9531 Again, you should avoid this.
9532 It defeats the whole purpose of
9543 \begin_layout Subsubsection
9553 \begin_layout Standard
9558 is a slide that sits atop another slide.
9559 Perhaps you wish to discuss a figure on the main
9563 before displaying the text associated with it.
9564 One way to accomplish this is tape a flap of dark paper over the part of
9569 you want to display later.
9570 This method fails, however, if you wish to overlap one graph with another,
9572 You would then have to fumble while speaking to align the two separate,
9577 s to align the two graphs.
9582 environment in both cases makes life much easier.
9585 \begin_layout Standard
9590 receives the page number of its
9591 \begin_inset Quotes eld
9595 \begin_inset Quotes erd
9603 \begin_inset Quotes eld
9611 \begin_inset Quotes erd
9618 \begin_layout Plain Layout
9619 Presumably, mutliple
9624 \begin_inset Quotes eld
9632 \begin_inset Quotes erd
9636 \begin_inset Quotes eld
9644 \begin_inset Quotes erd
9648 \begin_inset Quotes eld
9656 \begin_inset Quotes erd
9660 \begin_inset space ~
9663 appended to the page number of the parent
9680 to each fit on a single physical slide! You should probably consider an
9694 class provides a visual cue for this: the label at the start of an
9698 is shorter than that at the start of a
9703 Lastly, when you generate printable output, you'll find alignment markers
9704 in all four corners of both the
9713 These will assist you in lining up the two physical slides.
9716 \begin_layout Standard
9717 The major problem in overlaying two slides is aligning the contents of the
9719 How much space should you leave for that graph on the second slide? Worse
9720 still, what if you want a graph and a sentence on second slide, but there
9721 is text on the main transparency that goes in between them? You could try
9722 and insert vertical space of the right size.
9723 The better way is to use
9734 \begin_layout Standard
9735 As their names imply,
9743 are two command-like paragraph environments that make all subsequent text
9744 invisible and visible, respectively.
9746 \begin_inset space ~
9750 \begin_inset CommandInset ref
9752 reference "sec:slideQuirk"
9756 that you don't place anything
9760 these two environments, however.
9765 , it inserts a centered, sky-blue label into the page reading
9766 \begin_inset Quotes eld
9769 <Invisible Text Follows>
9770 \begin_inset Quotes erd
9774 For paragraphs following this label, the parts of the
9782 ; it doesn't matter which] where they would be contain instead blank space.
9785 \begin_layout Standard
9790 , the corresponding centered label is
9791 \begin_inset Quotes eld
9794 <Visible Text Follows>
9795 \begin_inset Quotes erd
9799 Paragraphs following this label behave normally.
9800 Note that the beginning of a new
9812 automatically shuts off an
9817 It's therefore not necessary to use
9828 \begin_layout Standard
9829 By now, it should be obvious how to create overlay transparencies using
9830 the proper combination of
9849 \begin_layout Enumerate
9854 , including everything that will appear on it, whether on the main slide
9862 \begin_layout Enumerate
9863 Before each figure or paragraph that will appear only on the
9872 If necessary, insert a
9876 environment after the
9883 \begin_layout Enumerate
9888 immediately following the
9895 \begin_layout Enumerate
9896 Copy the contents of this
9907 \begin_layout Enumerate
9923 \begin_layout Standard
9932 \begin_layout Standard
9933 There's one problem with the way I've designed the LyX
9937 class: you can't make text in the middle of a paragraph invisible, nor
9938 make text in the middle of an invisible paragraph visible again.
9939 To accomplish this feat, you'll need to use some inlined LaTeX codes.
9943 \begin_layout Plain Layout
9944 The commands of interest are:
9947 \begin_layout Itemize
9952 invisible \SpecialChar \ldots{}
9956 \begin_layout Itemize
9961 visible \SpecialChar \ldots{}
9965 \begin_layout Plain Layout
9966 \SpecialChar \ldots{}
9967 and need to be marked as TeX.
9969 \begin_inset Quotes eld
9973 \begin_inset Quotes erd
9976 you wish to change goes in between the brackets [and after the
9989 If you don't know how to mark text as TeX, see the apprpriate section of
10008 \begin_inset CommandInset label
10010 name "sec:slideNote"
10017 \begin_layout Standard
10026 is associated with a
10027 \begin_inset Quotes eld
10031 \begin_inset Quotes erd
10043 class provides visual cues.
10048 is shorter than that of a
10052 [yet longer than that of an
10056 ] and, like the label of an
10060 is shockingly magenta.
10061 Additionally, the printed
10065 has the page number of its
10066 \begin_inset Quotes eld
10070 \begin_inset Quotes erd
10078 \begin_inset Quotes eld
10086 \begin_inset Quotes erd
10090 \begin_inset Quotes eld
10098 \begin_inset Quotes erd
10102 \begin_inset Quotes eld
10110 \begin_inset Quotes erd
10114 You can have multiple
10118 s associated with a single
10130 , you'll probably want to break up long
10134 s so that they fit on a single sheet of paper.
10137 \begin_layout Standard
10142 is obvious: it contains anything additional you might want to say about
10148 It could also be used as a sheet of reminders for a particular
10153 In the case of the latter, you might want to make use of time markers.
10159 \begin_inset Quotes eld
10163 \begin_inset Quotes erd
10166 support for time markers, a
10171 So, you'll have to resort to using the LaTeX codes.
10174 \begin_layout Standard
10175 To use time markers, you'll need to specify the extra class option
10176 \begin_inset Quotes eld
10184 \begin_inset Quotes erd
10188 \begin_inset space ~
10192 \begin_inset CommandInset ref
10194 reference "sec:slidesetup"
10199 This option turns on timing marks, which will appear in the lower-left-hand
10205 To set what appears in the time marker, you use the LaTeX commands
10206 \begin_inset Quotes eld
10216 \begin_inset Quotes erd
10220 \begin_inset Quotes eld
10230 \begin_inset Quotes erd
10234 The arguments of both commands are time measured in seconds.
10235 \begin_inset Quotes eld
10245 \begin_inset Quotes erd
10248 sets the time marker to a given time.
10249 \begin_inset Quotes eld
10259 \begin_inset Quotes erd
10262 increments the time marker by the specified amount.
10263 Using time markers and
10267 s in this fashion, you can remind yourself how much time to spend on a particula
10275 \begin_layout Standard
10276 There's one last feature to describe.
10277 Clearly, you'd like to print out all of your
10285 s on transparencies while printing all of your
10301 with which it is associated.
10302 What's a person to do?
10305 \begin_layout Standard
10306 Luckily, there are two LaTeX commands that allow you to select what to print
10308 Both must be placed into the preamble of your document.
10310 \begin_inset Quotes eld
10322 \begin_inset Quotes erd
10325 will cause the output to contain only the
10334 Correspondingly, the command
10335 \begin_inset Quotes eld
10347 \begin_inset Quotes erd
10350 prevents the output of anything but
10355 I'd advise placing both commands in the preamble and initially comment
10357 You can then preview your entire presentation as you write.
10358 When you're done writing, you can then uncomment one of the two to select
10359 what you want to print.
10360 I like to uncomment
10361 \begin_inset Quotes eld
10373 \begin_inset Quotes erd
10376 , print to a file with
10377 \begin_inset Quotes eld
10385 \begin_inset Quotes erd
10388 in its name, comment it back out, then uncomment
10389 \begin_inset Quotes eld
10401 \begin_inset Quotes erd
10405 \begin_inset Quotes eld
10413 \begin_inset Quotes erd
10417 I can then send either file to a printer, loading transparencies or plain
10418 paper as appropriate.
10421 \begin_layout Standard
10422 You can also provide other arguments to the
10423 \begin_inset Quotes eld
10433 \begin_inset Quotes erd
10437 \begin_inset Quotes eld
10447 \begin_inset Quotes erd
10451 See a good LaTeX book for details.
10454 \begin_layout Subsection
10455 Plik szablonu klasy
10460 \begin_layout Standard
10465 dostarczyłem także plik szablonu
10470 Aby go użyć zacznij Twoją nową prezentację przez
10475 lik\SpecialChar \menuseparator
10486 Twój nowy plik prezentacji będzie zawierał jako przykład trójkę
10507 dodatkowo zawierają jako przykład użycia tekst niewidzialny (
10516 Na koniec zawartość preambuły:
10519 \begin_layout LyX-Code
10520 % Uncomment to print out only slides and overlays
10523 \begin_layout LyX-Code
10527 \begin_layout LyX-Code
10533 \begin_inset Newline newline
10539 \begin_layout LyX-Code
10540 % Uncomment to print out only notes
10543 \begin_layout LyX-Code
10547 \begin_layout LyX-Code
10555 \begin_layout Standard
10556 I ostatnia rzecz: utworzyłem tę klasę LyX-a do obsługi klasy LaTeX2e ,,
10560 TeX emulation'', one of the built-in LaTeX2e classes.
10561 Neither I nor the rest of the LyX Team endorse or oppose the use of this
10562 built-in slide class.
10563 It's here if you want it or need it.
10564 Istnieją inne klasy LaTeX2e do tworzenia prezentacji, takie jak:
10569 \begin_inset space ~
10573 \begin_inset CommandInset ref
10575 reference "sec:foiltex"
10583 '' [znajdujący się w wielu dystrybucjach TeX-a].
10584 Ten ostatni nie jest jeszcze obsługiwany przez LyX-a
10588 \begin_layout Plain Layout
10589 Aktualnie znajduje się plik układu
10593 ale nie ma jeszcze pliku szablonu i dokumentacji jak z niego skorzystać
10599 Try them out to see what sort of alternative they provide.
10602 \begin_layout Section
10611 \begin_inset CommandInset label
10620 \begin_layout Standard
10626 \begin_layout Subsection
10630 \begin_layout Standard
10631 W tej sekcji opisujemy jak użyć LyX-a do przygotowania slajdów do rzutników.
10632 Istnieją dwie klasy dokumentów, które można do tego celu zastosować: domyślnie
10642 W tej sekcji opisano tę drugą klasę.
10645 \begin_layout Standard
10646 Powiem to jeszcze raz, jasno, aby nie było nieporozumień:
10649 \begin_layout Standard
10650 \begin_inset VSpace bigskip
10656 \begin_layout Standard
10660 Ta sekcja dokumentu opisuje
10671 \begin_layout Standard
10672 \begin_inset VSpace bigskip
10678 \begin_layout Standard
10679 Jeśli szukasz dokumentacji do
10683 )'', zajrzyj do sekcji
10684 \begin_inset space ~
10688 \begin_inset CommandInset ref
10690 reference "sec:slitex"
10695 Jeśli w Twoim systemie nie masz zainstalowanej klasy
10703 ''], to prawdopodobnie musisz użyć domyślnej klasy
10707 , która nie jest tak dobra jak
10712 \begin_layout Standard
10717 jest zaprojektowana do użycia z wersją 2.1 LaTeX-owej klasy
10721 , która jest teraz integralną częścią LaTeX2e.
10724 \begin_layout Subsection
10728 \begin_layout Standard
10729 Oczywiście, aby użyć tej klasy dokumentu, potrzebujesz wybrać klasę
10745 Jest kilka ustawień w oknie
10749 i powinieneś znać ich specyfikę w tej klasie:
10752 \begin_layout Itemize
10762 Nie są one obsługiwane przez klasę
10769 \begin_layout Itemize
10770 Domyślną wielkością czcionki jest 20pt, inne to 17pt, 25pt i 30pt.
10773 \begin_layout Itemize
10774 Domyślną rodziną jest czcionka
10778 ale równania matematyczne są składane zwykłą czcionką szeryfową.
10781 \begin_layout Itemize
10786 TeX obsługuje formaty papieru A4 i Letter, a także specjalny rozmiar do
10787 pracy z 35mm slajdami.
10788 Nie obsługuje formatów: A5, B5, legal i executive.
10791 \begin_layout Itemize
10792 Nie zmieniaj ustawień
10796 , ponieważ są one ignorowane.
10797 Wszystkie wstawki pojawiają się w miejscu gdzie zostały umieszczone w tekście.
10800 \begin_layout Itemize
10808 zachowują się troszkę inaczej w tej klasie.
10813 TeX dostarcza rozszerzone możliwości nagłówków i stopek włączają w to logo
10816 \begin_inset space ~
10820 \begin_inset CommandInset ref
10822 reference "sec:foilfoot"
10826 aby poznać więcej szczegółów.
10827 Strona tytułowa jest traktowana inaczej niż inne strony dokumentu:
10831 jest nienumerowana i
10835 logo jest wycentrowane u dołu strony (jeśli je zdefiniowano).
10836 Możliwe do wyboru style strony:
10841 \labelwidthstring MMMMMMM
10848 Nie jest dodawany numer ani inne nagłówki i stopki,
10852 \labelwidthstring MMMMMMM
10859 Na dole w środku slajdu umieszczony zostanie numer slajdu.
10860 bez innych nagłówków i stopek (innych niż przypisy).
10864 \labelwidthstring MMMMMMM
10869 W prawym dolnym narożniku slajdu umieszczony zostanie numer slajdu.
10870 Dodatkowe nagłówki i stopki zostaną wyświetlone.
10871 To jest styl domyślny.
10875 \labelwidthstring MMMMMMM
10880 Umożliwia skorzystanie z pakietu
10884 mimo, że jego użycie z
10888 TeX nie jest polecane przez autorów pakietu
10892 TeX z powodu kilku możliwych rozjechań się układu strony.
10896 \begin_layout Subsubsection
10900 \begin_layout Standard
10901 Następujące opcje mogą być użyte w polu
10913 \labelwidthstring MMMMMMx
10918 Ustawia rozmiar strony 7.33 cale na 11 cali.
10919 Taki rozmiar ma identyczne proporcje jak 35mm slajd.
10920 To ustawienie ułatwia pracę z tym medium,
10924 \labelwidthstring MMMMMMx
10929 Umieszcza poziomą linię poniżej nagłówka na każdej stronie z wyjątkiem
10934 \labelwidthstring MMMMMMx
10939 Umieszcza poziomą linię powyżej stopki na każdej stronie z wyjątkiem strony
10944 \labelwidthstring MMMMMMx
10949 Ta opcja jest automatycznie włączona
10953 \begin_layout Plain Layout
10956 Bez tej opcji możesz korzystać wprost z pdfLaTeX-a
10961 , gdy tworzysz nowy dokument w tej klasie.
10966 TeX-owi aby użył jako sterownika programu dvips do obrotu tych stron, które
10967 ustawiono jako poziome,
10971 \labelwidthstring MMMMMMx
10976 Po prostu zmienia układ strony na poziomy, ale nie dokonuje obrotu.
10977 Dla tego jeśli chcesz używać tej opcji potrzebujesz użyć zewnętrznego programu
10978 do obrotu każdej strony lub włóż papier do drukarki poziomo.
10979 Uwaga ta opcja zamienia role środowisk
10987 (nie przejmuj się jest to opisane w następnej sekcji),
10991 \labelwidthstring MMMMMMx
10996 Numeracja równań po lewej stronie równania,
11000 \labelwidthstring MMMMMMx
11005 Wyrównuje równania do lewej.
11008 \begin_layout Subsection
11009 Obsługiwane środowiska
11012 \begin_layout Standard
11013 Większość zwykłych środowisk występujących w innych klasach jest także obsługiwa
11019 Jest kilka dodatkowych środowisk dostarczanych przez
11023 TeX a także kilka dodanych przez LyX-a.
11024 Poniżej podano standardowe środowiska występujące również w innych klasach:
11027 \begin_layout Standard
11031 \begin_layout Plain Layout
11035 begin{multicols}{2}
11043 \begin_layout Itemize
11049 \begin_layout Itemize
11055 \begin_layout Itemize
11061 \begin_layout Itemize
11067 \begin_layout Itemize
11073 \begin_layout Itemize
11079 \begin_layout Itemize
11085 \begin_layout Itemize
11091 \begin_layout Itemize
11097 \begin_layout Itemize
11103 \begin_layout Itemize
11109 \begin_layout Itemize
11115 \begin_layout Itemize
11121 \begin_layout Itemize
11127 \begin_layout Itemize
11133 \begin_layout Itemize
11139 \begin_layout Itemize
11145 \begin_layout Itemize
11151 \begin_layout Itemize
11157 \begin_layout Standard
11161 \begin_layout Plain Layout
11173 \begin_layout Standard
11174 Następne są główne środowiska niezależnie od środowisk strukturyzujących
11176 Folie są właściwie samodzielnymi sekcjami posiadającymi tytuł i treść.
11181 TeX dostarcza specyficznych poleceń rozpoczynających nową folię, są to:
11184 \begin_layout Itemize
11190 \begin_layout Itemize
11196 \begin_layout Standard
11197 LyX dostarcza także lekko zmodyfikowane wersje powyższych środowisk o nazwach:
11200 \begin_layout Itemize
11206 \begin_layout Itemize
11209 ShortRotatefoilhead
11212 \begin_layout Standard
11213 różnice pomiędzy nimi są wyjaśnione w następnej sekcji.
11216 \begin_layout Standard
11217 Folie są często używane do prezentacji pomysłów lub nowych teorii i także
11222 TeX dostarcza szeroki wachlarz narzędzi do ich prezentacji:
11225 \begin_layout Standard
11229 \begin_layout Plain Layout
11233 begin{multicols}{2}
11241 \begin_layout Itemize
11247 \begin_layout Itemize
11253 \begin_layout Itemize
11259 \begin_layout Itemize
11265 \begin_layout Itemize
11271 \begin_layout Itemize
11277 \begin_layout Itemize
11283 \begin_layout Itemize
11289 \begin_layout Itemize
11295 \begin_layout Itemize
11301 \begin_layout Itemize
11307 \begin_layout Standard
11311 \begin_layout Plain Layout
11323 \begin_layout Standard
11324 Wersje z gwiazdką są środowiskami nienumerowanymi, a bez gwiazdki są numerowane.
11325 Są jeszcze dwa środowiska list dodane przez LyX i są to:
11328 \begin_layout Itemize
11334 \begin_layout Itemize
11340 \begin_layout Standard
11341 Jest jeszcze kilka poleceń
11345 TeX-a, które nie są obsługiwane przez LyX.
11346 Wspomnimy o nich i ich przeznaczeniu w sekcji
11347 \begin_inset space ~
11351 \begin_inset CommandInset ref
11353 reference "sec:unsuppfoils"
11360 \begin_layout Subsection
11364 \begin_layout Standard
11365 W tej sekcji podamy proste wprowadzenie jak korzystać z różnych środowisk
11366 aby utworzyć folię.
11367 Jeśli chcesz zobaczyć przykład folii zobacz plik
11376 lik\SpecialChar \menuseparator
11381 twórz\SpecialChar \ldots{}
11384 i naciśnij przycisk
11391 \begin_layout Subsubsection
11395 \begin_layout Standard
11396 Nie tak jak inne klasy dostarczające środowisk
11416 tworzy tytuł na własnej stronie.
11417 Jeśli opuścisz środowisko
11421 , to LaTeX w zastępstwie wstawi bieżącą datę (aktualizowaną przy każdym
11425 \begin_layout Subsubsection
11426 Rozpoczęcie nowej folii
11429 \begin_layout Standard
11430 Jak wspomniałem wcześniej, mamy cztery sposoby na utworzenie nowej folii.
11431 Dla folii pionowych powinieneś użyć
11440 Różnica pomiędzy tymi środowiskami polega na wielkości odstępu pomiędzy
11444 \begin_layout Standard
11445 Folie poziome tworzymy za pomocą środowisk
11451 ShortRotatefoilhead
11454 Znów różnica miedzy nimi polega na odstępie pomiędzy tytułem a treścią.
11455 W obu skróconych wersjach mamy o pół cala mniejszy odstęp.
11458 \begin_layout Standard
11459 Jednym problemem z obsługą poziomych slajdów jest wymóg użycia sterownika
11464 do utworzenia pliku PostScriptŽ, w przeciwnym razie folia nie zostanie
11466 Jest możliwość uzyskania poziomych folii nawet jeśli nie masz programu
11471 , po prostu musisz włożyć folie poziomo do drukarki;-)
11474 \begin_layout Subsubsection
11475 Theorems, Lemmas, Proofs i więcej
11478 \begin_layout Standard
11479 Z powodu małego błędu w LyX-ie nie można umieścić dwóch środowisk tego samego
11480 typu bezpośrednio jedno po drugim.
11481 Musza one być czymkolwiek rozdzielone.
11482 Jeśli spróbujesz , będziesz mógł rozciągnąć poprzednie środowisko, tak
11483 abyś miał połączone dwa środowiska razem.
11484 A jak rozwiązać ten problem? Najprostszym rozwiązaniem jest wstawienie
11485 tekstu pomiędzy dwa środowiska lub wstawienie wstawki
11489 pomiędzy te środowiska zawierającej znak komentarza ,,
11494 To wymusi na LyX-ie utworzenie dwóch oddzielnych środowisk i da poprawny
11496 Przykład jest zawarty w dostarczonym pliku w dystrybucji LyX-a.
11497 pamiętaj, problem pojawia się tylko jeśli próbujesz umieścić dwa środowiska
11498 takie jak Theorem bezpośrednio jedno za drugim.
11501 \begin_layout Subsubsection
11505 \begin_layout Standard
11506 Możesz korzystać ze wszystkich obsługiwanych i występujących w innych klasach,
11507 środowisk list, a także z dwóch nowych.
11508 Tutaj opiszę tylko te nowe.
11509 Jeśli chcesz znaleźć więcej informacji o innych środowiskach list zajrzyj
11512 Podręcznika Użytkownika
11515 Jeśli zamierzasz korzystać z wyliczeń powinieneś także przeczytać sekcję
11517 \begin_inset CommandInset ref
11519 reference "sec:bullet"
11525 Wybór znaku wyliczenia
11530 \begin_layout Standard
11531 Dwa nowe style list
11539 , zaprojektowano aby ułatwić Ci tworzenie list czynności wykonanych i nie
11540 lub co jest w porządku lub złe, przez dostarczenie dedykowanych środowisk,
11541 które używają haczyka (akceptacji) lub krzyżyka (negacji) jako znaku wyliczenia.
11542 Te listy są w rzeczywistości dedykowanymi wariantami środowiska
11547 Wymagają one jednak zainstalowanego pakietu
11554 \begin_layout Subsubsection
11558 \begin_layout Standard
11563 TeX redefiniuje wstawki tabel i rysunków tak, aby pojawiły się dokładnie
11564 w miejscu ich wystąpienia w tekście.
11565 W rzeczywistości zmiany pozycji wstawki są ignorowane.
11568 \begin_layout Subsubsection
11570 \begin_inset CommandInset label
11572 name "sec:foilfoot"
11579 \begin_layout Standard
11592 są przeznaczone do sterowania lewą stopką.
11593 Pierwsze pozwala na dołączenie
11597 \begin_layout Plain Layout
11600 Aby dołączyć logo graficzne to należy jako argument polecenia
11607 \begin_inset Newline newline
11614 includegraphics{nazwapliku}
11616 oraz umieścić w preambule polecenie:
11617 \begin_inset Newline newline
11624 usepackage{graphicx}
11630 usepackage{graphics}
11635 logo graficznego do folii, a domyślnie wpisuje ,,--Typeset by FoilTeX--''.
11636 Drugie polecenie pozwala na wprowadzenie klasyfikacji dostępności, np.
11643 Domyślnie jest puste.
11646 \begin_layout Standard
11647 Pozostałe narożniki można wypełnić poleceniami
11650 \begin_inset space ~
11655 (domyślnie numer folii),
11658 \begin_inset space ~
11666 \begin_inset space ~
11674 \begin_layout Subsection
11675 Nieobsługiwane funkcje
11680 \begin_inset CommandInset label
11682 name "sec:unsuppfoils"
11689 \begin_layout Standard
11690 Wszystkie polecenia wyjaśnione poniżej należy wstawiać w środowisku
11698 wewnątrz innych środowisk.
11701 \begin_layout Subsubsection
11705 \begin_layout Standard
11706 Wszystkie długości są ustawiane poleceniem
11707 \begin_inset Newline newline
11729 \begin_inset Newline newline
11736 powinno być zastąpione nazwą długości, która chcesz zmienić, a
11741 Dla wszystkich długości należy podać jednostkę, np.
11754 ) lub jednostki względne w dokumencie lub długości odnoszące się do wielkości
11764 \begin_layout Standard
11765 Można zmieniać odstęp pomiędzy tytułem folii a treścią, przez zmianę długości
11773 Na przykład, aby na
11777 foliach tytuły były bliżej treści o pół cala, to wpisz do preambuły:
11778 \begin_inset Newline newline
11787 foilheadskip}{-0.5in}
11790 \begin_layout Standard
11791 Odstępy wokół wstawek mogą być ustawiane przez zmianę następujących długości:
11795 \labelwidthstring MMMMMMMMMMM
11802 odstęp pomiędzy tekstem a górą wstawki,
11806 \labelwidthstring MMMMMMMMMMM
11813 odstęp pomiędzy wstawką a podpisem,
11817 \labelwidthstring MMMMMMMMMMM
11824 odstęp pomiędzy podpisem a dalszym tekstem,
11828 \labelwidthstring MMMMMMMMMMM
11835 Możesz zadać węższy podpis wstawki niż otaczający tekst przez ustawienie
11837 Najlepiej odnosić się do długości
11846 \begin_layout Standard
11847 Jest jeszcze kilka długości związanymi ze strona tytułowa, które mogą być
11848 użyteczne jeśli masz długie tytuły lub kilku autorów:
11852 \labelwidthstring MMMMMMMMMMM
11859 odstęp pomiędzy nagłówkiem a
11867 \labelwidthstring MMMMMMMMMMM
11874 odstęp pomiędzy środowiskami
11886 \labelwidthstring MMMMMMMMMMM
11893 odstęp pomiędzy wielokrotnymi wierszami środowiska
11901 \labelwidthstring MMMMMMMMMMM
11908 odstęp pomiędzy środowiskami
11920 \labelwidthstring MMMMMMMMMMM
11927 odstęp pomiędzy środowiskami
11938 \begin_layout Standard
11939 Ostatnia długość odnosi się do wszystkich środowisk list.
11950 środowiska listy, wtedy wszystkie odstępy pionowe pomiędzy elementami listy
11952 Uwaga -- to jest polecenie, a nie długość i nie wymaga
11958 tak jak wspomniane powyżej długości.
11961 \begin_layout Subsubsection
11965 \begin_layout Standard
11978 sterują wyświetlaniem na danym slajdzie logo zdefiniowanym poleceniem
11985 Jeśli wpiszesz polecenie
11991 do preambuły, to wówczas na żadnej folii nie pojawi się logo.
11992 Jeśli nie chcesz aby pojawiło się logo na jednej z folii, to umieść na
11999 tuż po tytule strony, a następnie umieść polecenie
12005 po tytule następnej folii.
12008 \begin_layout Standard
12009 Pozostałe polecenia sterujące:
12013 \labelwidthstring MMMMMMMMM
12020 prawa stopka, domyślnie zawiera numer strony
12024 \labelwidthstring MMMMMMMMM
12035 \labelwidthstring MMMMMMMMM
12045 \begin_layout Standard
12046 Jeśli zdecydujesz się użyć styl strony
12054 , prawdopodobnie powinieneś dodać
12055 \begin_inset Newline newline
12069 \begin_inset Newline newline
12072 do preambuły, tak aby nagłówki i stopki były właściwie umieszczone na poziomych
12074 Jest to spowodowane niezgodnością układów stron dostarczanych przez pakiet
12086 \begin_layout Section
12087 Latex8 (Dokumenty konferencyjne IEEE )
12090 \begin_layout Standard
12096 \begin_layout Subsection
12100 \begin_layout Standard
12101 Since this class is specifically for writing submissions to IEEE sponsored
12102 conferences I strongly recommend that you get a copy of their Authors Kit.
12107 package and associated bibliography style file is included in the kit.
12108 The Authors Kit is usually sent out by email once your initial submission
12110 There is a lot of useful information in the Authors Kit explaining formatting
12111 restrictions and so on and I will assume you have read this since that
12112 means I don't have to repeat it all here.
12115 \begin_layout Subsection
12119 \begin_layout Standard
12124 \begin_layout Subsection
12125 Obsługiwane środowiska
12128 \begin_layout Itemize
12132 \begin_layout Itemize
12136 \begin_layout Itemize
12140 \begin_layout Itemize
12144 \begin_layout Itemize
12148 \begin_layout Itemize
12152 \begin_layout Itemize
12156 \begin_layout Itemize
12160 \begin_layout Itemize
12164 \begin_layout Subsection
12165 Różnice pomiędzy ekranem a dokumentem
12168 \begin_layout Standard
12169 There are slight differences in appearance mainly with the presentation
12170 of section counters.
12171 On screen the trailing period of the section counter is missing but it
12172 will appear in the output so don't let this worry you.
12175 \begin_layout Section
12176 Hollywood (Hollywood spec scripts)
12179 \begin_layout Standard
12185 \begin_layout Subsection
12189 \begin_layout Standard
12190 Getting the format of a Hollywood script right is a ,,rite of passage''.
12191 Został zaprojektowany do czytania ze zwróceniem uwagi na treść oraz aby
12192 być łatwym i przyjaznym w czytaniu dla aktorów.
12193 Każda strona scenariusza powinna być jedną minutą filmu.
12194 Nie pisz tego czego nie możesz zobaczyć lub usłyszeć na ekranie.
12195 W całym dokumencie powinna być stosowana czcionka Courier 12pkt, bez kursywy.
12198 \begin_layout Subsection
12202 \begin_layout Standard
12203 Tekst mówcy nie powinien być NIGDY łamany w połowie zdania.
12204 Jeśli tekst mówcy jest kontynuowany na następnej stronie, powtórz
12215 \begin_layout Subsection
12219 \begin_layout Standard
12220 Wstaw nazwę mówcy (
12224 ) jako etykietę, a dalej wykorzystuj ją przez odnośniki wewnętrzne.
12225 Okno odnośników będzie wyświetlało obsadę.
12226 Odnośniki możesz używać do wstawiania nazwy mówcy również w tekście narratora.
12229 \begin_layout Subsection
12230 Rozmiar papieru i marginesy
12233 \begin_layout Standard
12234 USLetter, lewy 1.6in, prawy 0.75in, górny 0.5in, dolny 0.75in
12237 \begin_layout Subsection
12241 \begin_layout Standard
12242 Dostępne są następujące środowiska.
12243 Możesz użyć układu hollywood.bind aby uzyskać skróty klawiszowe jak poniżej.
12246 \begin_layout Itemize
12250 \begin_inset Newline newline
12255 Użyj gdzie nic innego nie pasuje.
12256 Próbuj nie korzystać z niego.
12259 \begin_layout Itemize
12263 \begin_inset space \hfill{}
12267 \begin_inset Newline newline
12272 Used to describe stage setting and the action.
12273 Pierwsze użycie nazwy aktora napisz kapitalikiem.
12276 \begin_layout Itemize
12280 \begin_inset space ~
12286 \begin_inset space \hfill{}
12294 \begin_inset Newline newline
12297 Usually followed by something like ,,on Sally waking up''.
12300 \begin_layout Itemize
12304 \begin_inset space \hfill{}
12308 \begin_inset Newline newline
12313 Introduces a new INTERIOR camera set-up.
12314 Always followed by DAY or NIGHT, or something similar to define the lighting
12316 Pisz zawsze dużymi literami.
12319 \begin_layout Itemize
12323 \begin_inset space \hfill{}
12327 \begin_inset Newline newline
12332 Introduces a new EXTERIOR camera set-up.
12333 Pisz zawsze dużymi literami.
12336 \begin_layout Itemize
12340 \begin_inset space \hfill{}
12344 \begin_inset Newline newline
12349 The character speaking.
12352 \begin_layout Itemize
12356 \begin_inset space \hfill{}
12360 \begin_inset Newline newline
12365 Instrukcje dla mówcy.
12366 Nawiasy ,,()'' są wstawiane automatycznie i wyświetlane są tylko w LyX-ie,
12367 ale zawsze będa drukowane.
12370 \begin_layout Itemize
12374 \begin_inset space \hfill{}
12378 \begin_inset Newline newline
12390 \begin_layout Itemize
12394 \begin_inset space \hfill{}
12398 \begin_inset Newline newline
12403 Instrukcja przemieszczania dla kamery, np.
12407 \begin_layout Itemize
12411 \begin_inset space ~
12415 \begin_inset space \hfill{}
12421 \begin_layout Itemize
12425 \begin_inset space \hfill{}
12431 \begin_layout Itemize
12435 \begin_inset space \hfill{}
12441 \begin_layout Itemize
12445 \begin_inset space ~
12449 \begin_inset space \hfill{}
12455 \begin_layout Subsection
12459 \begin_layout Itemize
12460 (O.S) --- off screen
12463 \begin_layout Itemize
12464 (V.0) --- voice over
12467 \begin_layout Itemize
12472 \begin_layout Itemize
12477 \begin_layout Itemize
12478 PAN --- przesunięcie kamery
12481 \begin_layout Itemize
12482 INSERT --- cut to close-up of
12485 \begin_layout Section
12489 \begin_layout Standard
12495 \begin_layout Subsection
12499 \begin_layout Standard
12500 Klasa Broadway jest przeznaczona dla piszących scenariusze teatralne.
12501 Ten format jest bardziej dekoracyjny i o wiele mniej ustandaryzowany.
12502 Ten format powinien być odpowiedni dla workshopów.
12505 \begin_layout Subsection
12509 \begin_layout Standard
12510 Podobnie jak format Hollywood.
12513 \begin_layout Subsection
12517 \begin_layout Standard
12518 Wstaw nazwę mówcy (
12522 ) jako etykietę, a dalej wykorzystuj ją przez odnośniki wewnętrzne.
12523 Okno odnośników wewnętrznych będzie wyświetlać aktualną obsadę.
12526 \begin_layout Subsection
12527 Rozmiar papieru i marginesy
12530 \begin_layout Standard
12531 USLetter, lewy 1.6in, prawy 0.75in, górny 0.5in, dolny 0.75in
12534 \begin_layout Subsection
12538 \begin_layout Standard
12539 Dostępne są następujące środowiska.
12540 Możesz użyć układu broadway.bind aby uzyskać skróty klawiszowe jak poniżej.
12543 \begin_layout Itemize
12547 \begin_inset Newline newline
12552 Nie powinieneś go używać, ale jest jeśli inne nie będą Ci odpowiadać.
12555 \begin_layout Itemize
12559 \begin_inset space \hfill{}
12563 \begin_inset Newline newline
12568 Used to describe stage setting and the action.
12569 Pierwsze użycie nazwy aktora napisz kapitalikiem.
12572 \begin_layout Itemize
12576 \begin_inset space \hfill{}
12580 \begin_inset Newline newline
12585 Automatycznie numerowane.
12586 Na ekranie będzie numeracja liczbami arabskimi, a na wydruku rzymskimi.
12589 \begin_layout Itemize
12593 \begin_inset space \hfill{}
12597 \begin_inset Newline newline
12602 Tekst jest centrowany.
12605 \begin_layout Itemize
12609 \begin_inset space \hfill{}
12613 \begin_inset Newline newline
12618 Nie jest numerowane automatycznie.
12620 This is because I couldn't figure out how.
12623 \begin_layout Itemize
12627 \begin_inset space ~
12631 \begin_inset space \hfill{}
12635 \begin_inset Newline newline
12640 A special case of Narrative to describe the setting and action as the curtain
12644 \begin_layout Itemize
12648 \begin_inset space \hfill{}
12652 \begin_inset Newline newline
12657 Nazwa mówcy (aktora), wyśrodkowana napisana będzie kapitalikiem.
12660 \begin_layout Itemize
12664 \begin_inset space \hfill{}
12668 \begin_inset Newline newline
12673 Instrukcje dla mówcy.
12674 Nawiasy ,,()'' są wstawiane automatycznie, ale wyświetlane są tylko w LyX-ie,
12675 ale zawsze będa drukowane.
12676 To środowisko jest używane tylko wewnątrz środowiska
12683 \begin_layout Itemize
12687 \begin_inset space \hfill{}
12691 \begin_inset Newline newline
12699 \begin_layout Itemize
12703 \begin_inset space \hfill{}
12707 \begin_inset Newline newline
12712 Opuszczenie kurtyny.
12715 \begin_layout Itemize
12719 \begin_inset space \hfill{}
12725 \begin_layout Itemize
12729 \begin_inset space \hfill{}
12735 \begin_layout Itemize
12739 \begin_inset space \hfill{}
12745 \begin_layout Standard
12749 \begin_layout Section
12753 \begin_layout Standard
12759 \begin_layout Standard
12763 \begin_inset space ~
12768 współpracuje z klasą RevTeX 4.0 (wydanie
12769 \begin_inset Formula $\beta$
12772 z maja 1999 roku) American Physical Society.
12773 LyX ma klasę dokumentu
12777 , która współpracuje z RevTeX 3.1.
12778 Jednak wersja 3.1 jest generalnie przestarzała jako współpracująca z LaTeX2.09,
12779 co oznacza, że współpraca z LyX-em nie jest najlepsza., ponieważ LyX wymaga
12781 Since RevTeX 4.0 has been designed to work much more cleanly with LaTeX2e,
12785 \begin_inset space ~
12790 textclass should also be pretty easy to use.
12793 \begin_layout Standard
12794 These documents are supposed to be used in
12798 to the RevTeX 4.0 documents, so we don't describe any of the special RevTeX
12799 macros, and assume you'll know what to put in the preamble if necessary.
12802 \begin_layout Subsection
12806 \begin_layout Standard
12807 All you need to do is install RevTeX 4, as described in the package's README
12809 the package can be found atThe RevTeX 4 Web Site
12810 \begin_inset Flex URL
12813 \begin_layout Plain Layout
12815 http://publish.aps.org/revtex4/
12821 Install it somewhere that LaTeX can see it.
12822 Test it by trying to LaTeX a short RevTeX 4 document in some random directory
12823 (i.e., not the directory where you installed the class file.) Then, if you
12824 reconfigure LyX, it will find the class file and let you use the RevTeX4
12828 \begin_layout Standard
12829 Probably the easiest way to get started is either to import a RevTeX 4 document
12837 \begin_inset space ~
12842 template, found in the templates directory.
12845 \begin_layout Subsection
12849 \begin_layout Standard
12850 Optional arguments to
12856 , like ,,preprint'' and ,,aps'', go in the
12869 Remember that in RevTeX, at least one optional argument is required!
12872 \begin_layout Standard
12873 Other preamble matter, like
12884 popup, also as usual.
12887 \begin_layout Subsection
12891 \begin_layout Standard
12892 The layouts basically correspond to the commands in RevTeX4.0.
12893 For example, the Email layout corresponds to
12900 Note that (at least as of RevTeX 4.0 Beta), the
12908 layouts are exactly equivalent, so you shouldn't need to use both.
12912 \begin_layout Plain Layout
12913 In case you're curious, both were included so that
12917 would be able to translate both
12937 \begin_layout Standard
12938 There are a couple of important unique aspects of RevTeX 4 which might cause
12939 bugs that will be even more confusing in LyX.
12942 \begin_layout Standard
12960 The LyX equivalent is that there is a separate Thanks layout.
12965 write footnotes in the
12969 layout, or weird things may happen.
12970 See the RevTeX 4 documentation for more details.
12973 \begin_layout Standard
12977 \begin_inset space ~
12985 \begin_inset space ~
12994 layouts must be placed
13002 layout and the corresponding
13019 , the LaTeX won't compile.
13022 \begin_layout Subsection
13026 \begin_layout Standard
13027 The main problem with this layout is that you can't use the optional arguments
13028 to layouts like Email and Title.
13029 (The problem is not unique to this layout; in LyX 1.0, you can't use optional
13030 arguments to the Section layouts.) This means that after you export that
13031 file to LaTeX (which you'll need to do eventually to send it in to APS),
13032 you'll need to edit the LaTeX file with a text editor to add the optional
13033 arguments to set, e.g., the running title for the page headers.
13034 Lacking these layouts makes the
13040 (and the equivalent
13046 ) useless, so the corresponding layouts don't exist, and will have to be
13048 This drawback will be fixed in LyX 1.2.
13051 \begin_layout Section
13052 article (mwart), book (mwbk) i report (mwrep)
13055 \begin_layout Standard
13061 \begin_layout Standard
13074 autorstwa marcina Wolińskiego odpowiadają klasom LateX-a odpowiednio:
13087 Zastępują one standardowe klasy:
13100 Są one zgodne z polskimi zwyczajami typograficznymi.
13103 \begin_layout Standard
13104 Podstawowe różnice:
13107 \begin_layout Itemize
13108 Nienumerowane tytularia ( z gwiazdką) są dopisywane do spisu treści.
13111 \begin_layout Itemize
13112 Dodatkowe style strony:
13116 \begin_layout Description
13117 uheadings pagina górna z linią oddzielającą,
13120 \begin_layout Description
13121 myheadings pagina górna z zadawaną treścią poleceniami:
13136 \begin_layout Description
13137 myuheadings pagina górna z zadawaną treścią z linią oddzielającą,
13140 \begin_layout Description
13141 outer paginacja w stopce od strony zewnętrznego marginesu
13145 \begin_layout Itemize
13150 \begin_layout Description
13151 rmheadings szeryfowe tytularia -- opcja domyślna
13154 \begin_layout Description
13155 sfheadings bezszeryfowe tytularia
13158 \begin_layout Description
13159 authortitle najpierw autor poniżej tytuł -- opcja domyślna
13162 \begin_layout Description
13163 titleauthor najpierw tytuł poniżej autor
13166 \begin_layout Description
13167 withmarginpar rezerwuje miejsce na marginalia
13171 \begin_layout Chapter
13172 Import i eksport innych formatów plików
13175 \begin_layout Section
13179 \begin_layout Standard
13180 Zagadnienie importu i eksportu z/do innych formatów plików zostało wspomniane
13183 Podręczniku Użytkownika
13186 W tym rozdziale jest opisane więcej szczegółów potrzebnych do zrozumienia
13187 tego co się dzieje po naciśnięciu polecenia
13192 lik\SpecialChar \menuseparator
13204 lik\SpecialChar \menuseparator
13214 \begin_layout Section
13215 Import z innych formatów
13218 \begin_layout Subsection
13222 \begin_layout Standard
13225 Translating from LaTeX into LyX is performed by a converter program called
13233 Ponadto jest to samodzielny program, który może być wywoływany z wiersza
13235 LyX wywołuje go automatycznie podczas importu pliku LaTeX-a.
13237 \begin_inset space ~
13241 \begin_inset CommandInset ref
13243 reference "sec:Importowanie-plików-LaTeX-a"
13247 dla pełniejszego opisu.
13250 \begin_layout Subsection
13254 \begin_layout Standard
13255 Są dwie metody importu plików tekstowych ASCII.
13256 Import ,,jako wiersze'' zachowuje wszystkie końce wierszy z pliku ASCII
13257 do LyX-a, wówczas każdy wiersz jest oddzielnym akapitem.
13258 Podczas importu ,,jako akapit'' kolejne wiersze łączone są w jeden akapit.
13259 Pusty wiersz traktowany jest jako separator akapitów.
13262 \begin_layout Subsection
13266 \begin_layout Standard
13269 [Editor's note: Needs to be written, obviously - any volunteers? --- mer]
13272 \begin_layout Section
13273 Eksport do innych formatów
13276 \begin_layout Subsection
13280 \begin_layout Standard
13281 LyX tworzy dwa typy plików LaTeX-owych: pliki do normalnego przetwarzania
13282 (do podglądu DVI itp.), które nie są nigdy oglądane oraz pliki o formie
13283 czytelnej dla ludzi.
13284 Jedyną możliwą do ustawienia jest dyrektywa
13290 określająca maksymalną długość wiersza pliku, domyślną wartością jest 75
13292 Plik wynikowy jest poprawnym plikiem LaTeX-a, lecz preambuła może wyglądać
13293 trochę przerażająco ponieważ zawiera kilka definicji używanych przez LyX-a,
13294 które nie wyglądają na utworzone przez człowieka.
13297 \begin_layout Subsection
13301 \begin_layout Standard
13314 ndependent -- ,,sprzętowo niezależne'') są tworzone podczas przetwarzania
13315 Twojego dokumentu przez LaTeX.
13316 Nie ma żadnych opcji do ustawienia przez użytkownika.
13319 \begin_layout Subsection
13323 \begin_layout Standard
13324 Następny krokiem w łańcuchu konwersji jest konwersja pliku DVI do PostScript.
13325 Najczęściej używanym do tego celu programem jest program
13330 Wybrany program należy podać w pliku
13341 Argumenty wiersza poleceń, np.
13342 dla dvips polecenia druku w odwrotnej kolejności (
13346 ) można podać w dyrektywie
13350 print_extra_options
13355 \begin_layout Subsection
13359 \begin_layout Standard
13360 Eksport do ASCII próbuje zachować ,,kształt'' dokumentu jak to możliwe,
13361 ale takie elementy jak centrowanie i wcięcia są odrzucane, a akapity są
13362 rozdzielane pustym wierszem.
13363 Numeracja sekcji i odnośników jest wykonana poprawnie, tak że w efekcie
13364 plik jest dość przejrzysty.
13365 Jedyną możliwą do ustawienia jest dyrektywa
13371 określająca maksymalną długość wiersza pliku ASCII.
13374 \begin_layout Subsection
13378 \begin_layout Standard
13379 Dokumenty LyX-a mogą być konwertowane do formatu hipertekstowego, zwykle
13380 najpierw dokonywana jest konwersja do LaTeX-a, który konwertuje do formatu
13384 \begin_layout Standard
13385 Aktualnie są dostępne dla LyX-a trzy konwertery LaTeX
13386 \begin_inset Formula $\rightarrow$
13402 Są one wykrywane automatycznie, jednak można wymusić wybór jednego z nich
13403 dyrektywą w pliku konfiguracyjnym
13410 W tej dyrektywie można także dołączyć argumenty wiersza poleceń.
13411 Czytaj komentarze w pliku
13415 , które zawierają najbardziej aktualne informacje dotyczące szczegółów użycia
13416 poszczególnych dyrektyw.
13419 \begin_layout Subsection
13423 \begin_layout Standard
13431 \begin_layout Standard
13432 Najszybszą drogą do tworzenia plików PDF (bez znaczników, linków itp.) w
13433 dowolnej wersji LyX-a jest zapisanie dokumentu w formacie PostScript, a
13434 następnie uruchomienie polecenia
13439 Począwszy od wersji 1.1.6 dostępna jest pozycja menu
13444 lik\SpecialChar \menuseparator
13445 Exportuj\SpecialChar \menuseparator
13449 Od wersji 1.1.6 jest to najlepsza droga do uzyskania porządnych plików PDF.
13450 Jest trochę kłopotów z czcionkami, na które powinieneś uważać -- zobacz
13451 \begin_inset CommandInset ref
13453 reference "sec:badfonts"
13460 \begin_layout Subsubsection
13464 \begin_layout Standard
13465 Korzystając z pdfLaTeX potrzebujesz skonwertować swoje obrazki EPS do formatu
13467 \begin_inset CommandInset ref
13469 reference "sec:pdfeps"
13473 ) i nie możesz używać pstricks.
13474 Z drugiej strony, korzystając z pdfLaTeX można wstawiać wprost rysunki
13475 w formatach JPEG lub PNG, używać czcionek TrueType i wiele innych.
13478 \begin_layout Subsubsection
13479 Dlaczego tekst wygląda mało czytelnie przy podglądzie za pomocą Acrobat
13481 \begin_inset CommandInset label
13483 name "sec:badfonts"
13490 \begin_layout Standard
13491 Źródłem kłopotów są czcionki bitmapowe brzydko wyświetlane przez Acrobat
13493 Podczas tworzenia pliku PDF z pliku LyX-a potrzebujesz czcionek obwiedniowych
13494 zamiast bitmapowych (w rzeczywistości powinieneś także używać czcionek
13495 obwiedniowych w plikach postscriptowych).
13498 \begin_layout Standard
13499 Ostatnie dystrybucje LaTeX-a posiadają standardowe czcionki CM (Computer
13500 Modern) PostScript Type 1.
13501 PdfLaTeX używa tych czcionek domyślnie.
13502 Dvips nie używa ich domyślnie, dla ich użycia należy dopisać do pliku
13506 następujące wiersze
13509 \begin_layout LyX-Code
13513 \begin_layout LyX-Code
13517 \begin_layout Standard
13518 Jeśli używane jest domyślne kodowanie LaTeX-a (OT1), to nie trzeba robić
13520 Ale jeśli używane jest kodowanie T1 to LaTeX używa nowych czcionek EC,
13521 dla których nie ma wersji Type1.
13522 Rozwiązaniem jest użycie pakietu ae, który emuluje kodowanie T1 używając
13524 Należy wówczas w preambule dopisać
13528 usepackage{ae,aecompl}
13531 Jednak niektórych znaków brakuje w czcionkach CM (np.
13532 eth, thorn) i są one pobierane z czcionek EC.
13533 Dlatego pobierane są znaki jako bitmapy.
13536 \begin_layout Standard
13537 Uwaga: LyX używa domyślnie kodowania T1.
13538 Jeśli chcesz stosować domyślne kodowanie (co nie jest zalecane chyba że
13539 piszesz tylko w języku angielskim), dodaj wiersz
13543 font_encoding default
13554 \begin_layout Plain Layout
13555 Dla składu w języku polskim zaleca się stosować kodowanie OT4 oraz pakiet
13569 włącza spolonizowane czcionki CM w układzie OT4 zwane czcionkami PL.
13570 Czcionki PL występują również w wersji obwiedniowej co rozwiązuje problemy
13571 z Acrobat Readerem.
13578 Alternatywą jest użycie standardowych czcionek postscriptowych zamiast
13580 Do tego potrzebujesz wybrać pslatex jako globalną czcionkę w oknie układu
13582 Gdy używamy czcionek postsciptowych to pliki PDF są mniejsze o czcionki
13583 nie dołączone do pliku.
13584 Ponadto czcionki postscriptowe dołączają wszystkie krzywe T1.
13585 Z drugiej zaś strony czcionki postscriptowe nie posiadają półgrubych czcionek
13586 symboli i muszą być użyte pmb (poor man's bold, zobacz
13587 \begin_inset CommandInset ref
13589 reference "sec:pdfbold"
13594 Czcionki postscriptowe także wyglądają inaczej z zestawu czcionek CM.
13597 \begin_layout Standard
13598 Podsumowując czcionki postscriptowe i Computer Modern dają dobre rezultaty
13599 (z kilkoma wyjątkami).
13600 Decyzja których używać jest kwestią gustu.
13603 \begin_layout Subsubsection
13604 Jak mogę użyć pdfLaTeX z obrazkami w formacie EPS?
13605 \begin_inset CommandInset label
13614 \begin_layout Standard
13615 PdfLaTeX nie obsługuje włączania plików EPS, ale obsługuje włączanie plików
13617 Jeśli masz dokumenty z włączonymi rysunkami EPS, np.
13625 \begin_layout Enumerate
13635 \begin_layout Enumerate
13636 Kiedy wstawiasz rysunek w dokumencie nie podawaj rozszerzenia nazwy pliku:
13637 na przykład, wstawiając plik
13641 wystarczy wpisać tylko
13645 w oknie dialogowym.
13648 \begin_layout Standard
13649 Uwaga: W LyX 1.2.0 będzie możliwe wstawianie różnych rodzajów rysunków ze
13650 wszystkimi niezbędnymi transformacjami.
13651 Częściowo funkcjonalne wstawianie istnieje w wersji 1.1.6, do użycia należy
13654 M-x graphics-insert
13659 \begin_layout Subsubsection
13662 boldsymbol{} nie działa gdy używam pslatex?
13663 \begin_inset CommandInset label
13672 \begin_layout Standard
13673 Czcionki PostScript nie posiadają symboli półgrubych.
13674 Rozwiązaniem jest użycie polecenia
13683 \begin_layout Standard
13684 Jest to możliwe przez przedefiniowanie polecenia
13699 \begin_layout LyX-Code
13709 \begin_layout Standard
13713 \begin_layout Subsubsection
13714 Czy jest możliwe zapisanie kodu przetwarzanego tylko przez pdfLaTeX-a?
13717 \begin_layout Standard
13722 \begin_layout LyX-Code
13730 \begin_layout LyX-Code
13740 \begin_layout LyX-Code
13746 \begin_layout LyX-Code
13752 \begin_layout LyX-Code
13758 \begin_layout LyX-Code
13764 \begin_layout LyX-Code
13768 \begin_layout LyX-Code
13774 \begin_layout LyX-Code
13777 pdfinfo { /Author (your name and e-mail address)
13780 \begin_layout LyX-Code
13781 /Title (official title -- i.e., title element)
13784 \begin_layout LyX-Code
13785 /Subject (one line description of the document)
13788 \begin_layout LyX-Code
13792 \begin_layout LyX-Code
13795 pdfcatalog { /PageMode (/UseNone)
13798 \begin_layout LyX-Code
13799 % /OpenAction (fitbh)
13802 \begin_layout LyX-Code
13806 \begin_layout LyX-Code
13809 usepackage[pdftex]{hyperref}
13812 \begin_layout LyX-Code
13818 \begin_layout LyX-Code
13821 usepackage[ps2pdf]{hyperref}
13824 \begin_layout LyX-Code
13830 \begin_layout Subsection
13831 Eksport użytkownika
13834 \begin_layout Standard
13835 Eksport użytkownika jest możliwy jeśli masz dziwny format do którego chcesz
13836 konwertować, zakładając, że masz odpowiedni konwerter.
13837 Format pliku wejściowego jest podany w dyrektywie
13841 custom_export_format
13844 LyX będzie automatycznie konwertował plik do tego miejsca, a wtedy zostanie
13845 on przekazany do Twojego konwertera.
13846 Możliwymi wartościami są:
13869 \begin_layout Standard
13870 Polecenie wywołania konwertera jest podane w dyrektywie
13874 custom_export_command
13877 To powinno być kompletne polecenie wiersza poleceń, które wykorzystuje
13882 do przekazania nazwy pliku głównego.
13885 \begin_layout Standard
13886 Może będziesz musiał trochę poprawić podaną sekwencję, dla zgodności z twoją
13890 \begin_layout Standard
13891 Omawiany sposób eksportu ustawia się w domyślnym lokalnym pliku
13896 Gdy wybierzesz polecenie
13901 lik\SpecialChar \menuseparator
13909 ksportuj\SpecialChar \menuseparator
13919 , pojawi się okno, w którym można zmienić dowolną wartość.
13922 \begin_layout Chapter
13923 Funkcje LyX-a wymagające zewnętrznych programów
13926 \begin_layout Section
13930 \begin_layout Standard
13936 \begin_layout Subsection
13937 Wysyłanie faksów wprost z LyX-a
13940 \begin_layout Standard
13941 Przede wszystkim musimy wspomnieć, że LyX potrafi wysyłać faksy pod warunkiem,
13942 że masz zainstalowane i działające oprogramowanie do wysyłania faksów (np.
13943 HylaFax, efax, mgetty+sendfax, \SpecialChar \ldots{}
13945 LyX pracuje tylko jako graficzny interfejs (front end) do tych programów!
13948 \begin_layout Standard
13949 W zależności od używanego oprogramowania faksowego musisz ustawić kilka
13958 \begin_layout Description
13965 Tutaj należy podać polecenie, które ma wywołać LyX aby wysłać faks.
13966 Polecenie powinno być zdolne przetworzyć plik PostScript, wytworzony przez
13968 Łańcuch polecenia może zawierać następujące zmienne:
13972 \begin_layout Description
13977 zastępuje nazwę zmiennej środowiska FAX_SERVER
13980 \begin_layout Description
13985 zastępuje zawartość pola komentarz
13988 \begin_layout Description
13993 zastępuje zawartość pola Firma
13996 \begin_layout Description
14001 zastępuje zawartość pola nazwa
14004 \begin_layout Description
14009 zastępuje zawartość pola numer faksu
14012 \begin_layout Description
14017 zastępuje nazwę pliku, który ma zostać wysłany
14021 \begin_layout Paragraph
14025 \begin_layout Standard
14026 Przyjmujemy, że nazwałeś plik ,,
14030 '' i chciałbyś wysłać go wprost do faksu nie opuszczając LyX-a.
14031 Masz zainstalowane oprogramowanie HylaFax i twoja zmienna środowiska
14039 '' i podałeś te wartości w oknie faksowania:
14043 \labelwidthstring 00.00.0000
14047 \begin_inset space ~
14056 \labelwidthstring 00.00.0000
14060 \begin_inset space ~
14069 \labelwidthstring 00.00.0000
14078 \labelwidthstring 00.00.0000
14083 This comment string
14086 \begin_layout Standard
14087 Z podanymi niżej ustawieniami:
14090 \begin_layout LyX-Code
14094 \begin_inset Quotes eld
14097 sendfax -n -h '$$Host' -c '$$Comment'
14100 \begin_layout LyX-Code
14101 -x '$$Enterprise' -d '$$Name'@'$$Phone' '$$FName'
14102 \begin_inset Quotes erd
14108 \begin_layout Standard
14109 zostanie wykonane polecenie:
14112 \begin_layout LyX-Code
14113 sendfax -n -h faxhost.mydomain -c 'This comment string'
14116 \begin_layout LyX-Code
14117 -x 'Startrek' -d 'Someone'@'+39-2-444666'
14120 \begin_layout LyX-Code
14121 <tempfile-path>/newfile.ps
14124 \begin_layout Description
14131 Zawiera nazwę pliku książki telefonicznej, którą możesz utworzyć w oknie
14133 Domyślną wartością jest
14135 $HOME/.lyx/phonebook.
14138 \begin_layout Paragraph
14142 \begin_layout LyX-Code
14145 phone_book myphonebook
14148 \begin_layout Standard
14149 zapisuje i czyta plik książki telefonicznej z pliku
14151 $HOME/.lyx/myphonebook
14154 \begin_layout LyX-Code
14157 phone_book /var/lib/phonebook
14160 \begin_layout Standard
14161 zapisuje i czyta plik książki telefonicznej
14166 \begin_layout Description
14173 W tym miejscu podajesz program, który LyX wywoła jako zewnętrzny program
14174 do wysłania Twojego faksu (np.
14175 tkhylafax), zamiast wbudowanego formularza faksu.
14176 Dopuszczalna jest tylko zmienna
14183 \begin_layout Paragraph
14187 \begin_layout LyX-Code
14191 \begin_inset Quotes eld
14194 tkhylafax '$$Fname'
14195 \begin_inset Quotes erd
14201 \begin_layout Standard
14202 Przy powyższych założeniach zostanie wykonane następujące polecenie:
14205 \begin_layout LyX-Code
14206 tkhylafax <tempfile-path>/newfile.ps
14209 \begin_layout Section
14213 \begin_layout Standard
14219 \begin_layout Subsection
14223 \begin_layout Standard
14228 możesz znaleźć polecenie
14235 \begin_inset space ~
14241 Ta funkcja LyX-a wymaga posiadania zainstalowanego zewnętrznego programu
14246 i jest wygaszone jeśli go nie posiadasz.
14247 Możesz go pobrać z archiwów CTAN lub z
14248 \begin_inset Flex URL
14251 \begin_layout Plain Layout
14253 http://www.ifi.uio.no/~jensthi/chktex/
14261 \begin_layout Standard
14266 jest programem napisanym przez sfrustrowanego
14271 , ponieważ wiele konstrukcji LaTeX-a czasami jest nieintuicyjnych i łatwych
14273 Program przetwarzając Twój plik LaTeX-a sprawdza integralność pliku i zaznacza
14275 W języku technicznym jest to
14282 \begin_layout Standard
14283 Czy CheckTeX jest kontrolerem składni, którego użycie zapewni poprawne pliki
14284 LateX-a? Odpowiedź jest prosta: Tak jak
14288 nie tylko sprawdza składnię programów w języku C, semantykę, wyłapuje wiele
14289 typowych błędów typograficznych.
14294 potrafi wykryć wiele podstawowych błędów, takich jak:
14297 \begin_layout Itemize
14298 Ellipsis detection:
14299 \begin_inset Newline newline
14302 Use \SpecialChar \ldots{}
14306 \begin_layout Itemize
14307 No space in front of/after parenthesis:
14308 \begin_inset Newline newline
14314 \begin_layout Itemize
14315 Enforcement of normal space after common abbreviations:
14316 \begin_inset Newline newline
14321 is too wide spacing.
14324 \begin_layout Itemize
14325 Enforcement of end-of-sentence space when the last sentence ends with a
14327 \begin_inset Newline newline
14331 And this is wrong spacing.
14334 \begin_layout Itemize
14335 Space in front of labels and similar commands:
14336 \begin_inset Newline newline
14339 The label should stick right up to the text to avoid falling to a wrong
14341 \begin_inset CommandInset label
14351 \begin_layout Plain Layout
14352 This footnote is in danger of falling off to a wrong page
14360 \begin_layout Itemize
14361 Space in front of references, instead of hard spaces:
14362 \begin_inset Newline newline
14365 In you are in bad luck, the text will break right between the referenced
14366 text and reference number, and that's a pity.
14368 \begin_inset CommandInset ref
14370 reference "sec:chktex"
14377 \begin_layout Itemize
14378 Use of ,,x'' instead of
14379 \begin_inset Formula $\times$
14383 \begin_inset Newline newline
14386 2x2 looks cheap compared to
14387 \begin_inset Formula $2\times2$
14393 \begin_layout Standard
14394 i inne \SpecialChar \ldots{}
14395 To jest nieocenione narzędzie gdy ,,zakończyliśmy'' pracę nad dokumentem.
14396 Przed wydrukowaniem powinniśmy sprawdzić obligatoryjnie pisownię i uruchomić
14400 \begin_layout Subsection
14404 \begin_layout Standard
14405 Jeśli masz zainstalowany program
14409 , po prostu wybierz z menu polecenie
14414 dycja\SpecialChar \menuseparator
14422 To spowoduje utworzenie pliku LaTeX-a na podstawie Twojego dokumentu, sprawdzen
14427 i wstawienie ,,okienek błędów'' do dokumentu z ostrzeżeniami
14431 , jeśli jakieś znalazł.
14432 Ostrzeżenia zostaną umieszczone blisko miejsca wystąpienia błędu, które
14433 możesz szybko odnaleźć za pomocą polecenia z menu
14438 awigacja\SpecialChar \menuseparator
14441 lub za pomocą skótu klawiszowego
14445 w domyślnym pliku bind
14450 Okienko błędu otwiera się przez kliknięcie na nim myszką lub domyślnym
14455 albo skrótem z pliku bind
14464 Przeczytaj uwagi i popraw błędy jeśli są.
14465 Jeśli masz kłopoty ze zrozumieniem co oznaczają ostrzeżenia, możesz spokojnie
14467 Remember that there is a hidden layer between the document on screen and
14468 the technical details in invoking
14472 , and this gap can make some warnings seem arcane or just right down plain
14476 \begin_layout Standard
14477 This document is an excellent testing bed for the feature, and it should
14478 provide quite a few warnings for you to fiddle with.
14479 Since computers are only so smart, expect most of the warnings to be false
14483 \begin_layout Subsection
14487 \begin_layout Standard
14488 Sometimes, you'll find that
14492 makes more noise than suits your mood.
14493 Then you can choose not to use it, wait until your mood changes, or try
14498 to get better along with you.
14499 Another choice in the most desperate situations is to use
14504 dycja\SpecialChar \menuseparator
14512 suń wszystkie okienka błędów
14514 , which will get rid of all warnings instantly.
14517 \begin_layout Standard
14526 bardzo konfigurowalny i extensible, nie powinieneś spodziewać się rozwiązania
14527 wszystkich problemów przez
14532 Since LyX has to generate a somewhat special LaTeX file to be able to match
14533 the line numbers from
14541 \begin_layout Plain Layout
14542 You can inspect the specific output from
14548 Edit\SpecialChar \menuseparator
14550 \begin_inset space ~
14554 \begin_inset space ~
14568 to appear correctly.
14569 Są dwie rzeczy, które możesz wykonać :
14572 \begin_layout Itemize
14573 Dopasuj polecenia wywołania
14581 lub w globalnym pliku konfiguracyjnym instalacji
14585 (zwykle jest to plik
14587 /usr/local/share/chktexrc
14590 Zobacz poniżej jak można włączać i wyłączać ostrzeżenia w wierszu poleceń.
14593 \begin_layout Itemize
14594 Wyeksportuj swoj dokument do LaTeX-a za pomocą polecenia
14599 lik\SpecialChar \menuseparator
14604 ksportuj\SpecialChar \menuseparator
14619 Invoked in this way, it can be a hassle to find the corresponding place
14620 in the document inside LyX, but with a little patience, you should be able
14624 \begin_layout Standard
14625 Poniższe komunikaty ostrzeżeń mogą być aktywowane lub wyłączone za pomocą
14626 odpowiednich wpisów w dyrektywie
14641 aby wyłączyć ostrzeżenie i
14646 Ostrzeżenia napisane kursywą są domyślnie wyłączone, przez domyślny wpis
14649 chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38
14654 \begin_layout Standard
14655 Notice that you should only use the options that enable and disable warnings,
14656 because LyX relies on some of the other command line parameters to be set
14657 in a specific way to have a chance to communicate with
14664 \begin_layout Enumerate
14668 Command terminated with space.
14671 \begin_layout Enumerate
14674 Non-breaking space (,,
14678 '') should have been used.
14681 \begin_layout Enumerate
14685 You should enclose the previous parenthesis with ,,
14692 \begin_layout Enumerate
14695 Italic correction (,,
14701 '') found in non-italic buffer.
14704 \begin_layout Enumerate
14707 Italic correction (,,
14713 '') found more than once.
14716 \begin_layout Enumerate
14720 No italic correction (,,
14729 \begin_layout Enumerate
14743 \begin_layout Enumerate
14746 Wrong length of dash may have been used.
14749 \begin_layout Enumerate
14757 '' expected, found ,,
14764 \begin_layout Enumerate
14774 \begin_layout Enumerate
14781 '' to achieve an ellipsis.
14784 \begin_layout Enumerate
14787 Inter-word spacing (,,
14793 '') should perhaps be used.
14796 \begin_layout Enumerate
14799 Inter-sentence spacing (,,
14805 '') should perhaps be used.
14808 \begin_layout Enumerate
14811 Could not find argument for command.
14814 \begin_layout Enumerate
14817 No match found for ,,
14824 \begin_layout Enumerate
14827 Math mode still on at end of LaTeX file.
14830 \begin_layout Enumerate
14837 '' doesn't match the number of ,,
14844 \begin_layout Enumerate
14847 You should use either
14855 as an alternative to ,,
14862 \begin_layout Enumerate
14869 '' (ASCII 39) instead of ,,
14876 \begin_layout Enumerate
14879 User-specified pattern found.
14882 \begin_layout Enumerate
14885 This command might not be intended.
14888 \begin_layout Enumerate
14895 \begin_layout Enumerate
14913 \begin_layout Enumerate
14916 Delete this space to maintain correct page references.
14919 \begin_layout Enumerate
14923 You might wish to put this between a pair of ,,
14930 \begin_layout Enumerate
14933 You ought to remove spaces in front of punctuation.
14936 \begin_layout Enumerate
14939 Could not execute LaTeX command.
14942 \begin_layout Enumerate
14951 in front of small punctuation.
14954 \begin_layout Enumerate
14962 may look prettier here.
14965 \begin_layout Enumerate
14969 Multiple spaces detected in output.
14972 \begin_layout Enumerate
14975 This text may be ignored.
14978 \begin_layout Enumerate
14985 to begin quotation, not '.
14988 \begin_layout Enumerate
14995 to end quotation, not
15002 \begin_layout Enumerate
15008 \begin_layout Enumerate
15011 You should perhaps use ,,
15018 \begin_layout Enumerate
15021 You should put a space in front of/after parenthesis.
15024 \begin_layout Enumerate
15027 You should avoid spaces in front of/after parenthesis.
15030 \begin_layout Enumerate
15034 You should not use punctuation in front of/after quotes.
15037 \begin_layout Enumerate
15040 Double space found.
15043 \begin_layout Enumerate
15046 You should put punctuation outside inner/inside display math mode.
15049 \begin_layout Enumerate
15052 You ought to not use primitive TeX in LaTeX code.
15055 \begin_layout Enumerate
15058 You should remove spaces in front of ,,
15065 \begin_layout Enumerate
15072 '' is normally not followed by ,,
15079 \begin_layout Standard
15080 Mam nadzieję, że w następnych wersjach LyX-a dostarczymy bardziej kompletny
15081 interfejs dla tego narzędzia (i jego mniejszego kuzyna
15085 ) dla wykorzystania jego pełnych możliwości.
15086 But it's not exactly useless as it is now: go try it on one of your existing
15087 documents of a certain length and be surprised.
15090 \begin_layout Section
15091 Kontrola wersji (RCS) w LyX
15094 \begin_layout Standard
15097 Lars Gullik Bjřnnes
15100 \begin_layout Subsection
15104 \begin_layout Standard
15105 Moi przyjaciele chcieli użyć LyX-a do projektu grupowego.
15106 Gdy nie znaleźli obsługi kontroli wersji ani blokowania plików, porzucili
15108 To na tyle mnie zirytowało, że postanowiłem zrobić obsługę dla RCS (z możliwośc
15109 ią obsługi CVS i/lub SCCS jako przyszłościowe ulepszenie).
15110 To już zostało zrobione i teraz LyX obsługuje najbardziej podstawowe polecenia
15114 \begin_layout Standard
15115 Jeśli potrzebujesz zrobić coś bardziej wyszukanego to będziesz musiał zrobić
15116 to ręcznie w terminalu xterm.
15119 \begin_layout Standard
15120 Zanim zaczniesz używać kontroli wersji w LyX-ie powinieneś wpierw przeczytać
15130 W tym pliku są opisane wszystkie podstawowe funkcje RCS.
15131 Powinieneś zwrócić szczególną uwagę na katalog RCS oraz na plik główny
15135 \begin_layout Standard
15136 W LyX-ie dokonano implementacji dla ostatniej wersji pakietu GNU RCS --
15137 nie gwarantujemy wykonania dla starszych wersji.
15140 \begin_layout Subsection
15141 Polecenia RCS w LyX
15144 \begin_layout Standard
15145 W dalszych sekcjach opisano polecenia RCS obsługiwane przez LyX-a.
15146 Możesz je znaleźć w menu
15151 lik\SpecialChar \menuseparator
15161 \begin_layout Subsubsection
15167 \begin_layout Standard
15168 Jeśli dokument nie jest objęty kontrolą wersji, to wyświetlone jest tylko
15170 A jeśli dokument jest objęty kontrolą wersji, to te polecenie jest wyłączone.
15173 \begin_layout Standard
15174 To polecenie rejestruje dokument w RCS.
15175 Zostaniesz zapytany o początkowy opis dokumentu.
15176 Dokument jest teraz w trybie TylkoDoOdczytu i aby dokonać jego edycji musisz
15182 Dokument objęty kontrolą wersji ma oznaczenie w buforze: [RCS:<version>
15186 \begin_layout Standard
15189 ci -q -u -i -t-"<initial description>" <file-name>
15192 \begin_layout Standard
15197 aby poznać parametry wywołania polecenia.
15200 \begin_layout Subsubsection
15204 \begin_layout Standard
15205 Gdy skończyłeś edycję pliku wprowadź zmianę do RCS.
15206 Gdy to zrobisz, zostaniesz zapytany o opis zmian, który zostanie zapisany
15207 w historii dokumentu.
15208 Numer wersji zostanie zwiększony, a twoje zmiany dopisane do głównego pliku
15210 Dokument jest odblokowany i ustawiony w tryb TylkoDoOdczytu.
15213 \begin_layout Standard
15216 ci -q -u -m"<description>" <file-name>
15219 \begin_layout Subsubsection
15223 \begin_layout Standard
15224 Za pomocą tego polecenia blokujemy dokument dla siebie i możemy go edytować.
15225 Polecenie ustawia plik w tryb ZapisOdczyt tylko dla Ciebie.
15226 Możesz kontynuować edycję do czasu, aż do wydania polecenia
15231 W wierszu statusowym zaznaczone jest że plik został zablokowany.
15234 \begin_layout Standard
15237 co -q -l <file-name>
15240 \begin_layout Subsubsection
15241 Wróć do ostatniej wersji
15244 \begin_layout Standard
15245 Polecenie usuwa wszystkie wprowadzone zmiany do dokumentu od czasu ostatniej
15246 rewizji (zwolnienia).
15247 Zostaniesz przedtem ostrzeżony.
15250 \begin_layout Standard
15253 co -f -u<version> <file-name>
15256 \begin_layout Subsubsection
15257 Usuń ostatnio wprowadzone zmiany
15260 \begin_layout Standard
15261 Wynikiem polecenia jest jak gdyby ostatnia rewizja się nie zdarzyła.
15262 W dokumencie LyX-a nie są dokonywane żadne zmiany, ale ostatnia wersja
15263 jest usuwana z głównego pliku RCS.
15266 \begin_layout Standard
15269 rcs -o<version> <file-name>
15274 \begin_layout Subsubsection
15275 Pokaż historię zmian
15278 \begin_layout Standard
15279 Polecenie wyświetla pełną historię dokumentu.
15280 Wyświetlony zostaje
15289 aby poznać więcej informacji.
15292 \begin_layout Section
15293 Literate Programming
15296 \begin_layout Standard
15299 Edmar Wienskoski Jr.
15302 (edmar-w-jr@technologist.com)
15305 \begin_layout Subsection
15309 \begin_layout Standard
15310 The main purpose of this documentation is to show you how to use LyX for
15311 literate programming.
15312 Where it is assumed that you are familiar with this programming technique,
15314 \begin_inset Quotes eld
15318 \begin_inset Quotes erd
15322 \begin_inset Quotes eld
15326 \begin_inset Quotes erd
15330 If that is not the case, please follow the web links provided in the following
15332 There is a lot of good documentation out there covering old development
15333 history to the latest tools tips.
15336 \begin_layout Standard
15337 It is also assumed that you are familiar with LyX itself to a point that
15338 you are comfortable changing your
15342 file, and X resources file.
15343 If that is not the case please refer to other LyX documentation to cover
15344 your specific needs.
15347 \begin_layout Subsection
15348 Literate Programming
15351 \begin_layout Standard
15352 From the Literate Programming FAQ :
15355 \begin_layout Quotation
15356 Literate programming is the combination of documentation and source together
15357 in a fashion suited for reading by human beings.
15358 In fact, literate programs should be enjoyable reading, even inviting!
15359 (Sorry Bob, I couldn't resist!) In general, literate programs combine source
15360 and documentation in a single file.
15361 Literate programming tools then parse the file to produce either readable
15362 documentation or compilable source.
15363 The WEB style of literate programming was created by D.E.
15364 Knuth during the development of his TeX typesetting software.
15367 \begin_layout Standard
15368 Another excerpt says:
15371 \begin_layout Quotation
15374 How is literate programming different from verbose commenting?
15377 \begin_layout Quotation
15378 There are three distinguishing characteristics.
15379 In order of importance, they are:
15383 \begin_layout Itemize
15384 flexible order of elaboration
15387 \begin_layout Itemize
15388 automatic support for browsing
15391 \begin_layout Itemize
15392 typeset documentation, especially diagrams and mathematics
15396 \begin_layout Standard
15397 Now that I sparked your curiosity, take a look in the references.
15400 \begin_layout Subsubsection
15404 \begin_layout Standard
15405 The complete Literate Programming FAQ can be found at:
15408 \begin_layout Quote
15409 http://shelob.ce.ttu.edu/daves/faq.html
15412 \begin_layout Standard
15413 The FAQ lists 23 (twenty three !) different literate programming tools.
15414 Where some are specialized or
15415 \begin_inset Quotes eld
15419 \begin_inset Quotes erd
15422 for particular programming languages, while other have general scope.
15427 for my own use for several reasons:
15430 \begin_layout Itemize
15431 It can generate the documentation either in latex or html.
15434 \begin_layout Itemize
15435 It has a open architecture, i.e., it is easy to plug in new filters and to
15436 perform special processing that you may need.
15439 \begin_layout Itemize
15440 There is a good selection of filters available already (the html is one
15444 \begin_layout Itemize
15448 \begin_layout Standard
15449 The Noweb web page can be found at:
15452 \begin_layout Quote
15453 http://www.cs.virginia.edu/~nr/noweb
15456 \begin_layout Standard
15457 Starting from there you can reach many other interesting links and even
15458 some literate program examples.
15461 \begin_layout Subsection
15462 LyX and Literate Programming
15465 \begin_layout Standard
15466 Some changes to LyX were required to enable it to interact with Noweb.
15467 Those changes were rather simple, and were done in a
15468 \begin_inset Quotes eld
15472 \begin_inset Quotes erd
15475 way, i.e., I expect that you will be able to use this new LyX feature with
15476 some other literate programming tool of your choice by just re-configuring
15480 \begin_layout Subsubsection
15481 Generowanie dokumentów i kodu (weaving and tangling)
15484 \begin_layout Paragraph
15485 Wybor klasy dokumentu
15488 \begin_layout Standard
15489 If you have installed Noweb and LyX successfully, whenever you open a new
15490 document or try to change the document class of an existing one, you will
15491 find that there are three new document classes available:
15494 \begin_layout Itemize
15498 \begin_layout Itemize
15502 \begin_layout Itemize
15506 \begin_layout Standard
15507 You must select one of them to create your literate documents from.
15510 \begin_layout Standard
15511 Note that literate documents are not limited to these three classes.
15512 New classes can be generated from other styles like letter or in combination
15513 with other class variations like Article (AMS).
15514 I have limited the choice to these three because I didn't want to clog
15515 the list of options with all possible variations.
15516 If you have special needs that cannot be covered by one of the existing
15517 classes, let me know and I will arrange to insert a new entry, or teach
15522 \begin_layout Plain Layout
15523 It is very simple, it involves the creation of a file with four lines, and
15524 re-running of the auto configuration.
15529 a new set of document classes for it.
15532 \begin_layout Paragraph
15536 \begin_layout Standard
15537 LyX enables you to write code with a layout named
15545 \begin_layout Plain Layout
15546 The equivalent Noweb term is
15547 \begin_inset Quotes eld
15551 \begin_inset Quotes erd
15555 For historical reasons, I got used to the term
15556 \begin_inset Quotes eld
15560 \begin_inset Quotes erd
15563 introduced by other literate tool named Nuweb, which I used for many years
15564 before rendering myself to Noweb.
15572 \begin_layout LyX-Code
15576 \begin_layout LyX-Code
15580 \begin_layout LyX-Code
15584 \begin_layout LyX-Code
15588 \begin_layout LyX-Code
15592 \begin_layout Standard
15593 The problem is that whatever is written in between the << and the
15597 must be taken literally, i.e., LyX should be prevented from making any special
15598 interpretation of what has been written.
15599 For that reason, I defined a new layout named Scrap, that works like a
15600 LaTeX paragraph but has a free spacing capability.
15601 In other words, it is a combination of the LaTeX and the LyX-Code layouts.
15604 \begin_layout Standard
15605 The down side of this
15606 \begin_inset Quotes eld
15610 \begin_inset Quotes erd
15613 is that consecutive paragraphs of code will be spaced with one empty line
15614 in the source code and also in the printed documentation.
15615 Of course I don't want this.
15616 The work around is to enter each line of code within a single Scrap, with
15617 a newline (ctrl-return).
15618 The example above will look like this:
15622 \begin_layout Plain Layout
15623 If you have a printed version of this document you will not see any difference
15624 between the previous example and this one.
15630 \begin_inset Newline newline
15634 \begin_inset Newline newline
15638 \begin_inset Newline newline
15642 \begin_inset Newline newline
15648 \begin_layout Standard
15649 This layout works fine.
15650 The only real inconvenience is that you have to type ctrl-return instead
15655 \begin_layout Plain Layout
15656 It is in my list of
15657 \begin_inset Quotes eld
15661 \begin_inset Quotes erd
15669 e to enter a blank character.
15670 I believe these problems are a small price to pay for the benefits LyX
15671 brings to you for typing, compiling, and debugging your literate program.
15674 \begin_layout Paragraph
15675 Generowanie dokumentacji
15678 \begin_layout Standard
15679 At this point you already have a new document file with a proper document
15680 class, and with some code and text on it.
15681 How do I print it ? The answer is simple, you select ,,Update dvi'' or
15682 ,,Update PostScript'' or ,,View dvi'', etc.
15683 Just like you would do for a plain document.
15684 No special procedure is required.
15687 \begin_layout Standard
15688 To help orientate you, I will now explain what happens inside LyX:
15691 \begin_layout Enumerate
15692 When the ,,Update dvi'' menu option is chosen, a latex file is generated.
15696 \begin_layout Standard
15697 If the document is of any literate class the generated file will be named
15698 with an extension name defined by
15704 , otherwise the file will have the usual
15712 \begin_layout Enumerate
15713 Note that the only difference so far is in the name of the file, no special
15714 processing is required by LyX.
15715 Given that you formatted the code using the Scrap layout that, by itself,
15716 takes care of the business.
15719 \begin_layout Enumerate
15720 If the document is of any literate class LyX will execute:
15724 \begin_layout LyX-Code
15725 \begin_inset Quotes eld
15731 \begin_inset Quotes erd
15745 \begin_layout LyX-Code
15746 \begin_inset Quotes eld
15751 literate_error_filter
15752 \begin_inset Quotes erd
15766 \begin_layout Standard
15767 Otherwise it will just skip this step.
15771 \begin_layout Enumerate
15772 Finally, LaTeX is invoked and the regular post processing continues as in
15776 \begin_layout Standard
15783 is to transform the newly created
15794 \begin_layout Standard
15799 literate_error_filter
15801 command is to help LyX display error boxes when the
15807 reports any errors.
15808 This filter can be a C program, a script, or any thing you want.
15809 Its job is to identify error messages from your literate tool, in our case
15810 Noweb, and convert them to a common format that LyX understands.
15811 A separate document,
15815 , in the examples directory (accessed with the
15819 button in the file popup), has a literate C program that can be used to
15820 parse Noweb error messages.
15821 This scheme introduces one more command for the user to configure, but
15822 has the advantage of
15823 \begin_inset Quotes eld
15827 \begin_inset Quotes erd
15831 Moreover, if you don't bother to set it, you can still use the system,
15832 you just loose the ability to have a nice display and interaction with
15833 the error messages.
15836 \begin_layout Paragraph
15840 \begin_layout Standard
15841 When the ,,Build Program'' File menu option is chosen or the corresponding
15842 button in the toolbar is pressed, a latex file with extension
15848 is generated just like step 1 above.
15855 to generate the code and
15861 to process the compilation error messages, as in step 3 above.
15864 \begin_layout Standard
15865 Note that no special processing is required from LyX.
15868 \begin_layout Standard
15869 Also note that I am assuming that you are familiar with Noweb.
15870 In this case you will know what to do to get an executable file starting
15871 from a noweb file (
15876 It is likely that you will create a makefile for that purpose.
15877 For that reason, after LyX creates the noweb file, it invokes the command
15884 , with a default of
15885 \begin_inset Quotes eld
15889 \begin_inset Quotes erd
15893 In case you want to process your literate file with a script, or some other
15894 program, just insert in your lyxrc file an entry with:
15897 \begin_layout LyX-Code
15901 \begin_inset Quotes eld
15904 my_script my_arguments
15905 \begin_inset Quotes erd
15911 \begin_layout Standard
15922 literate_error_filter
15924 only in that the former will identify error messages from your compiler.
15925 The same example program mentioned before can also parse gcc, or xlc error
15927 If you have a different compiler you may want to change this program or
15929 Again, the same comments from the previous section are valid here: this
15930 is optional, you can skip it if you can afford to loose the LyX error handling
15934 \begin_layout Standard
15935 In summary, the ,,Build Program'' internal function sequence is pretty much
15936 like the ,,Update dvi'' one but involving different commands.
15940 \begin_layout LyX-Code
15941 ,,Update dvi'' -> generate .tex
15944 \begin_layout LyX-Code
15945 -> invoke -> show latex errors
15948 \begin_layout LyX-Code
15954 \begin_layout LyX-Code
15958 \begin_layout LyX-Code
15959 ,,Update dvi'' -> generate same -> invoke
15962 \begin_layout LyX-Code
15963 -> invoke -> show latex errors
15966 \begin_layout LyX-Code
15967 on literate doc file with .nw
15976 \begin_layout LyX-Code
15979 _______ -> show literate errors
15982 \begin_layout LyX-Code
15986 \begin_layout LyX-Code
15987 ,,Build Program'' -> generate same -> invoke
15990 \begin_layout LyX-Code
15991 -> show compilation error
15994 \begin_layout LyX-Code
15995 on literate doc file with .nw
16000 \begin_layout LyX-Code
16004 \begin_layout Subsubsection
16008 \begin_layout Standard
16009 There are five new controls that you can put in your lyxrc file:
16012 \begin_layout Description
16019 specifies which literate tool you are going to use.
16020 During normal LyX configuration, the auto configuration script will try
16021 to find the noweb package for you.
16022 If the search is successful, the default value for this control is set
16027 \begin_layout LyX-Code
16028 noweave -delay -index
16031 \begin_layout Standard
16032 Otherwise the default value is set to
16033 \begin_inset Quotes eld
16037 \begin_inset Quotes erd
16044 \begin_layout Description
16051 specifies the filename extension to be used for literate documents.
16052 Some literate tools requires specific file extension names.
16053 The default is set during configuration as either
16054 \begin_inset Quotes eld
16058 \begin_inset Quotes erd
16062 \begin_inset Quotes eld
16066 \begin_inset Quotes erd
16069 , depending on whether the auto configuration found the noweb package or
16073 \begin_layout Description
16081 \begin_inset Quotes eld
16085 \begin_inset Quotes erd
16089 You need to create a makefile to do the tangling, compilation, etc.
16093 \begin_layout Standard
16094 Another way is to maintain the makefile or building script itself as part
16096 That way every project can be compiled with the same command line:
16099 \begin_layout LyX-Code
16100 notangle -Rbuild-script
16107 \begin_layout Standard
16108 To use this scheme, create a script named
16112 that executes the command above:
16115 \begin_layout LyX-Code
16119 \begin_layout LyX-Code
16120 notangle -Rbuild-script $1 | sh
16123 \begin_layout Standard
16124 Finally set LyX to execute the
16131 \begin_layout LyX-Code
16134 build_command project-build
16137 \begin_layout Standard
16138 Every time you start a new project, define a scrap with name
16142 that will do the compilation for that project.
16143 Whenever you select
16144 \begin_inset Quotes eld
16148 \begin_inset Quotes erd
16151 , LyX will extract that scrap (
16153 notangle -Rbuild-script...
16163 \begin_layout Description
16168 literate_error_filter
16170 defaults to ,,cat''.
16171 If you compile the program given in
16173 Literate_example.lyx
16179 \begin_layout LyX-Code
16182 literate_error_filter
16183 \begin_inset Quotes eld
16187 \begin_inset Quotes erd
16193 \begin_layout Standard
16194 to process Noweb(noweave) error messages
16198 \begin_layout Description
16206 \begin_inset Quotes eld
16210 \begin_inset Quotes erd
16214 If you compile the program given in
16216 Literate_example.lyx
16222 \begin_layout LyX-Code
16226 \begin_inset Quotes eld
16230 \begin_inset Quotes erd
16236 \begin_layout Standard
16237 to process both Noweb(notangle) error messages and gcc error messages.
16241 \begin_layout Subsubsection
16242 Rozszerzenia diagnostyczne
16245 \begin_layout Standard
16246 There is also a new function implemented in the LyX server, the ,,server-goto-fi
16247 le-row'' function, to be used with ddd/gdb or other debugger.
16250 \begin_layout Standard
16251 When debugging code with ddd/gdb, it is possible to invoke a text editor
16252 at the current execution position with a single key stroke.
16253 The default ddd configuration for that is shift-ctrl-V.
16254 It happens that you can define the editor command line invocation in ddd
16255 by accessing the edit\SpecialChar \menuseparator
16256 preferences\SpecialChar \menuseparator
16257 helpers window and changing the ,,Edit
16261 \begin_layout Standard
16262 I take advantage of the new created LyX server function and this ddd feature,
16264 \begin_inset Quotes eld
16268 \begin_inset Quotes erd
16274 \begin_layout Quote
16275 echo "LYXCMD:monitor:server-goto-file-row:@FILE@ @LINE@" >~/.lyxpipe.in
16278 \begin_layout Standard
16279 With this, whenever you are using ddd and find a point in the program that
16280 you want to edit, you just press shift-ctrl-V (in the ddd window), and
16281 ddd you forward this information to LyX through the LyX server and then
16282 the LyX window will show the same file with the cursor at the same position
16283 ddd was pointing to.
16284 No more guessing or long scrolling to locate a point in the program back
16288 \begin_layout Standard
16289 Note however that you must enable the LyX server to get this feature working
16290 (it is disabled by default).
16291 To enable it, insert in your lyxrc file:
16294 \begin_layout Quote
16297 serverpipe "/home/<your home directory>/.lyxpipe"
16300 \begin_layout Standard
16301 Read the LyX server documentation for further information.
16304 \begin_layout Subsubsection
16305 Rozszerzenia paska narzędzi
16308 \begin_layout Standard
16309 I created six new buttons that can be added to your LyX toolbar.
16310 Five of these buttons are short cuts to layout styles: Standard, Section,
16311 LaTeX, LyX-Code, and Scrap.
16312 I created those because they are the ones I use most and I was tired of
16313 scrolling the layout menu looking for the one I wanted.
16314 The last one is a short cut to the
16315 \begin_inset Quotes eld
16319 \begin_inset Quotes erd
16325 \begin_layout Standard
16326 LyX has a range of buttons that are available for tool bar customization.
16327 In my toolbar I like to combine the six short cuts above with two more:
16329 \begin_inset Quotes eld
16333 \begin_inset Quotes erd
16337 \begin_inset Quotes eld
16341 \begin_inset Quotes erd
16345 Here is how it looks like:
16348 \begin_layout LyX-Code
16354 \begin_layout LyX-Code
16360 \begin_layout LyX-Code
16363 add layout Standard
16366 \begin_layout LyX-Code
16372 \begin_layout LyX-Code
16378 \begin_layout LyX-Code
16381 add layout LyX-Code
16384 \begin_layout LyX-Code
16390 \begin_layout LyX-Code
16396 \begin_layout LyX-Code
16402 \begin_layout LyX-Code
16408 \begin_layout LyX-Code
16414 \begin_layout LyX-Code
16420 \begin_layout LyX-Code
16424 \begin_layout LyX-Code
16428 \begin_layout LyX-Code
16432 \begin_layout LyX-Code
16438 \begin_layout Subsubsection
16439 Dopasowanie kolorów
16442 \begin_layout Standard
16443 There are a number of colors in LyX that can be customized.
16444 For each one there are two ways to do it: either by inserting a line in
16445 your X resource files, or by adding a flag in the LyX command line.
16448 \begin_layout Standard
16449 One of the things that bothers people is the LaTeX font color.
16450 The default color is red, since the scraps uses LaTeX font, and there is
16451 a lot of scraps in literate documents, you may get tired of seeing everything
16456 \begin_layout Itemize
16457 In the X resource file:
16461 \begin_layout Quote
16462 lyx*LatexColor: gold
16466 \begin_layout Itemize
16467 In the command line:
16471 \begin_layout Quote
16472 lyx -LatexColor gold
16476 \begin_layout Standard
16477 The next thing is the visible presence of the newline character in the screen.
16478 You can choose the color of this particular character and make it blend
16480 I recommend you choosing a color that is close to the background but not
16481 equal, that way you still can see it is there, but it is not bothering
16486 \begin_layout Itemize
16487 In the X resource file:
16491 \begin_layout Quote
16492 lyx*BackgroundColor: gray20
16495 \begin_layout Quote
16496 lyx*NewLineColor: gray35
16500 \begin_layout Itemize
16501 In the command line:
16505 \begin_layout Quote
16506 lyx -BackgroundColor gray20 -NewLineColor gray35
16510 \begin_layout Standard
16511 If you don't like a bright clear background burning your eyes all day long,
16512 you can reverse background and foreground colors with this:
16515 \begin_layout Itemize
16516 In the X resource file:
16520 \begin_layout Quote
16525 \begin_layout Itemize
16526 In the command line:
16530 \begin_layout Quote
16535 \begin_layout Standard
16536 The problem with all those color alterations is that you may need to change
16537 other colors as well to ensure that math, inset, etc, are
16538 \begin_inset Quotes eld
16542 \begin_inset Quotes erd
16545 with respect to the rest.
16546 The following is the selection I use in my own X resource file.
16547 It is just a suggestion.
16548 I encourage you to try to find the color set that work best for you.
16551 \begin_layout LyX-Code
16555 \begin_layout LyX-Code
16556 lyx*MathColor: green
16559 \begin_layout LyX-Code
16560 lyx*LatexColor: gold
16563 \begin_layout LyX-Code
16564 lyx*OnOffLineColor: magenta
16567 \begin_layout LyX-Code
16568 lyx*InsetColor: yellow
16571 \begin_layout LyX-Code
16572 lyx*LightedColor: gray50
16575 \begin_layout LyX-Code
16576 lyx*NewLineColor: gray35
16579 \begin_layout LyX-Code
16580 lyx*BackgroundColor: gray20
16583 \begin_layout Chapter
16587 \begin_layout Standard
16588 Mimo że LyX jest silnym narzędziem, to nie można mieć nadziei na obsługę
16589 wszystkiego co zostało zrobione dla TeX-a/LaTeX-a.
16590 Jednak wiele tricków TeX-a i LaTeX-a może być wykonane w LyX-ie, jeśli
16591 nie obawiasz się użyć przycisku ,,TeX'' z paska narzędzi lub dokonywać
16592 wpisów w preambule LaTeX-a (w menu
16597 kład\SpecialChar \menuseparator
16614 \begin_layout Standard
16615 W tym rozdziale opisano kilka sposobów i pomysłów, aby Twoje dokumenty były
16616 trochę sprytniejsze.
16617 Wypróbuj je w domu i zacznij od czegoś małego i mniej ważnego.
16620 \begin_layout Standard
16621 Większość pomysłów tego rozdziału wymaga mniej podstawowych plików w Twojej
16622 instalacji LaTeX-a.
16623 Jeśli masz system taki jak teTeX, większość będzie już dostępnych.
16624 Kilka jednak będzie trzeba ściągnąć z archiwów CTAN.
16625 Często istnieje kilka dróg do wykonania tego samego lub kilka plików stylów
16626 LaTeX-a które robią te same rzeczy.
16627 Nie chcemy przedkładać jednego pakietu nad inne, po prostu chcemy wykonać
16628 określone zadanie za pomocą określonego pliku.
16631 \begin_layout Section
16632 Triki w przypisach i marginaliach
16635 \begin_layout Standard
16641 \begin_layout Subsection
16645 \begin_layout Standard
16646 LyX jeszcze nie potrafi ustawić numeracji przypisów z powrotem od 1 po każdej
16647 sekcji w klasie dokumentu ,,article'' lub zmianie stylu licznika.
16648 Aby to osiągnąć będziesz potrzebował następujących poleceń LaTeX-a:
16651 \begin_layout Standard
16655 \begin_layout Plain Layout
16659 setcounter{footnote}{0}
16668 setcounter{footnote}{0}
16670 ustawi licznik z powrotem na 1
16674 \begin_layout Plain Layout
16675 Licznik został ustawiony na 1.
16683 \begin_layout Standard
16684 Następujące polecenie zmienia numerację przypisów na numerowanie małymi
16686 Zobacz w podglądzie jak to wygląda.
16689 \begin_layout Standard
16693 \begin_layout Plain Layout
16710 \begin_layout Plain Layout
16711 To jest przykład przypisu numerowanego alfabetycznie.
16712 \begin_inset Newline newline
16730 Następne polecenie ustawia styl licznika z powrotem na domyślny, np.
16741 \begin_layout Plain Layout
16758 \begin_layout Plain Layout
16769 aby przywrócić styl licznika na domyślny -- numeryczny
16779 \begin_layout Standard
16810 i innych stylów liczników.
16813 \begin_layout Subsection
16817 \begin_layout Standard
16818 Tutaj znajdują się dwa przykłady jak wstawić marginalia przy użyciu poleceń
16822 \begin_layout Standard
16823 Następujące polecenie utworzy poziomą linię pojawiającą obok tekstu:
16826 \begin_layout Standard
16833 rule[-10mm]{30mm}{5mm}}
16839 \begin_layout Plain Layout
16845 rule[-10mm]{30mm}{5mm}}
16853 \begin_layout Standard
16854 Zobacz na wydruku co robi następujące polecenie.
16857 \begin_layout Standard
16861 \begin_layout Plain Layout
16870 Right -- wstawi notkę marginesową na ,,złej'' stronie dwustronnego dokumentu.
16871 \begin_inset Marginal
16874 \begin_layout Plain Layout
16881 \begin_layout Plain Layout
16898 \begin_layout Section
16899 Skład wieloszpaltowy
16902 \begin_layout Standard
16908 \begin_layout Subsection
16912 \begin_layout Standard
16917 \begin_layout Plain Layout
16918 Przypis edytora: Oryginalny rozdział Lars'a był pełnym opisem zastosowania
16924 jednak był on zbyt długi do włączenia go do tego dokumentu.
16925 Dlatego wybrałem najważniejsze tematy (przepraszam Lars); możesz przeczytać
16926 oryginalny rozdział w przykładowym pliku
16928 examples/multicol.lyx
16936 jest przedstawienie jak można użyć LaTeX-owy pakiet
16940 w dokumencie LyX-a.
16943 \begin_layout Standard
16944 LyX jako taki jeszcze nie obsługuje pakietu
16948 natywnie, ale mamy na to swój sposób.
16949 Po przeczytaniu tej sekcji powinieneś umieć go wykorzystać.
16952 \begin_layout Subsection
16956 \begin_layout Standard
16961 pozwala na przełączanie pomiędzy jedną a wieloma szpaltami na jednej stronie.
16962 Przypisy są obsługiwane poprawnie (w większej części), ale zostaną umieszczone
16963 u dołu strony i nie pod odpowiednią kolumną.
16964 LaTeX-owy mechanizm wstawek jest częściowo zablokowany w aktualnej implementacj
16966 Od tego momentu tylko wstawki o szerokości strony mogą być używane wewnątrz
16967 wspomnianego środowiska.
16970 \begin_layout Subsection
16974 \begin_layout Subsubsection
16978 \begin_layout Standard
16979 Jeśli chcesz mieć dwie szpalty w tekście, u trybie LaTeX-a wstaw polecenie
16984 begin{multicols}{2}
16986 w miejscu, od którego chcesz zacząć dwie szpalty i wstaw polecenie
16992 w miejscu, gdzie chcesz je zakończyć.
16996 \begin_layout Standard
17000 \begin_layout Plain Layout
17004 begin{multicols}{2}
17012 \begin_layout Standard
17017 The Adventure of the Empty House
17020 \begin_inset Newline newline
17025 Sir Arthur Conan Doyle
17028 \begin_layout Standard
17031 It was in the spring of the year 1894 that all London was interested, and
17032 the fashionable world dismayed, by the murder of the Honourable Ronald
17033 Adair under most unusual and inexplicable circumstances.
17034 The public has already learned those particulars of the crime which came
17035 out in the police investigation, but a good deal was suppressed upon that
17036 occasion, since the case for the prosecution was so overwhelmingly strong
17037 that it was not necessary to bring forward all the facts.
17038 Only now, at the end of nearly ten years, am I allowed to supply those
17039 missing links which make up the whole of that remarkable chain.
17040 The crime was of interest in itself, but that interest was as nothing to
17041 me compared to the inconceivable sequel, which afforded me the greatest
17042 shock and surprise of any event in my adventurous life.
17046 \begin_layout Standard
17049 Even now, after this long interval, I find myself thrilling as I think of
17050 it, and feeling once more that sudden flood of joy, amazement, and incredulity
17051 which utterly submerged my mind.
17052 Let me say to that public, which has shown some interest in those glimpses
17053 which I have occasionally given them of the thoughts and actions of a very
17054 remarkable man, that they are not to blame me if I have not shared my knowledge
17055 with them, for I should have considered it my first duty to do so, had
17056 I not been barred by a positive prohibition from his own lips, which was
17057 only withdrawn upon the third of last month.
17060 \begin_layout Standard
17064 \begin_layout Plain Layout
17076 \begin_layout Subsubsection
17077 Układ wieloszpaltowy
17080 \begin_layout Standard
17081 Ten sam przepis jest używany gdy chcesz utworzyć więcej niż dwie szpalty:
17084 \begin_layout Standard
17088 \begin_layout Plain Layout
17092 begin{multicols}{3}
17100 \begin_layout Standard
17103 It can be imagined that my close intimacy with Sherlock Holmes had interested
17104 me deeply in crime, and that after his disappearance I never failed to
17105 read with care the various problems which came before the public.
17106 And I even attempted, more than once, for my own private satisfaction,
17107 to employ his methods in their solution, though with indifferent success.
17108 There was none, however, which appealed to me like this tragedy of Ronald
17110 As I read the evidence at the inquest, which led up to a verdict of willful
17111 murder against some person or persons unknown, I realized more clearly
17112 than I had ever done the loss which the community had sustained by the
17113 death of Sherlock Holmes.
17114 There were points about this strange business which would, I was sure,
17115 have specially appealed to him, and the efforts of the police would have
17116 been supplemented, or more probably anticipated, by the trained observation
17117 and the alert mind of the first criminal agent in Europe.
17118 All day, as I drove upon my round, I turned over the case in my mind and
17119 found no explanation which appeared to me to be adequate.
17120 At the risk of telling a twice-told tale, I will recapitulate the facts
17121 as they were known to the public at the conclusion of the inquest.
17124 \begin_layout Standard
17128 \begin_layout Plain Layout
17140 \begin_layout Standard
17141 Możesz mieć więcej niż trzy szpalty jeśli chcesz, ale to nie będzie przyjemne
17145 \begin_layout Subsubsection
17146 Szpalty wewnątrz szpalty
17149 \begin_layout Standard
17150 Możesz umieścić szpalty wewnątrz szpalty:
17153 \begin_layout Standard
17157 \begin_layout Plain Layout
17161 begin{multicols}{2}
17169 \begin_layout Standard
17172 The Honourable Ronald Adair was the second son of the Earl of Maynooth,
17173 at that time governor of one of the Australian colonies.
17174 Adair's mother had returned from Australia to undergo the operation for
17175 cataract, and she, her son Ronald, and her daughter Hilda were living together
17179 \begin_layout Standard
17183 \begin_layout Plain Layout
17187 begin{multicols}{2}
17195 \begin_layout Standard
17198 The youth moved in the best society--had, so far as was known, no enemies
17199 and no particular vices.
17200 He had been engaged to Miss Edith Woodley, of Carstairs, but the engagement
17201 had been broken off by mutual consent some months before, and there was
17202 no sign that it had left any very profound feeling behind it.
17203 For the rest {sic} the man's life moved in a narrow and conventional circle,
17204 for his habits were quiet and his nature unemotional.
17208 \begin_layout Standard
17212 \begin_layout Plain Layout
17224 \begin_layout Standard
17227 Yet it was upon this easy-going young aristocrat that death came, in most
17228 strange and unexpected form, between the hours of ten and eleven-twenty
17229 on the night of March 30, 1894.
17232 \begin_layout Standard
17235 Ronald Adair was fond of cards--playing continually, but never for such
17236 stakes as would hurt him.
17237 He was a member of the Baldwin, the Cavendish, and the Bagatelle card clubs.
17238 It was shown that, after dinner on the day of his death, he had played
17239 a rubber of whist at the latter club.
17240 He had also played there in the afternoon.The evidence of those who had
17241 played with him-- Mr.
17242 Murray, Sir John Hardy, and Colonel Moran--showed that the game was whist,
17243 and that there was a fairly equal fall of the cards.
17244 Adair might have lost five pounds, but not more.
17245 His fortune was a considerable one, and such a loss could not in any way
17247 He had played nearly every day at one club or other, but he was a cautious
17248 player, and usually rose a winner.
17249 It came out in evidence that, in partnership with Colonel Moran, he had
17250 actually won as much as four hundred and twenty pounds in a sitting, some
17251 weeks before, from Godfrey Milner and Lord Balmoral.
17252 So much for his recent history as it came out at the inquest.
17255 \begin_layout Standard
17259 \begin_layout Plain Layout
17271 \begin_layout Standard
17272 Proszę przeczytać plik
17274 examples/multicol.lyx
17276 dla poznania bardziej zaawansowanych przykładów włączania odstępów pomiędzy
17277 szpaltami i nagłówkiem, pionowych linii separujących i innych.
17280 \begin_layout Section
17281 Numeracja w środowisku wyliczenia akapitów
17284 \begin_layout Standard
17290 \begin_layout Standard
17291 \begin_inset VSpace bigskip
17297 \begin_layout Standard
17298 Domyślna numeracja akapitów w środowisku wyliczenia zaczyna się od cyfr
17299 arabskich, a kończy się na dużych literach alfabetu.
17300 Prawdopodobnie jednak będziesz chciał inaczej numerować akapity.
17301 Oto przykład jak zmienić schemat numeracji:
17304 \begin_layout LyX-Code
17314 \begin_layout LyX-Code
17324 \begin_layout LyX-Code
17334 \begin_layout LyX-Code
17344 \begin_layout Standard
17345 \SpecialChar \ldots{}
17346 który zmienia schemat na następujący: cyfry rzymskie, duże litery, cyfry
17347 arabskie i małe litery.
17348 Ponadto poprzedni przykład także dodaje kropkę do numeracji.
17349 Na przykład pierwszy akapit pierwszego poziomu będzie oznaczony ,,I.''.
17350 Dla lepszej orientacji opiszemy jak wygląda numeracja z użyciem naszego
17351 schematu: <,,I.'', ,,A.'', ,,1.'', ,,a.)''>.
17354 \begin_layout Standard
17355 Można zobaczyć w przykładzie, gdzie są polecenia dla każdego zagnieżdżonego
17362 \SpecialChar \ldots{}
17369 , podobnie jak liczniki,
17373 \SpecialChar \ldots{}
17379 Znajduje się także pięć poleceń ,,drukowania numeru'',
17409 , każdy z nich pobiera jeden licznik jako argument.
17410 Można dodać znaki przed lub po, ale nie ma potrzeby dodawania spacji.
17413 \begin_layout Standard
17414 Możesz rzeczywiście otrzymać ozdobny schemat numeracji, na przykład:
17417 \begin_layout LyX-Code
17431 \begin_layout LyX-Code
17443 \begin_layout LyX-Code
17453 \begin_layout LyX-Code
17463 \begin_layout Standard
17464 Otrzymujemy wówczas następującą numerację: <,,#A#'', ,,A.1'', ,,a+'', ,,(i)''>.
17467 \begin_layout Section
17468 Przestrzeń pomiędzy wierszami tabel
17471 \begin_layout Standard
17477 \begin_layout Standard
17478 \begin_inset VSpace bigskip
17484 \begin_layout Standard
17485 LaTeX pozwala wstawiać trochę wolnego miejsca pomiędzy wierszami tabeli
17486 przez podanie opcjonalnego argumentu końca wiersza (
17495 Ta metoda nie jest formalnie zaimplementowana w LyX-ie, ale podajemy dwa
17496 drobne tricki do wykonania tego samego zadania.
17499 \begin_layout Standard
17500 Pierwszy sposób jest bardziej formalny, ale bardziej zawikłany.
17501 W preambule należy dodać następującą definicję polecenia:
17504 \begin_layout Standard
17511 extratablespace}[1]{
17516 \begin_layout Standard
17517 To polecenie pobiera pojedynczy argument -- ilość miejsca, którą chcesz
17519 Wstaw polecenie w pierwszej kolumnie następnego wiersza gdzie chciałbyś
17520 aby pojawiło się wolne miejsce.
17521 Oto przykład (usunąłem wszystkie ramki używając
17526 kład\SpecialChar \menuseparator
17536 \begin_layout Standard
17537 \begin_inset VSpace 0.3cm
17543 \begin_layout Standard
17545 \begin_inset Tabular
17546 <lyxtabular version="3" rows="4" columns="3">
17548 <column alignment="center" valignment="top" width="0pt">
17549 <column alignment="center" valignment="top" width="0pt">
17550 <column alignment="center" valignment="top" width="0pt">
17552 <cell alignment="center" valignment="top" usebox="none">
17555 \begin_layout Plain Layout
17561 <cell alignment="center" valignment="top" usebox="none">
17564 \begin_layout Plain Layout
17570 <cell alignment="center" valignment="top" usebox="none">
17573 \begin_layout Plain Layout
17581 <cell alignment="center" valignment="top" usebox="none">
17584 \begin_layout Plain Layout
17590 <cell alignment="center" valignment="top" usebox="none">
17593 \begin_layout Plain Layout
17599 <cell alignment="center" valignment="top" usebox="none">
17602 \begin_layout Plain Layout
17610 <cell alignment="center" valignment="top" usebox="none">
17613 \begin_layout Plain Layout
17617 \begin_layout Plain Layout
17621 extratablespace{2ex}
17631 <cell alignment="center" valignment="top" usebox="none">
17634 \begin_layout Plain Layout
17640 <cell alignment="center" valignment="top" usebox="none">
17643 \begin_layout Plain Layout
17651 <cell alignment="center" valignment="top" usebox="none">
17654 \begin_layout Plain Layout
17660 <cell alignment="center" valignment="top" usebox="none">
17663 \begin_layout Plain Layout
17669 <cell alignment="center" valignment="top" usebox="none">
17672 \begin_layout Plain Layout
17686 \begin_layout Standard
17687 \begin_inset VSpace 0.3cm
17693 \begin_layout Standard
17694 Drugi sposób jest szybszy.
17695 Po prostu umieść w odpowiednim wierszu opcjonalny argument końca wiersza.
17696 Żadne eleganckie definicje nie są potrzebne jak w poprzednim przykładzie,
17697 ale dodawane będzie więcej miejsca, ponieważ de facto dodawany jest pusty
17698 wiersz plus odstęp.
17699 Jeśli zbyt dużo jest dodawanego miejsca to użyj liczby ujemnej, jak w przykładz
17703 \begin_layout Standard
17704 \begin_inset VSpace 0.3cm
17710 \begin_layout Standard
17712 \begin_inset Tabular
17713 <lyxtabular version="3" rows="4" columns="3">
17715 <column alignment="center" valignment="top" width="0pt">
17716 <column alignment="center" valignment="top" width="0pt">
17717 <column alignment="center" valignment="top" width="0pt">
17719 <cell alignment="center" valignment="top" usebox="none">
17722 \begin_layout Plain Layout
17728 <cell alignment="center" valignment="top" usebox="none">
17731 \begin_layout Plain Layout
17737 <cell alignment="center" valignment="top" usebox="none">
17740 \begin_layout Plain Layout
17748 <cell alignment="center" valignment="top" usebox="none">
17751 \begin_layout Plain Layout
17757 <cell alignment="center" valignment="top" usebox="none">
17760 \begin_layout Plain Layout
17766 <cell alignment="center" valignment="top" usebox="none">
17769 \begin_layout Plain Layout
17777 <cell alignment="center" valignment="top" usebox="none">
17780 \begin_layout Plain Layout
17784 \begin_layout Plain Layout
17800 <cell alignment="center" valignment="top" usebox="none">
17803 \begin_layout Plain Layout
17809 <cell alignment="center" valignment="top" usebox="none">
17812 \begin_layout Plain Layout
17820 <cell alignment="center" valignment="top" usebox="none">
17823 \begin_layout Plain Layout
17829 <cell alignment="center" valignment="top" usebox="none">
17832 \begin_layout Plain Layout
17838 <cell alignment="center" valignment="top" usebox="none">
17841 \begin_layout Plain Layout
17855 \begin_layout Standard
17856 \begin_inset VSpace 0.3cm
17862 \begin_layout Standard
17863 To pozwala szybko wykonać pracę, ale zdarza się, że brzydko wygląda.
17866 \begin_layout Section
17870 \begin_layout Standard
17876 \begin_layout Standard
17877 \begin_inset VSpace bigskip
17883 \begin_layout Standard
17888 \begin_layout Plain Layout
17894 tmpfont}{cmr17 scaled 2500}{
17906 \begin_layout Standard
17911 \begin_layout Plain Layout
17922 i którzy lubią styl starych książek prawdopodobnie także lubią ,,inicjały''
17923 --- tę wielką literę rozpoczynającą każdy nowy rozdział czy sekcję.
17924 Implementacja tego jest prosta (zakładając, że znasz trochę plain TeX-a!)
17925 ale nie wymaga wiele pracy i powtórzeń, co mogłeś zobaczyć na początku
17926 akapitu w brzydkim trybie TeX-a.
17929 \begin_layout Standard
17933 \begin_layout Plain Layout
17939 bigdrop{-1em}{3}{ptmri}{I}+
17944 stnieje oczywiście o wiele łatwiejsza droga.
17953 ) z archiwum CTAN pozwala na prostszą metodę uzyskania inicjałów w dokumencie.
17954 Od jakiegoś czasu pakiet ten nie jest standardową częścią teTeX-a.
17955 Nie mogę go zademonstrować w tym dokumencie ale jeśli skopiujesz ten akapit
17956 do nowego dokumentu, usuniesz ,,
17962 '' oraz znaki plus z kodu TeX-a na początku akapitu i dodasz do preambuły
17967 usepackage{dropcaps}
17969 to otrzymasz literę I zapisaną czcionką Times Roman Italic o wysokości
17970 trzech wierszy tekstu przesuniętą o 1 em za margines.
17971 Pierwszym argumentem jest wielkość wcięcia, ujemna wartość powoduje przesunięci
17972 e inicjału za margines.
17973 Drugi argument zawiera wysokość inicjału, podaje się ją w wierszach.
17974 Trzeci argument jest nazwą czcionki, czcionki wirtualne posiadające pliki
17975 tfm powinny działać (przebrnij przez katalog
17977 .../texmf/fonts/tfm
17979 aby sprawdzić możliwości).
17980 Moim osobistym faworytem jest
17984 , ozdobna czcionka niemiecka specjalnie zaprojektowana do inicjałów.
17985 Czwartym argumentem jest litera lub litery, które mają być inicjałem.
17988 \begin_layout Standard
17992 \begin_layout Plain Layout
18007 \begin_layout Plain Layout
18010 Aby zobaczyć wynik pracy pakietu
18014 to należy wykonać czynności podobne jak poprzednio, jedynie w preambule
18019 usepackage{dropping}
18028 także oferuje polecenie
18034 o identycznej składni jak w pakiecie
18038 , a także trochę uproszczone polecenie
18044 trzech argumentach.
18045 Pierwszy -- opcjonalny -- określa odległość od lewego marginesu -- domyślnie
18047 Drugi zawiera wysokość inicjału podawaną w wierszach.
18048 Trzecim argumentem jest litera lub litery, które mają być inicjałem.
18051 \begin_layout Section
18052 Niestandardowe kształty akapitów
18055 \begin_layout Standard
18061 \begin_layout Standard
18062 \begin_inset VSpace bigskip
18068 \begin_layout Standard
18072 \begin_layout Plain Layout
18079 \begin_layout Plain Layout
18083 \begin_layout Plain Layout
18092 \begin_layout Plain Layout
18106 \begin_layout Standard
18111 \begin_layout Plain Layout
18122 \begin_layout Plain Layout
18131 \begin_layout Plain Layout
18140 \begin_layout Plain Layout
18149 \begin_layout Plain Layout
18158 \begin_layout Plain Layout
18167 \begin_layout Plain Layout
18176 \begin_layout Plain Layout
18185 \begin_layout Plain Layout
18194 \begin_layout Plain Layout
18203 \begin_layout Plain Layout
18212 \begin_layout Plain Layout
18221 \begin_layout Plain Layout
18230 \begin_layout Plain Layout
18239 \begin_layout Plain Layout
18248 \begin_layout Plain Layout
18257 \begin_layout Plain Layout
18266 \begin_layout Plain Layout
18275 \begin_layout Plain Layout
18284 \begin_layout Plain Layout
18293 \begin_layout Plain Layout
18302 \begin_layout Plain Layout
18311 \begin_layout Plain Layout
18320 \begin_layout Plain Layout
18329 \begin_layout Plain Layout
18338 \begin_layout Plain Layout
18344 Oto nadszedł czas, w
18345 \begin_inset space ~
18348 którym musimy obalić tyranię prostokątnych akapitów.
18349 W tej sytuacji, wywołamy do tego radosne polecenie plain TeX-a
18356 Jak możesz zobaczyć, w pełni dowolny kształt może być osiągnięty przez
18357 odpowiednie ustawienie definicji długości wiersza.
18358 Ten kształt akapitu może wyglądać trochę idiotycznie, chyba że wyobrazimy
18359 sobie sytuację taką jak dokładnie ustawione inicjały, oblane tekstem rysunki
18360 o nieregularnym kształcie itp.
18361 dające wrażenie ręcznej pracy.
18364 \begin_layout Standard
18365 \begin_inset VSpace bigskip
18371 \begin_layout Standard
18376 parshape numlines #1indent #1length #2indent #2length \SpecialChar \ldots{}
18383 określa liczbę wierszy tekstu która definiuje akapit.
18384 Jeśli liczba wierszy będzie mniejsza od założonej, to kształt zostanie
18386 Jeśli zaś wierszy będzie więcej niż założono, to kolejne nadmiarowe wiersze
18387 zachowają parametry ostatniego definiowanego wiersza.
18396 określają odstęp wiersza od lewego marginesu i długość wiersza mierzone
18398 Kształt dotyczy tylko bieżącego akapitu, następny akapit jest formatowany
18402 \begin_layout Standard
18406 \begin_layout Plain Layout
18418 \begin_layout Section
18422 \begin_layout Standard
18423 Jak można zobaczyć, przykłady w tym rozdziale zaczynają się od użytecznych
18425 Nie spodziewam się aby ktoś potrzebował kształtu akapitu jak ostatnim rozdziale
18426 , ale ważne jest to że możesz zrobić prawie wszystko co chcesz w LyX-ie
18427 jeśli będziesz miał ochotę wyobrazić sobie jak to zrobić w TeX-u i LaTeX-u.
18430 \begin_layout Standard
18431 TeX jest fantastycznym systemem składu i jego możliwości są dostępne dla
18432 Ciebie przez LyX-a wykorzystującego go w tle.
18436 \begin_layout Standard