1 #LyX 2.1 created this file. For more info see http://www.lyx.org/
7 % DO NOT ALTER THIS PREAMBLE!!!
9 % This preamble is designed to ensure that the manual prints
10 % out as advertised. If you mess with this preamble,
11 % parts of the manual may not print out as expected. If you
12 % have problems LaTeXing this file, please contact
13 % the documentation team
14 % email: lyx-docs@lists.lyx.org
20 % set fonts for nicer pdf view
21 \IfFileExists{lmodern.sty}
22 {\usepackage{lmodern}}{}
24 \fi % end if pdflatex is used
26 % the pages of the TOC are numbered roman
27 % and a PDF-bookmark for the TOC is added
29 \let\myTOC\tableofcontents
30 \renewcommand{\tableofcontents}{%
31 \pdfbookmark[1]{\contentsname}{}
34 \pagenumbering{arabic}}
36 % used for multi-column text
39 % extra space for tables
40 \newcommand{\extratablespace}[1]{\noalign{\vskip#1}}
42 \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
43 \use_default_options false
51 \maintain_unincluded_children false
54 InsetLayout CharStyle:MenuItem
63 \newcommand*{\menuitem}[1]{{\sffamily #1}}
68 \language_package default
73 \font_typewriter default
75 \font_default_family default
76 \use_non_tex_fonts false
82 \default_output_format default
84 \bibtex_command default
85 \index_command default
89 \pdf_title "LyX's Additional Features manual"
90 \pdf_author "LyX Team"
91 \pdf_subject "LyX's additional features documentation"
92 \pdf_keywords "LyX, Documentation, Additional"
94 \pdf_bookmarksnumbered true
95 \pdf_bookmarksopen false
96 \pdf_bookmarksopenlevel 1
101 \pdf_pdfusetitle false
102 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
105 \use_package amsmath 1
106 \use_package amssymb 1
107 \use_package cancel 0
109 \use_package mathdots 1
110 \use_package mathtools 0
111 \use_package mhchem 1
112 \use_package stackrel 0
113 \use_package stmaryrd 0
114 \use_package undertilde 0
116 \cite_engine_type default
120 \paperorientation portrait
130 \paragraph_separation indent
131 \paragraph_indentation default
132 \quotes_language german
135 \paperpagestyle headings
136 \tracking_changes false
137 \output_changes false
146 LyX -- Zaawansowane możliwości
154 \begin_layout Plain Layout
156 Opiekunem tego pliku jest aktualnie
161 Proszę wysyłać komentarze i poprawki błędów na podany adres.
167 \begin_inset Newline newline
171 \begin_inset Newline newline
178 \begin_layout Plain Layout
180 Opiekunem wersji polskiej tego pliku jest aktualnie
184 tlu@technodat.com.pl.
185 Proszę wysyłać komentarze i poprawki błędów na podany adres.
190 przy współpracy Pawła Dziekońskiego
197 \begin_layout Plain Layout
209 \begin_layout Standard
210 \begin_inset CommandInset toc
211 LatexCommand tableofcontents
218 \begin_layout Chapter
222 \begin_layout Standard
227 , który właśnie czytasz jest właściwie drugą częścią
229 Podręcznika Użytkownika
232 Powód podziału jest prosty:
234 Podręcznik Użytkownika
236 jest już dość obszerny i zawiera opis wszystkich podstawowych funkcji,
237 które trzeba poznać do przygotowania większości dokumentów.
240 \begin_layout Standard
241 LyX Team ma długoterminowy cel tworzenia rozszerzeń LyX-a przez różne pliki
243 To oznacza, że jeśli chcesz obsługiwać pakiet LaTeX-a
247 , to możesz utworzyć plik układu dla tego pakietu bez konieczności dokonywania
248 samodzielnie zmian w LyX-ie.
249 Już przyczyniliśmy się do powstania kilku nowych funkcji tą drogą.
250 Ten podręcznik, to jest miejsce, gdzie wszystko to udokumentowano.
253 \begin_layout Standard
254 Ten podręcznik dokumentuje także kilka funkcji specjalnych, jak faksowanie,
255 kontrola wersji, obsługa SGML-u, które wymagają dodatkowego oprogramowania
257 Ostatni rozdział traktuje o narzędziach i sposobach LaTeX-a, które można
258 zastosować do wykończenia Twoich dokumentów używając funkcji LaTeX-a.
259 Poza tym LyX jest tylko edytorem WYSIWYM i będzie zawsze tylko interfejsem
260 do pewnych funkcji LaTeX-a.
261 Oczywiście, z udokumentowanymi wszystkimi funkcjami.
264 \begin_layout Standard
265 Jeśli nie przeczytałeś jeszcze wprowadzenia, to właśnie czytasz niewłaściwy
267 Wprowadzenie jest pierwszym miejscem, od którego powinieneś zacząć.
268 Opisuje on notację i format wszystkich podręczników.
269 Powinieneś gruntownie zaznajomić się z
271 Podręcznikiem Użytkownika
273 i wszystkimi podstawowymi funkcjami LyX-a.
276 \begin_layout Standard
277 Wiele rozdziałów w tym dokumencie jest niezależnymi artykułami napisanymi
278 przez pojedyncze osoby i są one odpowiednio zaznaczone.
279 Tymi osobami są generalnie ci, którzy napisali nowy plik układu (layout)
280 dla nowej klasy dokumentu lub pakietu LaTeX-a, lub zaimplementowali jakąś
282 Jeśli nie wspomniano o autorze w rozdziale lub sekcji to znaczy, że został
283 napisany przez LyX Documentation Team.
286 \begin_layout Standard
287 Pierwszy rozdział stanowi suplement do narzędzi edycyjnych LyX-a, nie ujętych
290 Podręczniku Użytkownika
292 i przeznaczony jest dla bardziej zaawansowanych użytkowników.
295 \begin_layout Standard
296 Wszystkie rozdziały tego podręcznika są w różnym stopniu, ale jednak, opisują
297 współpracę LyX-a i LaTeX-a, pierwszy rozdział opisuje wewnętrzną pracę
298 LyX-a, jak prosto LyX tworzy kod LaTeX-a jeśli chcesz.
299 To jest oczywiste dla wielu użytkowników LyX-a.
302 \begin_layout Chapter
306 \begin_layout Section
307 Jak LyX używa LaTeX-a
310 \begin_layout Standard
311 To jest rozdział dla TeX-ników i dla ciekawych LaTeX-a.
312 Wyjaśnimy w nim jak pracują LyX i LaTeX tworząc wynikowe dokumenty do druku.
313 Tylko w tym miejscu i tylko w tym podręczniku zakładamy Twoją znajomość
317 \begin_layout Standard
318 Od jakiegoś czasu LyX-a nazywamy ,,WYSIWYM frontendem do LaTeX'', ale to
319 nie jest dalej prawdą.
320 Istnieją również inne frontendy do LaTeX-a.
321 To są generalnie edytory potrafiące uruchomić LaTeX-a i zaznaczać błędy
331 uruchomić LaTeX-a, i również zaznaczać błędy, i także wiele, wiele więcej.
332 Dzięki koncepcji WYSIWYM
336 \begin_layout Plain Layout
337 What You See Is What You Mean -- dostajesz to o co Ci chodzi
342 , nie musisz znać LaTeX-a aby efektywnie używać LyX-a.
343 LyX posiada także kilka rozszerzeń do LaTeX-a
347 \begin_layout Plain Layout
348 The Team did this for parsing/coding reasons.
349 The new macros allow LyX to more easily produce LaTeX code and ensure that
350 the resulting code is correct.
351 Nothing that you, the user, need worry about.
357 Spróbuj kiedyś wybrać polecenie
359 Eksportuj\SpecialChar \menuseparator
369 i spójrz na preambułę utworzonego pliku
374 Będziesz mógł zauważyć różne nowe makra zdefiniowane specjalnie przez LyX-a
378 \begin_layout Plain Layout
379 Trochę historii: kiedyś wszystkie makra znajdowały się w pliku
384 Pewnego dnia The Team zdecydował, że utworzone pliki
388 powinny być bardziej przenośne.
389 Tak teraz makra są umieszczone w preambule.
395 Jednak to wszystko dzieje się przeźroczyście dla użytkownika.
398 \begin_layout Standard
399 Mamy kilka poleceń, które automatycznie wywołują LaTeX-a.
403 \begin_layout Itemize
406 Podgląd\SpecialChar \menuseparator
410 \begin_layout Itemize
413 Podgląd\SpecialChar \menuseparator
417 \begin_layout Itemize
420 Podgląd\SpecialChar \menuseparator
421 Aktualizuj\SpecialChar \menuseparator
425 \begin_layout Itemize
428 Podgląd\SpecialChar \menuseparator
429 Aktualizuj\SpecialChar \menuseparator
433 \begin_layout Itemize
436 Plik\SpecialChar \menuseparator
440 \begin_layout Standard
441 Tylko te polecenia wywołują LaTeX-a jeśli dokument się zmienił od czasu
442 ostatniego uruchomienia LaTeX-a
445 \begin_layout Standard
446 Podczas uruchomienia LaTeX-a podczas edycji pliku, LyX wykonuje następujące
450 \begin_layout Enumerate
455 do LaTeX-a i zapisuje plik z rozszerzeniem
462 \begin_layout Enumerate
463 Uruchamia LaTeX-a z plikiem
467 (być może kilka razy).
470 \begin_layout Enumerate
471 Jeśli są błędy , to zaznacza je w dokumencie.
474 \begin_layout Standard
475 Jeśli uruchamiasz LaTeX-a poleceniem podglądu
488 Jeśli użyłeś polecenia podglądu
499 , LyX wykonuje dwa kroki więcej:
502 \begin_layout Itemize
507 do konwersji pliku Dvi do pliku postscriptowego:
511 \begin_layout Itemize
516 , plik wyjściowy ma rozszerzenie
521 \begin_layout Itemize
529 , plik wyjściowy ma rozszerzenie
533 , jak można było się spodziewać.
537 \begin_layout Itemize
542 lub wysyła plik postscriptowy do drukarki.
545 \begin_layout Section
546 ,,Pomocy! LyX utworzył nieczytelny plik
553 \begin_layout Standard
554 Użytkownicy LaTeX-a będą krzyczeć to przez całą noc, gdy deklaracje LyX-a
555 są nie do wykorzystania --- oni po prostu nie czytali dokumentacji do LyX-a
560 \begin_layout Plain Layout
565 : I know a certain faculty member who actually did complain to me that LyX
566 doesn't generate LaTeX files.
567 Ain't it funny how, sometimes, faculty are the worst at reading instructions?
575 \begin_layout Standard
576 Należy postawić sprawę jasno.
577 LyX produkuje dwa rodzaje plików LaTeX-owych.
578 Jedne są czytelne dla ludzi.
579 Inne są czytelne dla LyX-a.
580 Za każdym wywołaniem LaTeX-a przez LyX-a, tworzy on plik LaTeX-a, który
581 może być łatwo skanowany w celu poszukiwania błędów.
586 nie jest czytelny dla ludzi.
587 Nie próbuj go czytać.
588 Jeśli chcesz mieć plik
592 aby móc wysłać go koledze, to wybierz polecenie
594 Eksportuj\SpecialChar \menuseparator
607 \begin_layout Standard
608 Powtórzymy to jeszcze raz, specjalnie dla podkreślenia :
611 \begin_layout Standard
612 \begin_inset VSpace 0.23cm
623 móc wysłać koledze, to wybierz polecenie
625 Eksportuj\SpecialChar \menuseparator
638 \begin_layout Standard
639 \begin_inset VSpace 0.23cm
645 \begin_layout Section
646 Importowanie plików LaTeX-a do LyX-a
647 \begin_inset CommandInset label
649 name "sec:Importowanie-plików-LaTeX-a"
656 \begin_layout Standard
659 You can import a LaTeX file into LyX by using the
664 ile\SpecialChar \menuseparator
669 mport\SpecialChar \menuseparator
677 This will call a program named
681 ---which will create a file
689 ---and then open that file.
692 \begin_layout Standard
698 will translate most legal LaTeX, but not everything.
699 It will leave things it doesn't understand in TeX mode, so after translating
704 , you can look for red text and hand-edit it to look right.
707 \begin_layout Standard
710 If you just want to put a piece of LaTeX code into a LyX file, see
713 \begin_inset CommandInset ref
715 reference "sec:latexcodes"
722 \begin_layout Section
723 Wstawianie poleceń LaTeX-a do dokumentów LyX-a
726 \begin_layout Standard
727 \begin_inset CommandInset label
729 name "sec:latexcodes"
733 To jest raczej ważny punkt: możesz zawsze wstawić kod LaTeX-a do dowolnego
735 LyX po prostu nie może i prawdopodobnie nigdy nie będzie mógł wyświetlić
736 wszystkich możliwych konstrukcji LaTeX.
737 Jeśli potrzebujesz wstawić polecenie LaTeX-a do dokumentu LyX-a, to użyj
738 wstawki ERT, którą możesz wstawić do dokumentu poleceniem
743 staw\SpecialChar \menuseparator
751 Wstawka ERT może występować w trzech formach:
764 Pierwsze dwie formy są podobne do innych rozwijalnych wstawek (takich jak
766 wstawka przypisu) i są wygodne do zaznaczenia poleceń LaTeX-a.
771 wstawki wyświetla jej zawartość, co jest wygodne dla krótkich fragmentów
777 \begin_layout Plain Layout
787 \begin_layout Standard
788 Możesz przełączać się pomiędzy tymi formami przez kliknięcie prawym klawiszem
790 Uwaga jeśli chcesz więcej niż jeden wiersz poleceń LaTeX-a, to nie możesz
798 \begin_layout Standard
799 Tutaj jest przykład wstawienia poleceń LaTeX-a w dokumencie LyX-a.
803 \begin_layout LyX-Code
807 \begin_inset Newline newline
813 \begin_inset Newline newline
816 This is an example for a minipage environment.
818 \begin_inset Newline newline
821 can put nearly everything in it, even (non-floating)
822 \begin_inset Newline newline
827 \begin_inset Newline newline
833 \begin_inset Newline newline
837 \begin_inset Newline newline
843 \begin_inset Newline newline
849 \begin_inset Newline newline
855 \begin_inset Newline newline
860 \begin_inset Newline newline
866 \begin_inset Newline newline
872 \begin_inset Newline newline
878 \begin_inset Newline newline
886 \begin_layout Standard
887 Wstawka ERT zawierająca powyższy tekst jest umieszczona bezpośrednio po
889 Jeśli czytasz ten podręcznik w LyX-ie, to zobaczysz tylko przycisk z czerwonym
891 Czytając drukowaną wersję tego podręcznika zobaczysz rezultaty:
894 \begin_layout Standard
898 \begin_layout Plain Layout
905 \begin_layout Plain Layout
912 \begin_layout Plain Layout
914 This is an example for a minipage environment.
915 You can put nearly everything in it, even (non-floating) figures and tables.
919 \begin_layout Plain Layout
926 \begin_layout Plain Layout
931 \begin_layout Plain Layout
938 \begin_layout Plain Layout
945 \begin_layout Plain Layout
952 \begin_layout Plain Layout
958 \begin_layout Plain Layout
965 \begin_layout Plain Layout
972 \begin_layout Plain Layout
979 \begin_layout Plain Layout
991 \begin_layout Standard
992 Ponadto możesz utworzyć oddzielny plik zawierający skomplikowaną strukturę
993 LaTeX-a i dołączyć go poleceniem
998 staw\SpecialChar \menuseparator
1005 (powinieneś wybrać opcję
1013 Zalecamy abyś dołączał pliki
1022 W innym wypadku będziesz miał sporo zajęcia z wyszukiwaniem błędów\SpecialChar \ldots{}
1026 \begin_layout Standard
1027 Kilka ostatnich uwag o wyróżnieniu:
1030 \begin_layout Itemize
1031 Wewnątrz LyX-a, kod LaTeX-a pojawia się
1038 \begin_layout Itemize
1043 sprawdza poprawności Twojego kodu LaTeX-owego,
1046 \begin_layout Itemize
1047 Staraj się nie odkrywać koła na nowo.
1050 \begin_layout Standard
1051 Na koniec dwie uwagi.
1052 Po pierwsze, LyX posiada niewiele funkcji całkowicie wbudowanych ale będzie
1054 Bądź pewien, sprawdzając podręcznik, że danej funkcji LyX nie posiada zanim
1055 zaczniesz kodować ją w LaTeX-u
1059 \begin_layout Plain Layout
1064 -a: I seem to do this an awful lot.
1065 Sat down and merrily began coding something to print out labels, only to
1066 learn that there were already 2 different LaTeX packages to do this.
1067 Worse yet - I had them already!
1073 Po drugie istnieje wiele pakietów LaTeX-a począwszy od składu etykiet czy
1074 kopert do ładnych wielostronicowych tabel.
1075 Przejrzyj archiwum CTAN aby poznać więcej szczegółów.
1078 \begin_layout Standard
1079 Jeśli potrzebujesz zrobić trochę dzikich i ładnych rzeczy wewnątrz dokumentu,
1080 bądź pewien swoich konstrukcji korzystając z dobrej książki o LaTeX-u.
1084 \begin_layout Standard
1085 Pewna liczba poleceń LaTeX-a musi być umieszczona przed początkiem tekstu.
1086 Powinny one zostać umieszczone w preambule co opisano w następnej sekcji.
1089 \begin_layout Section
1090 Preambuła LyX-a i LaTeX-a
1093 \begin_layout Subsection
1097 \begin_layout Standard
1098 Jeśli już znasz LaTeX-a, to nie potrzebujesz tutaj wyjaśnienia do czego
1100 Jeśli nie wiesz, to dajemy Ci kilka porad -- zalecamy abyś znów zapoznał
1101 się z książką o LaTeX-u aby poznać więcej informacji.
1102 W innym przypadku powinieneś czytać poniższe sekcje, ponieważ w nich jest
1103 wyjaśnione co możesz zrobić i czego nie musisz zrobić w preambule LyX-owego
1107 \begin_layout Standard
1108 Preambuła LaTeX-a znajduje się na samym początku dokumentu
1116 \begin_layout Itemize
1117 deklaracji klasy dokumentu.
1118 LyX już wykonuje to za Ciebie.
1122 \begin_layout Standard
1123 Jeśli jesteś LaTeX-nikiem i masz już trochę dopasowanych klas dokumentów,
1124 których chcesz używać, to zajrzyj do podręcznika
1128 aby dowiedzieć się jak wykonać do nich interfejs.
1129 Nie zapomnij wysłać swoich osiągnięć do LyX Team-u aby je włączyć do przyszłych
1134 \begin_layout Itemize
1135 deklaracji używanych pakietów.
1136 Pakiety LaTeX-a dostarczają specjalne polecenia, które są dostępne w dokumencie
1137 tylko jeśli zadeklarujemy pakiet w preambule.
1142 wymusza wcinanie wszystkich akapitów.
1143 istnieją pakiety dla etykiet, kopert, marginesów itd.
1146 \begin_layout Itemize
1147 ustawiania liczników, zmiennych, długości i szerokości.
1148 Istnieje kilka liczników LaTeX-a i zmiennych, które
1152 być ustawione globalnie z poziomu preambuły, aby uzyskać żądany efekt [istnieją
1153 inne zmienne, które można ustawiać także wewnątrz dokumentu].
1154 Marginesy są dobrym przykładem czegoś co musi być ustawione w preambule.
1155 Innym przykładem jest format nalepek na listy.
1156 Możesz ustawić je gdziekolwiek, ale najlepszym miejscem do tego jest preambuła.
1159 \begin_layout Itemize
1160 deklaracji definiowanych przez użytkownika poleceń [za pomocą polecenia
1173 ], głównie skrótów dla poleceń LaTeX-a, które występują często w tekście
1175 Mimo to preambuła jest dobrym miejscem na deklaracje poleceń, które
1179 być deklarowane gdziekolwiek indziej [byleby
1183 ich pierwszym użyciem w tekście].
1184 To może być użyteczne jeśli mamy wiele kodu LaTeX-a w dokumencie, który
1185 normalnie nie powinien się zdarzyć.
1188 \begin_layout Standard
1189 LyX dodaje do preambuły własne definicje podczas tworzenia pliku
1194 To czyni dokumenty LaTeX-a utworzone przez LyX-a przenośnymi.
1197 \begin_layout Subsection
1201 \begin_layout Standard
1202 Polecenia, które dodaje LyX do preambuły są zafiksowane i nie możesz ich
1203 zmienić bez samodzielnego patchowania LyX-a.
1204 Możesz jednak dodać własne rzeczy do preambuły.
1205 Możesz to zrobić na dwa sposoby:
1208 \begin_layout Enumerate
1224 Otworzy się wówczas okno, w którym możesz wpisać swoje polecenia.
1228 \begin_layout Standard
1229 Edytor preambuły jest prymitywny, nie spodziewaj się po nim zbyt wiele.
1233 \begin_layout Enumerate
1234 Utwórz w swoim domyślnym szablonie dokumentu odpowiednie wpisy w preambule.
1235 Wówczas tworząc nowy dokument na jego podstawie preambuła będzie już wpisana.
1238 \begin_layout Standard
1239 LyX nie dodaje niczego do Twojej części preambuły.
1240 Zanim dodasz deklaracje do preambuły powinieneś upewnić się, że nie jest
1241 już to wykonane przez LyX-a [czy pamiętasz co mówiliśmy o ponownym wynalezieniu
1245 dokonuj poprawnych wpisów w preambule
1247 -- LyX nie sprawdza jej poprawności.
1250 \begin_layout Subsection
1254 \begin_layout Standard
1255 Tutaj znajduje się kilka przykładów co można dodać do preambuły:
1258 \begin_layout Subsubsection
1259 Przykład #1: Przesunięcie strony
1262 \begin_layout Standard
1263 Istnieją dwie zmienne LaTeX-a do sterowania pozycją strony:
1276 Ich nazwy są samoobjaśniające.
1277 Te zmienne są użyteczne jeśli w tej chwili o etykietach.
1278 Czasami rozmiar medium i obszar medium, na którym będziesz drukować nie
1280 Wówczas mamy polecenia
1295 \begin_layout Standard
1296 Domyślną wartością dla
1308 jest 0 pt, czyli strona nie jest przesunięta.
1311 \begin_layout Standard
1312 Niestety, niektóre sterowniki DVI wydają się zawsze przesuwać stronę.
1313 Nie mamy pomysłu dlaczego lub dlaczego Twój administrator nie poprawił
1315 Jeśli używasz LyX-a w systemie, którego osobiście nie nadzorujesz, a którego
1316 administrator to ,,doofus'', to polecenia
1328 mogą zaoszczędzić Ci dni.
1329 Na przykład Twoje marginesy lewy i górny są zawsze o pół cala zbyt duże.
1330 Należy wówczas dodać do preambuły następujące polecenia:
1333 \begin_layout LyX-Code
1341 \begin_layout LyX-Code
1349 \begin_layout Standard
1350 \SpecialChar \ldots{}
1351 a Twoje marginesy będą teraz poprawne.
1354 \begin_layout Subsubsection
1355 Przykład #2: Etykiety
1358 \begin_layout Standard
1359 Mówiąc etykiety mamy na myśli wydruk etykiet z adresami.
1360 Istnieje miły pakiet, dostępny w najbliższym Ci archiwum CTAN, do wydruku
1366 Twój system może nie mieć go domyślnie zainstalowanego -- zostawiamy Ci
1368 Pewnie będziesz chciał przeczytać dokumentację pakietu -- my nie zrobimy
1370 Jednak poniższym przykładem podpowiadamy Ci jak z niego skorzystać.
1373 \begin_layout Standard
1374 Po pierwsze wybierz klasę dokumentu
1379 Następnie wpisz do preambuły następujące deklaracje:
1382 \begin_layout LyX-Code
1388 \begin_layout LyX-Code
1394 \begin_layout LyX-Code
1400 \begin_layout LyX-Code
1406 \begin_layout LyX-Code
1412 \begin_layout LyX-Code
1418 \begin_layout LyX-Code
1424 \begin_layout Standard
1425 Te ustawienia są odpowiednie dla arkusza etykiet Avery, nr #5360.
1426 Teraz jesteś gotów do wydruku etykiet, ale potrzeba jeszcze wstawić polecenia
1427 LaTeX umieszczając polecenia
1439 wokół każdego tekstu z treścią etykiety.
1440 Ta i inne funkcje pakietu
1444 są wyjaśnione w dokumentacji.
1447 \begin_layout Standard
1448 Być może, że kiedyś, ktoś napisze plik układu LyX-a do obsługi tego pakietu
1450 Być może to będziesz Ty.
1453 \begin_layout Subsubsection
1454 Przykład #3: Wcięcie akapitu
1457 \begin_layout Standard
1458 Amerykanie są wyćwiczeni we wcinaniu pierwszego wiersza
1463 Tak jak wszystkie inne dziwne quirks, większość Amerykanów będzie wyć i
1464 jęczeć dopóki nie będą mieli wcinanych pierwszych wierszy we wszystkich
1469 \begin_layout Plain Layout
1474 : To było napisane przez Amerykanina -- przeze
1478 ! Tak postrzegam moich rodaków.
1479 Nieprzerwanie ja nie lubię tego.
1489 \begin_layout Plain Layout
1500 \begin_layout Standard
1501 Oczywiście takie zachowanie nie jest standardem w typografii.
1502 W książkach wcinana jest tylko pierwszy wiersz akapitu jeśli ten akapit
1503 występuje po poprzednim akapicie.
1504 Ideą wcinania pierwszego wiersza akapitu jest wyróżnienie sąsiadujących
1506 Jeśli jednak nie ma poprzedniego akapitu, np.
1507 pod rysunkiem lub na początku rozdziału czy sekcji, pierwszy akapit nie
1508 będzie wyróżniony wcięciem.
1511 \begin_layout Standard
1512 Jeśli jesteś amerykaninem, to nie przejmuj się takimi ezoterycznymi rzeczami,
1513 po prostu chcesz mieć wcięcia! Dodaj to do preambuły
1517 \begin_layout Plain Layout
1536 automatycznie wcinają wszystkie akapity.
1544 \begin_layout LyX-Code
1547 usepackage{indentfirst}
1550 \begin_layout Standard
1551 Jeśli Twoja dystrybucja TeX-a nie jest podła, to będziesz miał ten pakiet
1552 zainstalowany i wszystkie akapity będą wcinane tak jak na to zasługują.
1555 \begin_layout Subsubsection
1556 Przykład #4: Ten dokument
1559 \begin_layout Standard
1560 Możesz także sprawdzić jaką preambułę posiada ten dokument, aby poznać jakie
1561 zaawansowane rzeczy możesz zrobić.
1562 Ponadto więcej przykładów co można wpisać do preambuły znajdziesz w tym
1566 \begin_layout Section
1567 Błędy LyX-a i LaTeX-a
1570 \begin_layout Standard
1571 Gdy LyX wywołuje LaTeX-a, informuje go aby ignorował wszelkie błędy i przetwarza
1573 Można to wykorzystać do przejrzenia logu przebiegu LaTeX i wykonania post-morte
1575 Jak wspomnieliśmy wcześniej, LyX tworzy dwa rodzaje plików
1579 , jeden z nich jest używany do lokalizacji błędów w dokumencie.
1580 Jeśli pojawi się błąd, to LyX umieści prostokąt ze słowem ,,Błąd'' w odpowiedni
1581 m miejscu w dokumencie
1585 \begin_layout Plain Layout
1586 LyX okazjonalnie nie odgadnie miejsca, w którym zdarzył się błąd.
1587 To się zdarza zwykle przy tabelach, rysunkach, matematyce i preambule.
1593 Zostanie także wyświetlony komunikat informujący o fakcie wystąpienia błędów
1596 \begin_layout Standard
1597 Możesz nawigować pomiędzy błędami za pomocą polecenia
1609 Możesz ,,otwierać'' znaczniki błędów i podejrzeć komunikaty LaTeX-a przez
1610 kliknięcie na znaczniku.
1613 \begin_layout Standard
1614 Wiele osób lubi zobaczyć wprost cały log, który jest dostępny z menu
1619 odgląd\SpecialChar \menuseparator
1627 Istniej kilka powszechnych komunikatów błędów i ostrzeżeń.
1629 Powinieneś zajrzeć do dobrej książki o LaTeX-u dla zapoznania się z pełną
1633 \begin_layout Itemize
1640 \begin_layout Standard
1641 Komunikat zaczynające się tymi słowy jest komunikatem diagnostycznym LaTeX-a.
1642 Otrzymasz podobne ostrzeżenie gdy dodasz lub zmienisz odnośnik lub wpis
1643 bibliografii, wówczas LaTeX komunikuje Ci, że powinien zostać uruchomiony
1647 \begin_layout Standard
1648 Ostrzeżenie można w większości zignorować.
1652 \begin_layout Itemize
1659 \begin_layout Standard
1660 Inny komunikat ostrzegawczy, tym razem o fontach, których LaTeX nie potrafił
1662 Reszta komunikatu często informuje jakich fontów użył LaTeX w zastępstwie.
1665 \begin_layout Standard
1666 Możesz go bezpiecznie zignorować.
1670 \begin_layout Itemize
1679 \begin_layout Standard
1684 dawać takie komunikaty.
1685 Ostrzeżenia dotyczą wierszy, które są zbyt długie i wystają poza prawy
1687 Prawie zawsze jest to niezauważalne na wydruku.
1688 Albo jeden lub dwa znaki przekraczają prawy margines.
1689 LaTeX zdaje się generować co najmniej jeden taki komunikat dla dowolnego
1690 dokumentu jaki napiszesz.
1693 \begin_layout Standard
1694 Możesz ignorować te głupie komunikaty.
1695 Zobaczysz na własne oczy jeśli coś będzie zbyt szerokie, spójrz na wynik
1700 \begin_layout Itemize
1709 \begin_layout Standard
1710 LaTeX komunikuje nam, że zbyt małe wypełnienie wiersza zmusza go do wstawienia
1711 zbyt dużych odstępów między wyrazami.
1715 \begin_layout Standard
1716 Możesz go także zignorować.
1720 \begin_layout Itemize
1735 \begin_layout Standard
1736 Ostrzeżenie o kłopotach z łamaniem stron -- zbyt małych lub zbyt dużych
1737 odstępach pionowych.
1738 Jeszcze raz spójrz na wynik przetwarzania.
1739 Zobaczysz na własne oczy jeśli coś będzie zbyt szerokie.
1743 \begin_layout Itemize
1747 \begin_inset Quotes els
1751 \begin_inset Quotes ers
1758 \begin_layout Standard
1759 Plik ,,Xxxx'' nie jest zainstalowany w systemie.
1760 Ten komunikat pojawia się często, gdy nie zainstalowałeś pakietów użytych
1762 Jeśli nie dotykałeś preambuły lub nie używałeś polecenia
1768 , to znaczy że brakuje jednego z pakietów, które próbuje załadować LyX.
1774 omoc\SpecialChar \menuseparator
1781 aby zobaczyć listę pakietów znanych LyX-owi.
1782 Ten plik jest uaktualniany podczas każdej rekonfiguracji LyX-a (polecenie
1790 \SpecialChar \menuseparator
1795 ) i zawiera informacje, które pakiety zostały wykryte i do czego służą.
1798 \begin_layout Standard
1809 i pakiet nie został zainstalowany, to należy zainstalować go samodzielnie.
1813 \begin_layout Itemize
1816 LaTeX Error: Unknown option
1820 \begin_layout Standard
1821 Błąd pojawia się gdy podano niezdefiniowaną (lub błędną) opcję użytego pakietu.
1822 Sprawdź dokumentację do pakietu.
1826 \begin_layout Itemize
1829 Undefined control sequence
1833 \begin_layout Standard
1834 Jeśli wstawiłeś polecenie LaTeX w dokumencie, ale popełniłeś np.
1835 błąd literowy, to otrzymasz taki właśnie komunikat błędu.
1836 Być może zapomniałeś załadować jakiś pakiet.
1837 W ogólnym przypadku, komunikat błędu zwykle oznacza, że użyłeś niezdefiniowaneg
1842 \begin_layout Standard
1843 Istnieją jeszcze inne komunikaty błędów i ostrzeżeń, a wiele z nich jest
1845 Podane są częstymi komunikatami.
1846 Inne są naprawdę zaszyfrowane.
1847 To są aktualne komunikaty TeX-a i my na prawdę nie mamy klucza jak je odszyfrow
1851 \begin_layout Standard
1852 Oto ogólny tok postępowania jeśli zdarzy się błąd:
1855 \begin_layout Enumerate
1856 Sprawdź poprawność poleceń LaTeX-a wstawionych w dokumencie.
1859 \begin_layout Enumerate
1860 Jeśli nie ma błędów literowych, to sprawdź poprawność ich użycia.
1863 \begin_layout Enumerate
1864 Jeśli dostaniesz pęk znaczników błędów na samym początku dokumentu, to znaczy,
1865 że jest jakiś błąd w preambule.
1866 Zacznij debugować swoją preambułę.
1869 \begin_layout Enumerate
1870 Jeśli nie dodałeś niczego do preambuły i nie wstawiłeś żadnych poleceń LaTeX-a
1871 do dokumentu, to najpierw sprawdź swoją dystrybucję LaTeX.
1872 Sprawdź brakujące pakiety i zainstaluj je.
1875 \begin_layout Enumerate
1876 OK, nie brakuje pakietów.
1877 Czy nie użyłeś jakieś opcji dopasowującej w LyX-ie? Precyzując, czy nie
1878 użyłeś jej niewłaściwie, jak próba ręcznego wstawienia wielu
1890 s? Czy próbowałeś to kludge coś razem z nimi zamiast użyć odpowiednich środowisk
1894 \begin_layout Enumerate
1895 OK, nie użyłeś żadnej opcji dopasowującej, postępujesz zgodnie z zasadami.
1896 Czy próbowałeś przeprowadzić jakiś fantastyczny manewr? Czy zrobiłeś coś
1897 wspaniałego w tabeli czy równaniu, jak wstawienie grafiki do komórki tabeli?
1900 \begin_layout Enumerate
1901 Czy nie masz zbyt długich akapitów tekstu gdzie LaTeX nie może znaleźć miejsca
1902 na przełamanie wiersza? Domyślnie LaTeX jest dokładny w dodawaniu ekstra
1903 odstępów między wyrazami aby przełamać wiersz.
1904 Proponowane jest przerobienie akapitów aby usunąć ten problem.
1905 Jeśli to nie jest możliwe, możesz objąć swój tekst w
1911 aby obniżyć wymagania LaTeX-a przy łamaniu wierszy.
1914 \begin_layout Enumerate
1915 Czy nie przesadziłeś z zagnieżdżaniem? LyX [aktualnie] nie sprawdza czy
1916 nie przekroczyłeś limitu zagnieżdżenia środowiska.
1917 Jeśli zagnieździłeś środowiska aż do 17 poziomu, to może być problem.
1920 \begin_layout Enumerate
1921 Nie otrzymałeś żadnych komunikatów błędów ale wynik źle wygląda.
1922 Jeśli masz tabelę lub rysunek szerszy lub dłuższy od strony, to powinieneś:
1926 \begin_layout Enumerate
1927 przeskalować rysunek do odpowiednich wymiarów,
1930 \begin_layout Enumerate
1931 skrócić tabelę, tak aby pasowała.
1934 \begin_layout Standard
1935 Jeśli dalej jest źle z wynikiem i nie próbowałeś przeprowadzić żadnych wspaniały
1936 ch lub kludge opcji dopasowujących, to my nie wiemy co jest nie tak.
1940 \begin_layout Standard
1941 Jeśli to nie pomoże, to
1945 znalazłeś błąd w LyX-ie\SpecialChar \ldots{}
1949 \begin_layout Chapter
1950 Dodatkowe narzędzia składu dokumentu
1953 \begin_layout Section
1954 Przygotowanie bibliografii za pomocą BibTeX-a
1957 \begin_layout Standard
1964 \begin_layout Plain Layout
1965 Ressler is to blame for all of Chapter 1 except where noted.
1973 \begin_layout Standard
1974 STOP! jeśli wiesz czym jest BibTeX lub masz dobry pomysł na jego zastosowanie
1976 ułożenie swojej własnej bazy bibliograficznej) nie idź, a biegnij do swojego
1977 egzemplarza drugiego wydania Lamporta
1979 LaTeX: A Document Preparation System
1986 W dalszej dyskusji zakładamy, że masz utworzony poprawny plik bibliografii
1987 oraz masz poprawnie ustawione wszystkie odpowiednie zmienne środowiska
2001 ) oraz jeśli jesteś odpowiednio zdesperowany powinieneś utworzyć plik LaTeX-a
2009 \begin_layout Standard
2010 Dla tych, którzy nie znają BibTeX-a, jest to system do tworzenia wielkich
2011 baz Twoich często używanych odnośników do literatury.
2014 \begin_layout Standard
2015 Dla wszystkich przyszłych artykułów, zapisz tylko potrzebne pozycje literatury
2016 do wstawienia do bazy i oznacz odpowiednim kluczem każdy odnośnik.
2017 Nawet jeśli piszesz tylko kilka dokumentów z kilkoma odnośnikami w każdym,
2018 to warto poświęcić Twój czas na sprawdzenie BibTeX-a i zdecydować czy będzie
2019 użyteczny dla Ciebie.
2022 \begin_layout Standard
2023 Aby używać BibTeX-a w LyX-ie należy najpierw zapoznać się
2025 Podręcznikiem Użytkownika
2027 , w którym opisano sposób wstawiania cytowań.
2028 Podstawowy mechanizm wstawiania odnośników BibTeX-a jest taki sam.
2029 Umieść kursor na końcu dokumentu i wybierz
2034 staw\SpecialChar \menuseparator
2039 pisy\SpecialChar \menuseparator
2047 W otwartym oknie dialogowym wypełnij dwa pola:
2050 \begin_layout Description
2052 \begin_inset space ~
2055 Danych podaj nazwę pliku
2059 ale BEZ rozszerzenia
2064 Dla wyszukiwania w wielu plikach
2068 należy podać ich nazwy rozdzielając je przecinkiem.
2071 \begin_layout Description
2072 Styl podaj nazwę pliku stylu BibTeX-a BEZ rozszerzenia
2077 Domyślnym stylem jest
2085 \begin_layout Plain Layout
2086 Dostępne są również style zgodne z polskimi zwyczajami typograficznymi o
2110 (który powinien być dołączony do Twojej dystrybucji LaTeX-a, tak że nie
2111 musisz przejmować się utworzeniem go).
2114 \begin_layout Standard
2115 Zakładamy, że dla każdego cytowania źródło znajduje się w pliku
2119 , wywołujemy polecenie
2124 staw\SpecialChar \menuseparator
2131 w odpowiednim miejscu w tekście i wybierz z listy właściwy klucz odnośnika.
2132 Nie potrzeba nic więcej; gdy wywołujemy na przykład polecenie
2137 odgląd\SpecialChar \menuseparator
2144 , powinieneś zobaczyć że BibTeX i LaTeX są wywoływane gdy zachodzi potrzeba,
2145 włączając wielokrotne wywołanie LaTeX-a.
2148 \begin_layout Section
2152 \begin_layout Standard
2153 Dobry indeks jest jedną z najtrudniejszych rzeczy do zrobienia w długim
2155 LyX pomaga wykonać rzeczy trochę prościej za pomocą interfejsu do programu
2162 \begin_layout Plain Layout
2163 Dla dokumentów polskojęzycznych powinien być wywoływany program
2176 , który można znaleźć w dystrybucjach.
2179 \begin_layout Standard
2180 Wstawianie indeksu i zaznaczanie słów do włączenia do indeksu odbywa się
2181 taką samą drogą jak przygotowanie bibliografii opisanej w poprzedniej sekcji.
2184 \begin_layout Standard
2185 Najpierw przejdź na koniec swojego dokumentu i wybierz
2190 staw\SpecialChar \menuseparator
2195 pisy\SpecialChar \menuseparator
2203 Następnie, dla każdego słowa, które chcesz dodać do indeksu, umieść kursor
2204 na końcu tego słowa i wybierz
2209 staw\SpecialChar \menuseparator
2210 Wstaw poprzedzające słowo do indeksu
2213 To spowoduje umieszczenie znacznika pokazującego słowo, które pojawi się
2217 \begin_layout Standard
2218 Jeżeli chcesz dokładnie podać co ma pojawić się w indeksie -- na przykład
2219 potrzebujesz mieć słowo ,,kot'' w indeksie, które będzie odnosiło się do
2220 słów w tekście ,,kot'' i ,,koty'' to po prostu wybierz polecenie
2222 Wstaw\SpecialChar \menuseparator
2225 i wpisz słowo ,,kot'' w oknie dialogowym.
2228 \begin_layout Standard
2230 LyX automatycznie wywoła
2234 i samodzielnie utworzy indeks.
2237 \begin_layout Standard
2238 Bądź ostrożny i nie wstawiaj spacji pomiędzy słowem a znacznikiem indeksu,
2239 ponieważ może się zdarzyć utworzenie niewłaściwego numeru strony w indeksie.
2242 \begin_layout Standard
2243 Powinieneś zdawać sobie sprawę, że istnieją bardziej zaawansowane metody
2248 : spójrz w dokumentację dołączoną do Twojej dystrybucji LaTeX-a i znajdź
2249 jak wykonać zagnieżdżone wpisy itp.
2252 \begin_layout Section
2253 Dokumenty wieloczęściowe
2256 \begin_layout Subsection
2260 \begin_layout Standard
2261 Przy pracy z dużymi plikami zawierającymi wiele sekcji i rozdziałów, często
2262 jest wygodniej podzielić dokument na kilka plików lub być może masz ---
2263 perhaps you have something where a table may change from time to time,
2264 but the preceding text does not.
2265 W takim przypadku powinieneś na serio rozważyć użycie dokumentów wieloczęściowy
2267 Na przykład prace naukowe często składają się z pięciu głównych części:
2268 wprowadzenia, obserwacji, wyników, dyskusji i podsumowania.
2269 Każda z tych części może być zapisana w oddzielnym pliku LyX-a, gdzie jeden
2270 plik będzie dokumentem głównym zawierającym tytuł, autorów, streszczenie,
2272 oraz pięć dołączonych plików dokumentów składowych (podrzędnych).
2273 Należy zwrócić uwagę, że każdy z plików podrzędnych włączanych do dokumentu
2274 głównego stanowi niezależny dokument, który może być formatowany i drukowany
2276 Można dołączać również pliki LaTeX-a, ale pliki te nie mogą posiadać własnej
2277 preambuły (wszystko przed
2289 musi być usunięte) gdyż w przeciwnym wypadku LaTeX zgłosi błąd podczas
2290 przetwarzania dokumentu głównego.
2293 \begin_layout Standard
2294 LyX pozwala łatwo włączać pliki poleceniem z menu
2299 staw\SpecialChar \menuseparator
2307 Po wybraniu polecenia otwiera się okno wyboru dokumentu.
2308 Po wybraniu dokumentu do wstawienia/dołączenia, w bieżącej pozycji kursora
2309 wstawiany jest mały prostokąt.
2310 Kliknięcie na prostokącie wyświetla okno dialogowe dołączania dokumentu.
2311 W tym oknie można wybrać plik do dołączenia i metodę dołączenia.
2312 Wybór pliku powinien być już jasny.
2313 W oknie mamy do wyboru trzy metody dołączania plików; ,,dołącz'', ,,wstaw''
2315 Różnica pomiędzy ,,dołącz'' a ,,wstaw'' jest w pełni jasna tylko dla LaTeX-pert
2317 Praktycznie różnica polega na tym, że pliki ,,dołączane'' zaczynają się
2318 od nowej strony, a pliki ,,wstawiane'' od miejsca wstawienia.
2321 \begin_layout Standard
2322 Generalnie, plik główny jest konwertowany do formatu LaTeX przed składaniem,
2323 podczas gdy dołączane pliki są konwertowane do formatu LaTeX, który nie
2325 Zaznaczenie pola Nie
2329 zabezpiecza przed konwersją.
2332 \begin_layout Standard
2333 Dołączanie plików metodą ,,maszynopis'' pozwala na dołączanie ,,dosłowne''
2334 plików w środowisku verbatim z czcionką o stałej szerokości.
2335 Normalnie spacje w pliku są niewidzialne, dwie kolejne spacje są zachowywane,
2336 inaczej niż standardowo w LyX-ie.
2341 pozwala na zachowanie spacji lub przywraca standardową interpretację spacji
2345 \begin_layout Subsection
2346 Odnośniki pomiędzy plikami
2349 \begin_layout Standard
2350 Jest możliwe ustawienie odnośników pomiędzy różnymi plikami.
2351 Najpierw otwórz wszystkie pliki pomiędzy którymi chcesz wykonać odnośniki,
2352 na przykład dwa pliki A i B, gdzie plik B jest dołączony do pliku A.
2353 Wstawiliśmy etykietę w pliku A i chcemy odnośnik do niej w pliku B.
2354 Będąc w dokumencie A z menu wybieramy
2359 staw \SpecialChar \menuseparator
2367 Teraz przełączamy się na dokument B bez zamykania okna odnośnika.
2368 Wstawiamy odnośnik i już!
2371 \begin_layout Standard
2372 Gdy przeglądasz plik A wszystko jest poprawnie dołączone i etykietowane.
2373 Jeśli zamkniesz okno odnośnika i ponownie otworzysz je w dokumencie B to
2374 zobaczysz tylko etykiety pliku B.
2375 Ta procedura może nie jest intuicyjna (czasami zdarza się błąd) ale działa.
2378 \begin_layout Section
2382 \begin_layout Standard
2385 (z konfiguracji LaTeX)
2388 \begin_layout Standard
2393 jest potrzebny do wydania ,,wstawek algorytmów''.
2394 Jest on użyteczny przy umieszczaniu krótkich algorytmów w miejscu złamania
2395 strony i obsługuje także spis algorytmów.
2398 \begin_layout Section
2402 \begin_layout Standard
2405 (z konfiguracji LaTeX)
2408 \begin_layout Standard
2413 jest używany w LyX-ie podczas wyboru ,,Podrysunek'' w oknie Rysunek.
2414 Kilka rysunków zaznaczonych w ten sposób może być upakowanych w jednej
2415 wstawce w indywidualnymi podpisami.
2418 \begin_layout Section
2419 Ozdobne nagłówki i stopki
2423 \begin_layout Plain Layout
2424 Właściwie powinnyśmy używać nazw:
2442 \begin_layout Standard
2443 Domyślny układ strony jest raczej nieskomplikowany -- plain; dla klasy artykuł
2444 numery stron są wycentrowane u dołu strony.
2445 Ten dokument jest klasy książka (book) i jest trochę bardziej ozdobny,
2446 ale aby rzeczywiście postawić na wygląd potrzebujesz użyć stylu ,,fancy''
2449 Podręczniku Użytkownika
2452 Ta sekcja opisuje polecenia LaTeX-a, które trzeba wstawić w preambule lub
2453 w tekście aby otrzymać żądany efekt.
2456 \begin_layout Standard
2457 Nagłówek i stopka strony są podzielone na trzy pola określające lewą, środkową
2459 Poleceniami LaTeX-a do ustawiania tych pól w najprostszy sposób są
2484 przypuśćmy, że chcesz wstawić swoje nazwisko w lewym górnym narożniku każdej
2486 Po prostu wstaw następujące polecenie w preambule:
2489 \begin_layout Standard
2498 \begin_layout Standard
2499 Zobaczysz w podglądzie swoje nazwisko w lewym górnym narożniku każdej strony.
2500 Jeśli pole ma domyślną wartość, której chcesz się pozbyć (często numer
2501 strony pojawia się w centralnej części stopki) to po prostu wstaw polecenie
2502 z pustym argumentem, jak w przykładzie:
2505 \begin_layout Standard
2513 \begin_layout Standard
2514 Zróbmy rzeczywiście ozdobną stronę: wstawmy w nagłówku po lewej nazwę sekcji
2515 wraz ze słowem ,,Sekcja'' (np.
2516 Sekcja 3) oraz numer strony po prawej (np.
2517 Strona 4), natomiast w stopce po lewej swoje nazwisko i datę po prawej.
2518 Do tego będą nam potrzebne następujące polecenia w preambule:
2521 \begin_layout Standard
2531 \begin_layout Standard
2539 \begin_layout Standard
2549 \begin_layout Standard
2558 \begin_layout Standard
2566 \begin_layout Standard
2576 \begin_layout Standard
2589 dają dostęp do liczników sekcji i stron LaTeX-a, i będą wydrukowane w bieżącej
2590 sekcji i numerze strony.
2597 wydrukuje bieżącą datę.
2600 \begin_layout Standard
2601 Cienką linię oddzielającą nagłówek i stopkę od treści strony możemy także
2603 Jeśli nie chcesz linii w nagłówku to ustal jej grubość na 0.
2604 Domyślną grubością linii nagłówkowej jest 0.4pt, dla linii stopki zaś jest
2606 Możesz użyć polecenia
2612 headrulewidth}{0.4pt}
2620 footrulewidth}{0.4pt}
2622 do ustawiania ich grubości.
2625 \begin_layout Standard
2626 Możesz przełączać i wyłączać ustawienia nagłówków/stopek za pomocą poleceń:
2631 thispagestyle{empty}
2637 thispagestyle{plain}
2643 thispagestyle{fancy}
2646 Po prostu wstaw je w tekście na stronie, którą chcesz zmienić i zaznacz
2648 Strony tytułowe są oznaczone domyślnie jako plain, podczas gdy kolejne
2649 strony są w stylu fancy gdy używasz globalnego ustawienia fancy.
2652 \begin_layout Standard
2653 Istnieje wiele złożonych poleceń, które będą wstawiały rzeczy w lewym górnym
2654 narożniku na stronach nieparzystych itd.
2655 ale po szczegóły odsyłamy Cię do dokumentacji pakietu
2660 Na przykład jeśli masz instalację teTeX-a zobacz
2662 /usr/share/texmf/doc/latex/fancyhdr/fancyhdr.dvi
2667 \begin_layout Standard
2668 Końcowym przykładem jest możliwość wstawienia pliku Encapsulated PostScript
2669 do nagłówka lub stopki.
2670 Pewnie będziesz chciał wstawić logo firmy do lewego dolnego narożnika strony.
2671 Spróbuj wstawić następujące polecenie
2674 \begin_layout Standard
2683 includegraphics{logo.eps}}}
2686 \begin_layout Standard
2688 (będzie potrzebne w preambule polecenie
2692 usepackage{graphics}
2697 \begin_layout Section
2701 \begin_layout Standard
2702 LaTeX dostarcza mechanizmu do tworzenia strony wewnątrz strony, zwanych
2703 ministronami (minipages).
2704 Wewnątrz ministrony są dostępne wszystkie zwykłe reguły wcinania, łamania
2706 LyX także dostarcza tę możliwość.
2709 \begin_layout Standard
2710 Ministrony posiadają własną wstawkę, aby wstawić ministronę wybierz polecenie
2716 staw \SpecialChar \menuseparator
2724 Klikając prawym klawiszem myszy na wstawkę otwiera się okienko, w którym
2725 można ustalić wyrównianie i szerokość ministrony.
2728 \begin_layout Standard
2730 Jeśli ministrona jest zbyt długa aby zmieścić się na stronie, to zostanie
2731 skrócona, a nie wcięta na następnej stronie (nie pojawi się reszta na następnej
2735 \begin_layout Standard
2736 Są dwie dalsze opcje ministron.
2737 Jeśli umieścisz dwie ministrony obok siebie, to można wstawić
2742 staw\SpecialChar \menuseparator
2750 nak specjalny\SpecialChar \menuseparator
2753 do maksymalnego rozsunięcia ich, który wymuszi początek pierwszej ministrony
2754 od lewego marginesu a koniec następnej na prawym marginesie.
2755 Sprawdź tą opcję dla drugiej ministrony, nie dla pierwszej.
2758 \begin_layout Standard
2759 \begin_inset Box Frameless
2769 height_special "totalheight"
2772 \begin_layout Plain Layout
2773 To jest ministrona, która nie używa hfill.
2774 To jest drugie zdanie ministrony, która nie używa hfill.
2782 \begin_layout Standard
2783 \begin_inset Box Frameless
2793 height_special "totalheight"
2796 \begin_layout Plain Layout
2797 To jest druga ministrona, która nie używa hfill.
2798 To jest drugie zdanie drugiej ministrony, która nie używa hfill.
2806 \begin_layout Standard
2807 \begin_inset VSpace medskip
2813 \begin_layout Standard
2814 To jest zwykły tekst, który rozdziela dwa przykłady
2817 \begin_layout Standard
2818 \begin_inset VSpace medskip
2824 \begin_layout Standard
2825 \begin_inset Box Frameless
2835 height_special "totalheight"
2838 \begin_layout Plain Layout
2839 To jest ministrona, która używa hfill.
2840 To jest drugie zdanie ministrony, która używa hfill.
2846 \begin_inset space \hfill{}
2850 \begin_inset Box Frameless
2860 height_special "totalheight"
2863 \begin_layout Plain Layout
2864 To jest druga ministrona, która używa hfill.
2865 To jest drugie zdanie drugiej ministrony, która używa hfill.
2873 \begin_layout Section
2874 Oblewanie rysunku tekstem
2877 \begin_layout Standard
2878 \begin_inset Wrap figure
2885 \begin_layout Plain Layout
2886 \begin_inset Graphics
2887 filename ../clipart/mobius.eps
2896 \begin_layout Plain Layout
2897 \begin_inset Caption Standard
2899 \begin_layout Plain Layout
2900 Ten rysunek jest oblany tekstem, a to jest śliczny podpis
2913 \begin_layout Standard
2914 Często zadawanym pytaniem jest pytanie o możliwość ,,oblewania'' rysunków
2915 tekstem w ten sposób, że rysunek zajmuje część kolumny a reszta jest wypełniona
2919 \begin_layout Standard
2920 Obok znajduje się rysunek pętli Moebiusa -- powinieneś go już zobaczyć w
2923 Podręczniku Użytkownika
2926 Aby oblać tekstem rysunek jak ten, nalezy wybrac z menu polecenie
2931 staw\SpecialChar \menuseparator
2939 stawki\SpecialChar \menuseparator
2945 \begin_layout Standard
2946 Uwaga: ten pakiet jest bardzo kruchy
2950 \begin_layout Plain Layout
2951 Kruchy w sensie LaTeX-a.
2959 Dla przykładu, mając rysunek zbyt blisko końca strony będzie zamieszanie
2960 treści powyżej, gdy będziemy mieć dwa rysunki blisko siebie.
2961 Używaj tego pakietu oszczędnie i czytaj dokumentację zawartą w pakiecie.
2964 \begin_layout Standard
2965 Miejmy nadzieję, że w przyszłości LyX będzie obsługiwał te funkcje natywnie.
2968 \begin_layout Section
2972 \begin_layout Standard
2973 Standardowy układ tabel będzie odpowiedni w 99% wszystkich Twoich tabel,
2974 ale w 1% prawdopodobnie będziesz potrzebował tabel specjalnie dostosowanych
2981 kład\SpecialChar \menuseparator
2991 otwiera okno formatowania tabeli.
3000 znajduje się dostęp do kilku poleceń wyrównywania kolumn.
3003 \begin_layout Standard
3004 Teraz krótkie wspomnienie o LaTeX-u: gdy ustawiamy tabelę w LaTeX-u to dla
3005 każdej kolumny deklarujemy typ wyrównania.
3006 Dla przykładu możesz podać ,,
3018 '' dla justowania do lewej, wyśrodkowania i wyrównania kolumny do prawej
3019 (co w LyX-ie objawia się trzema przyciskami
3032 Czwartym typem jest ,,
3036 '', który deklaruje szerokość kolumny (w LyX-ie mamy pole
3040 ) co powoduje automatyczne łamanie wierszy.
3041 Piątym typem jest ,,
3045 '' (vertical bar), który raczej służy do tworzenia pionowych kresek ramek
3046 (w LyX-ie mamy do tego przyciski w polu
3051 Kończąc, istnieje typ ,,
3055 '', który pozwala użyć cokolwiek jako separatora kolumn co jest zamknięte
3056 w towarzyszących nawiasach włączając argument pusty.
3057 Powody robienia tego mogą nie być jasne, ale cechy te mogą być bardzo użyteczne.
3058 Najlepiej to pokazać na przykładach.
3061 \begin_layout Subsection
3062 Usuwanie dodatkowej przestrzeni tabeli
3065 \begin_layout Standard
3066 Tutaj znajduje się standardowa tabela:
3069 \begin_layout Standard
3070 \begin_inset VSpace 0.3cm
3076 \begin_layout Standard
3078 \begin_inset Tabular
3079 <lyxtabular version="3" rows="3" columns="2">
3080 <features rotate="0" tabularvalignment="middle">
3081 <column alignment="left" valignment="top" width="0pt">
3082 <column alignment="left" valignment="top" width="0pt">
3084 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
3087 \begin_layout Plain Layout
3093 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3096 \begin_layout Plain Layout
3104 <cell alignment="left" valignment="top" usebox="none">
3107 \begin_layout Plain Layout
3113 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3116 \begin_layout Plain Layout
3124 <cell alignment="center" valignment="top" usebox="none">
3127 \begin_layout Plain Layout
3133 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3136 \begin_layout Plain Layout
3150 \begin_layout Standard
3151 \begin_inset VSpace 0.3cm
3157 \begin_layout Standard
3158 Zwróć uwagę, że poziome kreski wystają troszkę z obu strona poza tekst.
3159 Jeśli chcesz aby linie zaczynały i kończyły się równo z tekstem, to można
3160 wstawić pusty separator na końcu aby zwolnić trochę miejsca dodawanego
3161 domyślnie przez LaTeX-a.
3165 \begin_layout Standard
3166 \begin_inset VSpace 0.3cm
3172 \begin_layout Standard
3174 \begin_inset Tabular
3175 <lyxtabular version="3" rows="3" columns="2">
3176 <features rotate="0" tabularvalignment="middle">
3177 <column alignment="left" valignment="top" width="0pt" special="@{} l">
3178 <column alignment="left" valignment="top" width="0pt" special="l @{}">
3180 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
3183 \begin_layout Plain Layout
3189 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3192 \begin_layout Plain Layout
3200 <cell alignment="left" valignment="top" usebox="none">
3203 \begin_layout Plain Layout
3209 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3212 \begin_layout Plain Layout
3220 <cell alignment="center" valignment="top" usebox="none">
3223 \begin_layout Plain Layout
3229 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3232 \begin_layout Plain Layout
3246 \begin_layout Standard
3247 \begin_inset VSpace 0.3cm
3253 \begin_layout Standard
3254 W tym przypadku w polu
3262 dla lewej kolumny wpisano ,,
3266 '', natomiast dla prawej wpisano ,,
3270 '', co wstawia puste znaki na końcach.
3273 \begin_layout Subsection
3274 Zmiana znaku separatora kolumn
3277 \begin_layout Standard
3278 Teraz proponujemy zastosowanie
3279 \begin_inset Formula $\sqrt{\pi}$
3282 z odrobiną miejsca obok jako separatora kolumn tabeli.
3283 Po prostu wyłącz pionowe ramki i wpisz w polu
3289 Kolumna specjalna ,,
3301 \begin_layout Standard
3302 \begin_inset VSpace 0.3cm
3308 \begin_layout Standard
3311 \begin_inset Tabular
3312 <lyxtabular version="3" rows="3" columns="2">
3313 <features rotate="0" tabularvalignment="middle">
3314 <column alignment="left" valignment="top" width="0pt">
3315 <column alignment="left" valignment="top" width="0pt" special="@{~$\sqrt{\pi}$~}l">
3317 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
3320 \begin_layout Plain Layout
3326 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
3329 \begin_layout Plain Layout
3337 <cell alignment="left" valignment="top" usebox="none">
3340 \begin_layout Plain Layout
3346 <cell alignment="center" valignment="top" usebox="none">
3349 \begin_layout Plain Layout
3357 <cell alignment="center" valignment="top" usebox="none">
3360 \begin_layout Plain Layout
3366 <cell alignment="center" valignment="top" usebox="none">
3369 \begin_layout Plain Layout
3383 \begin_layout Standard
3384 \begin_inset VSpace 0.3cm
3390 \begin_layout Subsection
3391 Wyrównanie kolumny według cyfr znaczących
3394 \begin_layout Standard
3395 Proponujemy wyrównanie kolumny według cyfr znaczących.
3396 Standardowym trickiem LaTeX-a jest podzielenie liczby na dwie kolumny;
3397 w lewej -- przeznaczonej dla części całkowitej -- wyrównujemy do prawej
3398 strony, a w prawej -- przeznaczonej dla części ułamkowej -- wyrównujemy
3399 do lewej, natomiast separator kolumn ustawiamy jako pusty.
3403 \begin_layout Standard
3404 \begin_inset VSpace 0.3cm
3410 \begin_layout Standard
3412 \begin_inset Tabular
3413 <lyxtabular version="3" rows="5" columns="3">
3414 <features rotate="0" tabularvalignment="middle">
3415 <column alignment="center" valignment="top" width="0pt">
3416 <column alignment="right" valignment="top" width="0pt">
3417 <column alignment="center" valignment="top" width="0pt" special="@{} l">
3419 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
3422 \begin_layout Plain Layout
3428 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3431 \begin_layout Plain Layout
3437 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3440 \begin_layout Plain Layout
3448 <cell alignment="center" valignment="top" usebox="none">
3451 \begin_layout Plain Layout
3452 \begin_inset Formula $\pi$
3460 <cell alignment="right" valignment="top" leftline="true" usebox="none">
3463 \begin_layout Plain Layout
3469 <cell alignment="center" valignment="top" usebox="none">
3472 \begin_layout Plain Layout
3480 <cell alignment="center" valignment="top" usebox="none">
3483 \begin_layout Plain Layout
3484 \begin_inset Formula $\pi^{\pi}$
3492 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3495 \begin_layout Plain Layout
3501 <cell alignment="center" valignment="top" usebox="none">
3504 \begin_layout Plain Layout
3512 <cell alignment="center" valignment="top" usebox="none">
3515 \begin_layout Plain Layout
3516 \begin_inset Formula $(\pi^{\pi})^{\pi}$
3524 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3527 \begin_layout Plain Layout
3533 <cell alignment="center" valignment="top" usebox="none">
3536 \begin_layout Plain Layout
3544 <cell alignment="center" valignment="top" usebox="none">
3547 \begin_layout Plain Layout
3548 \begin_inset Formula $\pi^{\pi^{\pi}}$
3556 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3559 \begin_layout Plain Layout
3565 <cell alignment="center" valignment="top" usebox="none">
3568 \begin_layout Plain Layout
3570 \begin_inset Formula $\times10^{18}$
3586 \begin_layout Standard
3587 \begin_inset VSpace 0.3cm
3593 \begin_layout Standard
3594 Mimo że będzie to wyglądało trochę śmiesznie w LyX-ie, to na wydruku pojawią
3595 się dwukolumnowa tabela, w której prawa kolumna jest wyrównana według cyfr
3596 znaczących, a nagłówek jest wyśrodkowany.
3599 \begin_layout Standard
3600 Myślę, że najlepiej będzie jak opiszę jak to zrobiłem: Najpierw utworzyłem
3601 tabelę 3 x 3 i usunąłem wszystkie ramki.
3602 Następnie dodałem ramki pod nagłówkiem i rozdzielającą pierwszą i drugą
3604 Pierwsza kolumna jest wyśrodkowana.
3605 W drugiej kolumnie wpisałem
3622 , i wyrównałem tę kolumnę do prawej.
3623 W trzeciej kolumnie wpisałem
3634 \begin_inset Formula $\times10^{18}$
3639 oraz ustawiłem wyrównanie
3648 w środkowej kolumnie, podświetliłem je, wyrównałem do prawej.
3652 \begin_layout Subsection
3653 Lepsze rozwiązanie wyrównania według cyfr znaczących
3656 \begin_layout Standard
3657 Alternatywnym rozwiązaniem wyrównania według cyfr znaczących w tabelach
3663 Dodaj następujący tekst do preambuły LaTeX-a:
3666 \begin_layout LyX-Code
3672 \begin_layout LyX-Code
3675 newcolumntype{d}[1]{D{.}{.}{#1}}
3678 \begin_layout Standard
3679 Aby mieć kolumny wyrównane według cyfr znaczących wpisz w polu
3683 w oknie formatu tabeli w zakładce
3690 \begin_layout LyX-Code
3691 d{liczba miejsc dziesiętnych danych}
3694 \begin_layout LyX-Code
3698 [Przykładową tabelę usunięto.
3705 w katalogu examples.]
3708 \begin_layout Standard
3709 Do utworzenia dodatkowego miejsca zwiększ liczbę miejsc dziesiętnych w
3718 dla pojedynczej komórki niewrażliwy na wyrównanie względem cyfr znaczących.
3719 Wadą tej metody jest to, że tryb matematyczny nie jest dopuszczalny w kolumnie
3720 z wyrównaniem względem cyfr znaczących z wyjątkiem jeśli atrybut multicolumn
3724 \begin_layout Standard
3725 Ta metoda oferuje taką samą elastyczność jak pakiet
3730 Możemy, na przykład zmienić separator wyrównania i mamy różne znaki separatorów
3731 dla różnych kolumn przez definicję typów wielokrotnych kolumn w preambule.
3732 Składnia jest następująca:
3735 \begin_layout LyX-Code
3736 D{separator_wej}{separator_wyj}{liczba_miejsc_dzieś}
3739 \begin_layout Standard
3740 Zainteresowanym czytelnikom polecamy dokumentację do pakietu
3747 \begin_layout Section
3748 Wybór znaku wyliczenia
3749 \begin_inset CommandInset label
3758 \begin_layout Standard
3764 \begin_layout Subsection
3768 \begin_layout Standard
3769 LyX dostarcza 216 znaków dostępnych wprost z menu.
3770 Użycie tego menu daje Ci możliwość łatwego wyboru odpowiedniego znaku dla
3771 każdego poziomu zagnieżdżenia wyliczeń.
3772 Te ustawienia są globalne dla całego dokumentu i nie można ustawić różnych
3773 znaków w różnych akapitach
3777 \begin_layout Plain Layout
3778 Można tego dokonać tylko ręcznie
3786 \begin_layout Subsection
3790 \begin_layout Standard
3796 kład\SpecialChar \menuseparator
3810 W zakładce wyświetlona jest tabela znaków wyliczenia.
3811 Za pomocą przycisków umieszczonych po lewej stronie okna mamy dostęp do
3812 sześciu zestawów znaków.
3813 Przyciski umieszczone w górnej części okna przeznaczone są do wyboru głębokości
3814 zagnieżdżenia wyliczenia.
3815 Tekst pod tabelą zestawu znaków wyświetla nazwę LaTeX-a aktualnie wybranego
3817 Można również w tym miejscu podać własne definicje znaku wyliczenia.
3818 Jeśli zmodyfikujesz domyślne ustawienia to będziesz potrzebował podać potrzebne
3819 pakiety w preambule.
3820 Znaki podzielone są na sześć zestawów ze względu na wymagane pakiety.
3821 Poniższa tabela przedstawia przypisanie zestawów do pakietów LaTeX-a.
3824 \begin_layout Standard
3825 \begin_inset VSpace 0.3cm
3831 \begin_layout Standard
3833 \begin_inset Tabular
3834 <lyxtabular version="3" rows="7" columns="2">
3835 <features rotate="0" tabularvalignment="middle">
3836 <column alignment="center" valignment="top" width="0pt">
3837 <column alignment="center" valignment="top" width="0pt">
3839 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3842 \begin_layout Plain Layout
3848 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3851 \begin_layout Plain Layout
3859 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3862 \begin_layout Plain Layout
3870 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3873 \begin_layout Plain Layout
3883 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3886 \begin_layout Plain Layout
3894 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3897 \begin_layout Plain Layout
3907 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3910 \begin_layout Plain Layout
3918 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3921 \begin_layout Plain Layout
3931 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3934 \begin_layout Plain Layout
3942 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3945 \begin_layout Plain Layout
3955 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3958 \begin_layout Plain Layout
3966 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3969 \begin_layout Plain Layout
3979 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3982 \begin_layout Plain Layout
3990 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3993 \begin_layout Plain Layout
4009 \begin_layout Standard
4010 \begin_inset VSpace 0.3cm
4016 \begin_layout Standard
4017 LyX nie zatrzyma Cię przed użyciem znaku z pakietu którego nie masz.
4018 Jeśli otrzymasz komunikat błędu LaTeX-a podczas próby podglądu lub wydruku
4019 będzie on oznaczał brak wymaganego pakietu.
4020 LyX nie będzie ograniczał użycia przy lokalnej edycji i eksporcie gdziekolwiek.
4023 \begin_layout Subsection
4027 \begin_layout Standard
4028 Wybierz przycisk głębokości wyliczenia i następnie wybierz znak i wielkość.
4029 Zmiana nie będzie widoczna w LyX-ie, ale będzie widoczna w podglądzie dokumentu
4030 przy użyciu xdvi lub ghostview.
4033 \begin_layout Standard
4034 Możesz przywrócić domyślny znak wyliczenia przez kliknięcie prawym klawiszem
4035 myszy na przycisku poziomu wyliczenia.
4038 \begin_layout Standard
4039 Jeśli rzeczywiście chcesz mieć wiele układów akapitów z różnymi zestawami
4040 znaków wyliczenia w każdym musisz wykonać trochę brudnej roboty.
4041 Okno wyboru znaku wyliczenia może pomóc w znalezieniu nazwy LaTeX-owej
4043 Aby zrobić własne akapity musisz mieś następującą opcję:
4046 \begin_layout Standard
4050 \begin_layout Plain Layout
4061 \begin_layout Plain Layout
4065 \begin_layout Plain Layout
4087 \begin_layout Itemize
4088 Użyj polecenia LaTeX-a
4094 do specyfikacji nowego znaku wyliczenia dla zadanej głębokości zagnieżdżenia.
4095 To będzie także potrzebne do zapisu bieżącego znaku i jego późniejszego
4096 ponownego przywołania.
4097 W tym wyliczeniu zostały użyte następujące kody LaTeX-a do zmiany znaku
4098 wyliczenia w pierwszym poziomie.
4099 \begin_inset Newline newline
4111 \begin_inset Newline newline
4127 \begin_inset Newline newline
4132 Uwaga głębokość zagnieżdżenia w poleceniu
4138 jest podawana cyframi rzymskimi (podobnie jak numeracja części).
4141 \begin_layout Itemize
4145 \begin_layout Plain Layout
4158 Podaj dla każdego indywidualnego wiersza wyliczenia kod znaku zamknięty
4159 w nawiasy prostokątne i wpisane w trybie TeX.
4160 Na przykład ten wiersz zaczyna się znakiem
4173 \begin_layout Itemize
4174 Poczekaj na LyX 1.2.
4175 Następne stabilne wydanie LyX-a powinna mieć wbudowaną obsługę definiowania
4176 dla każdego wyliczenia oddzielnego zestawu znaków.
4179 \begin_layout Standard
4183 \begin_layout Plain Layout
4199 \begin_layout Standard
4200 Jeśli będziesz potrzebował przywrócić z powrotem poprzednie globalne ustawienia
4201 znaków to należy wpisać:
4202 \begin_inset Newline newline
4216 \begin_layout Chapter
4217 Specjalne klasy dokumentu
4220 \begin_layout Section
4224 \begin_layout Standard
4230 \begin_layout Standard
4231 \begin_inset VSpace bigskip
4237 \begin_layout Standard
4239 Układ AMS-Math jest zestawem styli zalecanymi dla składu pism matematycznych
4240 przesyłanych do wydawnictwa American Mathematical Society.
4241 Układ nie jest przycięty do specyfiki pisma, ale można to łatwo zrobić.
4242 Powinieneś przejrzeć dokumentację AMS pod kątem specyficznych instrukcji
4243 dla każdego pisma (często wymagana jest tylko zmiana w jednym wierszu).
4244 Dokumentacja AMS jest dostępna w internecie na stronie
4245 \begin_inset Flex URL
4248 \begin_layout Plain Layout
4256 \begin_inset Flex URL
4259 \begin_layout Plain Layout
4261 ftp://ftp.ams.org/pub/tex/amslatex/
4267 Te układy są odpowiednie i użyteczne dla zapisu matematyki.
4268 Są aktualnie dostępne różne układy AMS-math:
4271 \begin_layout Enumerate
4272 amsart -- standardowy format artykułu -- AMS article.
4273 Wszystkie równania i wyrażenia są numerowane jako
4274 \begin_inset Formula $(n.m)$
4277 , gdzie pierwsza liczba oznacza sekcję, a druga odpowiada kolejnemu numerowi
4278 środowiska (Theorems, Corollaries, Propositions, Definitions, Remarks,
4280 Istnieje także kilka (ale nie wszystkie) środowisk nienumerowanych, które
4281 są używane okazjonalnie.
4282 Nazwy nienumerowanych środowisk kończą się znakiem gwiazdki (*).
4285 \begin_layout Enumerate
4286 amsart-seq -- tutaj, twierdzenia, definicje itd.
4287 są numerowane kolejno, bez odniesienia do numeru sekcji.
4288 Dostępne są również nienumerowane środowiska (ale nie wszystkie), do okazjonaln
4290 Nazwy nienumerowanych środowisk kończą się znakiem gwiazdki (*).
4293 \begin_layout Enumerate
4294 amsbook - standardowy format książki -- AMS book (prawdziwe monografie).
4295 Numeracja jest podobna jak w układzie amsart, z wyjątkiem numeracji wszystkiego
4297 \begin_inset Formula $(n,m,p)$
4300 , gdzie pierwszy numer odnosi się do numeru rozdziału, drugi do sekcji,
4301 a trzeci jest numerem kolejnym wyrażenia (Theorems, Corollaries, Propositions,
4302 Definitions, Remarks, itd.) w tej sekcji.
4303 Istnieje także kilka (ale nie wszystkie) środowisk nienumerowanych, które
4304 są używane okazjonalnie.
4305 Nazwy nienumerowanych środowisk kończą się znakiem gwiazdki (*).
4308 \begin_layout Standard
4309 Dowolne pliki LyX-a ams-* mogą być konwertowane do schematu przez prostą
4310 zmianę klasy dokumentu w menu
4315 kład\SpecialChar \menuseparator
4325 \begin_layout Subsection
4326 Co daje ten szablon?
4329 \begin_layout Standard
4330 Te układy dostarczają długą listę środowisk.
4331 Najbardziej matematyczne pisma i książki będą korzystać w większości z
4332 tych środowisk, AMS-LaTeX-u sprzyja definiowaniu nieograniczonej liczby
4333 rozmaitych takich deklaracji.
4334 Jednak zalecane przez AMS środowiska są dostępne w LyX-ie.
4335 Oto lista nowych środowisk (nie wyliczamy typowych takich jak
4337 sections, bibliography, title, author, date
4342 \begin_layout Description
4343 Theorem This is typically used for the statements of major results.
4348 '' wyświetlane jest czcionką półgrubą, along with an automatically-determined
4349 number (an unnumbered version,
4353 , is also available).
4354 Tekst jest pochylony.
4357 \begin_layout Description
4358 Corollary This is used for statements which follow fairly directly from
4359 previous statements.
4360 Again, these can be major results.
4368 \begin_layout Description
4369 Lemma These are smaller results needed to prove other statements.
4372 \begin_layout Description
4373 Proposition These are less major results which (hopefully) add to the general
4374 theory being discussed.
4377 \begin_layout Description
4378 Conjecture These are statements provided without justification, which the
4379 author does not know how to prove, but which seem to be true (to the author,
4383 \begin_layout Description
4384 Criterion A required condition.
4387 \begin_layout Description
4388 Algorithm A general procedure to be used.
4391 \begin_layout Description
4392 Axiom This is a property or statement taken as true within the system being
4396 \begin_layout Description
4397 Definition Guess what this is for.
4398 The font, both on-screen and in the output, is different for this environment
4399 than for the previous ones.
4400 The heading (,,definition'') is still set in boldface, along with the number,
4401 if any, but the rest is set upright.
4404 \begin_layout Description
4405 Example Skład jest podobny do Definition.
4408 \begin_layout Description
4412 \begin_layout Description
4416 \begin_layout Description
4420 \begin_layout Description
4421 Remark This environment is also a new type of theorem.
4422 This is set with the word Remark in italics, and the rest upright.
4425 \begin_layout Description
4426 Note Set similarly to the Remark environment.
4429 \begin_layout Description
4433 \begin_layout Description
4437 \begin_layout Description
4441 \begin_layout Description
4445 \begin_layout Description
4446 Case Generally, these are used to break up long arguments, using specific
4447 instances of some condition.
4448 The numbering scheme for cases is on its own, not together with other numbered
4452 \begin_layout Description
4456 \begin_layout Description
4460 \begin_layout Description
4465 '' jest pisane kursywą, but the rest is set upright.
4466 At the end of this environment (other environments can be nested within
4467 this one, of course) a QED symbol (usually a square, but it can vary with
4468 different styles) is placed.
4471 \begin_layout Description
4472 Address Tu powinien być podany stały adres autora.
4475 \begin_layout Description
4477 \begin_inset space ~
4480 Address Tu powinien być podany czasowy adres autora, gdy wysyłał dokument,
4481 o ile jest różny od podanego powyżej w Address.
4484 \begin_layout Description
4485 Email Adres e-mail autora
4488 \begin_layout Description
4489 URL Adres strony internetowej autora.
4492 \begin_layout Description
4493 Keywords Słowa kluczowe i frazy używane do identyfikacji specyficznych dyskutowa
4494 nych tematów w prasie.
4497 \begin_layout Description
4498 Subjectclass These refer to the AMS Subject Classifications, published and
4501 Mathematical Reviews
4504 These are also available online at the AMS cites listed above.
4507 \begin_layout Description
4511 \begin_layout Description
4515 \begin_layout Description
4519 \begin_layout Standard
4520 Ponadto, środowiska automatycznie włączają pakiety AMS-LaTeX i czcionki
4521 AMS, które muszą być dostępne w Twoim systemie, aby można było używać tych
4525 \begin_layout Section
4529 \begin_layout Standard
4534 może być użyta do pisania listów zgodnie z niemiecką konwencją.
4535 Dla Ciebie w folderze
4537 .../lyx/share/templates
4539 znajduje się plik przykładowy, aby było łatwiej zacząć.
4542 \begin_layout Section
4546 \begin_layout Standard
4551 jest alternatywą dla standardowej klasy
4556 Daje ona podobną funkcjonalność, ale można preferować w tym układzie bezszeryfo
4557 we tytularia i jeszcze więcej.
4560 \begin_layout Section
4564 \begin_layout Standard
4574 \begin_layout Subsection
4578 \begin_layout Standard
4579 W tej sekcji opisano jak można użyć LyX-a do pisania artykułów do pism naukowych
4582 Astronomy and Astrophysics
4588 przy użyciu klasy dokumentu
4592 z pakietu makr wydawnictwa Springer.
4593 Ten pakiet może być ściągnięty z serwera ftp Springera
4596 \begin_layout Standard
4597 \begin_inset VSpace medskip
4603 \begin_layout Standard
4605 \begin_inset Flex URL
4608 \begin_layout Plain Layout
4610 ftp://ftp.springer.de/pub/tex/latex/aa
4618 \begin_layout Standard
4619 \begin_inset VSpace medskip
4625 \begin_layout Standard
4626 Instrukcja do A&A Paper jest dostarczana razem z pakietem.
4627 Ten tekst nie ma na celu zastąpienia oryginalnej instrukcji ale jest krótkim
4628 przewodnikiem jak wykorzystać ten format.
4631 \begin_layout Subsection
4635 \begin_layout Standard
4636 Aby zacząć nowy dokument wybieramy z menu
4641 lik\SpecialChar \menuseparator
4656 lik\SpecialChar \menuseparator
4658 \begin_inset space ~
4669 \begin_layout Plain Layout
4670 Zalecamy korzystanie z szablonu.
4671 Either create one yourself, or ask the local system administrator to suply
4672 a site-wide version.
4673 Przykładowy szablon jest częścią standardowej dystrybucji LyX-a.
4681 Jeśli nie użyłeś szablonu to zwróć uwagę na następujące ustawienia:
4684 \begin_layout Itemize
4685 Wybierz klasę dokumentu
4703 \begin_layout Itemize
4716 Układ jest zrobiony za pomocą makr i nie powinieneś niczego zmieniać.
4719 \begin_layout Itemize
4720 Możesz chcieć użyć czcionki
4731 , jako sugerowanej przez wydawnictwo Springer dla jednolitego wyglądu tekstu
4735 \begin_layout Subsection
4739 \begin_layout Standard
4740 Pierwszą rzeczą do wprowadzenia jest dane nagłówkowe.
4741 Które zawierają osiem wpisów, z których kilka jest opcjonalnych.
4745 \begin_layout Itemize
4750 : [wymagane] Zobacz podręcznik Springera.
4753 \begin_layout Itemize
4761 \begin_layout Itemize
4769 \begin_layout Itemize
4777 \begin_layout Itemize
4785 \begin_layout Itemize
4790 : [opcjonalne] jeśli jest więcej niż jeden autor, to komu wysłać odbitki.
4793 \begin_layout Itemize
4798 : [opcjonalne] adres e-mail dla kontaktu z autorem.
4801 \begin_layout Itemize
4809 Received: <date> / Accepted <date>
4812 \begin_layout Standard
4813 Nie potrzeba wydawać polecenia
4819 , jest to robione automatycznie przez LyX gdy nagłówek jest zakończony.
4820 Although the order of the single header entries doesn't matter it is advised
4821 to keep the above sequence, just to get the best optics and meets the layout
4822 of the real document.
4825 \begin_layout Standard
4826 Jeśli chcesz umieścić przypis w nagłówku, np.
4827 dla wskazania twojego aktualnego adresu, możesz użyć standardowego przypisu
4833 staw\SpecialChar \menuseparator
4841 LyX w takim przypadku użyje automatycznie określenia
4850 \begin_layout Standard
4851 In addition to these topics, Springer uses two additional LaTeX commands
4852 that have no counterpart in LyX:
4855 \begin_layout Itemize
4862 do oddzielenia różnych nazw takich jak autorzy, instytucje.
4865 \begin_layout Itemize
4872 to mark corresponding author/institute pairs.
4873 The institutes are numbered sequentially as they appear in the
4877 field, so you have to put a marker to each author.
4880 \begin_layout Standard
4881 In both cases, the appropriate command has to be entered in LyX an marked
4886 \begin_layout Subsection
4890 \begin_layout Standard
4891 Streszczenie powinno się znajdować bezpośrednio za nagłówkiem.
4894 \begin_layout Standard
4895 The only special thing about the abstract environment is that it should
4896 contain an entry with the keywords.
4897 This is not yet implemented for LyX, therefore you have to enter the LaTeX
4904 by hand and mark it as LaTeX code.
4905 Zobacz przykładowy artykuł.
4908 \begin_layout Subsection
4909 Obsługiwane środowiska
4912 \begin_layout Standard
4913 Układ A&A paper obsługuje następujące środowiska dla strukturyzacji tekstu:
4916 \begin_layout Itemize
4922 \begin_layout Itemize
4928 \begin_layout Itemize
4934 \begin_layout Itemize
4940 \begin_layout Itemize
4946 \begin_layout Itemize
4952 \begin_layout Itemize
4958 \begin_layout Itemize
4964 \begin_layout Itemize
4970 \begin_layout Itemize
4976 \begin_layout Itemize
4982 \begin_layout Itemize
4988 \begin_layout Subsection
4989 Polecenia nie obsługiwane przez LyX
4992 \begin_layout Standard
4993 Kilka poleceń układu
4997 nie jest jeszcze obsługiwane w LyX-ie.
4998 Kilka zostało już omówionych.
4999 Dla kompletności poniżej są one wszystkie wypisane:
5002 \begin_layout Itemize
5010 \begin_layout Itemize
5018 \begin_layout Itemize
5026 \begin_layout Itemize
5034 \begin_layout Itemize
5042 \begin_layout Itemize
5050 \begin_layout Itemize
5058 \begin_layout Standard
5059 Jeśli chcesz użyć któregoś z tych poleceń, to musisz wpisać je sam.
5060 I nie zapomnij wpisywać je w trybie LaTeX-a!
5063 \begin_layout Subsection
5064 Wstawki -- rysunki i tabele
5067 \begin_layout Standard
5068 LyX obsługuje niezbędne środowiska wstawek
5070 figure, figure*, table
5076 , dlatego nie wspominamy o nich tutaj więcej.
5079 Podręcznika Użytkownika
5082 Pamiętaj, że tabele powinny być wyrównane lewostronnie.
5083 Do tego celu wybierz tabelę i zmień wyrównanie w
5088 kład\SpecialChar \menuseparator
5096 \begin_layout Standard
5097 Jest tylko jedna specjalna rzecz: rysunki z podpisami.
5098 Aby utworzyć takie rysunki musisz wykonać poniższe kroki:
5101 \begin_layout Enumerate
5102 Utwórz szeroką wstawkę:
5107 staw\SpecialChar \menuseparator
5112 stawki\SpecialChar \menuseparator
5122 \begin_layout Enumerate
5123 Wpisz treść podpisu rysunku.
5126 \begin_layout Enumerate
5131 aby przesunąć kursor powyżej podpisu,
5134 \begin_layout Enumerate
5135 Wstaw swój rysunek (eps),
5138 \begin_layout Enumerate
5139 Ustaw kursor za rysunkiem i wstaw odstęp poziomy:
5144 staw\SpecialChar \menuseparator
5154 \SpecialChar \menuseparator
5162 \begin_layout Enumerate
5163 Przełącz się do trybu LaTeX:
5166 \begin_inset space ~
5174 \begin_layout Enumerate
5183 Nie zamykaj nawiasu!
5186 \begin_layout Enumerate
5187 Ustaw kursor za podpisem, przełącz się do trybu LaTeX-a i wstaw brakujący
5195 \begin_layout Standard
5196 Zobacz także rysunek w przykładowym artykule.
5199 \begin_layout Subsection
5203 \begin_layout Standard
5204 For submission, the paper has to be formated in a special double-spacing
5206 For this purpose, you have to give the option
5210 to the documentclass.
5211 This must be done using the
5218 \begin_inset space ~
5226 \begin_inset space ~
5232 Just enter the string
5239 \begin_layout Subsection
5243 \begin_layout Standard
5248 znajduje się plik przykładowy artykuł napisany w LyX-ie.
5249 To jest przykład z oryginalnago pakietu makr Springera przetłumaczonego
5251 Użyj go jako inspirację i porównanie oryginalnego kodu LaTeX-a z LyX-owym
5255 \begin_layout Section
5259 \begin_layout Standard
5265 \begin_layout Subsection
5269 \begin_layout Standard
5270 AASTeX jest zestawem makr wydanych przez American Astronomical Society dla
5271 ułatwienia wysyłania elektronicznych manuskryptów do trzech pism wydawanych
5274 Astrophysical Journal
5276 (włączając Listy i Suplement),
5278 Astronomical Journal
5282 Publications of the Astronomical Society of the Pacific
5285 LyX wymaga co najmniej wersji 5.0 tych makr.
5286 Wersje starsze od 5.0 są przeznaczone dla LaTeX2.09 i są niekompatybilne
5288 Pakiet AASTeX można pobrać z serwera ftp AAS
5291 \begin_layout Standard
5292 \begin_inset VSpace medskip
5298 \begin_layout Standard
5300 \begin_inset Flex URL
5303 \begin_layout Plain Layout
5305 ftp://ftp.aas.org/pubs
5313 \begin_layout Standard
5314 \begin_inset VSpace medskip
5320 \begin_layout Standard
5321 A complete user guide is contained in that package and you should familiarize
5322 yourself with it thoroughly before embarking on writing a paper in LyX.
5323 LyX will not reduce the need to figure out all the AASTeX commands, it
5324 will only reduce the drudgery of typing everything in.
5325 It is your responsibility to ensure that the final exported LaTeX document
5326 conforms completely to the requirements of the journal to which you are
5327 submitting your paper.
5330 \begin_layout Subsection
5331 Starting a New Paper
5334 \begin_layout Standard
5335 I strongly suggest that you start with the AASTeX template file.
5338 File\SpecialChar \menuseparator
5341 , enter the new file name, then choose the
5346 This will show the most common fields found in a manuscript.
5347 Simply overwrite the existing text (including the brackets,
5351 ) with the correct information.
5352 Many of the AASTeX commands and environments can be implemented directly
5353 in LyX, but some cannot: most noticeably
5365 , which should stick out like a sore thumb if you actually just opened the
5367 For commands such as these, the LaTeX code must be entered directly and
5369 Such commands are referred to as ERT, or Evil Red Text.
5370 I tried to minimize the amount of ERT needed in an AASTeX document, but
5371 there is still more required than any of us would like.
5374 \begin_layout Subsection
5375 Finishing Your Paper
5378 \begin_layout Standard
5379 When the paper is finished to your satisfaction and previews/prints correctly,
5381 \begin_inset Quotes eld
5385 \begin_inset Quotes erd
5388 actions which need to be done before you submit it to the journals.
5391 \begin_layout Enumerate
5392 Export your paper as a LaTeX file (
5394 File\SpecialChar \menuseparator
5395 Export\SpecialChar \menuseparator
5401 \begin_layout Enumerate
5406 file with your favorite text editor
5410 \begin_layout Enumerate
5411 remove the comment lines before the
5420 \begin_layout Enumerate
5425 usepackage...{fontenc}
5427 line if it appears (usually just after
5442 \begin_layout Enumerate
5443 remove everything between (and including) the
5455 commands, except for any commands you specifically put into the LaTeX preamble
5456 (which should appear immediately after the
5457 \begin_inset Quotes eld
5460 User specified LaTeX commands
5461 \begin_inset Quotes erd
5471 \begin_layout Enumerate
5478 commands and replace
5479 \begin_inset Quotes eld
5487 \begin_inset Quotes erd
5490 with the correct, real file name.
5493 \begin_layout Enumerate
5500 commands, if necessary (see section
5501 \begin_inset CommandInset ref
5511 \begin_layout Enumerate
5512 Run the resulting file through LaTeX to make sure it still processes correctly.
5515 \begin_layout Enumerate
5516 Reread the journal requirements to make sure your filenames and formats
5520 \begin_layout Enumerate
5524 \begin_layout Subsection
5525 Comments On Specific Commands
5528 \begin_layout Standard
5529 I will not describe the detailed usage of the individual AASTeX commands:
5530 the AASTeX User Guide (
5534 ) gives a good description of each.
5535 Thus it's probably easiest for me to go down the list as found in the guide
5536 and offer comments where necessary.
5537 So let's begin \SpecialChar \ldots{}
5541 \begin_layout Subsubsection
5542 Things that work as expected
5545 \begin_layout Standard
5549 \begin_layout Plain Layout
5561 \begin_layout Standard
5562 Because they work as you might expect, I simply list them and the section
5657 begin{thebibliography}
5689 (2.14.4, amongst other places),
5716 \begin_layout Standard
5717 The following style options also work correctly:
5740 Layout\SpecialChar \menuseparator
5746 \begin_layout Standard
5750 \begin_layout Plain Layout
5762 \begin_layout Subsubsection
5763 Things that work, but require more comment
5766 \begin_layout Standard
5767 The following items work, but require a little more discussion:
5770 \begin_layout Itemize
5771 These items are reserved for use by the journal editors, but you can put
5772 them into the LaTeX preamble if you feel compelled to do so:
5805 \begin_layout Itemize
5806 These items may be placed in the LaTeX preamble, and are included as blanks
5807 in the template file:
5828 \begin_layout Itemize
5835 (2.3) -- can only be used
5836 \begin_inset Quotes eld
5840 \begin_inset Quotes erd
5843 , not in the middle of a paragraph.
5844 Use ERT if you need to embed it.
5847 \begin_layout Itemize
5854 (2.3) -- will have extra {} after it.
5855 This should not cause an error.
5858 \begin_layout Itemize
5865 (2.6) -- can only be used
5866 \begin_inset Quotes eld
5870 \begin_inset Quotes erd
5873 , not in the middle of a paragraph.
5874 Use ERT if you need to embed it.
5877 \begin_layout Itemize
5884 (2.8) -- can't insert a cross-reference tag, you must type the tag name
5888 \begin_layout Itemize
5895 (2.8) -- same as for
5902 \begin_layout Itemize
5909 (2.9) -- will have extra {} after it.
5910 This should not cause an error.
5913 \begin_layout Itemize
5920 (2.10) -- will have extra {} after it.
5921 This should not cause an error.
5924 \begin_layout Itemize
5931 (2.13.2) -- you will have to edit the optional argument by hand in the final
5935 \begin_layout Subsubsection
5936 Things not implemented, use ERT
5939 \begin_layout Standard
5943 \begin_layout Plain Layout
5955 \begin_layout Standard
5978 setcounter{equation}
5992 (2.12), Journal name abbreviations (2.12.4),
6028 (2.14.4, insert it as the first element in the lefthand cell after where
6030 Don't use any of LyX's rules in the table),
6042 (2.14.5), most everything in Misc (2.15, except
6081 \begin_layout Standard
6085 \begin_layout Plain Layout
6097 \begin_layout Subsubsection
6098 Things that cannot be implemented
6101 \begin_layout Standard
6102 \SpecialChar \ldots{}
6103 at least in any meaningful sort of way, so I suggest ignoring them.
6104 They are the references environment (2.12.3), and the deluxetable environment
6106 If you really, really need to use deluxetable, I suggest editing it in
6107 a separate file with a text editor, then using
6109 Insert\SpecialChar \menuseparator
6112 to include it in your LyX document.
6117 file to see an example of this.
6120 \begin_layout Subsection
6121 FAQs, Tips, Tricks, and Other Ruminations
6124 \begin_layout Subsubsection
6125 Getting LyX and AASTeX to cooperate
6128 \begin_layout Standard
6129 It can be a bit tricky to get LyX to recognize a new layout and document
6131 When all else fails, do this:
6134 \begin_layout Enumerate
6135 Make certain that LaTeX can find AASTeX.
6136 Copy sample.tex (and perhaps table.tex) from the AASTeX distribution into
6137 a directory completely unrelated to LaTeX or AASTeX and run LaTeX on
6144 \begin_layout Enumerate
6151 /usr/.../share/lyx/layouts
6160 \begin_layout Enumerate
6163 Options\SpecialChar \menuseparator
6166 in LyX, then restart LyX.
6169 \begin_layout Enumerate
6170 Open a regular new file, not from a template.
6171 Does AASTeX appear in
6173 Layout\SpecialChar \menuseparator
6174 Document\SpecialChar \menuseparator
6180 \begin_layout Standard
6181 If you get a warning from an existing AASTeX document about not being able
6182 to find the AASTeX layout or a message about
6183 \begin_inset Quotes eld
6186 You should not mix title layouts with normal ones
6187 \begin_inset Quotes erd
6190 , things haven't been installed correctly.
6193 \begin_layout Subsubsection
6194 LaTeX error processing a table
6197 \begin_layout Standard
6198 LyX, by default, attempts to center the table caption/title.
6199 This seems to produce a bad interaction in AASTeX so you should click somewhere
6200 in the caption/title, then select
6202 Layout\SpecialChar \menuseparator
6214 This took care of it for me.
6217 \begin_layout Subsubsection
6219 \begin_inset CommandInset label
6228 \begin_layout Standard
6229 A few things: 1) I have noticed some funny spacing in the reference entries
6231 When you enter the bibliography item data, make sure their is
6235 space between the last author and the parenthesis setting off the year;
6248 2) I am really unhappy that I can't make
6260 more automatic, but that would require changes to the LyX source code.
6261 For now you can do one of two things: a) enter all your citations using
6264 Insert\SpecialChar \menuseparator
6267 mechanism; at least you can take advantage of the automatic insertions.
6268 Then edit the exported LaTeX file by hand changing the
6274 entries to the appropriate
6286 commands before you submit it (
6292 is currently equivalent to
6298 , so you wouldn't necessarily have to change those).
6299 Or b) you can simply enter all your citations as ERT using the same key
6300 for the argument that you used in the bibliography popup,
6310 Neither choice is pleasant, but until LyX's citation mechanism understands
6314 , we'll have to put up with it.
6315 3) Entering the references at all is not obvious.
6316 The easiest thing is to start typing your first reference at the end of
6317 the document, then mark it as type
6322 That will put a small gray box in front of what you just typed.
6323 Click on the box to fill in the rest of the information.
6324 For new references, go to the end of an existing reference and press return.
6325 That will create a new line with its own box, etc.
6328 \begin_layout Subsubsection
6329 Włączanie plików EPS
6332 \begin_layout Standard
6333 With all due respect to Chris Biemesderfer and the others who have helped
6334 to write the AASTeX package, the figure handling mechanism smells really
6343 commands as ERT into a Figure Float box, but I never have much luck getting
6345 My advice would be to avoid all EPS inclusions in the manuscript you submit
6346 to the journal, but then use the standard LyX EPS file inclusion mechanism
6347 when you want to make your nicer looking preprints.
6352 usepackage{graphics}
6354 command into the LaTeX preamble and handle the figures in the standard
6356 Anyone who attempts to print your AASTeX 5.0 manuscript must have a LaTeX2e
6357 installation anyway, so why not take advantage of the infinitely better
6358 graphics handling mechanism? If they complain about LaTeX2e or the graphics
6359 package, point out that it appears in the second edition of Lamport (1994),
6360 so it was time to upgrade six years ago.
6363 \begin_layout Subsubsection
6364 Things I could have done, but didn't
6367 \begin_layout Standard
6368 There are a few ,,pretty'' things I could have implemented, but chose not
6370 For instance, I saw no point in double-spacing the text in the LyX window,
6371 even though it is double-spaced in the paper manuscript.
6372 Also, I chose not to make separate layouts for the preprint and preprint2
6374 Since I assume you will spend most of your time in the plain manuscript
6375 mode anyway, I decided not to chew up more disk space with this.
6376 If you feel strongly that I should make such layouts, I will adhere to
6377 the spirit of the rules laid out by the Mudgeeraba Creek Emu-Riding and
6378 Boomerang-Throwing Association:
6381 \begin_layout Quotation
6382 ,,Decisions of the judges will be final unless shouted down by a really
6383 overwhelming majority of the crowd present.
6384 Abusive and obscene language may not be used by contestants when addressing
6385 members of the judging panel, or, conversely, by members of the judging
6386 panel when addressing contestants (unless struck by a boomerang)''.
6389 \begin_layout Subsection
6393 \begin_layout Standard
6394 To mangle the infamous quote by Donald Knuth about a computer algorithm,
6395 ,,I have only proved this to be correct, I have not actually tried it''.
6396 I believe following the above procedures will produce an acceptable AASTeX
6397 document, but as of this update (Jan 25, 2000), I have not yet submitted
6399 Hopefully in the next few months \SpecialChar \ldots{}
6403 \begin_layout Section
6407 \begin_layout Standard
6410 Panayotis Papasotiriou
6413 \begin_layout Subsection
6417 \begin_layout Standard
6418 The ijmpd package is a set of macros that facilitates electronic manuscript
6421 International Journal of Modern Physics D
6423 published by World Scientific.
6424 The name of the document class is
6429 This file, together with instructions for the authors, can be downloaded
6431 \begin_inset Flex URL
6434 \begin_layout Plain Layout
6436 http://www.worldscinet.com/ijmpd/mkt/guidelines.shtml
6442 The ijmpd package is a modified version of the standard
6443 \begin_inset Quotes eld
6447 \begin_inset Quotes erd
6451 Most of its features are supported by LyX.
6452 I have recently used LyX successfully to write an article submitted to
6455 International Journal of Modern Physics D
6460 \begin_layout Subsection
6464 \begin_layout Standard
6465 As usual, the easiest way to write a paper is to start with a template.
6471 ile\SpecialChar \menuseparator
6486 This will give an (almost) empty document that includes the most common
6487 fields found in a manuscript.
6488 Simply overwrite the existing text (including the brackets,
6492 ) with the correct information.
6493 You should keep in mind the following remarks.
6496 \begin_layout Enumerate
6497 LyX won't let you change the font size and the page style of the document,
6498 because the ijmpd package does not allow such modifications.
6501 \begin_layout Enumerate
6502 The ijmpd package requires that the language of the document should not
6504 Before previewing your paper, be sure that the babel package is not used.
6505 To do this, click on
6510 dit\SpecialChar \menuseparator
6525 tab), then deselect the
6543 , if you wish to make this change permanent).
6546 \begin_layout Enumerate
6547 Two new environments, named
6548 \begin_inset Quotes eld
6552 \begin_inset Quotes erd
6556 \begin_inset Quotes eld
6560 \begin_inset Quotes erd
6563 are available (their use is obvious).
6566 \begin_layout Enumerate
6567 Appendices may be added to the paper.
6568 LyX offers a special environment, called
6569 \begin_inset Quotes eld
6573 \begin_inset Quotes erd
6576 which marks the beginning of the appendix.
6577 An appendix can contain normal sections, subsections, or subsubsections.
6580 \begin_layout Enumerate
6581 The ijmpd package implements table captions quite differently than LyX does.
6582 As a result, a table created by LyX is printed correctly, but its caption
6584 If you need table captions, you should implement the whole table float
6589 file, then include this file to the LyX document (
6594 nsert\SpecialChar \menuseparator
6602 Details on how to create an ijmpd table float can be found in the file
6607 , which is included in the ijmpd package.
6610 \begin_layout Subsection
6611 Preparing a paper for submission
6614 \begin_layout Standard
6615 Before you submit your paper you must export the LyX document as a LaTeX
6621 ile\SpecialChar \menuseparator
6626 xport\SpecialChar \menuseparator
6633 ), then make the following changes to the resulting
6640 \begin_layout Enumerate
6641 Remove the comment lines before the
6650 \begin_layout Enumerate
6651 Remove everything between (and including) the
6663 commands, except for any commands you specifically put into the LaTeX preamble.
6666 \begin_layout Standard
6671 file should be saved and processed through LaTeX as many times as necessary.
6672 You may also want to check the resulting
6679 \begin_layout Subsection
6683 \begin_layout Standard
6684 Użycie wstawek ERT jest opcjonalne i jest zredukowane do trzech poleceń,
6685 which affect the look of the page.
6686 If you started writing your paper by using the
6690 template, the ERT needed is already in its place; you usually don't need
6692 You may only change the first ERT to specify the information printed to
6693 the top of odd and even pages (authors' names and short paper's title,
6695 This ERT must have the form
6699 markboth{Authors' Names}{Short Paper's Title}
6704 \begin_layout Section
6708 \begin_layout Standard
6711 Panayotis Papasotiriou
6714 \begin_layout Subsection
6718 \begin_layout Standard
6719 Pakiet Kluwer jest zestawem makr wydanych przez Kluwer Academic Publishers
6720 aby ułatwić elektroniczną wysyłkę manuskryptów do pism wydawanych przez
6722 Najbardziej znane z nich (at least in my domain of interest), to
6724 Astrophysics and Space Science
6730 , ale istnieje wiele innych (zobacz kompletną listę pod adresem
6731 \begin_inset Flex URL
6734 \begin_layout Plain Layout
6736 http://www.wkap.nl/jrnllist.htm/JRNLHOME
6742 Pakiet Kluwer można pobrać z serwisu
6743 \begin_inset Flex URL
6746 \begin_layout Plain Layout
6748 http://www.wkap.nl/kaphtml.htm/STYLEFILES
6754 Kompletna dokumentacja jest zawarta w pakiecie (ale można pobrać ją oddzielnie).
6757 \begin_layout Standard
6758 LyX obsługuje wiele cech pakietu ale nie wszystkie.
6759 Mimo to wstawki ERT są potrzebne do redukcji ,,osobliwych'' poleceń pakietu
6761 \begin_inset CommandInset ref
6763 reference "subsec:kluwer_peculiarities"
6768 Ja ostatnio napisałem bez żadnych problemów artykuł wysłany do pisma
6770 Astrophysics and Space Science
6775 \begin_layout Subsection
6779 \begin_layout Standard
6780 Najłatwiejszą drogą do napisania nowego artykułu jest skorzystanie z szablonu.
6781 Wybierz polecenie z menu
6783 Plik\SpecialChar \menuseparator
6786 , a następnie wybierz plik szablonu
6791 Otrzymasz wówczas (prawie) pusty dokument, który zawiera większość pól
6792 z manuskryptu z krótkim opisem ich użycia.
6793 I jak w większości szablonów zastąp istniejące teksty (włączając nawiasy
6798 ) poprawnymi informacjami.
6801 \begin_layout Subsection
6802 Przygotowanie artykułu do wysłania
6805 \begin_layout Standard
6806 Podobnie jak przy pakiecie AASTeX przed wysyłką artykułu do wydawnictwa,
6807 artykuł należy przetworzyć, co opisano dalej w kolejnych krokach:
6810 \begin_layout Enumerate
6811 Wyeksportuj artykuł do pliku LaTeX.
6812 Zrób to przez wybór polecenia z menu
6817 lik\SpecialChar \menuseparator
6825 ksportuj\SpecialChar \menuseparator
6839 \begin_layout Enumerate
6840 Wyedytuj uzyskany plik
6844 w edytorze tekstowym dokonując następujących zmian:
6848 \begin_layout Enumerate
6849 usuń wiersze komentarza przed poleceniem
6858 \begin_layout Enumerate
6859 usuń wszystko pomiędzy dyrektywami
6871 włącznie, z wyjątkiem Twoich specyficznych poleceń wstawionych do preambuły.
6874 \begin_layout Standard
6875 Zapisz uzyskany plik
6883 \begin_layout Enumerate
6888 przez LaTeX tyle razy ile potrzeba (zwykle do trzech razy).
6891 \begin_layout Enumerate
6892 Zobacz utworzony plik
6896 korzystając z przeglądarki np.
6901 i sprawdź czy wszystko jest ok (tak powinno być jeśli nie popełniłeś błędów).
6904 \begin_layout Subsection
6905 ,,Osobliwości'' pakietu Kluwer
6906 \begin_inset CommandInset label
6908 name "subsec:kluwer_peculiarities"
6915 \begin_layout Standard
6916 Pakiet Kluwer posiada następujące ,,osobliwości'':
6919 \begin_layout Enumerate
6920 Jest możliwe pisanie wielu artykułów w tym samym pliku LaTeX-a
6924 \begin_layout Plain Layout
6925 Nie mogę wyobrazić sobie innego dobrego powodu aby to zrobić
6931 Każdy artykuł musi być zawarty w środowisku ,,article''.
6932 Niestety, tego środowiska nie można pominąć, nawet jeśli piszemy tylko
6934 Dlatego każdy artykuł zaczyna się poleceniem
6940 i kończy oczywiście poleceniem
6947 Mimo to można to zaimplementować w LyX-ie, ale ja nie dołączam tego, od
6948 czasu jak to wygląda brzydko i może peszyć nowych użytkowników.
6949 Dlatego Ty potrzebujesz wpisać te polecenia wprost jako kod LaTeX (jako
6953 \begin_layout Enumerate
6954 Informacje podane na początku artykułu (np.: title, subtitle, author, institution
6955 , running title, running author, abstract i keywords) muszą znajdować się
6957 \begin_inset space ~
6960 środowisku ,,opening''.
6961 Tego nie zaimplementowano w LyX-ie, tak że Ty musisz umieścić title, subtitle
6963 pomiędzy dwoma wstawkami ERT (
6978 \begin_layout Enumerate
6979 Według podręcznika użytkownika etykieta każdej pozycji bibliografii musi
7003 \begin_layout Standard
7008 zajmuje się tymi wszystkimi ,,osobliwościami'' Jeśli zaczynasz z nowym
7009 artykułem korzystając z tego szablonu, to nie potrzebujesz robić nic specjalneg
7014 \begin_layout Enumerate
7015 nie usuwaj wstawek ERT dołączonych do szablonu i
7018 \begin_layout Enumerate
7019 skopiuj przykładową bibliografię dołączona do szablonu i dostosuj ją przez
7020 dopisanie nowych pozycji.
7023 \begin_layout Section
7027 \begin_layout Standard
7033 \begin_layout Subsection
7037 \begin_layout Standard
7038 LyX-owe klasy dokumentu
7040 article (koma-script)
7044 report (koma-script)
7054 odpowiadają LaTeX-owym klasom odpowiednio
7070 , z rodziny Koma-Script.
7071 Zastępują one standardowe klasy dokumentu odpowiednio
7087 , i są bliższe europejskim konwencjom typograficznym
7090 \begin_layout Itemize
7091 Standardową wielkością czcionki jest 11pt w
7093 article (koma-script)
7097 report (koma-script)
7105 letter (koma-script)
7110 \begin_layout Itemize
7111 Tytularia, etykiety opisu środowisk i kilka elementów klasy
7113 letter (koma-script)
7115 są składane czcionką półgrubą bezszeryfową
7119 \begin_layout Plain Layout
7120 Istnieje duża różnica pomiędzy starymi półgrubymi czcionkami bezszeryfowymi
7121 rodziny cm, a nowymi rodziny ec, szczególnie w wyglądzie tytulariów.
7122 Dla porównania półgruba czcionka bezszeryfowa rodziny ec wygląda na troszkę
7132 pomaga tworzyć ,,zwykły'' wygląd przy użyciu czcionek ec.
7138 Numeracja tytułów rozdziałów jest zrobiona tak samo jak numeracja sekcji,
7139 czyli bez wiersza ,,Rozdział\SpecialChar \ldots{}
7141 Ponadto wygląd tytulariów może być zmieniony za pomocą kilku opcji (w LyX-ie
7142 wprowadza się je w polach
7151 kład\SpecialChar \menuseparator
7161 \begin_layout Itemize
7162 Głównym zamierzeniem projektowania obszaru pisania klas dokumentu Koma-Script
7171 (w LyX-ie wprowadza się je w polach
7180 kład\SpecialChar \menuseparator
7188 Dzięki nim mamy klarowną możliwość zmiany szerokości marginesów jako opcje
7194 kład\SpecialChar \menuseparator
7204 \begin_layout Itemize
7205 Klasy LaTeX-owe rodziny Koma-Script definiują kilka dodatkowych poleceń.
7206 Część z nich, które mają sens w LyX-ie są zaimplementowane w odpowiednich
7210 \begin_layout Standard
7211 Szczegółowy opis (w języku niemieckim) LaTeX-owych klas dokumentu rodziny
7212 Koma-Script można znaleźć w dokumentacji Koma-Script
7218 \begin_layout Plain Layout
7219 Istnieje angielskie tłumaczenie --
7223 , ale nie jest kompletne
7230 Dalsze punkty opisują tylko te aspekty, które są związane z LyX-em.
7233 \begin_layout Subsection
7234 Klasy article (koma-script), report (koma-script) i book (koma-script)
7237 \begin_layout Standard
7240 article (koma-script)
7244 report (koma-script)
7250 są zaimplementowane w plikach układu, odpowiednio:
7263 Zawierają one wszystkie środowiska odpowiednich standardowych klas dokumentu
7276 , częściowo zmienione z wyłączeniem LyX-owego środowiska
7280 , które jest zastąpione przez nowe środowisko
7284 o takiej samej funkcji.
7289 zostało dodane do kilku nowych środowisk, ale nie są one częścią klasy
7292 letter (koma-script)
7297 \begin_layout Itemize
7306 : są odpowiednikami dla
7314 , dodatkowo dają wpis do spisu treści.
7319 nie istnieje w klasie
7321 article (koma-script)
7326 \begin_layout Itemize
7335 : zachowują się dokładnie tak jak
7343 , additionally clearing running heads.
7348 nie istnieje w klasie
7350 article (koma-script)
7355 \begin_layout Itemize
7360 : generuje tytuł tuż nad następnym akapitem w standardowej wielkości czcionki
7361 bez wpływu na strukturę dokumentu.
7364 \begin_layout Standard
7365 Następujące środowiska, razem ze standardowymi:
7377 , tworzą stronę tytułową dokumentu.
7378 Muszą być wstawione na początku pierwszego ,,normalnego'' akapitu
7382 \begin_layout Plain Layout
7383 Odpowiednie polecenia LaTeX muszą pojawić się przed poleceniem
7392 Gdy dane środowisko jest użyte częściej niż jeden raz, to zostanie uwzględnione
7393 tylko ostatnie jego wystąpienie w tekście.
7394 Te dodatkowe środowiska, podobnie jak
7406 , nie wpływają na wygląd tworzonego dokumentu.
7409 \begin_layout Itemize
7414 : tworzy wyśrodkowany akapit powyżej podstawowego tytułu (
7426 ) z tematem dokumentu.
7429 \begin_layout Itemize
7434 : tworzy wyśrodkowany akapit poniżej podstawowego tytułu (
7449 \begin_layout Itemize
7456 report (koma-script)
7462 tworzy wyśrodkowany akapit z dedykacją na oddzielnej stronie za stroną
7463 tytułową, a w klasie
7465 article (koma-script)
7467 tworzy wyśrodkowany akapit z dedykacją poniżej podstawowego tytułu (
7482 \begin_layout Itemize
7487 : tworzy wyrównany do lewej powyżej podstawowego tytułu (
7499 ) dla nagłówka dokumentu.
7502 \begin_layout Itemize
7507 : tworzy w druku dwustronnym w klasach
7509 report (koma-script)
7515 na tyle strony tytułowej u góry wyrównany do lewej akapit, a w przypadku
7516 druku jednostronnego lub klasy
7518 article (koma-script)
7523 \begin_layout Itemize
7528 : tworzy w druku dwustronnym w klasach
7530 report (koma-script)
7536 na tyle strony tytułowej u dołu wyrównany do lewej akapit, a w przypadku
7537 druku jednostronnego lub klasy
7539 article (koma-script)
7544 \begin_layout Itemize
7549 : tworzy specjalną ,,brudną'' stronę na początku dokumentu zawierającą akapit
7550 bez specjalnego formatowania.
7553 \begin_layout Standard
7554 Pliki układu dla klas dokumentu
7556 article (koma-script)
7560 report (koma-script)
7571 Który jest właściwym miejscem do definiowania własnych środowisk.
7576 do swojego osobistego foldera układów i wyedytuj go!
7579 \begin_layout Subsection
7580 Klasa letter (koma-script)
7583 \begin_layout Standard
7587 \begin_layout Plain Layout
7599 \begin_layout Standard
7603 letter (koma-script)
7605 jest zaimplementowana w pliku układu
7610 Zawiera on wszystkie środowiska odpowiadające standardowej klasie
7614 , częściowo zmienione z wyłączeniem LyX-owych środowisk
7630 , które są zastąpione przez nowe środowisko
7634 o takiej samej funkcji.
7635 Ponadto zawiera, w odróżnieniu od standardowej klasy, standardowe środowiska
7653 Dodatkowo jest kilka nowych specyficznych środowisk.
7656 \begin_layout Standard
7660 \begin_layout Plain Layout
7672 \begin_layout Standard
7673 Wygląd listu złożonego w tej klasie dokumentu może być sterowany za pomocą
7674 kilku poleceń LaTeX-a (w LyX-ie można je wprowadzić wybierając z menu
7679 kład\SpecialChar \menuseparator
7690 \begin_layout Plain Layout
7691 Na przykład, standardowy wygląd nagłówka listu zawierający nazwę i adres
7692 jest całkowicie self-willed.
7693 ,,Podstawowy'' nagłówek jest tworzony za pomocą następujących poleceń w
7697 \begin_layout LyX-Code
7707 \begin_layout LyX-Code
7723 \begin_layout LyX-Code
7733 \begin_layout LyX-Code
7753 Dzięki temu autor listu może utworzyć swój własny układ.
7754 Szczegółowy opis (w języku niemieckim) LaTeX-owych klas dokumentu rodziny
7755 Koma-Script można znaleźć w dokumentacji Koma-Script
7762 \begin_layout Standard
7771 definiują początek listu i muszą być użyte w każdym liście.
7772 Dla podkreślenia ich w dokumencie, są zaznaczone literami odpowiednio
7780 na lewym marginesie.
7781 To umożliwia napisanie dowolnej liczby listów w jednym pliku.
7786 tworzy nowy list używając tego samego adresu, a
7807 są podstawowymi środowiskami i mogą być używane wielokrotnie w tym samym
7811 \begin_layout Itemize
7816 : tworzy akapit na adres i definiuje początek listu.
7819 \begin_layout Itemize
7824 : tworzy akapit dla adresu i zaczyna nowy list.
7827 \begin_layout Itemize
7832 : tworzy akapit na tekst zamykający list.
7835 \begin_layout Itemize
7840 : tworzy akapit na Postscriptum.
7843 \begin_layout Itemize
7848 : tworzy akapit na listę rozdzielnika (Do wiadomości).
7851 \begin_layout Itemize
7856 : tworzy akapit dla załączników.
7859 \begin_layout Standard
7900 wyświetlają etykiety, dla ułatwienia wpisywania, których zawartość jest
7901 przetwarzana przez klasę letter (Koma-Script)
7905 \begin_layout Plain Layout
7906 It could be seen as a matter of inconsequence, that the types
7914 described above are not such input types as well.
7915 Because of the special meaning of those types, however, I have implemented
7916 them as ordinary paragraph types with a one letter mark in the left margin.
7917 Moreover, it would affect my feeling of symmetry, if the
7925 type had such a serious different appearance.
7930 Te środowiska muszą być użyte na początku odpowiedniego środowiska
7937 \begin_layout Standard
7938 Implementacja tych środowisk w trybie WYSIWYG nie ma sensu, ponieważ rzeczywisty
7939 wygląd złożonego listu zależy nie tylko od użycia właściwego środowiska,
7940 ale także innych czynników.
7941 Na przykład podpis wprowadzony w środowisku
7945 będzie pojawiał się tylko w liście, w którym użyto środowiska
7950 Zawartość środowiska
7954 standardowo nie będzie pojawiać się przy wszystkich złożonych listach.
7955 Możliwość projektowania wolnych nagłówków listu jest już wspomniana w przypisie
7959 \begin_layout Standard
7960 Środowiska mogą być także używane jako puste akapity.
7971 nie zostało w ogóle użyte, to standardowo jest zastępowane zawartością
7976 , ale jeśli mamy puste środowisko
7980 to nie jest niczym zastępowane.
7983 \begin_layout Standard
7984 Przez użycie środowisk można utworzyć szablon listu, z częściowo wypełnionymi
7985 polami środowisk (np.
7989 \begin_layout Itemize
7994 : nazwa nadawcy, standardowo pojawia się jako wyśrodkowany akapit w nagłówku
7996 Tekst pisany jest dużymi literami.
7999 \begin_layout Itemize
8004 : podpis nadawcy, standardowo pojawia się poniżej treści środowiska
8009 Jeśli nie użyto środowiska
8013 to zamiast niego pojawia się zawartość
8020 \begin_layout Itemize
8025 : adres nadawcy, standardowo pojawia się jako wyśrodkowany akapit w nagłówku
8026 listu, poniżej nazwy nadawcy.
8029 \begin_layout Itemize
8034 : numer telefonu nadawcy, pojawia się tylko, gdy jest włączona zmienna LaTeX
8044 \begin_layout Itemize
8049 : miejsce napisania listu.
8052 \begin_layout Itemize
8057 : data napisania listu.
8066 standardowo składane są w wierszu poniżej pola adresu nadawcy wyrównane
8072 jest puste, to zawartość środowiska
8077 Jeśli nie użyto środowiska
8081 , to domyślnie pobierana jest data składu.
8084 \begin_layout Itemize
8089 : adres zwrotny, standardowo składany jest powyżej adresu docelowego małą
8090 czcionką bezszeryfową.
8093 \begin_layout Itemize
8098 : uwagi dla poczty (np.
8099 do rąk własnych), standardowo pojawiają się pomiędzy adresem zwrotnym a
8100 docelowym, i są podkreślone.
8103 \begin_layout Itemize
8108 : dodatkowa informacja, standardowo pojawia się przy prawym marginesie poniżej
8112 \begin_layout Itemize
8117 : tytuł listu, standardowo pojawia się złożony wielką i półgrubą czcionką
8118 bezszeryfową powyżej tematu listu.
8121 \begin_layout Itemize
8126 : temat listu, standard złożony jest czcionką półgrubą powyżej akapitu
8133 \begin_layout Standard
8154 tworzą listy firmowe przez złożenie zawartości tych środowisk powyżej wiersza
8156 Dla pola daty używana jest zawartość środowiska
8161 Jeśli wykorzystane jest choć jedno ze środowisk ,,biznesowych'', to zawartość
8166 nie jest składana, tylko ustawiana jest zmienna LaTeX
8170 \begin_layout Plain Layout
8184 te środowiska muszą być użyte przed odpowiednim środowiskiem
8191 \begin_layout Itemize
8196 : Wasz znak (Your ref.)
8199 \begin_layout Itemize
8204 : Wasz list (Your letter of.)
8207 \begin_layout Itemize
8212 : Nasz znak (Our ref.)
8215 \begin_layout Itemize
8220 : Klient (Customer no.)
8223 \begin_layout Itemize
8228 : Nr faktury (Invoice no.)
8231 \begin_layout Subsection
8235 \begin_layout Standard
8236 Przedstawienie WYSIWYG w LyX-ie dokumentów w klasie Koma-Script powoduje
8240 \begin_layout Itemize
8241 Numery rozdziałów środowisk
8245 są wyświetlane w wierszu powyżej tytułu rozdziału.
8246 Taki przypadek jest spowodowany wewnętrznym przetwarzaniem przez LyX środowiska
8254 \begin_layout Itemize
8263 są wstawione tylko do ,,prawdziwego'' LaTeX-owego spisu treści, a nie są
8264 wyświetlane LyX-owym spisie treści (
8274 \begin_layout Itemize
8275 Tryb separacji akapitów w dokumencie
8279 wyświetlany jest jako odstęp, a nie wcięcie.
8280 To jest standardowe zachowanie, do tego nie potrzeba żadnego polecenia
8287 kład\SpecialChar \menuseparator
8294 odpowiedni przełącznik wskazuje na załączony tryb
8309 daje efekt po użyciu odpowiedniego polecenia LaTeX-a wstawionego do dokumentu
8310 do wytworzenia odstępu.
8313 \begin_layout Section
8321 \begin_layout Standard
8327 \begin_layout Subsection
8331 \begin_layout Standard
8332 Tutaj opisujemy klasy i pliki układu używanych dla niektórych pism wydawanych
8333 przez wydawnictwo Springer Verlag i wymienionych na stronie
8334 \begin_inset Flex URL
8337 \begin_layout Plain Layout
8339 http://www.springer.de/author/tex/help-journals.html
8344 , skąd powinieneś móc pobrać pliki klasy (tak, oczywiście teraz dla LaTeX2e!).
8345 To jest modularny system: wspólne części dla wszystkich pism są zaimplementowan
8350 , z którego korzystają specyficzne dla danego pisma pliki układu (np.:
8361 \begin_layout Standard
8362 Oznacza to, że implementacja wsparcia dla innego pisma wydawnictwa Springer
8363 wymaga napisania własnego pliku układu
8379 \begin_layout Standard
8380 Klasa dokumentu LyX-a była testowana tylko dla pisma
8393 są zawarte w standardowej dystrybucji LyX-a.
8394 Zainstaluj pobraną z serwera wydawnictwa Springer odpowiednią klasę LaTeX-ową
8395 w odpowiednim katalogu TeX-a, odśwież bazę pakietów TeX-a (w teTeX-u uruchom
8400 , jako root jeśli jest to niezbędne), zrekonfiguruj LyX-a i powinno już
8404 \begin_layout Subsection
8408 \begin_layout Standard
8409 Duża liczba stylów typu theorem --
8415 \SpecialChar \ldots{}
8421 \begin_layout Standard
8424 Headnote, Dedication, Subtitle, Running_LaTeX_Title, Author_Running, Institute,
8425 Mail, Offprints, Keywords, Acknowledgements, Acknowledgement
8428 Zobacz dokumentację do pakietu aby poznać szczegóły.
8431 \begin_layout Subsection
8435 \begin_layout Itemize
8447 \begin_layout Itemize
8450 Probability Theory and Related Fields
8456 -- Jean-Marc Lasgouttes
8459 \begin_layout Standard
8460 Dodaj własne -- to nie jest trudne!
8463 \begin_layout Subsection
8467 \begin_layout Standard
8468 Te pliki bazują częściowo na starszym pliku układu
8472 , który bazował na starym stylu LaTeX 2.09 z wydawnictwa Springer.
8478 Jean-Marc Lasgouttes bardzo pomógł mi znaleźć drogę implementacji układu
8482 \begin_layout Subsection
8486 \begin_layout Standard
8488 Ale prawdopodobnie mniej niż w starej klasie
8495 \begin_layout Standard
8496 Ograniczenia np.: nie wyświetla numeru środowisk typu theorem, w tej chwili
8500 \begin_layout Section
8508 \begin_layout Standard
8514 \begin_layout Subsection
8518 \begin_layout Standard
8519 These are the layout files for some of the journals of the American Geophysical
8521 It is assumed that you have both the AGU's own class files and AGUplus
8522 installed (everything to be found at
8523 \begin_inset Flex URL
8526 \begin_layout Plain Layout
8528 http://publications.agu.org/files/2013/08/AGU-LaTeX.zip
8536 \begin_layout Subsection
8540 \begin_layout Standard
8550 They are still called this in the LyX GUI, though their LaTeX equivalents
8551 in the AGU classes are
8562 \begin_layout Standard
8563 Newly defined styles are
8600 These are mostly manuscript attributes and defined in the AGU class documentati
8604 \begin_layout Standard
8605 I suspect this is still badly incomplete.
8608 \begin_layout Subsection
8612 \begin_layout Standard
8629 \begin_layout Subsection
8633 \begin_layout Itemize
8636 Journal of Geophysical Research
8645 \begin_layout Standard
8646 Add your own, it isn't so hard! Look at the
8657 \begin_layout Section
8665 \begin_layout Standard
8671 \begin_layout Subsection
8675 \begin_layout Standard
8676 This is the layout file for the European Geophysical Society journals.
8681 can be downloaded from the web site of the EGS under
8682 \begin_inset Flex URL
8685 \begin_layout Plain Layout
8695 \begin_layout Subsection
8699 \begin_layout Standard
8702 Right_address, Latex_Title, Affil, Journal, msnumber, FirstAuthor, Received,
8710 The current layout file is unfortunately very unmodular and would benefit
8711 from using the various
8718 \begin_layout Section
8724 \begin_inset CommandInset label
8733 \begin_layout Standard
8739 \begin_layout Subsection
8743 \begin_layout Standard
8744 W tej sekcji opisujemy jak użyć LyX-a do przygotowania slajdów do rzutników.
8745 Istnieją dwie klasy dokumentów, które można do tego celu zastosować: domyślnie
8755 W tej sekcji opisano pierwszą z nich.
8758 \begin_layout Standard
8759 Powiem to jeszcze raz, jasno, aby nie buło nieporozumień:
8762 \begin_layout Standard
8763 \begin_inset VSpace bigskip
8769 \begin_layout Standard
8773 Ta sekcja dokumentu opisuje
8784 \begin_layout Standard
8785 \begin_inset VSpace bigskip
8791 \begin_layout Standard
8792 Jeśli szukasz dokumentacji do
8796 '', zajrzyj do sekcji
8797 \begin_inset space ~
8801 \begin_inset CommandInset ref
8803 reference "sec:foiltex"
8816 ''] jest aktualnie trochę lepsza niż domyślnie klasa
8824 \begin_layout Plain Layout
8825 \SpecialChar \ldots{}
8826 lub tak powtarzam za jej adwokatami.
8827 Nigdy jej nie używałem i nie wiem czy to jest prawda czy nie.
8835 \begin_layout Standard
8836 Ta klasa jest ulepszeniem LaTeX2e starego pakietu
8841 Każda dystrybucja LaTeX2e zawiera tę klasę [którą, od teraz, będę nazywał
8846 ''], tak więc jesteś zmuszony ją mieć.
8847 Jak wspomniałem wcześniej istnieją inne klasy, jak np.
8852 , które także tworzą slajdy do rzutnika i wykonują to zadanie lepiej niż
8854 Jednak istnieje kilka rzeczy, które klasa
8858 może zrobić, a inne nie, np.
8859 generowanie overlays.
8860 Czytaj dalej aby dowiedzieć się więcej!
8863 \begin_layout Subsection
8865 \begin_inset CommandInset label
8867 name "sec:slidesetup"
8874 \begin_layout Standard
8875 Oczywiście, aby użyć tej klasy dokumentu, potrzebujesz wybrać klasę
8891 Jest kilka rzeczy, które powinieneś wiedzieć o tej klasie:
8894 \begin_layout Itemize
8904 Nie są one obsługiwane przez klasę
8911 \begin_layout Itemize
8916 lista styli dostępna w polu
8923 zachowuje się troszkę inaczej dla tej klasy.
8924 Dostępne są nastepujące style:
8928 \begin_layout Description
8933 W prawym dolnym narożniku slajdu umieszony zostanie numer slajdu,
8936 \begin_layout Description
8945 , ale dodatkowo zostana wstawione krzyżyki w rogach folii dla dokładnego
8946 pozycjonowania przy nakładaniu folii jedna na drugą.
8947 To jest styl domyślny.
8950 \begin_layout Description
8955 Nie jest dodawany numer, data ani znaczniki wyrównania.
8959 \begin_layout Itemize
8964 posiada dodatkową opcję:
8969 Aby ją użyć, wpisz ,,
8989 \begin_layout Standard
8990 Użycie tej opcji pozwala dodać znacznik daty do
8996 \begin_inset space ~
9000 \begin_inset CommandInset ref
9002 reference "sec:slideNote"
9006 aby poznać więcej szczegółów.
9010 \begin_layout Standard
9011 Możesz użyć szablonu ,,
9015 '' aby automatycznie ustawić klasę nowego dokumentu na
9019 [za pomoca polecenia
9024 lik\SpecialChar \menuseparator
9026 \begin_inset space ~
9031 aby utworzyć nowy dokument].
9032 Plik szablonu zawiera także kilka przykładów specjalnych środowisk akapitów
9034 Będzie to opisane dalej.
9037 \begin_layout Subsection
9041 \begin_layout Subsubsection
9042 Obsługiwane środowiska
9045 \begin_layout Standard
9046 Pierwszą rzeczą, którą powinieneś zauważyć gdy zaczynasz nowy dokument slajdów
9047 jest rozmiar i typ czcionki: odpowiednio ,,
9051 '' i czcionka bezszeryfowa
9054 \begin_inset space ~
9060 This is also what's used in the output.
9062 \begin_inset Quotes eld
9066 \begin_inset Quotes erd
9069 to remind you that this is a slide.
9070 Your final slides will use a larger font; ergo, you'll have less space.
9071 Of course, the larger default screen font isn't WYSIWYG, only a reminder.
9074 \begin_layout Standard
9075 The next thing that becomes obvious is the changes to the paragraph environment
9076 pull-down box [at the far-left end of the toolbar].
9077 Most of the paragraph environments you're used to seeing are missing.
9078 There are also four new ones.
9083 class itself only supports certain paragraph environments:
9086 \begin_layout Itemize
9092 \begin_layout Itemize
9098 \begin_layout Itemize
9104 \begin_layout Itemize
9110 \begin_layout Itemize
9116 \begin_layout Itemize
9122 \begin_layout Itemize
9128 \begin_layout Itemize
9134 \begin_layout Itemize
9140 \begin_layout Itemize
9146 \begin_layout Itemize
9152 \begin_layout Itemize
9158 \begin_layout Standard
9159 Wszystkie inne standardowe środowiska włączając środowiska sekcji nie są
9165 Z drugiej zaś strony zauważysz nowe środowiska:
9169 \begin_layout Plain Layout
9170 In prior versions of this class, there was the mandatory
9174 paragraph environment.
9178 is deprecated; it will convert to a
9183 You should probably remove it.
9193 \begin_layout Itemize
9199 \begin_layout Itemize
9205 \begin_layout Itemize
9211 \begin_layout Itemize
9217 \begin_layout Standard
9218 These five are kind of quirky, due to a
9219 \begin_inset Quotes eld
9223 \begin_inset Quotes erd
9227 You see, LyX doesn't permit you to nest any other paragraph environment
9228 into an empty environment.
9229 Now, that's fine and dandy, but it means that you wouldn't be able to start
9230 a slide with anything except plain text.
9231 To deal with this, I've performed a little
9232 \begin_inset Quotes eld
9236 \begin_inset Quotes erd
9242 \begin_layout Subsubsection
9243 Quirks of the New Environments
9244 \begin_inset CommandInset label
9246 name "sec:slideQuirk"
9253 \begin_layout Standard
9254 All five of the new paragraph environments are somewhat quirky due to inherent
9255 limitiations in the current version of LyX.
9256 As I just mentioned, LyX forbids environments that begin with another environme
9258 To get around this, the
9262 environment isn't a paragraph environment as described in the
9269 \begin_layout Standard
9282 to be ,,pseudo-environments''.
9283 They look like a section heading or a
9284 \begin_inset Quotes eld
9292 \begin_inset Quotes erd
9295 but really begin a [and, if necessary, end the previous] paragraph environment.
9305 \begin_inset Quotes eld
9309 \begin_inset Quotes erd
9312 These two perform some action.
9315 \begin_layout Standard
9316 A common feature of all five environments,
9336 , is a rather long-ish label.
9337 The text following this label --- ordinarily the contents of the paragraph
9338 environment --- is utterly irrelevant for
9359 LyX completely ignores it.
9360 In fact, you can leave these five environments completely empty.
9363 \begin_layout Standard
9368 to put any text after the rather long-ish label, you might want to.
9369 This could be a short description of the contents of the
9374 In that case, enter in your descriptive comment and hit
9378 as you normally would.
9381 \begin_layout Standard
9382 If, on the other hand, you don't want to enter in any descriptive text,
9383 you'll hit another LyX quirk.
9384 LyX, like nature, abhors a vacuum, and will not let you start a new paragraph
9385 environment until you put something in the old one.
9389 \begin_layout Itemize
9390 Start entering the text that will
9417 \begin_layout Itemize
9418 Now move to the beginning of that paragraph.
9421 \begin_layout Itemize
9429 \begin_layout Itemize
9430 Finally, change this new, empty paragraph to a
9453 \begin_layout Standard
9454 Some future version of LyX will, hopefully, resolve this quirkiness\SpecialChar \ldots{}
9458 \begin_layout Subsection
9459 Tworzenie prezentacji używając
9472 \begin_layout Subsubsection
9478 \begin_layout Standard
9479 If you're expecting this section to teach you how to actually make a presentatio
9480 n, you'll be sorely disappointed.
9481 Naturally, I'll describe all of the ways the
9485 class can assist you in preparing the materials for a presentation.
9486 Filling in the contents, however, is up to you.
9491 the LyX philosophy.]
9494 \begin_layout Standard
9499 environment [in the manner described in section
9500 \begin_inset space ~
9504 \begin_inset CommandInset ref
9506 reference "sec:slideQuirk"
9510 ] tells LyX to begin a new slide [duh].
9511 The label for this environment/
9512 \begin_inset Quotes erd
9516 \begin_inset Quotes erd
9520 \begin_inset Quotes eld
9524 \begin_inset Quotes erd
9527 in cool blue, followed by the label,
9528 \begin_inset Quotes eld
9532 \begin_inset Quotes erd
9536 Any text or paragraph environments that follow this one go on the new slide.
9540 \begin_layout Standard
9541 Slides are probably the only time you'll need to forcibly end pages in LyX.
9542 In fact, you'll want to, once you finish entering the contents of one slide.
9543 If you've entered more text than can physically fit on a slide, the extra
9544 overflows onto a new slide.
9545 I don't recommend doing this, however, since the overflow slide won't have
9546 any page number on it.
9547 Furthermore, it may interfere with any
9551 you've made to accompany the oversized
9558 \begin_layout Standard
9567 environments work the same way as the
9573 \begin_inset Quotes eld
9577 \begin_inset Quotes erd
9580 followed by a label [
9581 \begin_inset Quotes eld
9585 \begin_inset Quotes erd
9589 \begin_inset Quotes eld
9593 \begin_inset Quotes erd
9597 The color is a stunning magenta instead of blue, and the
9598 \begin_inset Quotes eld
9602 \begin_inset Quotes erd
9605 will look different, in style and in length.
9606 The label fonts of all three also differ from one another.
9609 \begin_layout Standard
9614 , if the contents of a
9622 exceed the physical size of a slide or sheet of paper, the extra will overflow
9624 Again, you should avoid this.
9625 It defeats the whole purpose of
9636 \begin_layout Subsubsection
9646 \begin_layout Standard
9651 is a slide that sits atop another slide.
9652 Perhaps you wish to discuss a figure on the main
9656 before displaying the text associated with it.
9657 One way to accomplish this is tape a flap of dark paper over the part of
9662 you want to display later.
9663 This method fails, however, if you wish to overlap one graph with another,
9665 You would then have to fumble while speaking to align the two separate,
9670 s to align the two graphs.
9675 environment in both cases makes life much easier.
9678 \begin_layout Standard
9683 receives the page number of its
9684 \begin_inset Quotes eld
9688 \begin_inset Quotes erd
9696 \begin_inset Quotes eld
9704 \begin_inset Quotes erd
9711 \begin_layout Plain Layout
9712 Presumably, mutliple
9717 \begin_inset Quotes eld
9725 \begin_inset Quotes erd
9729 \begin_inset Quotes eld
9737 \begin_inset Quotes erd
9741 \begin_inset Quotes eld
9749 \begin_inset Quotes erd
9753 \begin_inset space ~
9756 appended to the page number of the parent
9773 to each fit on a single physical slide! You should probably consider an
9787 class provides a visual cue for this: the label at the start of an
9791 is shorter than that at the start of a
9796 Lastly, when you generate printable output, you'll find alignment markers
9797 in all four corners of both the
9806 These will assist you in lining up the two physical slides.
9809 \begin_layout Standard
9810 The major problem in overlaying two slides is aligning the contents of the
9812 How much space should you leave for that graph on the second slide? Worse
9813 still, what if you want a graph and a sentence on second slide, but there
9814 is text on the main transparency that goes in between them? You could try
9815 and insert vertical space of the right size.
9816 The better way is to use
9827 \begin_layout Standard
9828 As their names imply,
9836 are two command-like paragraph environments that make all subsequent text
9837 invisible and visible, respectively.
9839 \begin_inset space ~
9843 \begin_inset CommandInset ref
9845 reference "sec:slideQuirk"
9849 that you don't place anything
9853 these two environments, however.
9858 , it inserts a centered, sky-blue label into the page reading
9859 \begin_inset Quotes eld
9862 <Invisible Text Follows>
9863 \begin_inset Quotes erd
9867 For paragraphs following this label, the parts of the
9875 ; it doesn't matter which] where they would be contain instead blank space.
9878 \begin_layout Standard
9883 , the corresponding centered label is
9884 \begin_inset Quotes eld
9887 <Visible Text Follows>
9888 \begin_inset Quotes erd
9892 Paragraphs following this label behave normally.
9893 Note that the beginning of a new
9905 automatically shuts off an
9910 It's therefore not necessary to use
9921 \begin_layout Standard
9922 By now, it should be obvious how to create overlay transparencies using
9923 the proper combination of
9942 \begin_layout Enumerate
9947 , including everything that will appear on it, whether on the main slide
9955 \begin_layout Enumerate
9956 Before each figure or paragraph that will appear only on the
9965 If necessary, insert a
9969 environment after the
9976 \begin_layout Enumerate
9981 immediately following the
9988 \begin_layout Enumerate
9989 Copy the contents of this
10000 \begin_layout Enumerate
10005 , change all of the
10016 \begin_layout Standard
10018 You've just made an
10025 \begin_layout Standard
10026 There's one problem with the way I've designed the LyX
10030 class: you can't make text in the middle of a paragraph invisible, nor
10031 make text in the middle of an invisible paragraph visible again.
10032 To accomplish this feat, you'll need to use some inlined LaTeX codes.
10036 \begin_layout Plain Layout
10037 The commands of interest are:
10040 \begin_layout Itemize
10045 invisible \SpecialChar \ldots{}
10049 \begin_layout Itemize
10054 visible \SpecialChar \ldots{}
10058 \begin_layout Plain Layout
10059 \SpecialChar \ldots{}
10060 and need to be marked as TeX.
10062 \begin_inset Quotes eld
10066 \begin_inset Quotes erd
10069 you wish to change goes in between the brackets [and after the
10082 If you don't know how to mark text as TeX, see the apprpriate section of
10101 \begin_inset CommandInset label
10103 name "sec:slideNote"
10110 \begin_layout Standard
10119 is associated with a
10120 \begin_inset Quotes eld
10124 \begin_inset Quotes erd
10136 class provides visual cues.
10141 is shorter than that of a
10145 [yet longer than that of an
10149 ] and, like the label of an
10153 is shockingly magenta.
10154 Additionally, the printed
10158 has the page number of its
10159 \begin_inset Quotes eld
10163 \begin_inset Quotes erd
10171 \begin_inset Quotes eld
10179 \begin_inset Quotes erd
10183 \begin_inset Quotes eld
10191 \begin_inset Quotes erd
10195 \begin_inset Quotes eld
10203 \begin_inset Quotes erd
10207 You can have multiple
10211 s associated with a single
10223 , you'll probably want to break up long
10227 s so that they fit on a single sheet of paper.
10230 \begin_layout Standard
10235 is obvious: it contains anything additional you might want to say about
10241 It could also be used as a sheet of reminders for a particular
10246 In the case of the latter, you might want to make use of time markers.
10252 \begin_inset Quotes eld
10256 \begin_inset Quotes erd
10259 support for time markers, a
10264 So, you'll have to resort to using the LaTeX codes.
10267 \begin_layout Standard
10268 To use time markers, you'll need to specify the extra class option
10269 \begin_inset Quotes eld
10277 \begin_inset Quotes erd
10281 \begin_inset space ~
10285 \begin_inset CommandInset ref
10287 reference "sec:slidesetup"
10292 This option turns on timing marks, which will appear in the lower-left-hand
10298 To set what appears in the time marker, you use the LaTeX commands
10299 \begin_inset Quotes eld
10309 \begin_inset Quotes erd
10313 \begin_inset Quotes eld
10323 \begin_inset Quotes erd
10327 The arguments of both commands are time measured in seconds.
10328 \begin_inset Quotes eld
10338 \begin_inset Quotes erd
10341 sets the time marker to a given time.
10342 \begin_inset Quotes eld
10352 \begin_inset Quotes erd
10355 increments the time marker by the specified amount.
10356 Using time markers and
10360 s in this fashion, you can remind yourself how much time to spend on a particula
10368 \begin_layout Standard
10369 There's one last feature to describe.
10370 Clearly, you'd like to print out all of your
10378 s on transparencies while printing all of your
10394 with which it is associated.
10395 What's a person to do?
10398 \begin_layout Standard
10399 Luckily, there are two LaTeX commands that allow you to select what to print
10401 Both must be placed into the preamble of your document.
10403 \begin_inset Quotes eld
10415 \begin_inset Quotes erd
10418 will cause the output to contain only the
10427 Correspondingly, the command
10428 \begin_inset Quotes eld
10440 \begin_inset Quotes erd
10443 prevents the output of anything but
10448 I'd advise placing both commands in the preamble and initially comment
10450 You can then preview your entire presentation as you write.
10451 When you're done writing, you can then uncomment one of the two to select
10452 what you want to print.
10453 I like to uncomment
10454 \begin_inset Quotes eld
10466 \begin_inset Quotes erd
10469 , print to a file with
10470 \begin_inset Quotes eld
10478 \begin_inset Quotes erd
10481 in its name, comment it back out, then uncomment
10482 \begin_inset Quotes eld
10494 \begin_inset Quotes erd
10498 \begin_inset Quotes eld
10506 \begin_inset Quotes erd
10510 I can then send either file to a printer, loading transparencies or plain
10511 paper as appropriate.
10514 \begin_layout Standard
10515 You can also provide other arguments to the
10516 \begin_inset Quotes eld
10526 \begin_inset Quotes erd
10530 \begin_inset Quotes eld
10540 \begin_inset Quotes erd
10544 See a good LaTeX book for details.
10547 \begin_layout Subsection
10548 Plik szablonu klasy
10553 \begin_layout Standard
10558 dostarczyłem także plik szablonu
10563 Aby go użyć zacznij Twoją nową prezentację przez
10568 lik\SpecialChar \menuseparator
10579 Twój nowy plik prezentacji będzie zawierał jako przykład trójkę
10600 dodatkowo zawierają jako przykład użycia tekst niewidzialny (
10609 Na koniec zawartość preambuły:
10612 \begin_layout LyX-Code
10613 % Uncomment to print out only slides and overlays
10616 \begin_layout LyX-Code
10620 \begin_layout LyX-Code
10626 \begin_inset Newline newline
10632 \begin_layout LyX-Code
10633 % Uncomment to print out only notes
10636 \begin_layout LyX-Code
10640 \begin_layout LyX-Code
10648 \begin_layout Standard
10649 I ostatnia rzecz: utworzyłem tę klasę LyX-a do obsługi klasy LaTeX2e ,,
10653 TeX emulation'', one of the built-in LaTeX2e classes.
10654 Neither I nor the rest of the LyX Team endorse or oppose the use of this
10655 built-in slide class.
10656 It's here if you want it or need it.
10657 Istnieją inne klasy LaTeX2e do tworzenia prezentacji, takie jak:
10662 \begin_inset space ~
10666 \begin_inset CommandInset ref
10668 reference "sec:foiltex"
10676 '' [znajdujący się w wielu dystrybucjach TeX-a].
10677 Ten ostatni nie jest jeszcze obsługiwany przez LyX-a
10681 \begin_layout Plain Layout
10682 Aktualnie znajduje się plik układu
10686 ale nie ma jeszcze pliku szablonu i dokumentacji jak z niego skorzystać
10692 Try them out to see what sort of alternative they provide.
10695 \begin_layout Section
10704 \begin_inset CommandInset label
10713 \begin_layout Standard
10719 \begin_layout Subsection
10723 \begin_layout Standard
10724 W tej sekcji opisujemy jak użyć LyX-a do przygotowania slajdów do rzutników.
10725 Istnieją dwie klasy dokumentów, które można do tego celu zastosować: domyślnie
10735 W tej sekcji opisano tę drugą klasę.
10738 \begin_layout Standard
10739 Powiem to jeszcze raz, jasno, aby nie było nieporozumień:
10742 \begin_layout Standard
10743 \begin_inset VSpace bigskip
10749 \begin_layout Standard
10753 Ta sekcja dokumentu opisuje
10764 \begin_layout Standard
10765 \begin_inset VSpace bigskip
10771 \begin_layout Standard
10772 Jeśli szukasz dokumentacji do
10776 )'', zajrzyj do sekcji
10777 \begin_inset space ~
10781 \begin_inset CommandInset ref
10783 reference "sec:slitex"
10788 Jeśli w Twoim systemie nie masz zainstalowanej klasy
10796 ''], to prawdopodobnie musisz użyć domyślnej klasy
10800 , która nie jest tak dobra jak
10805 \begin_layout Standard
10810 jest zaprojektowana do użycia z wersją 2.1 LaTeX-owej klasy
10814 , która jest teraz integralną częścią LaTeX2e.
10817 \begin_layout Subsection
10821 \begin_layout Standard
10822 Oczywiście, aby użyć tej klasy dokumentu, potrzebujesz wybrać klasę
10838 Jest kilka ustawień w oknie
10842 i powinieneś znać ich specyfikę w tej klasie:
10845 \begin_layout Itemize
10855 Nie są one obsługiwane przez klasę
10862 \begin_layout Itemize
10863 Domyślną wielkością czcionki jest 20pt, inne to 17pt, 25pt i 30pt.
10866 \begin_layout Itemize
10867 Domyślną rodziną jest czcionka
10871 ale równania matematyczne są składane zwykłą czcionką szeryfową.
10874 \begin_layout Itemize
10879 TeX obsługuje formaty papieru A4 i Letter, a także specjalny rozmiar do
10880 pracy z 35mm slajdami.
10881 Nie obsługuje formatów: A5, B5, legal i executive.
10884 \begin_layout Itemize
10885 Nie zmieniaj ustawień
10889 , ponieważ są one ignorowane.
10890 Wszystkie wstawki pojawiają się w miejscu gdzie zostały umieszczone w tekście.
10893 \begin_layout Itemize
10901 zachowują się troszkę inaczej w tej klasie.
10906 TeX dostarcza rozszerzone możliwości nagłówków i stopek włączają w to logo
10909 \begin_inset space ~
10913 \begin_inset CommandInset ref
10915 reference "sec:foilfoot"
10919 aby poznać więcej szczegółów.
10920 Strona tytułowa jest traktowana inaczej niż inne strony dokumentu:
10924 jest nienumerowana i
10928 logo jest wycentrowane u dołu strony (jeśli je zdefiniowano).
10929 Możliwe do wyboru style strony:
10933 \begin_layout Labeling
10934 \labelwidthstring MMMMMMM
10941 Nie jest dodawany numer ani inne nagłówki i stopki,
10944 \begin_layout Labeling
10945 \labelwidthstring MMMMMMM
10952 Na dole w środku slajdu umieszczony zostanie numer slajdu.
10953 bez innych nagłówków i stopek (innych niż przypisy).
10956 \begin_layout Labeling
10957 \labelwidthstring MMMMMMM
10962 W prawym dolnym narożniku slajdu umieszczony zostanie numer slajdu.
10963 Dodatkowe nagłówki i stopki zostaną wyświetlone.
10964 To jest styl domyślny.
10967 \begin_layout Labeling
10968 \labelwidthstring MMMMMMM
10973 Umożliwia skorzystanie z pakietu
10977 mimo, że jego użycie z
10981 TeX nie jest polecane przez autorów pakietu
10985 TeX z powodu kilku możliwych rozjechań się układu strony.
10989 \begin_layout Subsubsection
10993 \begin_layout Standard
10994 Następujące opcje mogą być użyte w polu
11005 \begin_layout Labeling
11006 \labelwidthstring MMMMMMx
11011 Ustawia rozmiar strony 7.33 cale na 11 cali.
11012 Taki rozmiar ma identyczne proporcje jak 35mm slajd.
11013 To ustawienie ułatwia pracę z tym medium,
11016 \begin_layout Labeling
11017 \labelwidthstring MMMMMMx
11022 Umieszcza poziomą linię poniżej nagłówka na każdej stronie z wyjątkiem
11026 \begin_layout Labeling
11027 \labelwidthstring MMMMMMx
11032 Umieszcza poziomą linię powyżej stopki na każdej stronie z wyjątkiem strony
11036 \begin_layout Labeling
11037 \labelwidthstring MMMMMMx
11042 Ta opcja jest automatycznie włączona
11046 \begin_layout Plain Layout
11049 Bez tej opcji możesz korzystać wprost z pdfLaTeX-a
11054 , gdy tworzysz nowy dokument w tej klasie.
11059 TeX-owi aby użył jako sterownika programu dvips do obrotu tych stron, które
11060 ustawiono jako poziome,
11063 \begin_layout Labeling
11064 \labelwidthstring MMMMMMx
11069 Po prostu zmienia układ strony na poziomy, ale nie dokonuje obrotu.
11070 Dla tego jeśli chcesz używać tej opcji potrzebujesz użyć zewnętrznego programu
11071 do obrotu każdej strony lub włóż papier do drukarki poziomo.
11072 Uwaga ta opcja zamienia role środowisk
11080 (nie przejmuj się jest to opisane w następnej sekcji),
11083 \begin_layout Labeling
11084 \labelwidthstring MMMMMMx
11089 Numeracja równań po lewej stronie równania,
11092 \begin_layout Labeling
11093 \labelwidthstring MMMMMMx
11098 Wyrównuje równania do lewej.
11101 \begin_layout Subsection
11102 Obsługiwane środowiska
11105 \begin_layout Standard
11106 Większość zwykłych środowisk występujących w innych klasach jest także obsługiwa
11112 Jest kilka dodatkowych środowisk dostarczanych przez
11116 TeX a także kilka dodanych przez LyX-a.
11117 Poniżej podano standardowe środowiska występujące również w innych klasach:
11120 \begin_layout Standard
11124 \begin_layout Plain Layout
11128 begin{multicols}{2}
11136 \begin_layout Itemize
11142 \begin_layout Itemize
11148 \begin_layout Itemize
11154 \begin_layout Itemize
11160 \begin_layout Itemize
11166 \begin_layout Itemize
11172 \begin_layout Itemize
11178 \begin_layout Itemize
11184 \begin_layout Itemize
11190 \begin_layout Itemize
11196 \begin_layout Itemize
11202 \begin_layout Itemize
11208 \begin_layout Itemize
11214 \begin_layout Itemize
11220 \begin_layout Itemize
11226 \begin_layout Itemize
11232 \begin_layout Itemize
11238 \begin_layout Itemize
11244 \begin_layout Itemize
11250 \begin_layout Standard
11254 \begin_layout Plain Layout
11266 \begin_layout Standard
11267 Następne są główne środowiska niezależnie od środowisk strukturyzujących
11269 Folie są właściwie samodzielnymi sekcjami posiadającymi tytuł i treść.
11274 TeX dostarcza specyficznych poleceń rozpoczynających nową folię, są to:
11277 \begin_layout Itemize
11283 \begin_layout Itemize
11289 \begin_layout Standard
11290 LyX dostarcza także lekko zmodyfikowane wersje powyższych środowisk o nazwach:
11293 \begin_layout Itemize
11299 \begin_layout Itemize
11302 ShortRotatefoilhead
11305 \begin_layout Standard
11306 różnice pomiędzy nimi są wyjaśnione w następnej sekcji.
11309 \begin_layout Standard
11310 Folie są często używane do prezentacji pomysłów lub nowych teorii i także
11315 TeX dostarcza szeroki wachlarz narzędzi do ich prezentacji:
11318 \begin_layout Standard
11322 \begin_layout Plain Layout
11326 begin{multicols}{2}
11334 \begin_layout Itemize
11340 \begin_layout Itemize
11346 \begin_layout Itemize
11352 \begin_layout Itemize
11358 \begin_layout Itemize
11364 \begin_layout Itemize
11370 \begin_layout Itemize
11376 \begin_layout Itemize
11382 \begin_layout Itemize
11388 \begin_layout Itemize
11394 \begin_layout Itemize
11400 \begin_layout Standard
11404 \begin_layout Plain Layout
11416 \begin_layout Standard
11417 Wersje z gwiazdką są środowiskami nienumerowanymi, a bez gwiazdki są numerowane.
11418 Są jeszcze dwa środowiska list dodane przez LyX i są to:
11421 \begin_layout Itemize
11427 \begin_layout Itemize
11433 \begin_layout Standard
11434 Jest jeszcze kilka poleceń
11438 TeX-a, które nie są obsługiwane przez LyX.
11439 Wspomnimy o nich i ich przeznaczeniu w sekcji
11440 \begin_inset space ~
11444 \begin_inset CommandInset ref
11446 reference "sec:unsuppfoils"
11453 \begin_layout Subsection
11457 \begin_layout Standard
11458 W tej sekcji podamy proste wprowadzenie jak korzystać z różnych środowisk
11459 aby utworzyć folię.
11460 Jeśli chcesz zobaczyć przykład folii zobacz plik
11469 lik\SpecialChar \menuseparator
11474 twórz\SpecialChar \ldots{}
11477 i naciśnij przycisk
11484 \begin_layout Subsubsection
11488 \begin_layout Standard
11489 Nie tak jak inne klasy dostarczające środowisk
11509 tworzy tytuł na własnej stronie.
11510 Jeśli opuścisz środowisko
11514 , to LaTeX w zastępstwie wstawi bieżącą datę (aktualizowaną przy każdym
11518 \begin_layout Subsubsection
11519 Rozpoczęcie nowej folii
11522 \begin_layout Standard
11523 Jak wspomniałem wcześniej, mamy cztery sposoby na utworzenie nowej folii.
11524 Dla folii pionowych powinieneś użyć
11533 Różnica pomiędzy tymi środowiskami polega na wielkości odstępu pomiędzy
11537 \begin_layout Standard
11538 Folie poziome tworzymy za pomocą środowisk
11544 ShortRotatefoilhead
11547 Znów różnica miedzy nimi polega na odstępie pomiędzy tytułem a treścią.
11548 W obu skróconych wersjach mamy o pół cala mniejszy odstęp.
11551 \begin_layout Standard
11552 Jednym problemem z obsługą poziomych slajdów jest wymóg użycia sterownika
11557 do utworzenia pliku PostScriptŽ, w przeciwnym razie folia nie zostanie
11559 Jest możliwość uzyskania poziomych folii nawet jeśli nie masz programu
11564 , po prostu musisz włożyć folie poziomo do drukarki;-)
11567 \begin_layout Subsubsection
11568 Theorems, Lemmas, Proofs i więcej
11571 \begin_layout Standard
11572 Z powodu małego błędu w LyX-ie nie można umieścić dwóch środowisk tego samego
11573 typu bezpośrednio jedno po drugim.
11574 Musza one być czymkolwiek rozdzielone.
11575 Jeśli spróbujesz , będziesz mógł rozciągnąć poprzednie środowisko, tak
11576 abyś miał połączone dwa środowiska razem.
11577 A jak rozwiązać ten problem? Najprostszym rozwiązaniem jest wstawienie
11578 tekstu pomiędzy dwa środowiska lub wstawienie wstawki
11582 pomiędzy te środowiska zawierającej znak komentarza ,,
11587 To wymusi na LyX-ie utworzenie dwóch oddzielnych środowisk i da poprawny
11589 Przykład jest zawarty w dostarczonym pliku w dystrybucji LyX-a.
11590 pamiętaj, problem pojawia się tylko jeśli próbujesz umieścić dwa środowiska
11591 takie jak Theorem bezpośrednio jedno za drugim.
11594 \begin_layout Subsubsection
11598 \begin_layout Standard
11599 Możesz korzystać ze wszystkich obsługiwanych i występujących w innych klasach,
11600 środowisk list, a także z dwóch nowych.
11601 Tutaj opiszę tylko te nowe.
11602 Jeśli chcesz znaleźć więcej informacji o innych środowiskach list zajrzyj
11605 Podręcznika Użytkownika
11608 Jeśli zamierzasz korzystać z wyliczeń powinieneś także przeczytać sekcję
11610 \begin_inset CommandInset ref
11612 reference "sec:bullet"
11618 Wybór znaku wyliczenia
11623 \begin_layout Standard
11624 Dwa nowe style list
11632 , zaprojektowano aby ułatwić Ci tworzenie list czynności wykonanych i nie
11633 lub co jest w porządku lub złe, przez dostarczenie dedykowanych środowisk,
11634 które używają haczyka (akceptacji) lub krzyżyka (negacji) jako znaku wyliczenia.
11635 Te listy są w rzeczywistości dedykowanymi wariantami środowiska
11640 Wymagają one jednak zainstalowanego pakietu
11647 \begin_layout Subsubsection
11651 \begin_layout Standard
11656 TeX redefiniuje wstawki tabel i rysunków tak, aby pojawiły się dokładnie
11657 w miejscu ich wystąpienia w tekście.
11658 W rzeczywistości zmiany pozycji wstawki są ignorowane.
11661 \begin_layout Subsubsection
11663 \begin_inset CommandInset label
11665 name "sec:foilfoot"
11672 \begin_layout Standard
11685 są przeznaczone do sterowania lewą stopką.
11686 Pierwsze pozwala na dołączenie
11690 \begin_layout Plain Layout
11693 Aby dołączyć logo graficzne to należy jako argument polecenia
11700 \begin_inset Newline newline
11707 includegraphics{nazwapliku}
11709 oraz umieścić w preambule polecenie:
11710 \begin_inset Newline newline
11717 usepackage{graphicx}
11723 usepackage{graphics}
11728 logo graficznego do folii, a domyślnie wpisuje ,,--Typeset by FoilTeX--''.
11729 Drugie polecenie pozwala na wprowadzenie klasyfikacji dostępności, np.
11736 Domyślnie jest puste.
11739 \begin_layout Standard
11740 Pozostałe narożniki można wypełnić poleceniami
11743 \begin_inset space ~
11748 (domyślnie numer folii),
11751 \begin_inset space ~
11759 \begin_inset space ~
11767 \begin_layout Subsection
11768 Nieobsługiwane funkcje
11773 \begin_inset CommandInset label
11775 name "sec:unsuppfoils"
11782 \begin_layout Standard
11783 Wszystkie polecenia wyjaśnione poniżej należy wstawiać w środowisku
11791 wewnątrz innych środowisk.
11794 \begin_layout Subsubsection
11798 \begin_layout Standard
11799 Wszystkie długości są ustawiane poleceniem
11800 \begin_inset Newline newline
11822 \begin_inset Newline newline
11829 powinno być zastąpione nazwą długości, która chcesz zmienić, a
11834 Dla wszystkich długości należy podać jednostkę, np.
11847 ) lub jednostki względne w dokumencie lub długości odnoszące się do wielkości
11857 \begin_layout Standard
11858 Można zmieniać odstęp pomiędzy tytułem folii a treścią, przez zmianę długości
11866 Na przykład, aby na
11870 foliach tytuły były bliżej treści o pół cala, to wpisz do preambuły:
11871 \begin_inset Newline newline
11880 foilheadskip}{-0.5in}
11883 \begin_layout Standard
11884 Odstępy wokół wstawek mogą być ustawiane przez zmianę następujących długości:
11887 \begin_layout Labeling
11888 \labelwidthstring MMMMMMMMMMM
11895 odstęp pomiędzy tekstem a górą wstawki,
11898 \begin_layout Labeling
11899 \labelwidthstring MMMMMMMMMMM
11906 odstęp pomiędzy wstawką a podpisem,
11909 \begin_layout Labeling
11910 \labelwidthstring MMMMMMMMMMM
11917 odstęp pomiędzy podpisem a dalszym tekstem,
11920 \begin_layout Labeling
11921 \labelwidthstring MMMMMMMMMMM
11928 Możesz zadać węższy podpis wstawki niż otaczający tekst przez ustawienie
11930 Najlepiej odnosić się do długości
11939 \begin_layout Standard
11940 Jest jeszcze kilka długości związanymi ze strona tytułowa, które mogą być
11941 użyteczne jeśli masz długie tytuły lub kilku autorów:
11944 \begin_layout Labeling
11945 \labelwidthstring MMMMMMMMMMM
11952 odstęp pomiędzy nagłówkiem a
11959 \begin_layout Labeling
11960 \labelwidthstring MMMMMMMMMMM
11967 odstęp pomiędzy środowiskami
11978 \begin_layout Labeling
11979 \labelwidthstring MMMMMMMMMMM
11986 odstęp pomiędzy wielokrotnymi wierszami środowiska
11993 \begin_layout Labeling
11994 \labelwidthstring MMMMMMMMMMM
12001 odstęp pomiędzy środowiskami
12012 \begin_layout Labeling
12013 \labelwidthstring MMMMMMMMMMM
12020 odstęp pomiędzy środowiskami
12031 \begin_layout Standard
12032 Ostatnia długość odnosi się do wszystkich środowisk list.
12043 środowiska listy, wtedy wszystkie odstępy pionowe pomiędzy elementami listy
12045 Uwaga -- to jest polecenie, a nie długość i nie wymaga
12051 tak jak wspomniane powyżej długości.
12054 \begin_layout Subsubsection
12058 \begin_layout Standard
12071 sterują wyświetlaniem na danym slajdzie logo zdefiniowanym poleceniem
12078 Jeśli wpiszesz polecenie
12084 do preambuły, to wówczas na żadnej folii nie pojawi się logo.
12085 Jeśli nie chcesz aby pojawiło się logo na jednej z folii, to umieść na
12092 tuż po tytule strony, a następnie umieść polecenie
12098 po tytule następnej folii.
12101 \begin_layout Standard
12102 Pozostałe polecenia sterujące:
12105 \begin_layout Labeling
12106 \labelwidthstring MMMMMMMMM
12113 prawa stopka, domyślnie zawiera numer strony
12116 \begin_layout Labeling
12117 \labelwidthstring MMMMMMMMM
12127 \begin_layout Labeling
12128 \labelwidthstring MMMMMMMMM
12138 \begin_layout Standard
12139 Jeśli zdecydujesz się użyć styl strony
12147 , prawdopodobnie powinieneś dodać
12148 \begin_inset Newline newline
12162 \begin_inset Newline newline
12165 do preambuły, tak aby nagłówki i stopki były właściwie umieszczone na poziomych
12167 Jest to spowodowane niezgodnością układów stron dostarczanych przez pakiet
12179 \begin_layout Section
12180 Latex8 (Dokumenty konferencyjne IEEE )
12183 \begin_layout Standard
12189 \begin_layout Subsection
12193 \begin_layout Standard
12194 Since this class is specifically for writing submissions to IEEE sponsored
12195 conferences I strongly recommend that you get a copy of their Authors Kit.
12200 package and associated bibliography style file is included in the kit.
12201 The Authors Kit is usually sent out by email once your initial submission
12203 There is a lot of useful information in the Authors Kit explaining formatting
12204 restrictions and so on and I will assume you have read this since that
12205 means I don't have to repeat it all here.
12208 \begin_layout Subsection
12212 \begin_layout Standard
12217 \begin_layout Subsection
12218 Obsługiwane środowiska
12221 \begin_layout Itemize
12225 \begin_layout Itemize
12229 \begin_layout Itemize
12233 \begin_layout Itemize
12237 \begin_layout Itemize
12241 \begin_layout Itemize
12245 \begin_layout Itemize
12249 \begin_layout Itemize
12253 \begin_layout Itemize
12257 \begin_layout Subsection
12258 Różnice pomiędzy ekranem a dokumentem
12261 \begin_layout Standard
12262 There are slight differences in appearance mainly with the presentation
12263 of section counters.
12264 On screen the trailing period of the section counter is missing but it
12265 will appear in the output so don't let this worry you.
12268 \begin_layout Section
12269 Hollywood (Hollywood spec scripts)
12272 \begin_layout Standard
12278 \begin_layout Subsection
12282 \begin_layout Standard
12283 Getting the format of a Hollywood script right is a ,,rite of passage''.
12284 Został zaprojektowany do czytania ze zwróceniem uwagi na treść oraz aby
12285 być łatwym i przyjaznym w czytaniu dla aktorów.
12286 Każda strona scenariusza powinna być jedną minutą filmu.
12287 Nie pisz tego czego nie możesz zobaczyć lub usłyszeć na ekranie.
12288 W całym dokumencie powinna być stosowana czcionka Courier 12pkt, bez kursywy.
12291 \begin_layout Subsection
12295 \begin_layout Standard
12296 Tekst mówcy nie powinien być NIGDY łamany w połowie zdania.
12297 Jeśli tekst mówcy jest kontynuowany na następnej stronie, powtórz
12308 \begin_layout Subsection
12312 \begin_layout Standard
12313 Wstaw nazwę mówcy (
12317 ) jako etykietę, a dalej wykorzystuj ją przez odnośniki wewnętrzne.
12318 Okno odnośników będzie wyświetlało obsadę.
12319 Odnośniki możesz używać do wstawiania nazwy mówcy również w tekście narratora.
12322 \begin_layout Subsection
12323 Rozmiar papieru i marginesy
12326 \begin_layout Standard
12327 USLetter, lewy 1.6in, prawy 0.75in, górny 0.5in, dolny 0.75in
12330 \begin_layout Subsection
12334 \begin_layout Standard
12335 Dostępne są następujące środowiska.
12336 Możesz użyć układu hollywood.bind aby uzyskać skróty klawiszowe jak poniżej.
12339 \begin_layout Itemize
12343 \begin_inset Newline newline
12348 Użyj gdzie nic innego nie pasuje.
12349 Próbuj nie korzystać z niego.
12352 \begin_layout Itemize
12356 \begin_inset space \hfill{}
12360 \begin_inset Newline newline
12365 Used to describe stage setting and the action.
12366 Pierwsze użycie nazwy aktora napisz kapitalikiem.
12369 \begin_layout Itemize
12373 \begin_inset space ~
12379 \begin_inset space \hfill{}
12387 \begin_inset Newline newline
12390 Usually followed by something like ,,on Sally waking up''.
12393 \begin_layout Itemize
12397 \begin_inset space \hfill{}
12401 \begin_inset Newline newline
12406 Introduces a new INTERIOR camera set-up.
12407 Always followed by DAY or NIGHT, or something similar to define the lighting
12409 Pisz zawsze dużymi literami.
12412 \begin_layout Itemize
12416 \begin_inset space \hfill{}
12420 \begin_inset Newline newline
12425 Introduces a new EXTERIOR camera set-up.
12426 Pisz zawsze dużymi literami.
12429 \begin_layout Itemize
12433 \begin_inset space \hfill{}
12437 \begin_inset Newline newline
12442 The character speaking.
12445 \begin_layout Itemize
12449 \begin_inset space \hfill{}
12453 \begin_inset Newline newline
12458 Instrukcje dla mówcy.
12459 Nawiasy ,,()'' są wstawiane automatycznie i wyświetlane są tylko w LyX-ie,
12460 ale zawsze będa drukowane.
12463 \begin_layout Itemize
12467 \begin_inset space \hfill{}
12471 \begin_inset Newline newline
12483 \begin_layout Itemize
12487 \begin_inset space \hfill{}
12491 \begin_inset Newline newline
12496 Instrukcja przemieszczania dla kamery, np.
12500 \begin_layout Itemize
12504 \begin_inset space ~
12508 \begin_inset space \hfill{}
12514 \begin_layout Itemize
12518 \begin_inset space \hfill{}
12524 \begin_layout Itemize
12528 \begin_inset space \hfill{}
12534 \begin_layout Itemize
12538 \begin_inset space ~
12542 \begin_inset space \hfill{}
12548 \begin_layout Subsection
12552 \begin_layout Itemize
12553 (O.S) --- off screen
12556 \begin_layout Itemize
12557 (V.0) --- voice over
12560 \begin_layout Itemize
12565 \begin_layout Itemize
12570 \begin_layout Itemize
12571 PAN --- przesunięcie kamery
12574 \begin_layout Itemize
12575 INSERT --- cut to close-up of
12578 \begin_layout Section
12582 \begin_layout Standard
12588 \begin_layout Subsection
12592 \begin_layout Standard
12593 Klasa Broadway jest przeznaczona dla piszących scenariusze teatralne.
12594 Ten format jest bardziej dekoracyjny i o wiele mniej ustandaryzowany.
12595 Ten format powinien być odpowiedni dla workshopów.
12598 \begin_layout Subsection
12602 \begin_layout Standard
12603 Podobnie jak format Hollywood.
12606 \begin_layout Subsection
12610 \begin_layout Standard
12611 Wstaw nazwę mówcy (
12615 ) jako etykietę, a dalej wykorzystuj ją przez odnośniki wewnętrzne.
12616 Okno odnośników wewnętrznych będzie wyświetlać aktualną obsadę.
12619 \begin_layout Subsection
12620 Rozmiar papieru i marginesy
12623 \begin_layout Standard
12624 USLetter, lewy 1.6in, prawy 0.75in, górny 0.5in, dolny 0.75in
12627 \begin_layout Subsection
12631 \begin_layout Standard
12632 Dostępne są następujące środowiska.
12633 Możesz użyć układu broadway.bind aby uzyskać skróty klawiszowe jak poniżej.
12636 \begin_layout Itemize
12640 \begin_inset Newline newline
12645 Nie powinieneś go używać, ale jest jeśli inne nie będą Ci odpowiadać.
12648 \begin_layout Itemize
12652 \begin_inset space \hfill{}
12656 \begin_inset Newline newline
12661 Used to describe stage setting and the action.
12662 Pierwsze użycie nazwy aktora napisz kapitalikiem.
12665 \begin_layout Itemize
12669 \begin_inset space \hfill{}
12673 \begin_inset Newline newline
12678 Automatycznie numerowane.
12679 Na ekranie będzie numeracja liczbami arabskimi, a na wydruku rzymskimi.
12682 \begin_layout Itemize
12686 \begin_inset space \hfill{}
12690 \begin_inset Newline newline
12695 Tekst jest centrowany.
12698 \begin_layout Itemize
12702 \begin_inset space \hfill{}
12706 \begin_inset Newline newline
12711 Nie jest numerowane automatycznie.
12713 This is because I couldn't figure out how.
12716 \begin_layout Itemize
12720 \begin_inset space ~
12724 \begin_inset space \hfill{}
12728 \begin_inset Newline newline
12733 A special case of Narrative to describe the setting and action as the curtain
12737 \begin_layout Itemize
12741 \begin_inset space \hfill{}
12745 \begin_inset Newline newline
12750 Nazwa mówcy (aktora), wyśrodkowana napisana będzie kapitalikiem.
12753 \begin_layout Itemize
12757 \begin_inset space \hfill{}
12761 \begin_inset Newline newline
12766 Instrukcje dla mówcy.
12767 Nawiasy ,,()'' są wstawiane automatycznie, ale wyświetlane są tylko w LyX-ie,
12768 ale zawsze będa drukowane.
12769 To środowisko jest używane tylko wewnątrz środowiska
12776 \begin_layout Itemize
12780 \begin_inset space \hfill{}
12784 \begin_inset Newline newline
12792 \begin_layout Itemize
12796 \begin_inset space \hfill{}
12800 \begin_inset Newline newline
12805 Opuszczenie kurtyny.
12808 \begin_layout Itemize
12812 \begin_inset space \hfill{}
12818 \begin_layout Itemize
12822 \begin_inset space \hfill{}
12828 \begin_layout Itemize
12832 \begin_inset space \hfill{}
12838 \begin_layout Standard
12842 \begin_layout Section
12846 \begin_layout Standard
12852 \begin_layout Standard
12856 \begin_inset space ~
12861 współpracuje z klasą RevTeX 4.0 (wydanie
12862 \begin_inset Formula $\beta$
12865 z maja 1999 roku) American Physical Society.
12866 LyX ma klasę dokumentu
12870 , która współpracuje z RevTeX 3.1.
12871 Jednak wersja 3.1 jest generalnie przestarzała jako współpracująca z LaTeX2.09,
12872 co oznacza, że współpraca z LyX-em nie jest najlepsza., ponieważ LyX wymaga
12874 Since RevTeX 4.0 has been designed to work much more cleanly with LaTeX2e,
12878 \begin_inset space ~
12883 textclass should also be pretty easy to use.
12886 \begin_layout Standard
12887 These documents are supposed to be used in
12891 to the RevTeX 4.0 documents, so we don't describe any of the special RevTeX
12892 macros, and assume you'll know what to put in the preamble if necessary.
12895 \begin_layout Subsection
12899 \begin_layout Standard
12900 All you need to do is install RevTeX 4, as described in the package's README
12902 the package can be found atThe RevTeX 4 Web Site
12903 \begin_inset Flex URL
12906 \begin_layout Plain Layout
12908 http://publish.aps.org/revtex4/
12914 Install it somewhere that LaTeX can see it.
12915 Test it by trying to LaTeX a short RevTeX 4 document in some random directory
12916 (i.e., not the directory where you installed the class file.) Then, if you
12917 reconfigure LyX, it will find the class file and let you use the RevTeX4
12921 \begin_layout Standard
12922 Probably the easiest way to get started is either to import a RevTeX 4 document
12930 \begin_inset space ~
12935 template, found in the templates directory.
12938 \begin_layout Subsection
12942 \begin_layout Standard
12943 Optional arguments to
12949 , like ,,preprint'' and ,,aps'', go in the
12962 Remember that in RevTeX, at least one optional argument is required!
12965 \begin_layout Standard
12966 Other preamble matter, like
12977 popup, also as usual.
12980 \begin_layout Subsection
12984 \begin_layout Standard
12985 The layouts basically correspond to the commands in RevTeX4.0.
12986 For example, the Email layout corresponds to
12993 Note that (at least as of RevTeX 4.0 Beta), the
13001 layouts are exactly equivalent, so you shouldn't need to use both.
13005 \begin_layout Plain Layout
13006 In case you're curious, both were included so that
13010 would be able to translate both
13030 \begin_layout Standard
13031 There are a couple of important unique aspects of RevTeX 4 which might cause
13032 bugs that will be even more confusing in LyX.
13035 \begin_layout Standard
13053 The LyX equivalent is that there is a separate Thanks layout.
13058 write footnotes in the
13062 layout, or weird things may happen.
13063 See the RevTeX 4 documentation for more details.
13066 \begin_layout Standard
13070 \begin_inset space ~
13078 \begin_inset space ~
13087 layouts must be placed
13095 layout and the corresponding
13112 , the LaTeX won't compile.
13115 \begin_layout Subsection
13119 \begin_layout Standard
13120 The main problem with this layout is that you can't use the optional arguments
13121 to layouts like Email and Title.
13122 (The problem is not unique to this layout; in LyX 1.0, you can't use optional
13123 arguments to the Section layouts.) This means that after you export that
13124 file to LaTeX (which you'll need to do eventually to send it in to APS),
13125 you'll need to edit the LaTeX file with a text editor to add the optional
13126 arguments to set, e.g., the running title for the page headers.
13127 Lacking these layouts makes the
13133 (and the equivalent
13139 ) useless, so the corresponding layouts don't exist, and will have to be
13141 This drawback will be fixed in LyX 1.2.
13144 \begin_layout Section
13145 article (mwart), book (mwbk) i report (mwrep)
13148 \begin_layout Standard
13154 \begin_layout Standard
13167 autorstwa marcina Wolińskiego odpowiadają klasom LateX-a odpowiednio:
13180 Zastępują one standardowe klasy:
13193 Są one zgodne z polskimi zwyczajami typograficznymi.
13196 \begin_layout Standard
13197 Podstawowe różnice:
13200 \begin_layout Itemize
13201 Nienumerowane tytularia ( z gwiazdką) są dopisywane do spisu treści.
13204 \begin_layout Itemize
13205 Dodatkowe style strony:
13209 \begin_layout Description
13210 uheadings pagina górna z linią oddzielającą,
13213 \begin_layout Description
13214 myheadings pagina górna z zadawaną treścią poleceniami:
13229 \begin_layout Description
13230 myuheadings pagina górna z zadawaną treścią z linią oddzielającą,
13233 \begin_layout Description
13234 outer paginacja w stopce od strony zewnętrznego marginesu
13238 \begin_layout Itemize
13243 \begin_layout Description
13244 rmheadings szeryfowe tytularia -- opcja domyślna
13247 \begin_layout Description
13248 sfheadings bezszeryfowe tytularia
13251 \begin_layout Description
13252 authortitle najpierw autor poniżej tytuł -- opcja domyślna
13255 \begin_layout Description
13256 titleauthor najpierw tytuł poniżej autor
13259 \begin_layout Description
13260 withmarginpar rezerwuje miejsce na marginalia
13264 \begin_layout Chapter
13265 Import i eksport innych formatów plików
13268 \begin_layout Section
13272 \begin_layout Standard
13273 Zagadnienie importu i eksportu z/do innych formatów plików zostało wspomniane
13276 Podręczniku Użytkownika
13279 W tym rozdziale jest opisane więcej szczegółów potrzebnych do zrozumienia
13280 tego co się dzieje po naciśnięciu polecenia
13285 lik\SpecialChar \menuseparator
13297 lik\SpecialChar \menuseparator
13307 \begin_layout Section
13308 Import z innych formatów
13311 \begin_layout Subsection
13315 \begin_layout Standard
13318 Translating from LaTeX into LyX is performed by a converter program called
13326 Ponadto jest to samodzielny program, który może być wywoływany z wiersza
13328 LyX wywołuje go automatycznie podczas importu pliku LaTeX-a.
13330 \begin_inset space ~
13334 \begin_inset CommandInset ref
13336 reference "sec:Importowanie-plików-LaTeX-a"
13340 dla pełniejszego opisu.
13343 \begin_layout Subsection
13347 \begin_layout Standard
13348 Są dwie metody importu plików tekstowych ASCII.
13349 Import ,,jako wiersze'' zachowuje wszystkie końce wierszy z pliku ASCII
13350 do LyX-a, wówczas każdy wiersz jest oddzielnym akapitem.
13351 Podczas importu ,,jako akapit'' kolejne wiersze łączone są w jeden akapit.
13352 Pusty wiersz traktowany jest jako separator akapitów.
13355 \begin_layout Subsection
13359 \begin_layout Standard
13362 [Editor's note: Needs to be written, obviously - any volunteers? --- mer]
13365 \begin_layout Section
13366 Eksport do innych formatów
13369 \begin_layout Subsection
13373 \begin_layout Standard
13374 LyX tworzy dwa typy plików LaTeX-owych: pliki do normalnego przetwarzania
13375 (do podglądu DVI itp.), które nie są nigdy oglądane oraz pliki o formie
13376 czytelnej dla ludzi.
13377 Jedyną możliwą do ustawienia jest dyrektywa
13383 określająca maksymalną długość wiersza pliku, domyślną wartością jest 75
13385 Plik wynikowy jest poprawnym plikiem LaTeX-a, lecz preambuła może wyglądać
13386 trochę przerażająco ponieważ zawiera kilka definicji używanych przez LyX-a,
13387 które nie wyglądają na utworzone przez człowieka.
13390 \begin_layout Subsection
13394 \begin_layout Standard
13407 ndependent -- ,,sprzętowo niezależne'') są tworzone podczas przetwarzania
13408 Twojego dokumentu przez LaTeX.
13409 Nie ma żadnych opcji do ustawienia przez użytkownika.
13412 \begin_layout Subsection
13416 \begin_layout Standard
13417 Następny krokiem w łańcuchu konwersji jest konwersja pliku DVI do PostScript.
13418 Najczęściej używanym do tego celu programem jest program
13423 Wybrany program należy podać w pliku
13434 Argumenty wiersza poleceń, np.
13435 dla dvips polecenia druku w odwrotnej kolejności (
13439 ) można podać w dyrektywie
13443 print_extra_options
13448 \begin_layout Subsection
13452 \begin_layout Standard
13453 Eksport do ASCII próbuje zachować ,,kształt'' dokumentu jak to możliwe,
13454 ale takie elementy jak centrowanie i wcięcia są odrzucane, a akapity są
13455 rozdzielane pustym wierszem.
13456 Numeracja sekcji i odnośników jest wykonana poprawnie, tak że w efekcie
13457 plik jest dość przejrzysty.
13458 Jedyną możliwą do ustawienia jest dyrektywa
13464 określająca maksymalną długość wiersza pliku ASCII.
13467 \begin_layout Subsection
13471 \begin_layout Standard
13472 Dokumenty LyX-a mogą być konwertowane do formatu hipertekstowego, zwykle
13473 najpierw dokonywana jest konwersja do LaTeX-a, który konwertuje do formatu
13477 \begin_layout Standard
13478 Aktualnie są dostępne dla LyX-a trzy konwertery LaTeX
13479 \begin_inset Formula $\rightarrow$
13495 Są one wykrywane automatycznie, jednak można wymusić wybór jednego z nich
13496 dyrektywą w pliku konfiguracyjnym
13503 W tej dyrektywie można także dołączyć argumenty wiersza poleceń.
13504 Czytaj komentarze w pliku
13508 , które zawierają najbardziej aktualne informacje dotyczące szczegółów użycia
13509 poszczególnych dyrektyw.
13512 \begin_layout Subsection
13516 \begin_layout Standard
13524 \begin_layout Standard
13525 Najszybszą drogą do tworzenia plików PDF (bez znaczników, linków itp.) w
13526 dowolnej wersji LyX-a jest zapisanie dokumentu w formacie PostScript, a
13527 następnie uruchomienie polecenia
13532 Począwszy od wersji 1.1.6 dostępna jest pozycja menu
13537 lik\SpecialChar \menuseparator
13538 Exportuj\SpecialChar \menuseparator
13542 Od wersji 1.1.6 jest to najlepsza droga do uzyskania porządnych plików PDF.
13543 Jest trochę kłopotów z czcionkami, na które powinieneś uważać -- zobacz
13544 \begin_inset CommandInset ref
13546 reference "sec:badfonts"
13553 \begin_layout Subsubsection
13557 \begin_layout Standard
13558 Korzystając z pdfLaTeX potrzebujesz skonwertować swoje obrazki EPS do formatu
13560 \begin_inset CommandInset ref
13562 reference "sec:pdfeps"
13566 ) i nie możesz używać pstricks.
13567 Z drugiej strony, korzystając z pdfLaTeX można wstawiać wprost rysunki
13568 w formatach JPEG lub PNG, używać czcionek TrueType i wiele innych.
13571 \begin_layout Subsubsection
13572 Dlaczego tekst wygląda mało czytelnie przy podglądzie za pomocą Acrobat
13574 \begin_inset CommandInset label
13576 name "sec:badfonts"
13583 \begin_layout Standard
13584 Źródłem kłopotów są czcionki bitmapowe brzydko wyświetlane przez Acrobat
13586 Podczas tworzenia pliku PDF z pliku LyX-a potrzebujesz czcionek obwiedniowych
13587 zamiast bitmapowych (w rzeczywistości powinieneś także używać czcionek
13588 obwiedniowych w plikach postscriptowych).
13591 \begin_layout Standard
13592 Ostatnie dystrybucje LaTeX-a posiadają standardowe czcionki CM (Computer
13593 Modern) PostScript Type 1.
13594 PdfLaTeX używa tych czcionek domyślnie.
13595 Dvips nie używa ich domyślnie, dla ich użycia należy dopisać do pliku
13599 następujące wiersze
13602 \begin_layout LyX-Code
13606 \begin_layout LyX-Code
13610 \begin_layout Standard
13611 Jeśli używane jest domyślne kodowanie LaTeX-a (OT1), to nie trzeba robić
13613 Ale jeśli używane jest kodowanie T1 to LaTeX używa nowych czcionek EC,
13614 dla których nie ma wersji Type1.
13615 Rozwiązaniem jest użycie pakietu ae, który emuluje kodowanie T1 używając
13617 Należy wówczas w preambule dopisać
13621 usepackage{ae,aecompl}
13624 Jednak niektórych znaków brakuje w czcionkach CM (np.
13625 eth, thorn) i są one pobierane z czcionek EC.
13626 Dlatego pobierane są znaki jako bitmapy.
13629 \begin_layout Standard
13630 Uwaga: LyX używa domyślnie kodowania T1.
13631 Jeśli chcesz stosować domyślne kodowanie (co nie jest zalecane chyba że
13632 piszesz tylko w języku angielskim), dodaj wiersz
13636 font_encoding default
13647 \begin_layout Plain Layout
13648 Dla składu w języku polskim zaleca się stosować kodowanie OT4 oraz pakiet
13662 włącza spolonizowane czcionki CM w układzie OT4 zwane czcionkami PL.
13663 Czcionki PL występują również w wersji obwiedniowej co rozwiązuje problemy
13664 z Acrobat Readerem.
13671 Alternatywą jest użycie standardowych czcionek postscriptowych zamiast
13673 Do tego potrzebujesz wybrać pslatex jako globalną czcionkę w oknie układu
13675 Gdy używamy czcionek postsciptowych to pliki PDF są mniejsze o czcionki
13676 nie dołączone do pliku.
13677 Ponadto czcionki postscriptowe dołączają wszystkie krzywe T1.
13678 Z drugiej zaś strony czcionki postscriptowe nie posiadają półgrubych czcionek
13679 symboli i muszą być użyte pmb (poor man's bold, zobacz
13680 \begin_inset CommandInset ref
13682 reference "sec:pdfbold"
13687 Czcionki postscriptowe także wyglądają inaczej z zestawu czcionek CM.
13690 \begin_layout Standard
13691 Podsumowując czcionki postscriptowe i Computer Modern dają dobre rezultaty
13692 (z kilkoma wyjątkami).
13693 Decyzja których używać jest kwestią gustu.
13696 \begin_layout Subsubsection
13697 Jak mogę użyć pdfLaTeX z obrazkami w formacie EPS?
13698 \begin_inset CommandInset label
13707 \begin_layout Standard
13708 PdfLaTeX nie obsługuje włączania plików EPS, ale obsługuje włączanie plików
13710 Jeśli masz dokumenty z włączonymi rysunkami EPS, np.
13718 \begin_layout Enumerate
13728 \begin_layout Enumerate
13729 Kiedy wstawiasz rysunek w dokumencie nie podawaj rozszerzenia nazwy pliku:
13730 na przykład, wstawiając plik
13734 wystarczy wpisać tylko
13738 w oknie dialogowym.
13741 \begin_layout Standard
13742 Uwaga: W LyX 1.2.0 będzie możliwe wstawianie różnych rodzajów rysunków ze
13743 wszystkimi niezbędnymi transformacjami.
13744 Częściowo funkcjonalne wstawianie istnieje w wersji 1.1.6, do użycia należy
13747 M-x graphics-insert
13752 \begin_layout Subsubsection
13755 boldsymbol{} nie działa gdy używam pslatex?
13756 \begin_inset CommandInset label
13765 \begin_layout Standard
13766 Czcionki PostScript nie posiadają symboli półgrubych.
13767 Rozwiązaniem jest użycie polecenia
13776 \begin_layout Standard
13777 Jest to możliwe przez przedefiniowanie polecenia
13792 \begin_layout LyX-Code
13802 \begin_layout Standard
13806 \begin_layout Subsubsection
13807 Czy jest możliwe zapisanie kodu przetwarzanego tylko przez pdfLaTeX-a?
13810 \begin_layout Standard
13815 \begin_layout LyX-Code
13823 \begin_layout LyX-Code
13833 \begin_layout LyX-Code
13839 \begin_layout LyX-Code
13845 \begin_layout LyX-Code
13851 \begin_layout LyX-Code
13857 \begin_layout LyX-Code
13861 \begin_layout LyX-Code
13867 \begin_layout LyX-Code
13870 pdfinfo { /Author (your name and e-mail address)
13873 \begin_layout LyX-Code
13874 /Title (official title -- i.e., title element)
13877 \begin_layout LyX-Code
13878 /Subject (one line description of the document)
13881 \begin_layout LyX-Code
13885 \begin_layout LyX-Code
13888 pdfcatalog { /PageMode (/UseNone)
13891 \begin_layout LyX-Code
13892 % /OpenAction (fitbh)
13895 \begin_layout LyX-Code
13899 \begin_layout LyX-Code
13902 usepackage[pdftex]{hyperref}
13905 \begin_layout LyX-Code
13911 \begin_layout LyX-Code
13914 usepackage[ps2pdf]{hyperref}
13917 \begin_layout LyX-Code
13923 \begin_layout Subsection
13924 Eksport użytkownika
13927 \begin_layout Standard
13928 Eksport użytkownika jest możliwy jeśli masz dziwny format do którego chcesz
13929 konwertować, zakładając, że masz odpowiedni konwerter.
13930 Format pliku wejściowego jest podany w dyrektywie
13934 custom_export_format
13937 LyX będzie automatycznie konwertował plik do tego miejsca, a wtedy zostanie
13938 on przekazany do Twojego konwertera.
13939 Możliwymi wartościami są:
13962 \begin_layout Standard
13963 Polecenie wywołania konwertera jest podane w dyrektywie
13967 custom_export_command
13970 To powinno być kompletne polecenie wiersza poleceń, które wykorzystuje
13975 do przekazania nazwy pliku głównego.
13978 \begin_layout Standard
13979 Może będziesz musiał trochę poprawić podaną sekwencję, dla zgodności z twoją
13983 \begin_layout Standard
13984 Omawiany sposób eksportu ustawia się w domyślnym lokalnym pliku
13989 Gdy wybierzesz polecenie
13994 lik\SpecialChar \menuseparator
14002 ksportuj\SpecialChar \menuseparator
14012 , pojawi się okno, w którym można zmienić dowolną wartość.
14015 \begin_layout Chapter
14016 Funkcje LyX-a wymagające zewnętrznych programów
14019 \begin_layout Section
14023 \begin_layout Standard
14029 \begin_layout Subsection
14030 Wysyłanie faksów wprost z LyX-a
14033 \begin_layout Standard
14034 Przede wszystkim musimy wspomnieć, że LyX potrafi wysyłać faksy pod warunkiem,
14035 że masz zainstalowane i działające oprogramowanie do wysyłania faksów (np.
14036 HylaFax, efax, mgetty+sendfax, \SpecialChar \ldots{}
14038 LyX pracuje tylko jako graficzny interfejs (front end) do tych programów!
14041 \begin_layout Standard
14042 W zależności od używanego oprogramowania faksowego musisz ustawić kilka
14051 \begin_layout Description
14058 Tutaj należy podać polecenie, które ma wywołać LyX aby wysłać faks.
14059 Polecenie powinno być zdolne przetworzyć plik PostScript, wytworzony przez
14061 Łańcuch polecenia może zawierać następujące zmienne:
14065 \begin_layout Description
14070 zastępuje nazwę zmiennej środowiska FAX_SERVER
14073 \begin_layout Description
14078 zastępuje zawartość pola komentarz
14081 \begin_layout Description
14086 zastępuje zawartość pola Firma
14089 \begin_layout Description
14094 zastępuje zawartość pola nazwa
14097 \begin_layout Description
14102 zastępuje zawartość pola numer faksu
14105 \begin_layout Description
14110 zastępuje nazwę pliku, który ma zostać wysłany
14114 \begin_layout Paragraph
14118 \begin_layout Standard
14119 Przyjmujemy, że nazwałeś plik ,,
14123 '' i chciałbyś wysłać go wprost do faksu nie opuszczając LyX-a.
14124 Masz zainstalowane oprogramowanie HylaFax i twoja zmienna środowiska
14132 '' i podałeś te wartości w oknie faksowania:
14135 \begin_layout Labeling
14136 \labelwidthstring 00.00.0000
14140 \begin_inset space ~
14148 \begin_layout Labeling
14149 \labelwidthstring 00.00.0000
14153 \begin_inset space ~
14161 \begin_layout Labeling
14162 \labelwidthstring 00.00.0000
14170 \begin_layout Labeling
14171 \labelwidthstring 00.00.0000
14176 This comment string
14179 \begin_layout Standard
14180 Z podanymi niżej ustawieniami:
14183 \begin_layout LyX-Code
14187 \begin_inset Quotes eld
14190 sendfax -n -h '$$Host' -c '$$Comment'
14193 \begin_layout LyX-Code
14194 -x '$$Enterprise' -d '$$Name'@'$$Phone' '$$FName'
14195 \begin_inset Quotes erd
14201 \begin_layout Standard
14202 zostanie wykonane polecenie:
14205 \begin_layout LyX-Code
14206 sendfax -n -h faxhost.mydomain -c 'This comment string'
14209 \begin_layout LyX-Code
14210 -x 'Startrek' -d 'Someone'@'+39-2-444666'
14213 \begin_layout LyX-Code
14214 <tempfile-path>/newfile.ps
14217 \begin_layout Description
14224 Zawiera nazwę pliku książki telefonicznej, którą możesz utworzyć w oknie
14226 Domyślną wartością jest
14228 $HOME/.lyx/phonebook.
14231 \begin_layout Paragraph
14235 \begin_layout LyX-Code
14238 phone_book myphonebook
14241 \begin_layout Standard
14242 zapisuje i czyta plik książki telefonicznej z pliku
14244 $HOME/.lyx/myphonebook
14247 \begin_layout LyX-Code
14250 phone_book /var/lib/phonebook
14253 \begin_layout Standard
14254 zapisuje i czyta plik książki telefonicznej
14259 \begin_layout Description
14266 W tym miejscu podajesz program, który LyX wywoła jako zewnętrzny program
14267 do wysłania Twojego faksu (np.
14268 tkhylafax), zamiast wbudowanego formularza faksu.
14269 Dopuszczalna jest tylko zmienna
14276 \begin_layout Paragraph
14280 \begin_layout LyX-Code
14284 \begin_inset Quotes eld
14287 tkhylafax '$$Fname'
14288 \begin_inset Quotes erd
14294 \begin_layout Standard
14295 Przy powyższych założeniach zostanie wykonane następujące polecenie:
14298 \begin_layout LyX-Code
14299 tkhylafax <tempfile-path>/newfile.ps
14302 \begin_layout Section
14306 \begin_layout Standard
14312 \begin_layout Subsection
14316 \begin_layout Standard
14321 możesz znaleźć polecenie
14328 \begin_inset space ~
14334 Ta funkcja LyX-a wymaga posiadania zainstalowanego zewnętrznego programu
14339 i jest wygaszone jeśli go nie posiadasz.
14340 Możesz go pobrać z archiwów CTAN lub z
14341 \begin_inset Flex URL
14344 \begin_layout Plain Layout
14346 http://www.ifi.uio.no/~jensthi/chktex/
14354 \begin_layout Standard
14359 jest programem napisanym przez sfrustrowanego
14364 , ponieważ wiele konstrukcji LaTeX-a czasami jest nieintuicyjnych i łatwych
14366 Program przetwarzając Twój plik LaTeX-a sprawdza integralność pliku i zaznacza
14368 W języku technicznym jest to
14375 \begin_layout Standard
14376 Czy CheckTeX jest kontrolerem składni, którego użycie zapewni poprawne pliki
14377 LateX-a? Odpowiedź jest prosta: Tak jak
14381 nie tylko sprawdza składnię programów w języku C, semantykę, wyłapuje wiele
14382 typowych błędów typograficznych.
14387 potrafi wykryć wiele podstawowych błędów, takich jak:
14390 \begin_layout Itemize
14391 Ellipsis detection:
14392 \begin_inset Newline newline
14395 Use \SpecialChar \ldots{}
14399 \begin_layout Itemize
14400 No space in front of/after parenthesis:
14401 \begin_inset Newline newline
14407 \begin_layout Itemize
14408 Enforcement of normal space after common abbreviations:
14409 \begin_inset Newline newline
14414 is too wide spacing.
14417 \begin_layout Itemize
14418 Enforcement of end-of-sentence space when the last sentence ends with a
14420 \begin_inset Newline newline
14424 And this is wrong spacing.
14427 \begin_layout Itemize
14428 Space in front of labels and similar commands:
14429 \begin_inset Newline newline
14432 The label should stick right up to the text to avoid falling to a wrong
14434 \begin_inset CommandInset label
14444 \begin_layout Plain Layout
14445 This footnote is in danger of falling off to a wrong page
14453 \begin_layout Itemize
14454 Space in front of references, instead of hard spaces:
14455 \begin_inset Newline newline
14458 In you are in bad luck, the text will break right between the referenced
14459 text and reference number, and that's a pity.
14461 \begin_inset CommandInset ref
14463 reference "sec:chktex"
14470 \begin_layout Itemize
14471 Use of ,,x'' instead of
14472 \begin_inset Formula $\times$
14476 \begin_inset Newline newline
14479 2x2 looks cheap compared to
14480 \begin_inset Formula $2\times2$
14486 \begin_layout Standard
14487 i inne \SpecialChar \ldots{}
14488 To jest nieocenione narzędzie gdy ,,zakończyliśmy'' pracę nad dokumentem.
14489 Przed wydrukowaniem powinniśmy sprawdzić obligatoryjnie pisownię i uruchomić
14493 \begin_layout Subsection
14497 \begin_layout Standard
14498 Jeśli masz zainstalowany program
14502 , po prostu wybierz z menu polecenie
14507 dycja\SpecialChar \menuseparator
14515 To spowoduje utworzenie pliku LaTeX-a na podstawie Twojego dokumentu, sprawdzen
14520 i wstawienie ,,okienek błędów'' do dokumentu z ostrzeżeniami
14524 , jeśli jakieś znalazł.
14525 Ostrzeżenia zostaną umieszczone blisko miejsca wystąpienia błędu, które
14526 możesz szybko odnaleźć za pomocą polecenia z menu
14531 awigacja\SpecialChar \menuseparator
14534 lub za pomocą skótu klawiszowego
14538 w domyślnym pliku bind
14543 Okienko błędu otwiera się przez kliknięcie na nim myszką lub domyślnym
14548 albo skrótem z pliku bind
14557 Przeczytaj uwagi i popraw błędy jeśli są.
14558 Jeśli masz kłopoty ze zrozumieniem co oznaczają ostrzeżenia, możesz spokojnie
14560 Remember that there is a hidden layer between the document on screen and
14561 the technical details in invoking
14565 , and this gap can make some warnings seem arcane or just right down plain
14569 \begin_layout Standard
14570 This document is an excellent testing bed for the feature, and it should
14571 provide quite a few warnings for you to fiddle with.
14572 Since computers are only so smart, expect most of the warnings to be false
14576 \begin_layout Subsection
14580 \begin_layout Standard
14581 Sometimes, you'll find that
14585 makes more noise than suits your mood.
14586 Then you can choose not to use it, wait until your mood changes, or try
14591 to get better along with you.
14592 Another choice in the most desperate situations is to use
14597 dycja\SpecialChar \menuseparator
14605 suń wszystkie okienka błędów
14607 , which will get rid of all warnings instantly.
14610 \begin_layout Standard
14619 bardzo konfigurowalny i extensible, nie powinieneś spodziewać się rozwiązania
14620 wszystkich problemów przez
14625 Since LyX has to generate a somewhat special LaTeX file to be able to match
14626 the line numbers from
14634 \begin_layout Plain Layout
14635 You can inspect the specific output from
14641 Edit\SpecialChar \menuseparator
14643 \begin_inset space ~
14647 \begin_inset space ~
14661 to appear correctly.
14662 Są dwie rzeczy, które możesz wykonać :
14665 \begin_layout Itemize
14666 Dopasuj polecenia wywołania
14674 lub w globalnym pliku konfiguracyjnym instalacji
14678 (zwykle jest to plik
14680 /usr/local/share/chktexrc
14683 Zobacz poniżej jak można włączać i wyłączać ostrzeżenia w wierszu poleceń.
14686 \begin_layout Itemize
14687 Wyeksportuj swoj dokument do LaTeX-a za pomocą polecenia
14692 lik\SpecialChar \menuseparator
14697 ksportuj\SpecialChar \menuseparator
14712 Invoked in this way, it can be a hassle to find the corresponding place
14713 in the document inside LyX, but with a little patience, you should be able
14717 \begin_layout Standard
14718 Poniższe komunikaty ostrzeżeń mogą być aktywowane lub wyłączone za pomocą
14719 odpowiednich wpisów w dyrektywie
14734 aby wyłączyć ostrzeżenie i
14739 Ostrzeżenia napisane kursywą są domyślnie wyłączone, przez domyślny wpis
14742 chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38
14747 \begin_layout Standard
14748 Notice that you should only use the options that enable and disable warnings,
14749 because LyX relies on some of the other command line parameters to be set
14750 in a specific way to have a chance to communicate with
14757 \begin_layout Enumerate
14761 Command terminated with space.
14764 \begin_layout Enumerate
14767 Non-breaking space (,,
14771 '') should have been used.
14774 \begin_layout Enumerate
14778 You should enclose the previous parenthesis with ,,
14785 \begin_layout Enumerate
14788 Italic correction (,,
14794 '') found in non-italic buffer.
14797 \begin_layout Enumerate
14800 Italic correction (,,
14806 '') found more than once.
14809 \begin_layout Enumerate
14813 No italic correction (,,
14822 \begin_layout Enumerate
14836 \begin_layout Enumerate
14839 Wrong length of dash may have been used.
14842 \begin_layout Enumerate
14850 '' expected, found ,,
14857 \begin_layout Enumerate
14867 \begin_layout Enumerate
14874 '' to achieve an ellipsis.
14877 \begin_layout Enumerate
14880 Inter-word spacing (,,
14886 '') should perhaps be used.
14889 \begin_layout Enumerate
14892 Inter-sentence spacing (,,
14898 '') should perhaps be used.
14901 \begin_layout Enumerate
14904 Could not find argument for command.
14907 \begin_layout Enumerate
14910 No match found for ,,
14917 \begin_layout Enumerate
14920 Math mode still on at end of LaTeX file.
14923 \begin_layout Enumerate
14930 '' doesn't match the number of ,,
14937 \begin_layout Enumerate
14940 You should use either
14948 as an alternative to ,,
14955 \begin_layout Enumerate
14962 '' (ASCII 39) instead of ,,
14969 \begin_layout Enumerate
14972 User-specified pattern found.
14975 \begin_layout Enumerate
14978 This command might not be intended.
14981 \begin_layout Enumerate
14988 \begin_layout Enumerate
15006 \begin_layout Enumerate
15009 Delete this space to maintain correct page references.
15012 \begin_layout Enumerate
15016 You might wish to put this between a pair of ,,
15023 \begin_layout Enumerate
15026 You ought to remove spaces in front of punctuation.
15029 \begin_layout Enumerate
15032 Could not execute LaTeX command.
15035 \begin_layout Enumerate
15044 in front of small punctuation.
15047 \begin_layout Enumerate
15055 may look prettier here.
15058 \begin_layout Enumerate
15062 Multiple spaces detected in output.
15065 \begin_layout Enumerate
15068 This text may be ignored.
15071 \begin_layout Enumerate
15078 to begin quotation, not '.
15081 \begin_layout Enumerate
15088 to end quotation, not
15095 \begin_layout Enumerate
15101 \begin_layout Enumerate
15104 You should perhaps use ,,
15111 \begin_layout Enumerate
15114 You should put a space in front of/after parenthesis.
15117 \begin_layout Enumerate
15120 You should avoid spaces in front of/after parenthesis.
15123 \begin_layout Enumerate
15127 You should not use punctuation in front of/after quotes.
15130 \begin_layout Enumerate
15133 Double space found.
15136 \begin_layout Enumerate
15139 You should put punctuation outside inner/inside display math mode.
15142 \begin_layout Enumerate
15145 You ought to not use primitive TeX in LaTeX code.
15148 \begin_layout Enumerate
15151 You should remove spaces in front of ,,
15158 \begin_layout Enumerate
15165 '' is normally not followed by ,,
15172 \begin_layout Standard
15173 Mam nadzieję, że w następnych wersjach LyX-a dostarczymy bardziej kompletny
15174 interfejs dla tego narzędzia (i jego mniejszego kuzyna
15178 ) dla wykorzystania jego pełnych możliwości.
15179 But it's not exactly useless as it is now: go try it on one of your existing
15180 documents of a certain length and be surprised.
15183 \begin_layout Section
15184 Kontrola wersji (RCS) w LyX
15187 \begin_layout Standard
15190 Lars Gullik Bjřnnes
15193 \begin_layout Subsection
15197 \begin_layout Standard
15198 Moi przyjaciele chcieli użyć LyX-a do projektu grupowego.
15199 Gdy nie znaleźli obsługi kontroli wersji ani blokowania plików, porzucili
15201 To na tyle mnie zirytowało, że postanowiłem zrobić obsługę dla RCS (z możliwośc
15202 ią obsługi CVS i/lub SCCS jako przyszłościowe ulepszenie).
15203 To już zostało zrobione i teraz LyX obsługuje najbardziej podstawowe polecenia
15207 \begin_layout Standard
15208 Jeśli potrzebujesz zrobić coś bardziej wyszukanego to będziesz musiał zrobić
15209 to ręcznie w terminalu xterm.
15212 \begin_layout Standard
15213 Zanim zaczniesz używać kontroli wersji w LyX-ie powinieneś wpierw przeczytać
15223 W tym pliku są opisane wszystkie podstawowe funkcje RCS.
15224 Powinieneś zwrócić szczególną uwagę na katalog RCS oraz na plik główny
15228 \begin_layout Standard
15229 W LyX-ie dokonano implementacji dla ostatniej wersji pakietu GNU RCS --
15230 nie gwarantujemy wykonania dla starszych wersji.
15233 \begin_layout Subsection
15234 Polecenia RCS w LyX
15237 \begin_layout Standard
15238 W dalszych sekcjach opisano polecenia RCS obsługiwane przez LyX-a.
15239 Możesz je znaleźć w menu
15244 lik\SpecialChar \menuseparator
15254 \begin_layout Subsubsection
15260 \begin_layout Standard
15261 Jeśli dokument nie jest objęty kontrolą wersji, to wyświetlone jest tylko
15263 A jeśli dokument jest objęty kontrolą wersji, to te polecenie jest wyłączone.
15266 \begin_layout Standard
15267 To polecenie rejestruje dokument w RCS.
15268 Zostaniesz zapytany o początkowy opis dokumentu.
15269 Dokument jest teraz w trybie TylkoDoOdczytu i aby dokonać jego edycji musisz
15275 Dokument objęty kontrolą wersji ma oznaczenie w buforze: [RCS:<version>
15279 \begin_layout Standard
15282 ci -q -u -i -t-"<initial description>" <file-name>
15285 \begin_layout Standard
15290 aby poznać parametry wywołania polecenia.
15293 \begin_layout Subsubsection
15297 \begin_layout Standard
15298 Gdy skończyłeś edycję pliku wprowadź zmianę do RCS.
15299 Gdy to zrobisz, zostaniesz zapytany o opis zmian, który zostanie zapisany
15300 w historii dokumentu.
15301 Numer wersji zostanie zwiększony, a twoje zmiany dopisane do głównego pliku
15303 Dokument jest odblokowany i ustawiony w tryb TylkoDoOdczytu.
15306 \begin_layout Standard
15309 ci -q -u -m"<description>" <file-name>
15312 \begin_layout Subsubsection
15316 \begin_layout Standard
15317 Za pomocą tego polecenia blokujemy dokument dla siebie i możemy go edytować.
15318 Polecenie ustawia plik w tryb ZapisOdczyt tylko dla Ciebie.
15319 Możesz kontynuować edycję do czasu, aż do wydania polecenia
15324 W wierszu statusowym zaznaczone jest że plik został zablokowany.
15327 \begin_layout Standard
15330 co -q -l <file-name>
15333 \begin_layout Subsubsection
15334 Wróć do ostatniej wersji
15337 \begin_layout Standard
15338 Polecenie usuwa wszystkie wprowadzone zmiany do dokumentu od czasu ostatniej
15339 rewizji (zwolnienia).
15340 Zostaniesz przedtem ostrzeżony.
15343 \begin_layout Standard
15346 co -f -u<version> <file-name>
15349 \begin_layout Subsubsection
15350 Usuń ostatnio wprowadzone zmiany
15353 \begin_layout Standard
15354 Wynikiem polecenia jest jak gdyby ostatnia rewizja się nie zdarzyła.
15355 W dokumencie LyX-a nie są dokonywane żadne zmiany, ale ostatnia wersja
15356 jest usuwana z głównego pliku RCS.
15359 \begin_layout Standard
15362 rcs -o<version> <file-name>
15367 \begin_layout Subsubsection
15368 Pokaż historię zmian
15371 \begin_layout Standard
15372 Polecenie wyświetla pełną historię dokumentu.
15373 Wyświetlony zostaje
15382 aby poznać więcej informacji.
15385 \begin_layout Section
15386 Literate Programming
15389 \begin_layout Standard
15392 Edmar Wienskoski Jr.
15395 (edmar-w-jr@technologist.com)
15398 \begin_layout Subsection
15402 \begin_layout Standard
15403 The main purpose of this documentation is to show you how to use LyX for
15404 literate programming.
15405 Where it is assumed that you are familiar with this programming technique,
15407 \begin_inset Quotes eld
15411 \begin_inset Quotes erd
15415 \begin_inset Quotes eld
15419 \begin_inset Quotes erd
15423 If that is not the case, please follow the web links provided in the following
15425 There is a lot of good documentation out there covering old development
15426 history to the latest tools tips.
15429 \begin_layout Standard
15430 It is also assumed that you are familiar with LyX itself to a point that
15431 you are comfortable changing your
15435 file, and X resources file.
15436 If that is not the case please refer to other LyX documentation to cover
15437 your specific needs.
15440 \begin_layout Subsection
15441 Literate Programming
15444 \begin_layout Standard
15445 From the Literate Programming FAQ :
15448 \begin_layout Quotation
15449 Literate programming is the combination of documentation and source together
15450 in a fashion suited for reading by human beings.
15451 In fact, literate programs should be enjoyable reading, even inviting!
15452 (Sorry Bob, I couldn't resist!) In general, literate programs combine source
15453 and documentation in a single file.
15454 Literate programming tools then parse the file to produce either readable
15455 documentation or compilable source.
15456 The WEB style of literate programming was created by D.E.
15457 Knuth during the development of his TeX typesetting software.
15460 \begin_layout Standard
15461 Another excerpt says:
15464 \begin_layout Quotation
15467 How is literate programming different from verbose commenting?
15470 \begin_layout Quotation
15471 There are three distinguishing characteristics.
15472 In order of importance, they are:
15476 \begin_layout Itemize
15477 flexible order of elaboration
15480 \begin_layout Itemize
15481 automatic support for browsing
15484 \begin_layout Itemize
15485 typeset documentation, especially diagrams and mathematics
15489 \begin_layout Standard
15490 Now that I sparked your curiosity, take a look in the references.
15493 \begin_layout Subsubsection
15497 \begin_layout Standard
15498 The complete Literate Programming FAQ can be found at:
15501 \begin_layout Quote
15502 http://shelob.ce.ttu.edu/daves/faq.html
15505 \begin_layout Standard
15506 The FAQ lists 23 (twenty three !) different literate programming tools.
15507 Where some are specialized or
15508 \begin_inset Quotes eld
15512 \begin_inset Quotes erd
15515 for particular programming languages, while other have general scope.
15520 for my own use for several reasons:
15523 \begin_layout Itemize
15524 It can generate the documentation either in latex or html.
15527 \begin_layout Itemize
15528 It has a open architecture, i.e., it is easy to plug in new filters and to
15529 perform special processing that you may need.
15532 \begin_layout Itemize
15533 There is a good selection of filters available already (the html is one
15537 \begin_layout Itemize
15541 \begin_layout Standard
15542 The Noweb web page can be found at:
15545 \begin_layout Quote
15546 http://www.cs.virginia.edu/~nr/noweb
15549 \begin_layout Standard
15550 Starting from there you can reach many other interesting links and even
15551 some literate program examples.
15554 \begin_layout Subsection
15555 LyX and Literate Programming
15558 \begin_layout Standard
15559 Some changes to LyX were required to enable it to interact with Noweb.
15560 Those changes were rather simple, and were done in a
15561 \begin_inset Quotes eld
15565 \begin_inset Quotes erd
15568 way, i.e., I expect that you will be able to use this new LyX feature with
15569 some other literate programming tool of your choice by just re-configuring
15573 \begin_layout Subsubsection
15574 Generowanie dokumentów i kodu (weaving and tangling)
15577 \begin_layout Paragraph
15578 Wybor klasy dokumentu
15581 \begin_layout Standard
15582 If you have installed Noweb and LyX successfully, whenever you open a new
15583 document or try to change the document class of an existing one, you will
15584 find that there are three new document classes available:
15587 \begin_layout Itemize
15591 \begin_layout Itemize
15595 \begin_layout Itemize
15599 \begin_layout Standard
15600 You must select one of them to create your literate documents from.
15603 \begin_layout Standard
15604 Note that literate documents are not limited to these three classes.
15605 New classes can be generated from other styles like letter or in combination
15606 with other class variations like Article (AMS).
15607 I have limited the choice to these three because I didn't want to clog
15608 the list of options with all possible variations.
15609 If you have special needs that cannot be covered by one of the existing
15610 classes, let me know and I will arrange to insert a new entry, or teach
15615 \begin_layout Plain Layout
15616 It is very simple, it involves the creation of a file with four lines, and
15617 re-running of the auto configuration.
15622 a new set of document classes for it.
15625 \begin_layout Paragraph
15629 \begin_layout Standard
15630 LyX enables you to write code with a layout named
15638 \begin_layout Plain Layout
15639 The equivalent Noweb term is
15640 \begin_inset Quotes eld
15644 \begin_inset Quotes erd
15648 For historical reasons, I got used to the term
15649 \begin_inset Quotes eld
15653 \begin_inset Quotes erd
15656 introduced by other literate tool named Nuweb, which I used for many years
15657 before rendering myself to Noweb.
15665 \begin_layout LyX-Code
15669 \begin_layout LyX-Code
15673 \begin_layout LyX-Code
15677 \begin_layout LyX-Code
15681 \begin_layout LyX-Code
15685 \begin_layout Standard
15686 The problem is that whatever is written in between the << and the
15690 must be taken literally, i.e., LyX should be prevented from making any special
15691 interpretation of what has been written.
15692 For that reason, I defined a new layout named Scrap, that works like a
15693 LaTeX paragraph but has a free spacing capability.
15694 In other words, it is a combination of the LaTeX and the LyX-Code layouts.
15697 \begin_layout Standard
15698 The down side of this
15699 \begin_inset Quotes eld
15703 \begin_inset Quotes erd
15706 is that consecutive paragraphs of code will be spaced with one empty line
15707 in the source code and also in the printed documentation.
15708 Of course I don't want this.
15709 The work around is to enter each line of code within a single Scrap, with
15710 a newline (ctrl-return).
15711 The example above will look like this:
15715 \begin_layout Plain Layout
15716 If you have a printed version of this document you will not see any difference
15717 between the previous example and this one.
15723 \begin_inset Newline newline
15727 \begin_inset Newline newline
15731 \begin_inset Newline newline
15735 \begin_inset Newline newline
15741 \begin_layout Standard
15742 This layout works fine.
15743 The only real inconvenience is that you have to type ctrl-return instead
15748 \begin_layout Plain Layout
15749 It is in my list of
15750 \begin_inset Quotes eld
15754 \begin_inset Quotes erd
15762 e to enter a blank character.
15763 I believe these problems are a small price to pay for the benefits LyX
15764 brings to you for typing, compiling, and debugging your literate program.
15767 \begin_layout Paragraph
15768 Generowanie dokumentacji
15771 \begin_layout Standard
15772 At this point you already have a new document file with a proper document
15773 class, and with some code and text on it.
15774 How do I print it ? The answer is simple, you select ,,Update dvi'' or
15775 ,,Update PostScript'' or ,,View dvi'', etc.
15776 Just like you would do for a plain document.
15777 No special procedure is required.
15780 \begin_layout Standard
15781 To help orientate you, I will now explain what happens inside LyX:
15784 \begin_layout Enumerate
15785 When the ,,Update dvi'' menu option is chosen, a latex file is generated.
15789 \begin_layout Standard
15790 If the document is of any literate class the generated file will be named
15791 with an extension name defined by
15797 , otherwise the file will have the usual
15805 \begin_layout Enumerate
15806 Note that the only difference so far is in the name of the file, no special
15807 processing is required by LyX.
15808 Given that you formatted the code using the Scrap layout that, by itself,
15809 takes care of the business.
15812 \begin_layout Enumerate
15813 If the document is of any literate class LyX will execute:
15817 \begin_layout LyX-Code
15818 \begin_inset Quotes eld
15824 \begin_inset Quotes erd
15838 \begin_layout LyX-Code
15839 \begin_inset Quotes eld
15844 literate_error_filter
15845 \begin_inset Quotes erd
15859 \begin_layout Standard
15860 Otherwise it will just skip this step.
15864 \begin_layout Enumerate
15865 Finally, LaTeX is invoked and the regular post processing continues as in
15869 \begin_layout Standard
15876 is to transform the newly created
15887 \begin_layout Standard
15892 literate_error_filter
15894 command is to help LyX display error boxes when the
15900 reports any errors.
15901 This filter can be a C program, a script, or any thing you want.
15902 Its job is to identify error messages from your literate tool, in our case
15903 Noweb, and convert them to a common format that LyX understands.
15904 A separate document,
15908 , in the examples directory (accessed with the
15912 button in the file popup), has a literate C program that can be used to
15913 parse Noweb error messages.
15914 This scheme introduces one more command for the user to configure, but
15915 has the advantage of
15916 \begin_inset Quotes eld
15920 \begin_inset Quotes erd
15924 Moreover, if you don't bother to set it, you can still use the system,
15925 you just loose the ability to have a nice display and interaction with
15926 the error messages.
15929 \begin_layout Paragraph
15933 \begin_layout Standard
15934 When the ,,Build Program'' File menu option is chosen or the corresponding
15935 button in the toolbar is pressed, a latex file with extension
15941 is generated just like step 1 above.
15948 to generate the code and
15954 to process the compilation error messages, as in step 3 above.
15957 \begin_layout Standard
15958 Note that no special processing is required from LyX.
15961 \begin_layout Standard
15962 Also note that I am assuming that you are familiar with Noweb.
15963 In this case you will know what to do to get an executable file starting
15964 from a noweb file (
15969 It is likely that you will create a makefile for that purpose.
15970 For that reason, after LyX creates the noweb file, it invokes the command
15977 , with a default of
15978 \begin_inset Quotes eld
15982 \begin_inset Quotes erd
15986 In case you want to process your literate file with a script, or some other
15987 program, just insert in your lyxrc file an entry with:
15990 \begin_layout LyX-Code
15994 \begin_inset Quotes eld
15997 my_script my_arguments
15998 \begin_inset Quotes erd
16004 \begin_layout Standard
16015 literate_error_filter
16017 only in that the former will identify error messages from your compiler.
16018 The same example program mentioned before can also parse gcc, or xlc error
16020 If you have a different compiler you may want to change this program or
16022 Again, the same comments from the previous section are valid here: this
16023 is optional, you can skip it if you can afford to loose the LyX error handling
16027 \begin_layout Standard
16028 In summary, the ,,Build Program'' internal function sequence is pretty much
16029 like the ,,Update dvi'' one but involving different commands.
16033 \begin_layout LyX-Code
16034 ,,Update dvi'' -> generate .tex
16037 \begin_layout LyX-Code
16038 -> invoke -> show latex errors
16041 \begin_layout LyX-Code
16047 \begin_layout LyX-Code
16051 \begin_layout LyX-Code
16052 ,,Update dvi'' -> generate same -> invoke
16055 \begin_layout LyX-Code
16056 -> invoke -> show latex errors
16059 \begin_layout LyX-Code
16060 on literate doc file with .nw
16069 \begin_layout LyX-Code
16072 _______ -> show literate errors
16075 \begin_layout LyX-Code
16079 \begin_layout LyX-Code
16080 ,,Build Program'' -> generate same -> invoke
16083 \begin_layout LyX-Code
16084 -> show compilation error
16087 \begin_layout LyX-Code
16088 on literate doc file with .nw
16093 \begin_layout LyX-Code
16097 \begin_layout Subsubsection
16101 \begin_layout Standard
16102 There are five new controls that you can put in your lyxrc file:
16105 \begin_layout Description
16112 specifies which literate tool you are going to use.
16113 During normal LyX configuration, the auto configuration script will try
16114 to find the noweb package for you.
16115 If the search is successful, the default value for this control is set
16120 \begin_layout LyX-Code
16121 noweave -delay -index
16124 \begin_layout Standard
16125 Otherwise the default value is set to
16126 \begin_inset Quotes eld
16130 \begin_inset Quotes erd
16137 \begin_layout Description
16144 specifies the filename extension to be used for literate documents.
16145 Some literate tools requires specific file extension names.
16146 The default is set during configuration as either
16147 \begin_inset Quotes eld
16151 \begin_inset Quotes erd
16155 \begin_inset Quotes eld
16159 \begin_inset Quotes erd
16162 , depending on whether the auto configuration found the noweb package or
16166 \begin_layout Description
16174 \begin_inset Quotes eld
16178 \begin_inset Quotes erd
16182 You need to create a makefile to do the tangling, compilation, etc.
16186 \begin_layout Standard
16187 Another way is to maintain the makefile or building script itself as part
16189 That way every project can be compiled with the same command line:
16192 \begin_layout LyX-Code
16193 notangle -Rbuild-script
16200 \begin_layout Standard
16201 To use this scheme, create a script named
16205 that executes the command above:
16208 \begin_layout LyX-Code
16212 \begin_layout LyX-Code
16213 notangle -Rbuild-script $1 | sh
16216 \begin_layout Standard
16217 Finally set LyX to execute the
16224 \begin_layout LyX-Code
16227 build_command project-build
16230 \begin_layout Standard
16231 Every time you start a new project, define a scrap with name
16235 that will do the compilation for that project.
16236 Whenever you select
16237 \begin_inset Quotes eld
16241 \begin_inset Quotes erd
16244 , LyX will extract that scrap (
16246 notangle -Rbuild-script...
16256 \begin_layout Description
16261 literate_error_filter
16263 defaults to ,,cat''.
16264 If you compile the program given in
16266 Literate_example.lyx
16272 \begin_layout LyX-Code
16275 literate_error_filter
16276 \begin_inset Quotes eld
16280 \begin_inset Quotes erd
16286 \begin_layout Standard
16287 to process Noweb(noweave) error messages
16291 \begin_layout Description
16299 \begin_inset Quotes eld
16303 \begin_inset Quotes erd
16307 If you compile the program given in
16309 Literate_example.lyx
16315 \begin_layout LyX-Code
16319 \begin_inset Quotes eld
16323 \begin_inset Quotes erd
16329 \begin_layout Standard
16330 to process both Noweb(notangle) error messages and gcc error messages.
16334 \begin_layout Subsubsection
16335 Rozszerzenia diagnostyczne
16338 \begin_layout Standard
16339 There is also a new function implemented in the LyX server, the ,,server-goto-fi
16340 le-row'' function, to be used with ddd/gdb or other debugger.
16343 \begin_layout Standard
16344 When debugging code with ddd/gdb, it is possible to invoke a text editor
16345 at the current execution position with a single key stroke.
16346 The default ddd configuration for that is shift-ctrl-V.
16347 It happens that you can define the editor command line invocation in ddd
16348 by accessing the edit\SpecialChar \menuseparator
16349 preferences\SpecialChar \menuseparator
16350 helpers window and changing the ,,Edit
16354 \begin_layout Standard
16355 I take advantage of the new created LyX server function and this ddd feature,
16357 \begin_inset Quotes eld
16361 \begin_inset Quotes erd
16367 \begin_layout Quote
16368 echo "LYXCMD:monitor:server-goto-file-row:@FILE@ @LINE@" >~/.lyxpipe.in
16371 \begin_layout Standard
16372 With this, whenever you are using ddd and find a point in the program that
16373 you want to edit, you just press shift-ctrl-V (in the ddd window), and
16374 ddd you forward this information to LyX through the LyX server and then
16375 the LyX window will show the same file with the cursor at the same position
16376 ddd was pointing to.
16377 No more guessing or long scrolling to locate a point in the program back
16381 \begin_layout Standard
16382 Note however that you must enable the LyX server to get this feature working
16383 (it is disabled by default).
16384 To enable it, insert in your lyxrc file:
16387 \begin_layout Quote
16390 serverpipe "/home/<your home directory>/.lyxpipe"
16393 \begin_layout Standard
16394 Read the LyX server documentation for further information.
16397 \begin_layout Subsubsection
16398 Rozszerzenia paska narzędzi
16401 \begin_layout Standard
16402 I created six new buttons that can be added to your LyX toolbar.
16403 Five of these buttons are short cuts to layout styles: Standard, Section,
16404 LaTeX, LyX-Code, and Scrap.
16405 I created those because they are the ones I use most and I was tired of
16406 scrolling the layout menu looking for the one I wanted.
16407 The last one is a short cut to the
16408 \begin_inset Quotes eld
16412 \begin_inset Quotes erd
16418 \begin_layout Standard
16419 LyX has a range of buttons that are available for tool bar customization.
16420 In my toolbar I like to combine the six short cuts above with two more:
16422 \begin_inset Quotes eld
16426 \begin_inset Quotes erd
16430 \begin_inset Quotes eld
16434 \begin_inset Quotes erd
16438 Here is how it looks like:
16441 \begin_layout LyX-Code
16447 \begin_layout LyX-Code
16453 \begin_layout LyX-Code
16456 add layout Standard
16459 \begin_layout LyX-Code
16465 \begin_layout LyX-Code
16471 \begin_layout LyX-Code
16474 add layout LyX-Code
16477 \begin_layout LyX-Code
16483 \begin_layout LyX-Code
16489 \begin_layout LyX-Code
16495 \begin_layout LyX-Code
16501 \begin_layout LyX-Code
16507 \begin_layout LyX-Code
16513 \begin_layout LyX-Code
16517 \begin_layout LyX-Code
16521 \begin_layout LyX-Code
16525 \begin_layout LyX-Code
16531 \begin_layout Subsubsection
16532 Dopasowanie kolorów
16535 \begin_layout Standard
16536 There are a number of colors in LyX that can be customized.
16537 For each one there are two ways to do it: either by inserting a line in
16538 your X resource files, or by adding a flag in the LyX command line.
16541 \begin_layout Standard
16542 One of the things that bothers people is the LaTeX font color.
16543 The default color is red, since the scraps uses LaTeX font, and there is
16544 a lot of scraps in literate documents, you may get tired of seeing everything
16549 \begin_layout Itemize
16550 In the X resource file:
16554 \begin_layout Quote
16555 lyx*LatexColor: gold
16559 \begin_layout Itemize
16560 In the command line:
16564 \begin_layout Quote
16565 lyx -LatexColor gold
16569 \begin_layout Standard
16570 The next thing is the visible presence of the newline character in the screen.
16571 You can choose the color of this particular character and make it blend
16573 I recommend you choosing a color that is close to the background but not
16574 equal, that way you still can see it is there, but it is not bothering
16579 \begin_layout Itemize
16580 In the X resource file:
16584 \begin_layout Quote
16585 lyx*BackgroundColor: gray20
16588 \begin_layout Quote
16589 lyx*NewLineColor: gray35
16593 \begin_layout Itemize
16594 In the command line:
16598 \begin_layout Quote
16599 lyx -BackgroundColor gray20 -NewLineColor gray35
16603 \begin_layout Standard
16604 If you don't like a bright clear background burning your eyes all day long,
16605 you can reverse background and foreground colors with this:
16608 \begin_layout Itemize
16609 In the X resource file:
16613 \begin_layout Quote
16618 \begin_layout Itemize
16619 In the command line:
16623 \begin_layout Quote
16628 \begin_layout Standard
16629 The problem with all those color alterations is that you may need to change
16630 other colors as well to ensure that math, inset, etc, are
16631 \begin_inset Quotes eld
16635 \begin_inset Quotes erd
16638 with respect to the rest.
16639 The following is the selection I use in my own X resource file.
16640 It is just a suggestion.
16641 I encourage you to try to find the color set that work best for you.
16644 \begin_layout LyX-Code
16648 \begin_layout LyX-Code
16649 lyx*MathColor: green
16652 \begin_layout LyX-Code
16653 lyx*LatexColor: gold
16656 \begin_layout LyX-Code
16657 lyx*OnOffLineColor: magenta
16660 \begin_layout LyX-Code
16661 lyx*InsetColor: yellow
16664 \begin_layout LyX-Code
16665 lyx*LightedColor: gray50
16668 \begin_layout LyX-Code
16669 lyx*NewLineColor: gray35
16672 \begin_layout LyX-Code
16673 lyx*BackgroundColor: gray20
16676 \begin_layout Chapter
16682 \begin_layout Standard
16685 You can do everything with LyX that you can do with LaTeX.
16686 However, LyX cannot support every LaTeX feature directly.
16687 But you can always use TeX Code.
16688 This chapter shows you some more special things you might want to use.
16689 For other special things you can do with figures, tables, floats, boxes
16690 and notes, have a look at the
16697 \begin_layout Section
16700 Multiple Text Columns
16703 \begin_layout Standard
16706 This feature is independent of the option
16708 Two-column document
16710 in the document settings under
16715 If you want to have 2
16716 \begin_inset space ~
16719 columns for the whole document, it is recommended to use the
16721 Two-column document
16724 For all other cases use this feature.
16727 \begin_layout Standard
16730 To use multiple text columns in your document, you have to load the module
16737 Document\SpecialChar \menuseparator
16738 Settings\SpecialChar \menuseparator
16741 ) and must have the LaTeX-package
16748 \begin_layout Standard
16751 Footnotes within multiple columns will be placed at the bottom of the page
16752 and not under each column.
16753 Within the different columns you can use everything, with the limitation
16754 that for floats you need to use the float option
16761 \begin_layout Subsection
16767 \begin_layout Standard
16770 If you want to have 2
16771 \begin_inset space ~
16774 columns in your text, insert a multicolumn inset via the menu
16776 Insert\SpecialChar \menuseparator
16778 \begin_inset space ~
16781 Insets\SpecialChar \menuseparator
16783 \begin_inset space ~
16788 where the columns should start.
16789 Write all text that should be printed in 2
16790 \begin_inset space ~
16793 columns into this inset.
16796 \begin_layout Standard
16799 Here is an example:
16802 \begin_layout Standard
16806 \begin_inset Flex Multiple Columns
16809 \begin_layout Plain Layout
16815 The Adventure of the Empty House
16818 \begin_inset Newline newline
16821 by Sir Arthur Conan Doyle
16824 \begin_layout Plain Layout
16828 It was in the spring of the year 1894 that all London was interested, and
16829 the fashionable world dismayed, by the murder of the Honourable Ronald
16830 Adair under most unusual and inexplicable circumstances.
16831 The public has already learned those particulars of the crime which came
16832 out in the police investigation, but a good deal was suppressed upon that
16833 occasion, since the case for the prosecution was so overwhelmingly strong
16834 that it was not necessary to bring forward all the facts.
16835 Only now, at the end of nearly ten years, am I allowed to supply those
16836 missing links which make up the whole of that remarkable chain.
16837 The crime was of interest in itself, but that interest was as nothing to
16838 me compared to the inconceivable sequel, which afforded me the greatest
16839 shock and surprise of any event in my adventurous life.
16840 Even now, after this long interval, I find myself thrilling as I think
16841 of it, and feeling once more that sudden flood of joy, amazement, and increduli
16842 ty which utterly submerged my mind.
16843 Let me say to that public, which has shown some interest in those glimpses
16844 which I have occasionally given them of the thoughts and actions of a very
16845 remarkable man, that they are not to blame me if I have not shared my knowledge
16846 with them, for I should have considered it my first duty to do so, had
16847 I not been barred by a positive prohibition from his own lips, which was
16848 only withdrawn upon the third of last month.
16856 \begin_layout Standard
16859 To get 3 or more columns, set the cursor into the multicolumn inset and
16862 Insert\SpecialChar \menuseparator
16864 \begin_inset space ~
16868 \begin_inset space ~
16874 The number of the desired columns is written into that inset (for 3
16875 \begin_inset space ~
16879 \begin_inset Quotes eld
16883 \begin_inset Quotes erd
16887 \begin_inset Newline newline
16890 Here is an example with 3
16891 \begin_inset space ~
16897 \begin_layout Standard
16900 \begin_inset Flex Multiple Columns
16903 \begin_layout Plain Layout
16907 \begin_inset Argument 1
16910 \begin_layout Plain Layout
16918 It can be imagined that my close intimacy with Sherlock Holmes had interested
16919 me deeply in crime, and that after his disappearance I never failed to
16920 read with care the various problems which came before the public.
16921 And I even attempted, more than once, for my own private satisfaction,
16922 to employ his methods in their solution, though with indifferent success.
16923 There was none, however, which appealed to me like this tragedy of Ronald
16925 As I read the evidence at the inquest, which led up to a verdict of willful
16926 murder against some person or persons unknown, I realized more clearly
16927 than I had ever done the loss which the community had sustained by the
16928 death of Sherlock Holmes.
16929 There were points about this strange business which would, I was sure,
16930 have specially appealed to him, and the efforts of the police would have
16931 been supplemented, or more probably anticipated, by the trained observation
16932 and the alert mind of the first criminal agent in Europe.
16933 All day, as I drove upon my round, I turned over the case in my mind and
16934 found no explanation which appeared to me to be adequate.
16935 At the risk of telling a twice-told tale, I will recapitulate the facts
16936 as they were known to the public at the conclusion of the inquest.
16944 \begin_layout Standard
16947 You can have up to 10
16948 \begin_inset space ~
16951 columns if you want to, but that might not be very pleasant for the readers
16955 \begin_layout Standard
16958 \begin_inset Newpage newpage
16964 \begin_layout Subsection
16967 Columns inside Columns
16970 \begin_layout Standard
16973 You can also have columns inside columns:
16976 \begin_layout Standard
16979 \begin_inset Flex Multiple Columns
16982 \begin_layout Plain Layout
16986 The Honourable Ronald Adair was the second son of the Earl of Maynooth,
16987 at that time governor of one of the Australian colonies.
16988 Adair's mother had returned from Australia to undergo the operation for
16989 cataract, and she, her son Ronald, and her daughter Hilda were living together
16993 \begin_layout Plain Layout
16996 \begin_inset Flex Multiple Columns
16999 \begin_layout Plain Layout
17003 The youth moved in the best society–had, so far as was known, no enemies
17004 and no particular vices.
17005 He had been engaged to Miss Edith Woodley, of Carstairs, but the engagement
17006 had been broken off by mutual consent some months before, and there was
17007 no sign that it had left any very profound feeling behind it.
17008 For the rest {sic} the man's life moved in a narrow and conventional circle,
17009 for his habits were quiet and his nature unemotional.
17010 Yet it was upon this easy-going young aristocrat that death came, in most
17011 strange and unexpected form, between the hours of ten and eleven-twenty
17012 on the night of March 30, 1894.
17020 \begin_layout Plain Layout
17024 Ronald Adair was fond of cards–playing continually, but never for such stakes
17026 He was a member of the Baldwin, the Cavendish, and the Bagatelle card clubs.
17027 It was shown that, after dinner on the day of his death, he had played
17028 a rubber of whist at the latter club.
17029 He had also played there in the afternoon.
17034 The evidence of those who had played with him– Mr.
17035 Murray, Sir John Hardy, and Colonel Moran–showed that the game was whist,
17036 and that there was a fairly equal fall of the cards.
17037 Adair might have lost five pounds, but not more.
17038 His fortune was a considerable one, and such a loss could not in any way
17040 He had played nearly every day at one club or other, but he was a cautious
17041 player, and usually rose a winner.
17042 It came out in evidence that, in partnership with Colonel Moran, he had
17043 actually won as much as four hundred and twenty pounds in a sitting, some
17044 weeks before, from Godfrey Milner and Lord Balmoral.
17045 So much for his recent history as it came out at the inquest.
17053 \begin_layout Subsection
17059 \begin_layout Standard
17062 The examples in this section show some more special features of multiple
17066 \begin_layout Standard
17069 For more features of multiple columns, have a look at the documentation
17070 of the LaTeX-package
17075 \begin_inset CommandInset citation
17084 \begin_layout Subsubsection
17090 \begin_layout Standard
17093 To add a preface text for multiple columns, set the cursor into the mulitcolumn
17094 inset and use the menu
17096 Insert\SpecialChar \menuseparator
17100 Write your preface text into that inset.
17101 \begin_inset Newline newline
17104 This is an example with some preface text:
17107 \begin_layout Standard
17110 \begin_inset VSpace bigskip
17116 \begin_layout Standard
17119 \begin_inset Flex Multiple Columns
17122 \begin_layout Plain Layout
17125 \begin_inset Argument 2
17128 \begin_layout Plain Layout
17131 And the story continues and continues and continues and continues\SpecialChar \ldots{}
17139 On the evening of the crime, he returned from the club exactly at ten.
17140 His mother and sister were out spending the evening with a relation.
17141 The servant deposed that she heard him enter the front room on the second
17142 floor, generally used as his sitting-room.
17143 She had lit a fire there, and as it smoked she had opened the window.
17144 No sound was heard from the room until eleven-twenty, the hour of the return
17145 of Lady Maynooth and her daughter.
17146 Desiring to say good-night, she attempted to enter her son's room.
17147 The door was locked on the inside, and no answer could be got to their
17148 cries and knocking.
17149 Help was obtained, and the door forced.
17150 The unfortunate young man was found lying near the table.
17151 His head had been horribly mutilated by an expanding revolver bullet, but
17152 no weapon of any sort was to be found in the room.
17160 \begin_layout Standard
17163 You can also use a section heading as the preface if you use a section command
17165 For example the command
17168 \begin_layout Standard
17174 subsection{subsection title}
17177 \begin_layout Standard
17180 creates a subsection.
17181 In this example the preface is a subsubsection:
17184 \begin_layout Standard
17187 \begin_inset Flex Multiple Columns
17190 \begin_layout Plain Layout
17193 \begin_inset Argument 2
17196 \begin_layout Plain Layout
17202 \begin_layout Plain Layout
17211 This is a subsubsection heading as a preface
17215 \begin_layout Plain Layout
17229 A minute examination of the circumstances served only to make the case more
17231 In the first place, no reason could be given why the young man should have
17232 fastened the door upon the inside.
17233 There was the possibility that the murderer had done this, and had afterwards
17234 escaped by the window.
17235 The drop was at least twenty feet, however, and a bed of crocuses in full
17237 Neither the flowers nor the earth showed any sign of having been disturbed,
17238 nor were there any marks upon the narrow strip of grass which separated
17239 the house from the road.
17240 Apparently, therefore, it was the young man himself who had fastened the
17242 But how did he come by his death? No one could have climbed up to the window
17243 without leaving traces.
17244 Suppose a man had fired through the window, he would indeed be a remarkable
17245 shot who could with a revolver inflict so deadly a wound.
17246 Again, Park Lane is a frequented thoroughfare; there is a cab stand within
17247 a hundred yards of the house.
17248 No one had heard a shot.
17256 \begin_layout Standard
17259 If there is less vertical space than 6
17260 \begin_inset space ~
17263 text lines is left on the page at the beginning of the multiple columns,
17264 a page break will be inserted before the multiple columns.
17265 Depending on the number of lines of the preface text, you might want to
17267 This is done by setting the cursor into the mulitcolumn inset behind the
17268 preface (if there is any) and using the menu
17270 Insert\SpecialChar \menuseparator
17272 \begin_inset space ~
17276 \begin_inset space ~
17280 \begin_inset space ~
17286 Insert into that inset the amount of space like e.
17287 \begin_inset space \thinspace{}
17291 \begin_inset space \space{}
17295 \begin_inset Quotes eld
17299 \begin_inset Quotes erd
17303 \begin_inset Newline newline
17306 In this example the space is set to 7
17307 \begin_inset space ~
17310 text lines by using
17311 \begin_inset Quotes eld
17317 \begin_inset Quotes erd
17326 needs to be inserted as TeX code):
17329 \begin_layout Standard
17332 \begin_inset Flex Multiple Columns
17335 \begin_layout Plain Layout
17338 \begin_inset Argument 3
17341 \begin_layout Plain Layout
17348 \begin_layout Plain Layout
17364 On the evening of the crime, he returned from the club exactly at ten.
17365 His mother and sister were out spending the evening with a relation.
17366 The servant deposed that she heard him enter the front room on the second
17367 floor, generally used as his sitting-room.
17368 She had lit a fire there, and as it smoked she had opened the window.
17369 No sound was heard from the room until eleven-twenty, the hour of the return
17370 of Lady Maynooth and her daughter.
17371 Desiring to say good-night, she attempted to enter her son's room.
17372 The door was locked on the inside, and no answer could be got to their
17373 cries and knocking.
17374 Help was obtained, and the door forced.
17375 The unfortunate young man was found lying near the table.
17376 His head had been horribly mutilated by an expanding revolver bullet, but
17377 no weapon of any sort was to be found in the room.
17385 \begin_layout Subsubsection
17391 \begin_layout Standard
17394 The amount of space before and after multiple columns can be changed by
17395 changing the length
17402 For example the command
17405 \begin_layout Standard
17416 \begin_layout Standard
17419 in TeX Code changes its value to 3
17420 \begin_inset space \thinspace{}
17424 The change must be made before the multiple columns' start.
17425 The predefined value is 13
17426 \begin_inset space \thinspace{}
17432 \begin_layout Standard
17442 \begin_inset space \thinspace{}
17448 \begin_layout Standard
17454 \begin_layout Plain Layout
17460 multicolsep}{2.5cm}
17468 \begin_layout Standard
17471 \begin_inset Flex Multiple Columns
17474 \begin_layout Plain Layout
17478 All day I turned these facts over in my mind, endeavouring to hit upon some
17479 theory which could reconcile them all, and to find that line of least resistanc
17480 e which my poor friend had declared to be the starting-point of every investigat
17482 I confess that I made little progress.
17483 In the evening I strolled across the Park, and found myself about six o'clock
17484 at the Oxford Street end of Park Lane.
17485 A group of loafers upon the pavements, all staring up at a particular window,
17486 directed me to the house which I had come to see.
17487 A tall, thin man with coloured glasses, whom I strongly suspected of being
17488 a plain-clothes detective, was pointing out some theory of his own, while
17489 the others crowded round to listen to what he said.
17490 I got as near him as I could, but his observations seemed to me to be absurd,
17491 so I withdrew again in some disgust.
17492 As I did so I struck against an elderly, deformed man, who had been behind
17493 me, and I knocked down several books which he was carrying.
17501 \begin_layout Standard
17504 \begin_inset Note Greyedout
17507 \begin_layout Plain Layout
17513 The values you set with
17519 will be used for all following multiple columns until you change them again.
17527 \begin_layout Standard
17533 \begin_layout Plain Layout
17545 \begin_inset Note Note
17548 \begin_layout Plain Layout
17551 go back to the default
17559 \begin_layout Standard
17562 \begin_inset Newpage newpage
17568 \begin_layout Subsubsection
17574 \begin_layout Standard
17577 The width of the columns is automatically calculated, but you can modify
17578 the space between the columns.
17579 This is done by changing the length
17586 Its predefined value is 10
17587 \begin_inset space \thinspace{}
17591 Here is an example where
17598 \begin_inset space \thinspace{}
17604 \begin_layout Standard
17610 \begin_layout Plain Layout
17624 \begin_layout Standard
17627 \begin_inset Flex Multiple Columns
17630 \begin_layout Plain Layout
17634 My observations of No.
17635 \begin_inset space \space{}
17638 427 Park Lane did little to clear up the problem in which I was interested.
17639 The house was separated from the street by a low wall and railing, the
17640 whole not more than five feet high.
17641 It was perfectly easy, therefore, for anyone to get into the garden, but
17642 the window was entirely inaccessible, since there was no water pipe or
17643 anything which could help the most active man to climb it.
17644 More puzzled than ever, I retraced my steps to Kensington.
17645 I had not been in my study five minutes when the maid entered to say that
17646 a person desired to see me.
17647 To my astonishment it was none other than my strange old book collector,
17648 his sharp, wizened face peering out from a frame of white hair, and his
17649 precious volumes, a dozen of them at least, wedged under his right arm.
17657 \begin_layout Standard
17663 \begin_layout Plain Layout
17675 \begin_inset Note Note
17678 \begin_layout Plain Layout
17681 go back to the default
17689 \begin_layout Subsubsection
17695 \begin_layout Standard
17698 Between the columns a rule with a width of the length
17705 If this rule width is set to 0
17706 \begin_inset space \thinspace{}
17709 pt (this is the default), the rule is suppressed.
17710 In the following example the line is 2
17711 \begin_inset space \thinspace{}
17717 \begin_layout Standard
17723 \begin_layout Plain Layout
17729 columnseprule}{2pt}
17737 \begin_layout Standard
17740 \begin_inset Flex Multiple Columns
17743 \begin_layout Plain Layout
17747 \begin_inset Quotes eld
17750 You're surprised to see me, sir,
17751 \begin_inset Quotes erd
17754 said he, in a strange, croaking voice.
17757 \begin_layout Plain Layout
17761 I acknowledged that I was.
17764 \begin_layout Plain Layout
17768 \begin_inset Quotes eld
17771 Well, I've a conscience, sir, and when I chanced to see you go into this
17772 house, as I came hobbling after you, I thought to myself, I'll just step
17773 in and see that kind gentleman, and tell him that if I was a bit gruff
17774 in my manner there was not any harm meant, and that I am much obliged to
17775 him for picking up my books.
17776 \begin_inset Quotes erd
17782 \begin_layout Plain Layout
17786 \begin_inset Quotes eld
17789 You make too much of a trifle,
17790 \begin_inset Quotes erd
17795 \begin_inset Quotes eld
17798 May I ask how you knew who I was?
17799 \begin_inset Quotes erd
17805 \begin_layout Plain Layout
17809 \begin_inset Quotes eld
17812 Well, sir, if it isn't too great a liberty, I am a neighbour of yours, for
17813 you'll find my little bookshop at the corner of Church Street, and very
17814 happy to see you, I am sure.
17815 Maybe you collect yourself, sir.
17819 \begin_inset space ~
17832 --a bargain, every one of them.
17833 With five volumes you could just fill that gap on that second shelf.
17834 It looks untidy, does it not, sir?
17835 \begin_inset Quotes erd
17846 \begin_layout Standard
17852 \begin_layout Plain Layout
17858 columnseprule}{0pt}
17864 \begin_inset Note Note
17867 \begin_layout Plain Layout
17870 go back to the default
17878 \begin_layout Standard
17881 \begin_inset Newpage newpage
17887 \begin_layout Section
17890 Non-standard Paragraph Shapes
17893 \begin_layout Standard
17897 LaTeX as well as any other text processor uses by default rectangular paragraphs.
17898 For special cases like for example posters, invitation cards or poems you
17899 can modify the paragraph shape to one of your choice.
17900 This can be done by using the LaTeX-package
17904 which is loaded by using in the document settings the module
17906 Custom paragraph shapes
17911 \begin_layout Subsection
17917 \begin_layout Standard
17923 provides the following shapes:
17926 \begin_layout Standard
17929 \begin_inset Tabular
17930 <lyxtabular version="3" rows="13" columns="3">
17931 <features rotate="0" booktabs="true" islongtable="true" longtabularalignment="center">
17932 <column alignment="center" valignment="middle" width="16col%">
17933 <column alignment="center" valignment="middle" width="40col%">
17934 <column alignment="center" valignment="middle" width="35col%">
17935 <row endhead="true">
17936 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17939 \begin_layout Plain Layout
17947 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17950 \begin_layout Plain Layout
17958 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17961 \begin_layout Plain Layout
17971 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17974 \begin_layout Plain Layout
17982 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17985 \begin_layout Plain Layout
17988 Circle with circular hole (in the size of a CD/DVD)
17993 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17996 \begin_layout Plain Layout
17999 Cannot be scaled, take care there is not too much text
18006 <cell alignment="center" valignment="top" topline="true" usebox="none">
18009 \begin_layout Plain Layout
18017 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18020 \begin_layout Plain Layout
18028 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18031 \begin_layout Plain Layout
18034 Fragile, calculation might fail
18041 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18044 \begin_layout Plain Layout
18052 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18055 \begin_layout Plain Layout
18058 Rhomboid (symbolizing a
18059 \begin_inset Quotes eld
18063 \begin_inset Quotes erd
18071 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18074 \begin_layout Plain Layout
18084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18087 \begin_layout Plain Layout
18095 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18098 \begin_layout Plain Layout
18106 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18109 \begin_layout Plain Layout
18119 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18122 \begin_layout Plain Layout
18130 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18133 \begin_layout Plain Layout
18141 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18144 \begin_layout Plain Layout
18154 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18157 \begin_layout Plain Layout
18165 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18168 \begin_layout Plain Layout
18171 Nut for bolt (hexagon with circular hole)
18176 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18179 \begin_layout Plain Layout
18189 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18192 \begin_layout Plain Layout
18200 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18203 \begin_layout Plain Layout
18211 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18214 \begin_layout Plain Layout
18224 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18227 \begin_layout Plain Layout
18235 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18238 \begin_layout Plain Layout
18246 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18249 \begin_layout Plain Layout
18259 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18262 \begin_layout Plain Layout
18270 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18273 \begin_layout Plain Layout
18281 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18284 \begin_layout Plain Layout
18294 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18297 \begin_layout Plain Layout
18305 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18308 \begin_layout Plain Layout
18311 Normal/reversed rain drop
18316 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18319 \begin_layout Plain Layout
18322 Fragile, calculation might fail
18329 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18332 \begin_layout Plain Layout
18340 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18343 \begin_layout Plain Layout
18351 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18354 \begin_layout Plain Layout
18364 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18367 \begin_layout Plain Layout
18371 \begin_inset Newline newline
18379 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18382 \begin_layout Plain Layout
18385 Triangles in different orientations
18390 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18393 \begin_layout Plain Layout
18409 \begin_layout Standard
18412 To use a shape for your paragraph, simply select it in LyX's pull-down box
18413 for environments in the toolbar.
18416 \begin_layout Standard
18419 \begin_inset Newpage newpage
18425 \begin_layout Standard
18428 Here is an example paragraph in the shape of a nut:
18431 \begin_layout Standard
18434 \begin_inset VSpace bigskip
18443 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
18444 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
18446 At vero eos et accusam et justo duo dolores et ea rebum.
18447 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
18449 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
18450 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
18454 \begin_layout Standard
18457 \begin_inset VSpace bigskip
18463 \begin_layout Standard
18466 \begin_inset Note Greyedout
18469 \begin_layout Plain Layout
18475 : shapepar paragraphs cannot run over a page break.
18483 \begin_layout Standard
18486 \begin_inset VSpace bigskip
18492 \begin_layout Standard
18498 takes care that the shape will always be preserved, no matter how much
18499 text is in the paragraph.
18500 Therefore the paragraph size changes with the amount of contained text.
18501 This can lead to paragraph sizes exceeding the page margins.
18502 To demonstrate the size scaling, here is the same example paragraph but
18503 with twice as much text:
18506 \begin_layout Standard
18509 \begin_inset Newpage newpage
18518 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
18519 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
18521 At vero eos et accusam et justo duo dolores et ea rebum.
18522 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
18524 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
18525 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
18527 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
18528 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
18530 At vero eos et accusam et justo duo dolores et ea rebum.
18531 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
18533 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
18534 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
18538 \begin_layout Standard
18541 \begin_inset VSpace bigskip
18547 \begin_layout Standard
18550 An exception is the shape
18555 It cannot be scaled because it must fit the size of a CD/DVD.
18556 Therefore the amount of text that fits into the shape is limited.
18557 \begin_inset Newline newline
18568 shape are fragile, meaning that the calculation of their size can fail,
18569 depending on the amount of text.
18570 You will then get the LaTeX error
18571 \begin_inset Quotes eld
18574 Arithmetic overflow
18575 \begin_inset Quotes erd
18579 In this case one can try to remove or add some text; if nothing works one
18580 has to use another shape.
18583 \begin_layout Standard
18586 \begin_inset VSpace bigskip
18592 \begin_layout Standard
18595 For shapes with tips you will maybe see that LaTeX's hyphenation routine
18596 fails for text in the tips.
18597 Therefore it is often necessary to add hyphenation points
18602 arg "specialchar-insert hyphenation"
18607 ) to the corresponding text parts.
18610 \begin_layout Standard
18613 \begin_inset VSpace bigskip
18619 \begin_layout Standard
18622 Shapepar paragraphs are either always centered or placed on the page so
18623 that their left border touches the left page margin.
18624 You can therefore not use the paragraph dialog to align such paragraphs.
18625 A solution is to put the paragraph into a minipage or parbox and align
18627 The problem is hereby to find the right width for the box.
18628 Because if it is too wide and you center the box, the paragraph is not
18629 centered too because it sticks at the left side of the box.
18630 So you might have to play a bit with the width until it fits.
18631 Here are two heart-shaped paragraphs, the first one is not aligned, the
18632 second one is right-aligned:
18635 \begin_layout Standard
18638 \begin_inset Newpage newpage
18644 \begin_layout Heart
18649 rem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
18650 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
18652 At vero eos et accusam et justo duo dolores et ea rebum.
18653 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
18657 \begin_layout Standard
18660 \begin_inset VSpace bigskip
18666 \begin_layout Standard
18671 \begin_inset Box Frameless
18681 height_special "totalheight"
18684 \begin_layout Heart
18689 rem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
18690 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
18692 At vero eos et accusam et justo duo dolores et ea rebum.
18693 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
18702 \begin_layout Subsection
18708 \begin_layout Standard
18711 You can define any shape you want.
18712 Doing this manually is a lot of work because every coordinate must be specified.
18713 But there is a way to let the computer calculate the coordinates:
18716 \begin_layout Enumerate
18719 Install the program
18720 \begin_inset CommandInset href
18723 target "http://www.ctan.org/tex-archive/graphics/jpgfdraw"
18730 \begin_layout Enumerate
18743 \begin_layout Plain Layout
18754 \begin_layout Plain Layout
18761 eX\SpecialChar \menuseparator
18762 Settings\SpecialChar \menuseparator
18765 and select the font size you are using in your document.
18766 For example this document uses the size 12
18767 \begin_inset space \thinspace{}
18773 \begin_layout Enumerate
18779 \begin_layout Enumerate
18788 \begin_layout Plain Layout
18799 \begin_layout Plain Layout
18806 eX\SpecialChar \menuseparator
18809 to export the shape to coordinates.
18810 In the appearing dialog use either the outline of your shape for the coordinate
18811 s or the path itself.
18815 \begin_layout Plain Layout
18818 For more information see
18819 \begin_inset CommandInset href
18821 target "http://www.dickimaw-books.com/apps/jpgfdraw/manual/shapepar.html"
18833 \begin_layout Standard
18836 The coordinates are written into a TeX-file.
18837 To use it for your LyX document
18840 \begin_layout Enumerate
18843 Place the cursor before the first character of your paragraph (or into a
18847 \begin_layout Enumerate
18850 Open in LyX the menu
18852 Insert\SpecialChar \menuseparator
18853 File\SpecialChar \menuseparator
18855 \begin_inset space ~
18860 , select the file and use
18869 \begin_layout Standard
18872 \begin_inset VSpace defskip
18878 \begin_layout Standard
18881 \begin_inset Note Greyedout
18884 \begin_layout Plain Layout
18890 : The changed shape only applies to the current paragraph; everything is
18891 reset to normal for the next paragraph.
18892 Therefore the shape definition file must be input into every paragraph
18893 with the desired shape.
18901 \begin_layout Standard
18904 \begin_inset VSpace bigskip
18910 \begin_layout Standard
18913 Here is an example:
18916 \begin_layout Standard
18919 \begin_inset VSpace bigskip
18925 \begin_layout Standard
18928 \begin_inset CommandInset include
18930 filename "../SpecialParagraphShape.tex"
18936 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
18937 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
18939 At vero eos et accusam et justo duo dolores et ea rebum.
18940 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
18942 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
18943 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
18947 \begin_layout Standard
18950 \begin_inset VSpace bigskip
18956 \begin_layout Standard
18962 to draw complexer shapes in
18966 you can draw the shape in a program of your choice and import the resulting
18972 Then you only need to draw a line or spline along the outline of the image.
18975 \begin_layout Standard
18978 \begin_inset VSpace bigskip
18984 \begin_layout Standard
18989 Custom paragraph shapes
18991 also provides the two commands
18999 which can be used to define custom shapes coordinate by coordinate.
19003 \begin_layout Plain Layout
19006 These commands are internally used for all shapes described here.
19011 For information how these styles are used and about further customization
19012 possibilities, have a look at the documentation of the package
19017 \begin_inset CommandInset citation
19026 \begin_layout Bibliography
19029 \begin_inset CommandInset bibitem
19030 LatexCommand bibitem
19035 Documentation of the LaTeX-package
19036 \begin_inset CommandInset href
19039 target "http://mirror.ctan.org/macros/latex/required/tools/multicol.pdf"
19046 \begin_layout Bibliography
19049 \begin_inset CommandInset bibitem
19050 LatexCommand bibitem
19055 Documentation of the LaTeX-package
19056 \begin_inset CommandInset href
19059 target "http://mirrors.ctan.org/macros/latex/contrib/shapepar/shapepar.pdf"