#LyX 1.4.0cvs created this file. For more info see http://www.lyx.org/
-\lyxformat 243
+\lyxformat 245
\begin_document
\begin_header
\textclass book
\paragraph_separation indent
\defskip medskip
\quotes_language german
-\quotes_times 2
\papercolumns 1
\papersides 2
\paperpagestyle default
\begin_body
\begin_layout Title
-
LyX -- Zaawansowane mo¿liwo¶ci
\end_layout
\begin_layout Author
-
by the LyX Team
\begin_inset Foot
status collapsed
\end_layout
\begin_layout Date
-
-
\begin_inset ERT
status collapsed
\end_layout
\begin_layout Standard
-
-
\begin_inset LatexCommand \tableofcontents{}
\end_inset
\end_layout
\begin_layout Chapter
-
Wprowadzenie
\end_layout
\begin_layout Standard
-
Podrêcznik
\emph on
Zaawansowana Edycja
\end_layout
\begin_layout Standard
-
LyX Team ma d³ugoterminowy cel tworzenia rozszerzeñ LyX-a przez ró¿ne pliki
konfiguracyjne.
To oznacza, ¿e je¶li chcesz obs³ugiwaæ pakiet LaTeX-a
\end_layout
\begin_layout Standard
-
Ten podrêcznik dokumentuje tak¿e kilka funkcji specjalnych, jak faksowanie,
kontrola wersji, obs³uga SGML-u, które wymagaj± dodatkowego oprogramowania
do poprawnej pracy.
\end_layout
\begin_layout Standard
-
Je¶li nie przeczyta³e¶ jeszcze wprowadzenia, to w³a¶nie czytasz niew³a¶ciwy
podrêcznik.
Wprowadzenie jest pierwszym miejscem, od którego powiniene¶ zacz±æ.
\end_layout
\begin_layout Standard
-
Wiele rozdzia³ów w tym dokumencie jest niezale¿nymi artyku³ami napisanymi
przez pojedyncze osoby i s± one odpowiednio zaznaczone.
Tymi osobami s± generalnie ci, którzy napisali nowy plik uk³adu (layout)
\end_layout
\begin_layout Standard
-
Pierwszy rozdzia³ stanowi suplement do narzêdzi edycyjnych LyX-a, nie ujêtych
w
\emph on
\end_layout
\begin_layout Standard
-
Wszystkie rozdzia³y tego podrêcznika s± w ró¿nym stopniu, ale jednak, opisuj±
wspó³pracê LyX-a i LaTeX-a, pierwszy rozdzia³ opisuje wewnêtrzn± pracê
LyX-a, jak prosto LyX tworzy kod LaTeX-a je¶li chcesz.
\end_layout
\begin_layout Chapter
-
LyX i LaTeX
\end_layout
\begin_layout Section
-
Jak LyX u¿ywa LaTeX-a
\end_layout
\begin_layout Standard
-
-
\begin_inset LatexCommand \label{sec:lyxandlatex}
\end_inset
\end_layout
\begin_layout Standard
-
Od jakiego¶ czasu LyX-a nazywamy ,,WYSIWYM frontendem do LaTeX'', ale to
nie jest dalej prawd±.
Istniej± równie¿ inne frontendy do LaTeX-a.
status collapsed
\begin_layout Standard
-
What You See Is What You Mean -- dostajesz to o co Ci chodzi
\end_layout
status collapsed
\begin_layout Standard
-
The Team did this for parsing/coding reasons.
The new macros allow LyX to more easily produce LaTeX code and ensure that
the resulting code is correct.
status collapsed
\begin_layout Standard
-
Trochê historii: kiedy¶ wszystkie makra znajdowa³y siê w pliku
\family typewriter
lyx.sty
\end_layout
\begin_layout Standard
-
Mamy kilka poleceñ, które automatycznie wywo³uj± LaTeX-a.
Oto one:
\end_layout
\begin_layout Itemize
-
\family sans
Podgl±d\SpecialChar \menuseparator
DVI
\begin_layout Itemize
-
\family sans
Podgl±d\SpecialChar \menuseparator
PostScript/PDF
\begin_layout Itemize
-
\family sans
Podgl±d\SpecialChar \menuseparator
Aktualizuj\SpecialChar \menuseparator
\begin_layout Itemize
-
\family sans
Podgl±d\SpecialChar \menuseparator
Aktualizuj\SpecialChar \menuseparator
\begin_layout Itemize
-
\family sans
Plik\SpecialChar \menuseparator
Drukuj
\end_layout
\begin_layout Standard
-
Tylko te polecenia wywo³uj± LaTeX-a je¶li dokument siê zmieni³ od czasu
ostatniego uruchomienia LaTeX-a
\end_layout
\begin_layout Standard
-
Podczas uruchomienia LaTeX-a podczas edycji pliku, LyX wykonuje nastêpuj±ce
czynno¶ci:
\end_layout
\begin_layout Enumerate
-
Konwertuje dokument
\family typewriter
.lyx
\end_layout
\begin_layout Enumerate
-
Uruchamia LaTeX-a z plikiem
\family typewriter
.tex
\end_layout
\begin_layout Enumerate
-
Je¶li s± b³êdy , to zaznacza je w dokumencie.
\end_layout
\begin_layout Standard
-
Je¶li uruchamiasz LaTeX-a poleceniem podgl±du
\family sans
DVI
\end_layout
\begin_layout Itemize
-
Uruchamia
\family typewriter
dvips
\begin_deeper
\begin_layout Itemize
-
Dla
\family sans
Podgl±du
\end_layout
\begin_layout Itemize
-
Dla
\family sans
\bar under
\family default
, jak mo¿na by³o siê spodziewaæ.
\end_layout
+
\end_deeper
\begin_layout Itemize
-
Wywo³uje
\family typewriter
ghostview
\end_layout
\begin_layout Section
-
,,Pomocy! LyX utworzy³ nieczytelny plik
\family typewriter
.tex
\end_layout
\begin_layout Standard
-
U¿ytkownicy LaTeX-a bêd± krzyczeæ to przez ca³± noc, gdy deklaracje LyX-a
s± nie do wykorzystania --- oni po prostu nie czytali dokumentacji do LyX-a
(RTFM!)
status open
\begin_layout Standard
-
Uwaga
\noun on
John Weiss
\end_layout
\begin_layout Standard
-
Nale¿y postawiæ sprawê jasno.
LyX produkuje dwa rodzaje plików LaTeX-owych.
Jedne s± czytelne dla ludzi.
\end_layout
\begin_layout Standard
-
Powtórzymy to jeszcze raz, specjalnie dla podkre¶lenia :
\end_layout
-
\begin_layout Standard
-
-
\begin_inset VSpace 0.23cm
\end_inset
\end_layout
\begin_layout Quote
-
Je¶li chcesz plik
\family typewriter
.tex
\end_layout
\begin_layout Standard
-
-
\begin_inset VSpace 0.23cm
\end_inset
\end_layout
-
\begin_layout Section
-
Importowanie plików LaTeX-a do LyX-a
\end_layout
\begin_layout Standard
-
Mo¿esz importowaæ pliki LaTeX-a do LyX-a za pomoc± polecenia
\family sans
\bar under
status collapsed
\begin_layout Standard
-
Podczas instalacji LyX-a, oddzielny plik wykonywalny o nazwie
\family typewriter
reLyX
\begin_layout Standard
-
\family typewriter
reLyX
\family default
\begin_layout Standard
-
\family typewriter
reLyX
\family default
\end_layout
\begin_layout Standard
-
Je¶li nie mo¿esz u¿yæ do pracy
\family typewriter
reLyX
\end_layout
\begin_layout Section
-
Wstawianie poleceñ LaTeX-a do dokumentów LyX-a
\end_layout
\begin_layout Standard
-
-
\begin_inset LatexCommand \label{sec:latexcodes}
\end_inset
\end_layout
\begin_layout Standard
-
Mo¿esz prze³±czaæ siê pomiêdzy tymi formami przez klikniêcie prawym klawiszem
myszy na wstawce.
Uwaga je¶li chcesz wiêcej ni¿ jeden wiersz poleceñ LaTeX-a, to nie mo¿esz
\end_layout
\begin_layout Standard
-
Tutaj jest przyk³ad wstawienia poleceñ LaTeX-a w dokumencie LyX-a.
Oto kod:
\end_layout
\begin_layout LyX-Code
-
\backslash
begin{tabular}{ll}
\newline
\end_layout
\begin_layout Standard
-
Wstawka ERT zawieraj±ca powy¿szy tekst jest umieszczona bezpo¶rednio po
tym akapicie.
Je¶li czytasz ten podrêcznik w LyX-ie, to zobaczysz tylko przycisk z czerwonym
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
\end_layout
\begin_layout Standard
-This is an example for a minipage environment. You can put nearly everything in it, even (non-floating) figures and tables.
+This is an example for a minipage environment.
+ You can put nearly everything in it, even (non-floating) figures and tables.
+
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-This ...
+This ...
+
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-
Ponadto mo¿esz utworzyæ oddzielny plik zawieraj±cy skomplikowan± strukturê
LaTeX-a i do³±czyæ go poleceniem
\family sans
\end_layout
\begin_layout Standard
-
Kilka ostatnich uwag o wyró¿nieniu:
\end_layout
\begin_layout Itemize
-
Wewn±trz LyX-a, kod LaTeX-a pojawia siê
\emph on
na czerwono
\end_layout
\begin_layout Itemize
-
LyX
\emph on
nie
\end_layout
\begin_layout Itemize
-
Staraj siê nie odkrywaæ ko³a na nowo.
\end_layout
\begin_layout Standard
-
Na koniec dwie uwagi.
Po pierwsze, LyX posiada niewiele funkcji ca³kowicie wbudowanych ale bêdzie
wiêcej.
status open
\begin_layout Standard
-
Uwaga od
\noun on
John Weiss
\end_layout
\begin_layout Standard
-
Je¶li potrzebujesz zrobiæ trochê dzikich i ³adnych rzeczy wewn±trz dokumentu,
b±d¼ pewien swoich konstrukcji korzystaj±c z dobrej ksi±¿ki o LaTeX-u.
\end_layout
\begin_layout Standard
-
Pewna liczba poleceñ LaTeX-a musi byæ umieszczona przed pocz±tkiem tekstu.
Powinny one zostaæ umieszczone w preambule co opisano w nastêpnej sekcji.
\end_layout
\begin_layout Section
-
Preambu³a LyX-a i LaTeX-a
\end_layout
\begin_layout Subsection
-
O preambule LaTeX-a
\end_layout
\begin_layout Standard
-
-
\begin_inset LatexCommand \label{sec:preamble}
\end_inset
\end_layout
\begin_layout Standard
-
Preambu³a LaTeX-a znajduje siê na samym pocz±tku dokumentu
\emph on
przed
\end_layout
\begin_layout Itemize
-
deklaracji klasy dokumentu.
LyX ju¿ wykonuje to za Ciebie.
\end_layout
\begin_deeper
\begin_layout Standard
-
Je¶li jeste¶ LaTeX-nikiem i masz ju¿ trochê dopasowanych klas dokumentów,
których chcesz u¿ywaæ, to zajrzyj do podrêcznika
\emph on
Nie zapomnij wys³aæ swoich osi±gniêæ do LyX Team-u aby je w³±czyæ do przysz³ych
wersji!
\end_layout
+
\end_deeper
\begin_layout Itemize
-
deklaracji u¿ywanych pakietów.
Pakiety LaTeX-a dostarczaj± specjalne polecenia, które s± dostêpne w dokumencie
tylko je¶li zadeklarujemy pakiet w preambule.
\end_layout
\begin_layout Itemize
-
ustawiania liczników, zmiennych, d³ugo¶ci i szeroko¶ci.
Istnieje kilka liczników LaTeX-a i zmiennych, które
\emph on
\end_layout
\begin_layout Itemize
-
deklaracji definiowanych przez u¿ytkownika poleceñ [za pomoc± polecenia
\family typewriter
\end_layout
\begin_layout Standard
-
LyX dodaje do preambu³y w³asne definicje podczas tworzenia pliku
\family typewriter
.tex
\end_layout
\begin_layout Subsection
-
Zmiana preambu³y
\end_layout
\begin_layout Standard
-
Polecenia, które dodaje LyX do preambu³y s± zafiksowane i nie mo¿esz ich
zmieniæ bez samodzielnego patchowania LyX-a.
Mo¿esz jednak dodaæ w³asne rzeczy do preambu³y.
\end_layout
\begin_layout Enumerate
-
Wybierz polecenie
\family sans
\bar under
\begin_deeper
\begin_layout Standard
-
Edytor preambu³y jest prymitywny, nie spodziewaj siê po nim zbyt wiele.
\end_layout
+
\end_deeper
\begin_layout Enumerate
-
Utwórz w swoim domy¶lnym szablonie dokumentu (zobacz
\begin_inset LatexCommand \ref{sec:setup}
\end_layout
\begin_layout Standard
-
LyX nie dodaje niczego do Twojej czê¶ci preambu³y.
Zanim dodasz deklaracje do preambu³y powiniene¶ upewniæ siê, ¿e nie jest
ju¿ to wykonane przez LyX-a [czy pamiêtasz co mówili¶my o ponownym wynalezieniu
\end_layout
\begin_layout Subsection
-
Przyk³ady
\end_layout
\begin_layout Standard
-
Tutaj znajduje siê kilka przyk³adów co mo¿na dodaæ do preambu³y:
\end_layout
\begin_layout Subsubsection
-
Przyk³ad #1: Przesuniêcie strony
\end_layout
\begin_layout Standard
-
Istniej± dwie zmienne LaTeX-a do sterowania pozycj± strony:
\family typewriter
\end_layout
\begin_layout Standard
-
Domy¶ln± warto¶ci± dla
\family typewriter
\end_layout
\begin_layout Standard
-
Niestety, niektóre sterowniki DVI wydaj± siê zawsze przesuwaæ stronê.
Nie mamy pomys³u dlaczego lub dlaczego Twój administrator nie poprawi³
tego.
\begin_layout LyX-Code
-
\backslash
setlength{
\backslash
\begin_layout LyX-Code
-
\backslash
setlength{
\backslash
\end_layout
\begin_layout Standard
-
\SpecialChar \ldots{}
a Twoje marginesy bêd± teraz poprawne.
\end_layout
\begin_layout Subsubsection
-
Przyk³ad #2: Etykiety
\end_layout
\begin_layout Standard
-
Mówi±c etykiety mamy na my¶li wydruk etykiet z adresami.
Istnieje mi³y pakiet, dostêpny w najbli¿szym Ci archiwum CTAN, do wydruku
etykiet o nazwie
\end_layout
\begin_layout Standard
-
Po pierwsze wybierz klasê dokumentu
\family sans
article
\begin_layout LyX-Code
-
\backslash
usepackage{labels}
\end_layout
\begin_layout LyX-Code
-
\backslash
LabelCols=3
\end_layout
\begin_layout LyX-Code
-
\backslash
LabelRows=7
\end_layout
\begin_layout LyX-Code
-
\backslash
LeftBorder=8mm
\end_layout
\begin_layout LyX-Code
-
\backslash
RightBorder=8mm
\end_layout
\begin_layout LyX-Code
-
\backslash
TopBorder=9mm
\end_layout
\begin_layout LyX-Code
-
\backslash
BottomBorder=2mm
\end_layout
\begin_layout Standard
-
Te ustawienia s± odpowiednie dla arkusza etykiet Avery, nr #5360.
Teraz jeste¶ gotów do wydruku etykiet, ale potrzeba jeszcze wstawiæ polecenia
LaTeX umieszczaj±c polecenia
\end_layout
\begin_layout Standard
-
Byæ mo¿e, ¿e kiedy¶, kto¶ napisze plik uk³adu LyX-a do obs³ugi tego pakietu
wprost.
Byæ mo¿e to bêdziesz Ty.
\end_layout
\begin_layout Subsubsection
-
Przyk³ad #3: Wciêcie akapitu
\end_layout
\begin_layout Standard
-
Amerykanie s± wyæwiczeni we wcinaniu pierwszego wiersza
\emph on
ka¿dego
status collapsed
\begin_layout Standard
-
Uwaga od
\noun on
Johna Weiss'a
status collapsed
\begin_layout Standard
-
Przyp.
t³um.
Polacy równie¿.
\end_layout
\begin_layout Standard
-
Oczywi¶cie takie zachowanie nie jest standardem w typografii.
W ksi±¿kach wcinana jest tylko pierwszy wiersz akapitu je¶li ten akapit
wystêpuje po poprzednim akapicie.
\end_layout
\begin_layout Standard
-
Je¶li jeste¶ amerykaninem, to nie przejmuj siê takimi ezoterycznymi rzeczami,
po prostu chcesz mieæ wciêcia! Dodaj to do preambu³y
\begin_inset Foot
status collapsed
\begin_layout Standard
-
Przyp.
t³um.
Klasy
\begin_layout LyX-Code
-
\backslash
usepackage{indentfirst}
\end_layout
\begin_layout Standard
-
Je¶li Twoja dystrybucja TeX-a nie jest pod³a, to bêdziesz mia³ ten pakiet
zainstalowany i wszystkie akapity bêd± wcinane tak jak na to zas³uguj±.
\end_layout
\begin_layout Subsubsection
-
Przyk³ad #4: Ten dokument
\end_layout
\begin_layout Standard
-
Mo¿esz tak¿e sprawdziæ jak± preambu³ê posiada ten dokument, aby poznaæ jakie
zaawansowane rzeczy mo¿esz zrobiæ.
Ponadto wiêcej przyk³adów co mo¿na wpisaæ do preambu³y znajdziesz w tym
\end_layout
\begin_layout Section
-
B³êdy LyX-a i LaTeX-a
\end_layout
\begin_layout Standard
-
Gdy LyX wywo³uje LaTeX-a, informuje go aby ignorowa³ wszelkie b³êdy i przetwarza
³ dalej.
Mo¿na to wykorzystaæ do przejrzenia logu przebiegu LaTeX i wykonania post-morte
status collapsed
\begin_layout Standard
-
LyX okazjonalnie nie odgadnie miejsca, w którym zdarzy³ siê b³±d.
To siê zdarza zwykle przy tabelach, rysunkach, matematyce i preambule.
\end_layout
\end_layout
\begin_layout Standard
-
Mo¿esz nawigowaæ pomiêdzy b³êdami za pomoc± polecenia
\family sans
B³±d
\end_layout
\begin_layout Standard
-
Wiele osób lubi zobaczyæ wprost ca³y log, który jest dostêpny z menu
\family sans
\begin_layout Itemize
-
\family typewriter
LaTeX Warning:
\end_layout
\begin_deeper
\begin_layout Standard
-
Komunikat zaczynaj±ce siê tymi s³owy jest komunikatem diagnostycznym LaTeX-a.
Otrzymasz podobne ostrze¿enie gdy dodasz lub zmienisz odno¶nik lub wpis
bibliografii, wówczas LaTeX komunikuje Ci, ¿e powinien zostaæ uruchomiony
\end_layout
\begin_layout Standard
-
Ostrze¿enie mo¿na w wiêkszo¶ci zignorowaæ.
\end_layout
+
\end_deeper
\begin_layout Itemize
-
\family typewriter
LaTeX Font Warning:
\end_layout
\begin_deeper
\begin_layout Standard
-
Inny komunikat ostrzegawczy, tym razem o fontach, których LaTeX nie potrafi³
znale¼æ.
Reszta komunikatu czêsto informuje jakich fontów u¿y³ LaTeX w zastêpstwie.
\end_layout
\begin_layout Standard
-
Mo¿esz go bezpiecznie zignorowaæ.
\end_layout
+
\end_deeper
\begin_layout Itemize
-
\family typewriter
Overfull
\backslash
\begin_deeper
\begin_layout Standard
-
LaTeX absolutnie
\emph on
uwielbia
\end_layout
\begin_layout Standard
-
Mo¿esz ignorowaæ te g³upie komunikaty.
Zobaczysz na w³asne oczy je¶li co¶ bêdzie zbyt szerokie, spójrz na wynik
przetwarzania.
\end_layout
+
\end_deeper
\begin_layout Itemize
-
\family typewriter
Underfull
\backslash
\begin_deeper
\begin_layout Standard
-
LaTeX komunikuje nam, ¿e zbyt ma³e wype³nienie wiersza zmusza go do wstawienia
zbyt du¿ych odstêpów miêdzy wyrazami.
\end_layout
\begin_layout Standard
-
Mo¿esz go tak¿e zignorowaæ.
\end_layout
+
\end_deeper
\begin_layout Itemize
-
\family typewriter
Overfull
\backslash
\begin_deeper
\begin_layout Standard
-
Ostrze¿enie o k³opotach z ³amaniem stron -- zbyt ma³ych lub zbyt du¿ych
odstêpach pionowych.
Jeszcze raz spójrz na wynik przetwarzania.
Zobaczysz na w³asne oczy je¶li co¶ bêdzie zbyt szerokie.
\end_layout
+
\end_deeper
\begin_layout Itemize
-
\family typewriter
LaTeX Error: File
\begin_inset Quotes els
\begin_deeper
\begin_layout Standard
-
Plik ,,Xxxx'' nie jest zainstalowany w systemie.
Ten komunikat pojawia siê czêsto, gdy nie zainstalowa³e¶ pakietów u¿ytych
w dokumencie.
\end_layout
\begin_layout Standard
-
Je¶li
\emph on
u¿y³e¶
\family default
i pakiet nie zosta³ zainstalowany, to nale¿y zainstalowaæ go samodzielnie.
\end_layout
+
\end_deeper
\begin_layout Itemize
-
\family typewriter
LaTeX Error: Unknown option
\end_layout
\begin_deeper
\begin_layout Standard
-
B³±d pojawia siê gdy podano niezdefiniowan± (lub b³êdn±) opcjê u¿ytego pakietu.
Sprawd¼ dokumentacjê do pakietu.
\end_layout
+
\end_deeper
\begin_layout Itemize
-
\family typewriter
Undefined control sequence
\end_layout
\begin_deeper
\begin_layout Standard
-
Je¶li wstawi³e¶ polecenie LaTeX w dokumencie, ale pope³ni³e¶ np.
b³±d literowy, to otrzymasz taki w³a¶nie komunikat b³êdu.
Byæ mo¿e zapomnia³e¶ za³adowaæ jaki¶ pakiet.
W ogólnym przypadku, komunikat b³êdu zwykle oznacza, ¿e u¿y³e¶ niezdefiniowaneg
o polecenia.
\end_layout
+
\end_deeper
\begin_layout Standard
-
Istniej± jeszcze inne komunikaty b³êdów i ostrze¿eñ, a wiele z nich jest
samoobja¶niaj±cych.
Podane s± czêstymi komunikatami.
\end_layout
\begin_layout Standard
-
Oto ogólny tok postêpowania je¶li zdarzy siê b³±d:
\end_layout
\begin_layout Enumerate
-
Sprawd¼ poprawno¶æ poleceñ LaTeX-a wstawionych w dokumencie.
\end_layout
\begin_layout Enumerate
-
Je¶li nie ma b³êdów literowych, to sprawd¼ poprawno¶æ ich u¿ycia.
\end_layout
\begin_layout Enumerate
-
Je¶li dostaniesz pêk znaczników b³êdów na samym pocz±tku dokumentu, to znaczy,
¿e jest jaki¶ b³±d w preambule.
Zacznij debugowaæ swoj± preambu³ê.
\end_layout
\begin_layout Enumerate
-
Je¶li nie doda³e¶ niczego do preambu³y i nie wstawi³e¶ ¿adnych poleceñ LaTeX-a
do dokumentu, to najpierw sprawd¼ swoj± dystrybucjê LaTeX.
Sprawd¼ brakuj±ce pakiety i zainstaluj je.
\end_layout
\begin_layout Enumerate
-
OK, nie brakuje pakietów.
Czy nie u¿y³e¶ jakie¶ opcji dopasowuj±cej w LyX-ie? Precyzuj±c, czy nie
u¿y³e¶ jej niew³a¶ciwie, jak próba rêcznego wstawienia wielu
\end_layout
\begin_layout Enumerate
-
OK, nie u¿y³e¶ ¿adnej opcji dopasowuj±cej, postêpujesz zgodnie z zasadami.
Czy próbowa³e¶ przeprowadziæ jaki¶ fantastyczny manewr? Czy zrobi³e¶ co¶
wspania³ego w tabeli czy równaniu, jak wstawienie grafiki do komórki tabeli?
\end_layout
\begin_layout Enumerate
-
Czy nie masz zbyt d³ugich akapitów tekstu gdzie LaTeX nie mo¿e znale¼æ miejsca
na prze³amanie wiersza? Domy¶lnie LaTeX jest dok³adny w dodawaniu ekstra
odstêpów miêdzy wyrazami aby prze³amaæ wiersz.
\end_layout
\begin_layout Enumerate
-
Czy nie przesadzi³e¶ z zagnie¿d¿aniem? LyX [aktualnie] nie sprawdza czy
nie przekroczy³e¶ limitu zagnie¿d¿enia ¶rodowiska.
Je¶li zagnie¼dzi³e¶ ¶rodowiska a¿ do 17 poziomu, to mo¿e byæ problem.
\end_layout
\begin_layout Enumerate
-
Nie otrzyma³e¶ ¿adnych komunikatów b³êdów ale wynik ¼le wygl±da.
Je¶li masz tabelê lub rysunek szerszy lub d³u¿szy od strony, to powiniene¶:
\end_layout
\begin_deeper
\begin_layout Enumerate
-
przeskalowaæ rysunek do odpowiednich wymiarów,
\end_layout
\begin_layout Enumerate
-
skróciæ tabelê, tak aby pasowa³a.
\end_layout
\begin_layout Standard
-
Je¶li dalej jest ¼le z wynikiem i nie próbowa³e¶ przeprowadziæ ¿adnych wspania³y
ch lub kludge opcji dopasowuj±cych, to my nie wiemy co jest nie tak.
\end_layout
+
\end_deeper
\begin_layout Standard
-
Je¶li to nie pomo¿e, to
\emph on
prawdopodobnie
\end_layout
\begin_layout Chapter
-
Dodatkowe narzêdzia sk³adu dokumentu
\end_layout
\begin_layout Section
-
Przygotowanie bibliografii za pomoc± BibTeX-a
\end_layout
\begin_layout Standard
-
by
\noun on
Mike Ressler
status collapsed
\begin_layout Standard
-
Ressler is to blame for all of Chapter 1 except where noted.
\end_layout
\end_layout
\begin_layout Standard
-
STOP! je¶li wiesz czym jest BibTeX lub masz dobry pomys³ na jego zastosowanie
(np.
u³o¿enie swojej w³asnej bazy bibliograficznej) nie id¼, a biegnij do swojego
\end_layout
\begin_layout Standard
-
Dla tych, którzy nie znaj± BibTeX-a, jest to system do tworzenia wielkich
baz Twoich czêsto u¿ywanych odno¶ników do literatury.
\end_layout
\begin_layout Standard
-
Dla wszystkich przysz³ych artyku³ów, zapisz tylko potrzebne pozycje literatury
do wstawienia do bazy i oznacz odpowiednim kluczem ka¿dy odno¶nik.
Nawet je¶li piszesz tylko kilka dokumentów z kilkoma odno¶nikami w ka¿dym,
\end_layout
\begin_layout Standard
-
Aby u¿ywaæ BibTeX-a w LyX-ie nale¿y najpierw zapoznaæ siê
\emph on
Podrêcznikiem U¿ytkownika
\end_layout
\begin_layout Description
-
Baza\InsetSpace ~
Danych podaj nazwê pliku
\family typewriter
\end_layout
\begin_layout Description
-
Styl podaj nazwê pliku stylu BibTeX-a BEZ rozszerzenia
\family typewriter
.bst
status open
\begin_layout Standard
-
Dostêpne s± równie¿ style zgodne z polskimi zwyczajami typograficznymi o
nazwach:
\family typewriter
\end_layout
\begin_layout Standard
-
Zak³adamy, ¿e dla ka¿dego cytowania ¼ród³o znajduje siê w pliku
\family typewriter
.bib
\end_layout
\begin_layout Section
-
Tworzenie indeksu
\end_layout
\begin_layout Standard
-
Dobry indeks jest jedn± z najtrudniejszych rzeczy do zrobienia w d³ugim
dokumencie.
LyX pomaga wykonaæ rzeczy trochê pro¶ciej za pomoc± interfejsu do programu
status open
\begin_layout Standard
-
Dla dokumentów polskojêzycznych powinien byæ wywo³ywany program
\family typewriter
plmindex
\end_layout
\begin_layout Standard
-
Wstawianie indeksu i zaznaczanie s³ów do w³±czenia do indeksu odbywa siê
tak± sam± drog± jak przygotowanie bibliografii opisanej w poprzedniej sekcji.
\end_layout
\begin_layout Standard
-
Najpierw przejd¼ na koniec swojego dokumentu i wybierz
\family sans
\bar under
\end_layout
\begin_layout Standard
-
Je¿eli chcesz dok³adnie podaæ co ma pojawiæ siê w indeksie -- na przyk³ad
potrzebujesz mieæ s³owo ,,kot'' w indeksie, które bêdzie odnosi³o siê do
s³ów w tek¶cie ,,kot'' i ,,koty'' to po prostu wybierz polecenie
\end_layout
\begin_layout Standard
-
I to wszystko.
LyX automatycznie wywo³a
\family typewriter
\end_layout
\begin_layout Standard
-
B±d¼ ostro¿ny i nie wstawiaj spacji pomiêdzy s³owem a znacznikiem indeksu,
poniewa¿ mo¿e siê zdarzyæ utworzenie niew³a¶ciwego numeru strony w indeksie.
\end_layout
\begin_layout Standard
-
Powiniene¶ zdawaæ sobie sprawê, ¿e istniej± bardziej zaawansowane metody
u¿ycia
\family typewriter
\end_layout
\begin_layout Section
-
Dokumenty wieloczê¶ciowe
\end_layout
\begin_layout Subsection
-
Podstawy
\end_layout
\begin_layout Standard
-
Przy pracy z du¿ymi plikami zawieraj±cymi wiele sekcji i rozdzia³ów, czêsto
jest wygodniej podzieliæ dokument na kilka plików lub byæ mo¿e masz ---
perhaps you have something where a table may change from time to time,
\end_layout
\begin_layout Standard
-
LyX pozwala ³atwo w³±czaæ pliki poleceniem z menu
\family sans
\bar under
\end_layout
\begin_layout Standard
-
Generalnie, plik g³ówny jest konwertowany do formatu LaTeX przed sk³adaniem,
podczas gdy do³±czane pliki s± konwertowane do formatu LaTeX, który nie
zawiera preambu³y.
\end_layout
\begin_layout Standard
-
Do³±czanie plików metod± ,,maszynopis'' pozwala na do³±czanie ,,dos³owne''
plików w ¶rodowisku verbatim z czcionk± o sta³ej szeroko¶ci.
Normalnie spacje w pliku s± niewidzialne, dwie kolejne spacje s± zachowywane,
\end_layout
\begin_layout Subsection
-
Odno¶niki pomiêdzy plikami
\end_layout
\begin_layout Standard
-
Jest mo¿liwe ustawienie odno¶ników pomiêdzy ró¿nymi plikami.
Najpierw otwórz wszystkie pliki pomiêdzy którymi chcesz wykonaæ odno¶niki,
na przyk³ad dwa pliki A i B, gdzie plik B jest do³±czony do pliku A.
\end_layout
\begin_layout Standard
-
Gdy przegl±dasz plik A wszystko jest poprawnie do³±czone i etykietowane.
Je¶li zamkniesz okno odno¶nika i ponownie otworzysz je w dokumencie B to
zobaczysz tylko etykiety pliku B.
\end_layout
\begin_layout Section
-
Algorytmy
\end_layout
\begin_layout Standard
-
\emph on
(z konfiguracji LaTeX)
\end_layout
\begin_layout Standard
-
Pakiet
\family sans
algorithm
\end_layout
\begin_layout Section
-
Podrysunek
\end_layout
\begin_layout Standard
-
\emph on
(z konfiguracji LaTeX)
\end_layout
\begin_layout Standard
-
Pakiet
\family sans
subfigure
\end_layout
\begin_layout Section
-
Ozdobne nag³ówki i stopki
\begin_inset Foot
status open
\begin_layout Standard
-
W³a¶ciwie powinny¶my u¿ywaæ nazw:
\emph on
pagina górna
\end_layout
\begin_layout Standard
-
Domy¶lny uk³ad strony jest raczej nieskomplikowany -- plain; dla klasy artyku³
numery stron s± wycentrowane u do³u strony.
Ten dokument jest klasy ksi±¿ka (book) i jest trochê bardziej ozdobny,
\end_layout
\begin_layout Standard
-
Nag³ówek i stopka strony s± podzielone na trzy pola okre¶laj±ce lew±, ¶rodkow±
i praw± ich czê¶æ.
Poleceniami LaTeX-a do ustawiania tych pól w najprostszy sposób s±
\begin_layout Standard
-
\family typewriter
\backslash
\end_layout
\begin_layout Standard
-
Zobaczysz w podgl±dzie swoje nazwisko w lewym górnym naro¿niku ka¿dej strony.
Je¶li pole ma domy¶ln± warto¶æ, której chcesz siê pozbyæ (czêsto numer
strony pojawia siê w centralnej czê¶ci stopki) to po prostu wstaw polecenie
\begin_layout Standard
-
\family typewriter
\backslash
\end_layout
\begin_layout Standard
-
Zróbmy rzeczywi¶cie ozdobn± stronê: wstawmy w nag³ówku po lewej nazwê sekcji
wraz ze s³owem ,,Sekcja'' (np.
Sekcja 3) oraz numer strony po prawej (np.
\begin_layout Standard
-
\family typewriter
\backslash
\begin_layout Standard
-
\family typewriter
\backslash
\begin_layout Standard
-
\family typewriter
\backslash
\begin_layout Standard
-
\family typewriter
\backslash
\begin_layout Standard
-
\family typewriter
\backslash
\begin_layout Standard
-
\family typewriter
\backslash
\end_layout
\begin_layout Standard
-
Polecenia
\family typewriter
\end_layout
\begin_layout Standard
-
Cienk± liniê oddzielaj±c± nag³ówek i stopkê od tre¶ci strony mo¿emy tak¿e
zmodyfikowaæ.
Je¶li nie chcesz linii w nag³ówku to ustal jej grubo¶æ na 0.
\end_layout
\begin_layout Standard
-
Mo¿esz prze³±czaæ i wy³±czaæ ustawienia nag³ówków/stopek za pomoc± poleceñ:
\family typewriter
\end_layout
\begin_layout Standard
-
Istnieje wiele z³o¿onych poleceñ, które bêd± wstawia³y rzeczy w lewym górnym
naro¿niku na stronach nieparzystych itd.
ale po szczegó³y odsy³amy Ciê do dokumentacji pakietu
\end_layout
\begin_layout Standard
-
Koñcowym przyk³adem jest mo¿liwo¶æ wstawienia pliku Encapsulated PostScript
do nag³ówka lub stopki.
Pewnie bêdziesz chcia³ wstawiæ logo firmy do lewego dolnego naro¿nika strony.
\begin_layout Standard
-
\family typewriter
\backslash
\end_layout
\begin_layout Section
-
Ministrony
\end_layout
\begin_layout Standard
-
LaTeX dostarcza mechanizmu do tworzenia strony wewn±trz strony, zwanych
ministronami (minipages).
Wewn±trz ministrony s± dostêpne wszystkie zwyk³e regu³y wcinania, ³amania
\end_layout
\begin_layout Standard
-
Ministrony posiadaj± w³asn± wstawkê, aby wstawiæ ministronê wybierz polecenie
\family sans
\end_layout
\begin_layout Standard
-
Uwaga.
Je¶li ministrona jest zbyt d³uga aby zmie¶ciæ siê na stronie, to zostanie
skrócona, a nie wciêta na nastêpnej stronie (nie pojawi siê reszta na nastêpnej
\end_layout
\begin_layout Standard
-
S± dwie dalsze opcje ministron.
Je¶li umie¶cisz dwie ministrony obok siebie, to mo¿na wstawiæ
\family sans
\end_layout
\begin_layout Standard
-
-
\begin_inset Box Frameless
position "t"
hor_pos "c"
status open
\begin_layout Standard
-
To jest ministrona, która nie u¿ywa hfill.
To jest drugie zdanie ministrony, która nie u¿ywa hfill.
\end_layout
\end_layout
\begin_layout Standard
-
-
\begin_inset Box Frameless
position "t"
hor_pos "c"
status open
\begin_layout Standard
-
To jest druga ministrona, która nie u¿ywa hfill.
To jest drugie zdanie drugiej ministrony, która nie u¿ywa hfill.
\end_layout
\end_layout
-
\begin_layout Standard
-
-
\begin_inset VSpace medskip
\end_inset
\end_layout
\begin_layout Standard
-
To jest zwyk³y tekst, który rozdziela dwa przyk³ady
\end_layout
\begin_layout Standard
-
-
\begin_inset VSpace medskip
\end_inset
\end_layout
-
\begin_layout Standard
-
-
\begin_inset Box Frameless
position "t"
hor_pos "c"
status open
\begin_layout Standard
-
To jest ministrona, która u¿ywa hfill.
To jest drugie zdanie ministrony, która u¿ywa hfill.
\end_layout
status open
\begin_layout Standard
-
To jest druga ministrona, która u¿ywa hfill.
To jest drugie zdanie drugiej ministrony, która u¿ywa hfill.
\end_layout
\end_layout
\begin_layout Section
-
Oblewanie rysunku tekstem
\begin_inset LatexCommand \label{sec:floatflt}
\end_layout
\begin_layout Standard
-
-
\begin_inset Wrap figure
placement r
width "6cm"
status open
\begin_layout Standard
-
-
\begin_inset Graphics
filename mobius.eps
display color
\end_layout
\begin_layout Caption
-
Ten rysunek jest oblany tekstem, a to jest ¶liczny podpis
\end_layout
\end_layout
\begin_layout Standard
-
Czêsto zadawanym pytaniem jest pytanie o mo¿liwo¶æ ,,oblewania'' rysunków
tekstem w ten sposób, ¿e rysunek zajmuje czê¶æ kolumny a reszta jest wype³niona
tekstem.
\end_layout
\begin_layout Standard
-
Obok znajduje siê rysunek pêtli Moebiusa -- powiniene¶ go ju¿ zobaczyæ w
\emph on
Podrêczniku U¿ytkownika
\end_layout
\begin_layout Standard
-
Uwaga: ten pakiet jest bardzo kruchy
\begin_inset Foot
status collapsed
\begin_layout Standard
-
Kruchy w sensie LaTeX-a.
Przyp.
t³um.
\end_layout
\begin_layout Standard
-
Miejmy nadziejê, ¿e w przysz³o¶ci LyX bêdzie obs³ugiwa³ te funkcje natywnie.
\end_layout
\begin_layout Section
-
Opcje tabel
\end_layout
\begin_layout Standard
-
Standardowy uk³ad tabel bêdzie odpowiedni w 99% wszystkich Twoich tabel,
ale w 1% prawdopodobnie bêdziesz potrzebowa³ tabel specjalnie dostosowanych
do swoich wymagañ.
\end_layout
\begin_layout Standard
-
Teraz krótkie wspomnienie o LaTeX-u: gdy ustawiamy tabelê w LaTeX-u to dla
ka¿dej kolumny deklarujemy typ wyrównania.
Dla przyk³adu mo¿esz podaæ ,,
\end_layout
\begin_layout Subsection
-
Usuwanie dodatkowej przestrzeni tabeli
\end_layout
\begin_layout Standard
-
Tutaj znajduje siê standardowa tabela:
\end_layout
-
\begin_layout Standard
-
-
\begin_inset VSpace 0.3cm
\end_inset
\begin_layout Standard
\align center
-
-\begin_inset Tabular
+\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="2">
<features>
<column alignment="left" valignment="top" width="0pt">
\begin_inset Text
\begin_layout Standard
-
Type
\end_layout
\begin_inset Text
\begin_layout Standard
-
Example
\end_layout
\begin_inset Text
\begin_layout Standard
-
Rock
\end_layout
\begin_inset Text
\begin_layout Standard
-
Granite
\end_layout
\begin_inset Text
\begin_layout Standard
-
Mineral
\end_layout
\begin_inset Text
\begin_layout Standard
-
Quartz
\end_layout
\end_layout
\begin_layout Standard
-
-
\begin_inset VSpace 0.3cm
\end_inset
\end_layout
-
\begin_layout Standard
-
Zwróæ uwagê, ¿e poziome kreski wystaj± troszkê z obu strona poza tekst.
Je¶li chcesz aby linie zaczyna³y i koñczy³y siê równo z tekstem, to mo¿na
wstawiæ pusty separator na koñcu aby zwolniæ trochê miejsca dodawanego
Oto przyk³ad:
\end_layout
-
\begin_layout Standard
-
-
\begin_inset VSpace 0.3cm
\end_inset
\begin_layout Standard
\align center
-
-\begin_inset Tabular
+\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="2">
<features>
<column alignment="left" valignment="top" width="0pt" special="@{} l">
\begin_inset Text
\begin_layout Standard
-
Type
\end_layout
\begin_inset Text
\begin_layout Standard
-
Example
\end_layout
\begin_inset Text
\begin_layout Standard
-
Rock
\end_layout
\begin_inset Text
\begin_layout Standard
-
Granite
\end_layout
\begin_inset Text
\begin_layout Standard
-
Mineral
\end_layout
\begin_inset Text
\begin_layout Standard
-
Quartz
\end_layout
\end_layout
\begin_layout Standard
-
-
\begin_inset VSpace 0.3cm
\end_inset
\end_layout
-
\begin_layout Standard
-
W tym przypadku w polu
\family sans
Wyrównanie
\end_layout
\begin_layout Subsection
-
Zmiana znaku separatora kolumn
\end_layout
\begin_layout Standard
-
Teraz proponujemy zastosowanie
\begin_inset Formula $\sqrt{\pi}$
\end_inset
Oto wynik:
\end_layout
-
\begin_layout Standard
-
-
\begin_inset VSpace 0.3cm
\end_inset
\begin_layout Standard
\align center
.
-\begin_inset Tabular
+\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="2">
<features>
<column alignment="left" valignment="top" width="0pt">
\begin_inset Text
\begin_layout Standard
-
Type
\end_layout
\begin_inset Text
\begin_layout Standard
-
Example
\end_layout
\begin_inset Text
\begin_layout Standard
-
Rock
\end_layout
\begin_inset Text
\begin_layout Standard
-
Granite
\end_layout
\begin_inset Text
\begin_layout Standard
-
Mineral
\end_layout
\begin_inset Text
\begin_layout Standard
-
Quartz
\end_layout
\end_layout
\begin_layout Standard
-
-
\begin_inset VSpace 0.3cm
\end_inset
\end_layout
-
\begin_layout Subsection
-
Wyrównanie kolumny wed³ug cyfr znacz±cych
\end_layout
\begin_layout Standard
-
Proponujemy wyrównanie kolumny wed³ug cyfr znacz±cych.
Standardowym trickiem LaTeX-a jest podzielenie liczby na dwie kolumny;
w lewej -- przeznaczonej dla czê¶ci ca³kowitej -- wyrównujemy do prawej
Oto przyk³ad:
\end_layout
-
\begin_layout Standard
-
-
\begin_inset VSpace 0.3cm
\end_inset
\begin_layout Standard
\align center
-
-\begin_inset Tabular
+\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="3">
<features>
<column alignment="center" valignment="top" width="0pt">
\begin_inset Text
\begin_layout Standard
-
Wyra¿enie
\end_layout
\begin_inset Text
\begin_layout Standard
-
Warto¶æ
\end_layout
\begin_inset Text
\begin_layout Standard
-
-
\begin_inset Formula $\pi$
\end_inset
\begin_inset Text
\begin_layout Standard
-
3.
\end_layout
\begin_inset Text
\begin_layout Standard
-
1416
\end_layout
\begin_inset Text
\begin_layout Standard
-
-
\begin_inset Formula $\pi^{\pi}$
\end_inset
\begin_inset Text
\begin_layout Standard
-
36.
\end_layout
\begin_inset Text
\begin_layout Standard
-
462
\end_layout
\begin_inset Text
\begin_layout Standard
-
-
\begin_inset Formula $(\pi^{\pi})^{\pi}$
\end_inset
\begin_inset Text
\begin_layout Standard
-
80663.
\end_layout
\begin_inset Text
\begin_layout Standard
-
-
\begin_inset Formula $\pi^{\pi^{\pi}}$
\end_inset
\begin_inset Text
\begin_layout Standard
-
1.
\end_layout
\begin_inset Text
\begin_layout Standard
-
3402
\begin_inset Formula $\times10^{18}$
\end_inset
\end_layout
\begin_layout Standard
-
-
\begin_inset VSpace 0.3cm
\end_inset
\end_layout
-
\begin_layout Standard
-
Mimo ¿e bêdzie to wygl±da³o trochê ¶miesznie w LyX-ie, to na wydruku pojawi±
siê dwukolumnowa tabela, w której prawa kolumna jest wyrównana wed³ug cyfr
znacz±cych, a nag³ówek jest wy¶rodkowany.
\end_layout
\begin_layout Standard
-
My¶lê, ¿e najlepiej bêdzie jak opiszê jak to zrobi³em: Najpierw utworzy³em
tabelê 3 x 3 i usun±³em wszystkie ramki.
Nastêpnie doda³em ramki pod nag³ówkiem i rozdzielaj±c± pierwsz± i drug±
\end_layout
\begin_layout Subsection
-
Lepsze rozwi±zanie wyrównania wed³ug cyfr znacz±cych
\end_layout
\begin_layout Standard
-
Alternatywnym rozwi±zaniem wyrównania wed³ug cyfr znacz±cych w tabelach
jest u¿ycie pakietu
\family typewriter
\begin_layout LyX-Code
-
\backslash
usepackage{dcolumn}
\end_layout
\begin_layout LyX-Code
-
\backslash
newcolumntype{d}[1]{D{.}{.}{#1}}
\end_layout
\begin_layout Standard
-
Aby mieæ kolumny wyrównane wed³ug cyfr znacz±cych wpisz w polu
\family sans
Wyrównanie
\end_layout
\begin_layout LyX-Code
-
d{liczba miejsc dziesiêtnych danych}
\end_layout
\begin_layout LyX-Code
-
\family roman
\emph on
[Przyk³adow± tabelê usuniêto.
\end_layout
\begin_layout Standard
-
Do utworzenia dodatkowego miejsca zwiêksz liczbê miejsc dziesiêtnych w
\family typewriter
d{}
\end_layout
\begin_layout Standard
-
Ta metoda oferuje tak± sam± elastyczno¶æ jak pakiet
\family typewriter
dcolumn
\end_layout
\begin_layout LyX-Code
-
D{separator_wej}{separator_wyj}{liczba_miejsc_dzie¶}
\end_layout
\begin_layout Standard
-
Zainteresowanym czytelnikom polecamy dokumentacjê do pakietu
\family typewriter
dcolumn
\end_layout
\begin_layout Section
-
Wybór znaku wyliczenia
\begin_inset LatexCommand \label{sec:bullet}
\end_layout
\begin_layout Standard
-
by
\noun on
Allan Rae
\end_layout
\begin_layout Subsection
-
Wprowadzenie
\end_layout
\begin_layout Standard
-
LyX dostarcza 216 znaków dostêpnych wprost z menu.
U¿ycie tego menu daje Ci mo¿liwo¶æ ³atwego wyboru odpowiedniego znaku dla
ka¿dego poziomu zagnie¿d¿enia wyliczeñ.
status collapsed
\begin_layout Standard
-
Mo¿na tego dokonaæ tylko rêcznie
\end_layout
\end_layout
\begin_layout Subsection
-
Jak je zobaczyæ
\end_layout
\begin_layout Standard
-
Otwórz z menu
\family sans
\bar under
Poni¿sza tabela przedstawia przypisanie zestawów do pakietów LaTeX-a.
\end_layout
-
\begin_layout Standard
-
-
\begin_inset VSpace 0.3cm
\end_inset
\begin_layout Standard
\align center
-
-\begin_inset Tabular
+\begin_inset Tabular
<lyxtabular version="3" rows="7" columns="2">
<features>
<column alignment="center" valignment="top" leftline="true" width="0pt">
\begin_inset Text
\begin_layout Standard
-
Przycisk
\end_layout
\begin_inset Text
\begin_layout Standard
-
Wymagany pakiet
\end_layout
\begin_layout Standard
-
\family sans
Standard
\end_layout
\begin_layout Standard
-
\family typewriter
base LaTeX
\end_layout
\begin_layout Standard
-
\family sans
Maths
\end_layout
\begin_layout Standard
-
\family typewriter
amssymb.sty
\end_layout
\begin_layout Standard
-
\family sans
Ding1
\end_layout
\begin_layout Standard
-
\family typewriter
pifont.sty
\end_layout
\begin_layout Standard
-
\family sans
Ding2
\end_layout
\begin_layout Standard
-
\family typewriter
pifont.sty
\end_layout
\begin_layout Standard
-
\family sans
Ding3
\end_layout
\begin_layout Standard
-
\family typewriter
pifont.sty
\end_layout
\begin_layout Standard
-
\family sans
Ding4
\end_layout
\begin_layout Standard
-
\family typewriter
pifont.sty
\end_layout
\end_layout
\begin_layout Standard
-
-
\begin_inset VSpace 0.3cm
\end_inset
\end_layout
-
\begin_layout Standard
-
LyX nie zatrzyma Ciê przed u¿yciem znaku z pakietu którego nie masz.
Je¶li otrzymasz komunikat b³êdu LaTeX-a podczas próby podgl±du lub wydruku
bêdzie on oznacza³ brak wymaganego pakietu.
\end_layout
\begin_layout Subsection
-
Jak u¿yæ
\end_layout
\begin_layout Standard
-
Wybierz przycisk g³êboko¶ci wyliczenia i nastêpnie wybierz znak i wielko¶æ.
Zmiana nie bêdzie widoczna w LyX-ie, ale bêdzie widoczna w podgl±dzie dokumentu
przy u¿yciu xdvi lub ghostview.
\end_layout
\begin_layout Standard
-
Mo¿esz przywróciæ domy¶lny znak wyliczenia przez klikniêcie prawym klawiszem
myszy na przycisku poziomu wyliczenia.
\end_layout
\begin_layout Standard
-
Je¶li rzeczywi¶cie chcesz mieæ wiele uk³adów akapitów z ró¿nymi zestawami
znaków wyliczenia w ka¿dym musisz wykonaæ trochê brudnej roboty.
Okno wyboru znaku wyliczenia mo¿e pomóc w znalezieniu nazwy LaTeX-owej
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
\end_layout
\begin_layout Itemize
-
U¿yj polecenia LaTeX-a
\family typewriter
\end_layout
\begin_layout Itemize
-
-
\begin_inset ERT
status collapsed
\end_layout
\begin_layout Itemize
-
Poczekaj na LyX 1.2.
Nastêpne stabilne wydanie LyX-a powinna mieæ wbudowan± obs³ugê definiowania
dla ka¿dego wyliczenia oddzielnego zestawu znaków.
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
\end_layout
\begin_layout Standard
-
Je¶li bêdziesz potrzebowa³ przywróciæ z powrotem poprzednie globalne ustawienia
znaków to nale¿y wpisaæ:
\newline
\end_layout
\begin_layout Chapter
-
Specjalne klasy dokumentu
\end_layout
\begin_layout Section
-
AMS Math
\end_layout
\begin_layout Standard
-
by David
\noun on
Johnson
\end_layout
-
\begin_layout Standard
-
-
\begin_inset VSpace bigskip
\end_inset
\end_layout
\begin_layout Enumerate
-
amsart -- standardowy format artyku³u -- AMS article.
Wszystkie równania i wyra¿enia s± numerowane jako
\begin_inset Formula $(n.m)$
\end_layout
\begin_layout Enumerate
-
amsart-seq -- tutaj, twierdzenia, definicje itd.
s± numerowane kolejno, bez odniesienia do numeru sekcji.
Dostêpne s± równie¿ nienumerowane ¶rodowiska (ale nie wszystkie), do okazjonaln
\end_layout
\begin_layout Enumerate
-
amsbook - standardowy format ksi±¿ki -- AMS book (prawdziwe monografie).
Numeracja jest podobna jak w uk³adzie amsart, z wyj±tkiem numeracji wszystkiego
jako
\end_layout
\begin_layout Standard
-
Dowolne pliki LyX-a ams-* mog± byæ konwertowane do schematu przez prost±
zmianê klasy dokumentu w menu
\family sans
\end_layout
\begin_layout Subsection
-
Co daje ten szablon?
\end_layout
\begin_layout Standard
-
Te uk³ady dostarczaj± d³ug± listê ¶rodowisk.
Najbardziej matematyczne pisma i ksi±¿ki bêd± korzystaæ w wiêkszo¶ci z
tych ¶rodowisk, AMS-LaTeX-u sprzyja definiowaniu nieograniczonej liczby
\end_layout
\begin_layout Description
-
Theorem This is typically used for the statements of major results.
S³owo
\family sans
\end_layout
\begin_layout Description
-
Corollary This is used for statements which follow fairly directly from
previous statements.
Again, these can be major results.
\end_layout
\begin_layout Description
-
Lemma These are smaller results needed to prove other statements.
\end_layout
\begin_layout Description
-
Proposition These are less major results which (hopefully) add to the general
theory being discussed.
\end_layout
\begin_layout Description
-
Conjecture These are statements provided without justification, which the
author does not know how to prove, but which seem to be true (to the author,
at least).
\end_layout
\begin_layout Description
-
Criterion A required condition.
\end_layout
\begin_layout Description
-
Algorithm A general procedure to be used.
\end_layout
\begin_layout Description
-
Axiom This is a property or statement taken as true within the system being
discussed.
\end_layout
\begin_layout Description
-
Definition Guess what this is for.
The font, both on-screen and in the output, is different for this environment
than for the previous ones.
\end_layout
\begin_layout Description
-
Example Sk³ad jest podobny do Definition.
\end_layout
\begin_layout Description
-
Condition
\end_layout
\begin_layout Description
-
Problem
\end_layout
\begin_layout Description
-
Exercise
\end_layout
\begin_layout Description
-
Remark This environment is also a new type of theorem.
This is set with the word Remark in italics, and the rest upright.
\end_layout
\begin_layout Description
-
Note Set similarly to the Remark environment.
\end_layout
\begin_layout Description
-
Notation
\end_layout
\begin_layout Description
-
Claim
\end_layout
\begin_layout Description
-
Summary
\end_layout
\begin_layout Description
-
Acknowledgement
\end_layout
\begin_layout Description
-
Case Generally, these are used to break up long arguments, using specific
instances of some condition.
The numbering scheme for cases is on its own, not together with other numbered
\end_layout
\begin_layout Description
-
Conclusion
\end_layout
\begin_layout Description
-
Fact
\end_layout
\begin_layout Description
-
Proof S³owo ,,
\shape italic
Proof
\end_layout
\begin_layout Description
-
Address Tu powinien byæ podany sta³y adres autora.
\end_layout
\begin_layout Description
-
Current\InsetSpace ~
Address Tu powinien byæ podany czasowy adres autora, gdy wysy³a³
dokument, o ile jest ró¿ny od podanego powy¿ej w Address.
\end_layout
\begin_layout Description
-
Email Adres e-mail autora
\end_layout
\begin_layout Description
-
URL Adres strony internetowej autora.
\end_layout
\begin_layout Description
-
Keywords S³owa kluczowe i frazy u¿ywane do identyfikacji specyficznych dyskutowa
nych tematów w prasie.
\end_layout
\begin_layout Description
-
Subjectclass These refer to the AMS Subject Classifications, published and
described in
\emph on
\end_layout
\begin_layout Description
-
Thanks
\end_layout
\begin_layout Description
-
Dedicatory
\end_layout
\begin_layout Description
-
Translator
\end_layout
\begin_layout Standard
-
Ponadto, ¶rodowiska automatycznie w³±czaj± pakiety AMS-LaTeX i czcionki
AMS, które musz± byæ dostêpne w Twoim systemie, aby mo¿na by³o u¿ywaæ tych
uk³adów.
\end_layout
\begin_layout Section
-
Dinbrief
\end_layout
\begin_layout Standard
-
Klasa dokumentu
\family sans
dinbrief
\end_layout
\begin_layout Section
-
Paper
\end_layout
\begin_layout Standard
-
Klasa dokumentu
\family sans
paper
\end_layout
\begin_layout Section
-
A&A Paper
\end_layout
\begin_layout Standard
-
by
\noun on
Peter
\end_layout
\begin_layout Subsection
-
Wprowadzenie
\end_layout
\begin_layout Standard
-
W tej sekcji opisano jak mo¿na u¿yæ LyX-a do pisania artyku³ów do pism naukowych
\emph on
Astronomy and Astrophysics
Ten pakiet mo¿e byæ ¶ci±gniêty z serwera ftp Springera
\end_layout
-
\begin_layout Standard
-
-
\begin_inset VSpace medskip
\end_inset
\begin_layout Standard
\align center
-
\begin_inset LatexCommand \url{ftp://ftp.springer.de/pub/tex/latex/aa}
\end_inset
\end_layout
\begin_layout Standard
-
-
\begin_inset VSpace medskip
\end_inset
\end_layout
-
\begin_layout Standard
-
Instrukcja do A&A Paper jest dostarczana razem z pakietem.
Ten tekst nie ma na celu zast±pienia oryginalnej instrukcji ale jest krótkim
przewodnikiem jak wykorzystaæ ten format.
\end_layout
\begin_layout Subsection
-
Zaczynamy
\end_layout
\begin_layout Standard
-
Aby zacz±æ nowy dokument wybieramy z menu
\family sans
\bar under
status open
\begin_layout Standard
-
Zalecamy korzystanie z szablonu.
Either create one yourself, or ask the local system administrator to suply
a site-wide version.
\end_layout
\begin_layout Itemize
-
Wybierz klasê dokumentu
\family sans
paper (A&A)
\end_layout
\begin_layout Itemize
-
Nie zmieniaj opcji
\family sans
\bar under
\end_layout
\begin_layout Itemize
-
Mo¿esz chcieæ u¿yæ czcionki
\family sans
Times
\end_layout
\begin_layout Subsection
-
Nag³ówek
\end_layout
\begin_layout Standard
-
Pierwsz± rzecz± do wprowadzenia jest dane nag³ówkowe.
Które zawieraj± osiem wpisów, z których kilka jest opcjonalnych.
Oto one:
\begin_layout Itemize
-
\family sans
Thesaurus
\family default
\begin_layout Itemize
-
\family sans
Title
\family default
\begin_layout Itemize
-
\family sans
Subtitle
\family default
\begin_layout Itemize
-
\family sans
Author
\family default
\begin_layout Itemize
-
\family sans
Address
\family default
\begin_layout Itemize
-
\family sans
Offprints
\family default
\begin_layout Itemize
-
\family sans
Email
\family default
\begin_layout Itemize
-
\family sans
Date
\family default
\end_layout
\begin_layout Standard
-
Nie potrzeba wydawaæ polecenia
\family typewriter
\end_layout
\begin_layout Standard
-
Je¶li chcesz umie¶ciæ przypis w nag³ówku, np.
dla wskazania twojego aktualnego adresu, mo¿esz u¿yæ standardowego przypisu
za pomoc±
\end_layout
\begin_layout Standard
-
In addition to these topics, Springer uses two additional LaTeX commands
that have no counterpart in LyX:
\end_layout
\begin_layout Itemize
-
\family typewriter
\backslash
\begin_layout Itemize
-
\family typewriter
\backslash
\end_layout
\begin_layout Standard
-
In both cases, the appropriate command has to be entered in LyX an marked
as LaTeX code.
See the examples.
\end_layout
\begin_layout Subsection
-
Streszczenie
\end_layout
\begin_layout Standard
-
Streszczenie powinno siê znajdowaæ bezpo¶rednio za nag³ówkiem.
\end_layout
\begin_layout Standard
-
The only special thing about the abstract environment is that it should
contain an entry with the keywords.
This is not yet implemented for LyX, therefore you have to enter the LaTeX
\end_layout
\begin_layout Subsection
-
Obs³ugiwane ¶rodowiska
\end_layout
\begin_layout Standard
-
Uk³ad A&A paper obs³uguje nastêpuj±ce ¶rodowiska dla strukturyzacji tekstu:
\end_layout
\begin_layout Itemize
-
\family sans
Standard
\end_layout
\begin_layout Itemize
-
\family sans
Section
\end_layout
\begin_layout Itemize
-
\family sans
Subsection
\end_layout
\begin_layout Itemize
-
\family sans
Subsubsection
\end_layout
\begin_layout Itemize
-
\family sans
Itemize
\end_layout
\begin_layout Itemize
-
\family sans
Enumerate
\end_layout
\begin_layout Itemize
-
\family sans
Description
\end_layout
\begin_layout Itemize
-
\family sans
Caption
\end_layout
\begin_layout Itemize
-
\family sans
Abstract
\end_layout
\begin_layout Itemize
-
\family sans
Acknowledgment
\end_layout
\begin_layout Itemize
-
\family sans
Bibliography
\end_layout
\begin_layout Itemize
-
\family sans
LaTeX
\end_layout
\begin_layout Subsection
-
Polecenia nie obs³ugiwane przez LyX
\end_layout
\begin_layout Standard
-
Kilka poleceñ uk³adu
\family sans
paper (A&A)
\begin_layout Itemize
-
\family typewriter
\backslash
\begin_layout Itemize
-
\family typewriter
\backslash
\begin_layout Itemize
-
\family typewriter
\backslash
\begin_layout Itemize
-
\family typewriter
\backslash
\begin_layout Itemize
-
\family typewriter
\backslash
\begin_layout Itemize
-
\family typewriter
\backslash
\begin_layout Itemize
-
\family typewriter
\backslash
\end_layout
\begin_layout Standard
-
Je¶li chcesz u¿yæ którego¶ z tych poleceñ, to musisz wpisaæ je sam.
I nie zapomnij wpisywaæ je w trybie LaTeX-a!
\end_layout
\begin_layout Subsection
-
Wstawki -- rysunki i tabele
\end_layout
\begin_layout Standard
-
LyX obs³uguje niezbêdne ¶rodowiska wstawek
\family sans
figure, figure*, table
\end_layout
\begin_layout Standard
-
Jest tylko jedna specjalna rzecz: rysunki z podpisami.
Aby utworzyæ takie rysunki musisz wykonaæ poni¿sze kroki:
\end_layout
\begin_layout Enumerate
-
Utwórz szerok± wstawkê:
\family sans
\bar under
\end_layout
\begin_layout Enumerate
-
Wpisz tre¶æ podpisu rysunku.
\end_layout
\begin_layout Enumerate
-
Naci¶nij
\family sans
Enter
\end_layout
\begin_layout Enumerate
-
Wstaw swój rysunek (eps),
\end_layout
\begin_layout Enumerate
-
Ustaw kursor za rysunkiem i wstaw odstêp poziomy:
\family sans
\bar under
\end_layout
\begin_layout Enumerate
-
Prze³±cz siê do trybu LaTeX:
\family sans
M-c\InsetSpace ~
\end_layout
\begin_layout Enumerate
-
Wpisz:
\family typewriter
\end_layout
\begin_layout Enumerate
-
Ustaw kursor za podpisem, prze³±cz siê do trybu LaTeX-a i wstaw brakuj±cy
nawias
\family typewriter
\end_layout
\begin_layout Standard
-
Zobacz tak¿e rysunek w przyk³adowym artykule.
\end_layout
\begin_layout Subsection
-
Szablon referatu
\end_layout
\begin_layout Standard
-
For submission, the paper has to be formated in a special double-spacing
layout.
For this purpose, you have to give the option
\end_layout
\begin_layout Subsection
-
Przyk³ad
\end_layout
\begin_layout Standard
-
W folderze
\family sans
Examples
\end_layout
\begin_layout Section
-
AASTeX
\end_layout
\begin_layout Standard
-
by
\noun on
Mike Ressler
\end_layout
\begin_layout Subsection
-
Wprowadzenie
\end_layout
\begin_layout Standard
-
AASTeX jest zestawem makr wydanych przez American Astronomical Society dla
u³atwienia wysy³ania elektronicznych manuskryptów do trzech pism wydawanych
przez Towarzystwo:
Pakiet AASTeX mo¿na pobraæ z serwera ftp AAS
\end_layout
-
\begin_layout Standard
-
-
\begin_inset VSpace medskip
\end_inset
\begin_layout Standard
\align center
-
\begin_inset LatexCommand \url{ftp://ftp.aas.org/pubs}
\end_inset
\end_layout
\begin_layout Standard
-
-
\begin_inset VSpace medskip
\end_inset
\end_layout
-
\begin_layout Standard
-
A complete user guide is contained in that package and you should familiarize
yourself with it thoroughly before embarking on writing a paper in LyX.
LyX will not reduce the need to figure out all the AASTeX commands, it
\end_layout
\begin_layout Subsection
-
Starting a New Paper
\end_layout
\begin_layout Standard
-
I strongly suggest that you start with the AASTeX template file.
Click on
\family sans
\end_layout
\begin_layout Subsection
-
Finishing Your Paper
\end_layout
\begin_layout Standard
-
When the paper is finished to your satisfaction and previews/prints correctly,
there are a few
\begin_inset Quotes eld
\end_layout
\begin_layout Enumerate
-
Export your paper as a LaTeX file (
\family sans
File\SpecialChar \menuseparator
\end_layout
\begin_layout Enumerate
-
Edit the resulting
\family typewriter
.tex
\begin_deeper
\begin_layout Enumerate
-
remove the comment lines before the
\family typewriter
\end_layout
\begin_layout Enumerate
-
remove the
\family typewriter
\end_layout
\begin_layout Enumerate
-
remove everything between (and including) the
\family typewriter
\end_layout
\begin_layout Enumerate
-
search for any
\family typewriter
\end_layout
\begin_layout Enumerate
-
alter any
\family typewriter
below).
\end_layout
+
\end_deeper
\begin_layout Enumerate
-
Run the resulting file through LaTeX to make sure it still processes correctly.
\end_layout
\begin_layout Enumerate
-
Reread the journal requirements to make sure your filenames and formats
are correct.
\end_layout
\begin_layout Enumerate
-
Submit it.
\end_layout
\begin_layout Subsection
-
Comments On Specific Commands
\end_layout
\begin_layout Standard
-
I will not describe the detailed usage of the individual AASTeX commands:
the AASTeX User Guide (
\family typewriter
\end_layout
\begin_layout Subsubsection
-
Things that work as expected
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
\end_layout
\begin_layout Standard
-
Because they work as you might expect, I simply list them and the section
they are found in:
\family typewriter
\end_layout
\begin_layout Standard
-
The following style options also work correctly:
\family typewriter
preprint
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
\end_layout
\begin_layout Subsubsection
-
Things that work, but require more comment
\end_layout
\begin_layout Standard
-
The following items work, but require a little more discussion:
\end_layout
\begin_layout Itemize
-
These items are reserved for use by the journal editors, but you can put
them into the LaTeX preamble if you feel compelled to do so:
\family typewriter
\end_layout
\begin_layout Itemize
-
These items may be placed in the LaTeX preamble, and are included as blanks
in the template file:
\family typewriter
\begin_layout Itemize
-
\family typewriter
\backslash
\begin_layout Itemize
-
\family typewriter
\backslash
\begin_layout Itemize
-
\family typewriter
\backslash
\begin_layout Itemize
-
\family typewriter
\backslash
\begin_layout Itemize
-
\family typewriter
\backslash
\begin_layout Itemize
-
\family typewriter
\backslash
\begin_layout Itemize
-
\family typewriter
\backslash
\begin_layout Itemize
-
\family typewriter
\backslash
\end_layout
\begin_layout Subsubsection
-
Things not implemented, use ERT
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
\begin_layout Standard
-
\family typewriter
\backslash
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
\end_layout
\begin_layout Subsubsection
-
Things that cannot be implemented
\end_layout
\begin_layout Standard
-
\SpecialChar \ldots{}
at least in any meaningful sort of way, so I suggest ignoring them.
They are the references environment (2.12.3), and the deluxetable environment
\end_layout
\begin_layout Subsection
-
FAQs, Tips, Tricks, and Other Ruminations
\end_layout
\begin_layout Subsubsection
-
Getting LyX and AASTeX to cooperate
\end_layout
\begin_layout Standard
-
It can be a bit tricky to get LyX to recognize a new layout and document
class.
When all else fails, do this:
\end_layout
\begin_layout Enumerate
-
Make certain that LaTeX can find AASTeX.
Copy sample.tex (and perhaps table.tex) from the AASTeX distribution into
a directory completely unrelated to LaTeX or AASTeX and run LaTeX on
\end_layout
\begin_layout Enumerate
-
Make certain that
\family typewriter
aastex.layout
\end_layout
\begin_layout Enumerate
-
Rerun
\family sans
Options\SpecialChar \menuseparator
\end_layout
\begin_layout Enumerate
-
Open a regular new file, not from a template.
Does AASTeX appear in
\family sans
\end_layout
\begin_layout Standard
-
If you get a warning from an existing AASTeX document about not being able
to find the AASTeX layout or a message about
\begin_inset Quotes eld
\end_layout
\begin_layout Subsubsection
-
LaTeX error processing a table
\end_layout
\begin_layout Standard
-
LyX, by default, attempts to center the table caption/title.
This seems to produce a bad interaction in AASTeX so you should click somewhere
in the caption/title, then select
\end_layout
\begin_layout Subsubsection
-
References
\begin_inset LatexCommand \label{cite}
\end_layout
\begin_layout Standard
-
A few things: 1) I have noticed some funny spacing in the reference entries
in the text.
When you enter the bibliography item data, make sure their is
\end_layout
\begin_layout Subsubsection
-
W³±czanie plików EPS
\end_layout
\begin_layout Standard
-
With all due respect to Chris Biemesderfer and the others who have helped
to write the AASTeX package, the figure handling mechanism smells really
foul.
\end_layout
\begin_layout Subsubsection
-
Things I could have done, but didn't
\end_layout
\begin_layout Standard
-
There are a few ,,pretty'' things I could have implemented, but chose not
to.
For instance, I saw no point in double-spacing the text in the LyX window,
\end_layout
\begin_layout Quotation
-
,,Decisions of the judges will be final unless shouted down by a really
overwhelming majority of the crowd present.
Abusive and obscene language may not be used by contestants when addressing
\end_layout
\begin_layout Subsection
-
Final Caveat
\end_layout
\begin_layout Standard
-
To mangle the infamous quote by Donald Knuth about a computer algorithm,
,,I have only proved this to be correct, I have not actually tried it''.
I believe following the above procedures will produce an acceptable AASTeX
\end_layout
\begin_layout Section
-
ijmpd
\end_layout
\begin_layout Standard
-
by
\noun on
Panayotis Papasotiriou
\end_layout
\begin_layout Subsection
-
Overview
\end_layout
\begin_layout Standard
-
The ijmpd package is a set of macros that facilitates electronic manuscript
submission to the
\emph on
\end_layout
\begin_layout Subsection
-
Writing a paper
\end_layout
\begin_layout Standard
-
As usual, the easiest way to write a paper is to start with a template.
Click on
\family sans
\end_layout
\begin_layout Enumerate
-
LyX won't let you change the font size and the page style of the document,
because the ijmpd package does not allow such modifications.
\end_layout
\begin_layout Enumerate
-
The ijmpd package requires that the language of the document should not
be changed.
Before previewing your paper, be sure that the babel package is not used.
\end_layout
\begin_layout Enumerate
-
Two new environments, named
\begin_inset Quotes eld
\end_inset
\end_layout
\begin_layout Enumerate
-
Appendices may be added to the paper.
LyX offers a special environment, called
\begin_inset Quotes eld
\end_layout
\begin_layout Enumerate
-
The ijmpd package implements table captions quite differently than LyX does.
As a result, a table created by LyX is printed correctly, but its caption
is ignored.
\end_layout
\begin_layout Subsection
-
Preparing a paper for submission
\end_layout
\begin_layout Standard
-
Before you submit your paper you must export the LyX document as a LaTeX
file (
\family sans
\end_layout
\begin_layout Enumerate
-
Remove the comment lines before the
\family typewriter
\end_layout
\begin_layout Enumerate
-
Remove everything between (and including) the
\family typewriter
\end_layout
\begin_layout Standard
-
The modified
\family typewriter
.tex
\end_layout
\begin_layout Subsection
-
Use of ERT
\end_layout
\begin_layout Standard
-
U¿ycie wstawek ERT jest opcjonalne i jest zredukowane do trzech poleceñ,
which affect the look of the page.
If you started writing your paper by using the
\end_layout
\begin_layout Section
-
Kluwer
\end_layout
\begin_layout Standard
-
by
\noun on
Panayotis Papasotiriou
\end_layout
\begin_layout Subsection
-
Przegl±d
\end_layout
\begin_layout Standard
-
Pakiet Kluwer jest zestawem makr wydanych przez Kluwer Academic Publishers
aby u³atwiæ elektroniczn± wysy³kê manuskryptów do pism wydawanych przez
wydawnictwo.
\end_layout
\begin_layout Standard
-
LyX obs³uguje wiele cech pakietu ale nie wszystkie.
Mimo to wstawki ERT s± potrzebne do redukcji ,,osobliwych'' poleceñ pakietu
(zobacz
\end_layout
\begin_layout Subsection
-
Pisanie artyku³ów
\end_layout
\begin_layout Standard
-
Naj³atwiejsz± drog± do napisania nowego artyku³u jest skorzystanie z szablonu.
Wybierz polecenie z menu
\family sans
\end_layout
\begin_layout Subsection
-
Przygotowanie artyku³u do wys³ania
\end_layout
\begin_layout Standard
-
Podobnie jak przy pakiecie AASTeX przed wysy³k± artyku³u do wydawnictwa,
artyku³ nale¿y przetworzyæ, co opisano dalej w kolejnych krokach:
\end_layout
\begin_layout Enumerate
-
Wyeksportuj artyku³ do pliku LaTeX.
Zrób to przez wybór polecenia z menu
\family sans
\end_layout
\begin_layout Enumerate
-
Wyedytuj uzyskany plik
\family typewriter
.tex
\begin_deeper
\begin_layout Enumerate
-
usuñ wiersze komentarza przed poleceniem
\family typewriter
\end_layout
\begin_layout Enumerate
-
usuñ wszystko pomiêdzy dyrektywami
\family typewriter
\end_layout
\begin_layout Standard
-
Zapisz uzyskany plik
\family typewriter
.tex
\family default
.
\end_layout
+
\end_deeper
\begin_layout Enumerate
-
Przetwórz plik
\family typewriter
.tex
\end_layout
\begin_layout Enumerate
-
Zobacz utworzony plik
\family typewriter
.dvi
\end_layout
\begin_layout Subsection
-
,,Osobliwo¶ci'' pakietu Kluwer
\begin_inset LatexCommand \label{subsec:kluwer_peculiarities}
\end_layout
\begin_layout Standard
-
Pakiet Kluwer posiada nastêpuj±ce ,,osobliwo¶ci'':
\end_layout
\begin_layout Enumerate
-
Jest mo¿liwe pisanie wielu artyku³ów w tym samym pliku LaTeX-a
\begin_inset Foot
status open
\begin_layout Standard
-
Nie mogê wyobraziæ sobie innego dobrego powodu aby to zrobiæ
\end_layout
\end_layout
\begin_layout Enumerate
-
Informacje podane na pocz±tku artyku³u (np.: title, subtitle, author, institution
, running title, running author, abstract i keywords) musz± znajdowaæ siê
w\InsetSpace ~
\end_layout
\begin_layout Enumerate
-
Wed³ug podrêcznika u¿ytkownika etykieta ka¿dej pozycji bibliografii musi
byæ zapisana jako
\family typewriter
\end_layout
\begin_layout Standard
-
Szablon
\family typewriter
kluwer.lyx
\end_layout
\begin_layout Enumerate
-
nie usuwaj wstawek ERT do³±czonych do szablonu i
\end_layout
\begin_layout Enumerate
-
skopiuj przyk³adow± bibliografiê do³±czona do szablonu i dostosuj j± przez
dopisanie nowych pozycji.
\end_layout
\begin_layout Section
-
Koma-Script
\end_layout
\begin_layout Standard
-
by
\noun on
Bernd Rellermeyer
\end_layout
\begin_layout Subsection
-
Przegl±d
\end_layout
\begin_layout Standard
-
LyX-owe klasy dokumentu
\emph on
article (koma-script)
\end_layout
\begin_layout Itemize
-
Standardow± wielko¶ci± czcionki jest 11pt w
\emph on
article (koma-script)
\end_layout
\begin_layout Itemize
-
Tytularia, etykiety opisu ¶rodowisk i kilka elementów klasy
\emph on
letter (koma-script)
status collapsed
\begin_layout Standard
-
Istnieje du¿a ró¿nica pomiêdzy starymi pó³grubymi czcionkami bezszeryfowymi
rodziny cm, a nowymi rodziny ec, szczególnie w wygl±dzie tytulariów.
Dla porównania pó³gruba czcionka bezszeryfowa rodziny ec wygl±da na troszkê
\end_layout
\begin_layout Itemize
-
G³ównym zamierzeniem projektowania obszaru pisania klas dokumentu Koma-Script
s± opcje
\family sans
\end_layout
\begin_layout Itemize
-
Klasy LaTeX-owe rodziny Koma-Script definiuj± kilka dodatkowych poleceñ.
Czê¶æ z nich, które maj± sens w LyX-ie s± zaimplementowane w odpowiednich
¶rodowiskach.
\end_layout
\begin_layout Standard
-
Szczegó³owy opis (w jêzyku niemieckim) LaTeX-owych klas dokumentu rodziny
Koma-Script mo¿na znale¼æ w dokumentacji Koma-Script
\emph on
status collapsed
\begin_layout Standard
-
Istnieje angielskie t³umaczenie --
\emph on
screnggu
\end_layout
\begin_layout Subsection
-
Klasy article (koma-script), report (koma-script) i book (koma-script)
\end_layout
\begin_layout Standard
-
Klasy dokumentu
\emph on
article (koma-script)
\begin_layout Itemize
-
\family sans
Addchap
\family default
\begin_layout Itemize
-
\family sans
Addchap*
\family default
\begin_layout Itemize
-
\family sans
Minisec
\family default
\end_layout
\begin_layout Standard
-
Nastêpuj±ce ¶rodowiska, razem ze standardowymi:
\family sans
Title
status open
\begin_layout Standard
-
Odpowiednie polecenia LaTeX musz± pojawiæ siê przed poleceniem
\family typewriter
\begin_layout Itemize
-
\family sans
Subject
\family default
\begin_layout Itemize
-
\family sans
Publishers
\family default
\begin_layout Itemize
-
\family sans
Dedication
\family default
\begin_layout Itemize
-
\family sans
Titlehead
\family default
\begin_layout Itemize
-
\family sans
Uppertitleback
\family default
\begin_layout Itemize
-
\family sans
Lowertitleback
\family default
\begin_layout Itemize
-
\family sans
Extratitle
\family default
\end_layout
\begin_layout Standard
-
Pliki uk³adu dla klas dokumentu
\emph on
article (koma-script)
\end_layout
\begin_layout Subsection
-
Klasa letter (koma-script)
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status inlined
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status inlined
\end_layout
\begin_layout Standard
-
Wygl±d listu z³o¿onego w tej klasie dokumentu mo¿e byæ sterowany za pomoc±
kilku poleceñ LaTeX-a (w LyX-ie mo¿na je wprowadziæ wybieraj±c z menu
\family sans
status collapsed
\begin_layout Standard
-
Na przyk³ad, standardowy wygl±d nag³ówka listu zawieraj±cy nazwê i adres
jest ca³kowicie self-willed.
,,Podstawowy'' nag³ówek jest tworzony za pomoc± nastêpuj±cych poleceñ w
\begin_layout LyX-Code
-
\backslash
firsthead{
\backslash
\end_layout
\begin_layout LyX-Code
-
{
\backslash
ignorespaces
\begin_layout LyX-Code
-
\backslash
nexthead{
\backslash
\end_layout
\begin_layout LyX-Code
-
{
\backslash
ignorespaces
\end_layout
\begin_layout Standard
-
¦rodowiska
\family sans
Letter
\begin_layout Itemize
-
\family sans
Letter
\family default
\begin_layout Itemize
-
\family sans
Opening
\family default
\begin_layout Itemize
-
\family sans
Closing
\family default
\begin_layout Itemize
-
\family sans
PS
\family default
\begin_layout Itemize
-
\family sans
CC
\family default
\begin_layout Itemize
-
\family sans
Encl
\family default
\end_layout
\begin_layout Standard
-
¦rodowiska
\family sans
Name
status collapsed
\begin_layout Standard
-
It could be seen as a matter of inconsequence, that the types
\family sans
Letter
\end_layout
\begin_layout Standard
-
Implementacja tych ¶rodowisk w trybie WYSIWYG nie ma sensu, poniewa¿ rzeczywisty
wygl±d z³o¿onego listu zale¿y nie tylko od u¿ycia w³a¶ciwego ¶rodowiska,
ale tak¿e innych czynników.
\end_layout
\begin_layout Standard
-
¦rodowiska mog± byæ tak¿e u¿ywane jako puste akapity.
To ma sens np.
dla ¶rodowiska
\end_layout
\begin_layout Standard
-
Przez u¿ycie ¶rodowisk mo¿na utworzyæ szablon listu, z czê¶ciowo wype³nionymi
polami ¶rodowisk (np.
Name, Address itd).
\begin_layout Itemize
-
\family sans
Name
\family default
\begin_layout Itemize
-
\family sans
Signature
\family default
\begin_layout Itemize
-
\family sans
Address
\family default
\begin_layout Itemize
-
\family sans
Telephone
\family default
\begin_layout Itemize
-
\family sans
Place
\family default
\begin_layout Itemize
-
\family sans
Date
\family default
\begin_layout Itemize
-
\family sans
Backaddress
\family default
\begin_layout Itemize
-
\family sans
Specialmail
\family default
\begin_layout Itemize
-
\family sans
Location
\family default
\begin_layout Itemize
-
\family sans
Title
\family default
\begin_layout Itemize
-
\family sans
Subject
\family default
\end_layout
\begin_layout Standard
-
¦rodowiska
\family sans
Yourref
\begin_layout Itemize
-
\family sans
Yourref
\family default
\begin_layout Itemize
-
\family sans
Yourmail
\family default
\begin_layout Itemize
-
\family sans
Myref
\family default
\begin_layout Itemize
-
\family sans
Customer
\family default
\begin_layout Itemize
-
\family sans
Invoice
\family default
\end_layout
\begin_layout Subsection
-
Problemy
\end_layout
\begin_layout Standard
-
Przedstawienie WYSIWYG w LyX-ie dokumentów w klasie Koma-Script powoduje
kilka problemów.
\end_layout
\begin_layout Itemize
-
Numery rozdzia³ów ¶rodowisk
\family sans
Chapter
\end_layout
\begin_layout Itemize
-
Tytu³y ¶rodowisk
\family sans
Addchap
\end_layout
\begin_layout Itemize
-
Tryb separacji akapitów w dokumencie
\emph on
letter
\end_layout
\begin_layout Section
-
Springer Journals (
\family sans
svjour
\end_layout
\begin_layout Standard
-
by
\noun on
Martin Vermeer
\end_layout
\begin_layout Subsection
-
Opis
\end_layout
\begin_layout Standard
-
Tutaj opisujemy klasy i pliki uk³adu u¿ywanych dla niektórych pism wydawanych
przez wydawnictwo Springer Verlag i wymienionych na stronie
\begin_inset LatexCommand \url{http://www.springer.de/author/tex/help-journals.html}
\end_layout
\begin_layout Standard
-
Oznacza to, ¿e implementacja wsparcia dla innego pisma wydawnictwa Springer
wymaga napisania w³asnego pliku uk³adu
\family typewriter
\end_layout
\begin_layout Standard
-
Klasa dokumentu LyX-a by³a testowana tylko dla pisma
\emph on
Journal of Geodesy
\end_layout
\begin_layout Subsection
-
Nowe style
\end_layout
\begin_layout Standard
-
Du¿a liczba stylów typu theorem --
\family sans
Claim, Conjecture,
\begin_layout Standard
-
\family sans
Headnote, Dedication, Subtitle, Running_LaTeX_Title, Author_Running, Institute,
Mail, Offprints, Keywords, Acknowledgements, Acknowledgement
\end_layout
\begin_layout Subsection
-
Obs³ugiwane pisma
\end_layout
\begin_layout Itemize
-
\emph on
Journal of Geodesy
\emph default
\begin_layout Itemize
-
\emph on
Probability Theory and Related Fields
\emph default
\end_layout
\begin_layout Standard
-
Dodaj w³asne -- to nie jest trudne!
\end_layout
\begin_layout Subsection
-
Podziêkowania
\end_layout
\begin_layout Standard
-
Te pliki bazuj± czê¶ciowo na starszym pliku uk³adu
\family typewriter
ejour2.layout
\end_layout
\begin_layout Subsection
-
B³êdy
\end_layout
\begin_layout Standard
-
Prawdopodobne.
Ale prawdopodobnie mniej ni¿ w starej klasie
\family typewriter
\end_layout
\begin_layout Standard
-
Ograniczenia np.: nie wy¶wietla numeru ¶rodowisk typu theorem, w tej chwili
#.
\end_layout
\begin_layout Section
-
AGU journals (
\family sans
aguplus
\end_layout
\begin_layout Standard
-
by
\shape smallcaps
Martin Vermeer
\end_layout
\begin_layout Subsection
-
Description
\end_layout
\begin_layout Standard
-
These are the layout files for some of the journals of the American Geophysical
Society.
It is assumed that you have both the AGU's own class files and AGUplus
\end_layout
\begin_layout Subsection
-
New styles
\end_layout
\begin_layout Standard
-
Redefined are
\family sans
Paragraph
\end_layout
\begin_layout Standard
-
Newly defined styles are
\family sans
Left_Header
\end_layout
\begin_layout Standard
-
I suspect this is still badly incomplete.
\end_layout
\begin_layout Subsection
-
New floats
\end_layout
\begin_layout Standard
-
\family sans
Planotable
\family default
\end_layout
\begin_layout Subsection
-
Supported journals
\end_layout
\begin_layout Itemize
-
\emph on
Journal of Geophysical Research
\emph default
\end_layout
\begin_layout Standard
-
Add your own, it isn't so hard! Look at the
\family typewriter
jgrga.layout
\end_layout
\begin_layout Section
-
EGS journals (
\family sans
egs
\end_layout
\begin_layout Standard
-
by
\shape smallcaps
Martin Vermeer
\end_layout
\begin_layout Subsection
-
Description
\end_layout
\begin_layout Standard
-
This is the layout file for the European Geophysical Society journals.
The needed
\family typewriter
\end_layout
\begin_layout Subsection
-
New styles
\end_layout
\begin_layout Standard
-
\family sans
Right_address, Latex_Title, Affil, Journal, msnumber, FirstAuthor, Received,
Accepted
\end_layout
\begin_layout Section
-
Slides [aka
\noun on
Sli
\end_layout
\begin_layout Standard
-
by
\noun on
John Weiss
\end_layout
\begin_layout Subsection
-
Wprowadzenie
\end_layout
\begin_layout Standard
-
W tej sekcji opisujemy jak u¿yæ LyX-a do przygotowania slajdów do rzutników.
Istniej± dwie klasy dokumentów, które mo¿na do tego celu zastosowaæ: domy¶lnie
\family sans
\end_layout
\begin_layout Standard
-
Powiem to jeszcze raz, jasno, aby nie bu³o nieporozumieñ:
\end_layout
-
\begin_layout Standard
-
-
\begin_inset VSpace bigskip
\end_inset
\end_layout
\begin_layout Standard
-
-
\begin_inset VSpace bigskip
\end_inset
\end_layout
-
\begin_layout Standard
-
Je¶li szukasz dokumentacji do
\family sans
,,slides (FoilTeX)
status collapsed
\begin_layout Standard
-
\SpecialChar \ldots{}
lub tak powtarzam za jej adwokatami.
Nigdy jej nie u¿ywa³em i nie wiem czy to jest prawda czy nie.
\end_layout
\begin_layout Standard
-
Ta klasa jest ulepszeniem LaTeX2e starego pakietu
\noun on
Sli
\end_layout
\begin_layout Subsection
-
Zaczynamy
\begin_inset LatexCommand \label{sec:slidesetup}
\end_layout
\begin_layout Standard
-
Oczywi¶cie, aby u¿yæ tej klasy dokumentu, potrzebujesz wybraæ klasê
\family sans
,,slides (default)
\end_layout
\begin_layout Itemize
-
Nie zmieniaj opcji
\family sans
Strony i Page cols
\end_layout
\begin_layout Itemize
-
W oknie
\family sans
Styl dokumentu
\begin_deeper
\begin_layout Description
-
\family sans
plain
\family default
\begin_layout Description
-
\family sans
headings
\family default
\begin_layout Description
-
\family sans
empty
\family default
Nie jest dodawany numer, data ani znaczniki wyrównania.
\end_layout
+
\end_deeper
\begin_layout Itemize
-
Klasa
\family sans
slides
\begin_deeper
\begin_layout Standard
-
U¿ycie tej opcji pozwala dodaæ znacznik daty do
\family sans
Note
aby poznaæ wiêcej szczegó³ów.
\end_layout
+
\end_deeper
\begin_layout Standard
-
Mo¿esz u¿yæ szablonu ,,
\family typewriter
slides.lyx
\end_layout
\begin_layout Subsection
-
¦rodowiska akapitów
\end_layout
\begin_layout Subsubsection
-
Obs³ugiwane ¶rodowiska
\end_layout
\begin_layout Standard
-
Pierwsz± rzecz±, któr± powiniene¶ zauwa¿yæ gdy zaczynasz nowy dokument slajdów
jest rozmiar i typ czcionki: odpowiednio ,,
\family sans
\end_layout
\begin_layout Standard
-
The next thing that becomes obvious is the changes to the paragraph environment
pull-down box [at the far-left end of the toolbar].
Most of the paragraph environments you're used to seeing are missing.
\begin_layout Itemize
-
\family sans
Standard
\end_layout
\begin_layout Itemize
-
\family sans
Itemize
\end_layout
\begin_layout Itemize
-
\family sans
Enumerate
\end_layout
\begin_layout Itemize
-
\family sans
Description
\end_layout
\begin_layout Itemize
-
\family sans
List
\end_layout
\begin_layout Itemize
-
\family sans
LaTeX
\end_layout
\begin_layout Itemize
-
\family sans
Quotation
\end_layout
\begin_layout Itemize
-
\family sans
Quote
\end_layout
\begin_layout Itemize
-
\family sans
Verse
\end_layout
\begin_layout Itemize
-
\family sans
Caption
\end_layout
\begin_layout Itemize
-
\family sans
LyX-Code
\end_layout
\begin_layout Itemize
-
\family sans
Comment
\end_layout
\begin_layout Standard
-
Wszystkie inne standardowe ¶rodowiska w³±czaj±c ¶rodowiska sekcji nie s±
u¿ywane w klasie
\family sans
status collapsed
\begin_layout Standard
-
In prior versions of this class, there was the mandatory
\family sans
EndAllSlides
\begin_layout Itemize
-
\family sans
Overlay
\end_layout
\begin_layout Itemize
-
\family sans
Note
\end_layout
\begin_layout Itemize
-
\family sans
InvisibleText
\end_layout
\begin_layout Itemize
-
\family sans
VisibleText
\end_layout
\begin_layout Standard
-
These five are kind of quirky, due to a
\begin_inset Quotes eld
\end_inset
\end_layout
\begin_layout Subsubsection
-
Quirks of the New Environments
\begin_inset LatexCommand \label{sec:slideQuirk}
\end_layout
\begin_layout Standard
-
All five of the new paragraph environments are somewhat quirky due to inherent
limitiations in the current version of LyX.
As I just mentioned, LyX forbids environments that begin with another environme
\end_layout
\begin_layout Standard
-
You should consider
\family sans
Slide
\end_layout
\begin_layout Standard
-
A common feature of all five environments,
\family sans
Slide
\end_layout
\begin_layout Standard
-
While you don't
\emph on
have
\end_layout
\begin_layout Standard
-
If, on the other hand, you don't want to enter in any descriptive text,
you'll hit another LyX quirk.
LyX, like nature, abhors a vacuum, and will not let you start a new paragraph
\end_layout
\begin_layout Itemize
-
Start entering the text that will
\emph on
follow
\end_layout
\begin_layout Itemize
-
Now move to the beginning of that paragraph.
\end_layout
\begin_layout Itemize
-
Next, hit
\family sans
Return
\end_layout
\begin_layout Itemize
-
Finally, change this new, empty paragraph to a
\family sans
Slide
\end_layout
\begin_layout Standard
-
Some future version of LyX will, hopefully, resolve this quirkiness\SpecialChar \ldots{}
\end_layout
\begin_layout Subsection
-
Tworzenie prezentacji u¿ywaj±c
\family sans
Slide
\end_layout
\begin_layout Subsubsection
-
U¿ycie ¶rodowiska
\family sans
Slide
\end_layout
\begin_layout Standard
-
If you're expecting this section to teach you how to actually make a presentatio
n, you'll be sorely disappointed.
Naturally, I'll describe all of the ways the
\end_layout
\begin_layout Standard
-
Choosing the
\family sans
Slide
\end_layout
\begin_layout Standard
-
Slides are probably the only time you'll need to forcibly end pages in LyX.
In fact, you'll want to, once you finish entering the contents of one slide.
If you've entered more text than can physically fit on a slide, the extra
\end_layout
\begin_layout Standard
-
The
\family sans
Overlay
\end_layout
\begin_layout Standard
-
As with a
\family sans
Slide
\end_layout
\begin_layout Subsubsection
-
U¿ycie
\family sans
Overlay
\end_layout
\begin_layout Standard
-
The idea behind an
\family sans
Overlay
\end_layout
\begin_layout Standard
-
Each
\family sans
Overlay
status collapsed
\begin_layout Standard
-
Presumably, mutliple
\family sans
Overlay
\end_layout
\begin_layout Standard
-
The major problem in overlaying two slides is aligning the contents of the
two transparencies.
How much space should you leave for that graph on the second slide? Worse
\end_layout
\begin_layout Standard
-
As their names imply,
\family sans
InvisibleText
\end_layout
\begin_layout Standard
-
For
\family sans
VisibleText
\end_layout
\begin_layout Standard
-
By now, it should be obvious how to create overlay transparencies using
the proper combination of
\family sans
\end_layout
\begin_layout Enumerate
-
Create a
\family sans
Slide
\end_layout
\begin_layout Enumerate
-
Before each figure or paragraph that will appear only on the
\family sans
Overlay
\end_layout
\begin_layout Enumerate
-
Start an
\family sans
Overlay
\end_layout
\begin_layout Enumerate
-
Copy the contents of this
\family sans
Slide
\end_layout
\begin_layout Enumerate
-
Within the
\family sans
Overlay
\end_layout
\begin_layout Standard
-
That's it.
You've just made an
\family sans
\end_layout
\begin_layout Standard
-
There's one problem with the way I've designed the LyX
\family sans
slides
status collapsed
\begin_layout Standard
-
The commands of interest are:
\end_layout
\begin_layout Itemize
-
\family typewriter
{
\backslash
\begin_layout Itemize
-
\family typewriter
{
\backslash
\end_layout
\begin_layout Standard
-
\SpecialChar \ldots{}
and need to be marked as TeX.
The text whose
\end_layout
\begin_layout Standard
-
Like an
\family sans
Overlay
\end_layout
\begin_layout Standard
-
The purpose of a
\family sans
Note
\end_layout
\begin_layout Standard
-
To use time markers, you'll need to specify the extra class option
\begin_inset Quotes eld
\end_inset
\end_layout
\begin_layout Standard
-
There's one last feature to describe.
Clearly, you'd like to print out all of your
\family sans
\end_layout
\begin_layout Standard
-
Luckily, there are two LaTeX commands that allow you to select what to print
out.
Both must be placed into the preamble of your document.
\end_layout
\begin_layout Standard
-
You can also provide other arguments to the
\begin_inset Quotes eld
\end_inset
\end_layout
\begin_layout Subsection
-
Plik szablonu klasy
\family sans
Slides
\end_layout
\begin_layout Standard
-
Wraz z klas±
\family sans
Slides
\end_layout
\begin_layout LyX-Code
-
% Uncomment to print out only slides and overlays
\end_layout
\begin_layout LyX-Code
-
%
\end_layout
\begin_layout LyX-Code
-
%
\backslash
onlyslides{
\end_layout
\begin_layout LyX-Code
-
% Uncomment to print out only notes
\end_layout
\begin_layout LyX-Code
-
%
\end_layout
\begin_layout LyX-Code
-
%
\backslash
onlynotes{
\end_layout
\begin_layout Standard
-
I ostatnia rzecz: utworzy³em tê klasê LyX-a do obs³ugi klasy LaTeX2e ,,
\noun on
Sli
status collapsed
\begin_layout Standard
-
Aktualnie znajduje siê plik uk³adu
\family typewriter
seminar.layout
\end_layout
\begin_layout Section
-
Foils [aka
\family sans
Foil
\end_layout
\begin_layout Standard
-
by
\noun on
Allan Rae
\end_layout
\begin_layout Subsection
-
Wprowadzenie
\end_layout
\begin_layout Standard
-
W tej sekcji opisujemy jak u¿yæ LyX-a do przygotowania slajdów do rzutników.
Istniej± dwie klasy dokumentów, które mo¿na do tego celu zastosowaæ: domy¶lnie
\family sans
\end_layout
\begin_layout Standard
-
Powiem to jeszcze raz, jasno, aby nie by³o nieporozumieñ:
\end_layout
-
\begin_layout Standard
-
-
\begin_inset VSpace bigskip
\end_inset
\end_layout
\begin_layout Standard
-
-
\begin_inset VSpace bigskip
\end_inset
\end_layout
-
\begin_layout Standard
-
Je¶li szukasz dokumentacji do
\family sans
,,slides (default
\end_layout
\begin_layout Standard
-
Klasa
\family sans
foils
\end_layout
\begin_layout Subsection
-
Zaczynamy
\end_layout
\begin_layout Standard
-
Oczywi¶cie, aby u¿yæ tej klasy dokumentu, potrzebujesz wybraæ klasê
\family sans
,,slides (FoilTeX)
\end_layout
\begin_layout Itemize
-
Nie zmieniaj opcji
\family sans
Strony i Page cols
\end_layout
\begin_layout Itemize
-
Domy¶ln± wielko¶ci± czcionki jest 20pt, inne to 17pt, 25pt i 30pt.
\end_layout
\begin_layout Itemize
-
Domy¶ln± rodzin± jest czcionka
\family sans
bezszeryfowa
\begin_layout Itemize
-
\family sans
Foil
\family default
\end_layout
\begin_layout Itemize
-
Nie zmieniaj ustawieñ
\family sans
Pozycja wstawki
\end_layout
\begin_layout Itemize
-
Ustawienia
\family sans
\bar under
\begin_layout List
\labelwidthstring MMMMMMM
-
\family sans
\series bold
empty
\begin_layout List
\labelwidthstring MMMMMMM
-
\family sans
\series bold
plain
\begin_layout List
\labelwidthstring MMMMMMM
-
\series bold
foilheadings
\series default
\begin_layout List
\labelwidthstring MMMMMMM
-
\series bold
fancy
\series default
\family default
TeX z powodu kilku mo¿liwych rozjechañ siê uk³adu strony.
\end_layout
+
\end_deeper
\begin_layout Subsubsection
-
Opcje dodatkowe
\end_layout
\begin_layout Standard
-
Nastêpuj±ce opcje mog± byæ u¿yte w polu
\family sans
Opcje dodatkowe
\begin_layout List
\labelwidthstring MMMMMMx
-
\series bold
35mmSlide
\series default
\begin_layout List
\labelwidthstring MMMMMMx
-
\series bold
headrule
\series default
\begin_layout List
\labelwidthstring MMMMMMx
-
\series bold
footrule
\series default
\begin_layout List
\labelwidthstring MMMMMMx
-
\series bold
dvips
\series default
status collapsed
\begin_layout Standard
-
Przyp.
t³um.
Bez tej opcji mo¿esz korzystaæ wprost z pdfLaTeX-a
\begin_layout List
\labelwidthstring MMMMMMx
-
\series bold
landscape
\series default
\begin_layout List
\labelwidthstring MMMMMMx
-
\series bold
leqno
\series default
\begin_layout List
\labelwidthstring MMMMMMx
-
\series bold
fleqn
\series default
\end_layout
\begin_layout Subsection
-
Obs³ugiwane ¶rodowiska
\end_layout
\begin_layout Standard
-
Wiêkszo¶æ zwyk³ych ¶rodowisk wystêpuj±cych w innych klasach jest tak¿e obs³ugiwa
nych w klasie
\family sans
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
\begin_layout Itemize
-
\family sans
Standard
\end_layout
\begin_layout Itemize
-
\family sans
Itemize
\end_layout
\begin_layout Itemize
-
\family sans
Enumerate
\end_layout
\begin_layout Itemize
-
\family sans
Description
\end_layout
\begin_layout Itemize
-
\family sans
List
\end_layout
\begin_layout Itemize
-
\family sans
LaTeX
\end_layout
\begin_layout Itemize
-
\family sans
LyX-Code
\end_layout
\begin_layout Itemize
-
\family sans
Verse
\end_layout
\begin_layout Itemize
-
\family sans
Quote
\end_layout
\begin_layout Itemize
-
\family sans
Quotation
\end_layout
\begin_layout Itemize
-
\family sans
Title
\end_layout
\begin_layout Itemize
-
\family sans
Author
\end_layout
\begin_layout Itemize
-
\family sans
Date
\end_layout
\begin_layout Itemize
-
\family sans
Abstract
\end_layout
\begin_layout Itemize
-
\family sans
Bibliography
\end_layout
\begin_layout Itemize
-
\family sans
Address
\end_layout
\begin_layout Itemize
-
\family sans
RightAddress
\end_layout
\begin_layout Itemize
-
\family sans
Caption
\end_layout
\begin_layout Itemize
-
\family sans
Comment
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
\end_layout
\begin_layout Standard
-
Nastêpne s± g³ówne ¶rodowiska niezale¿nie od ¶rodowisk strukturyzuj±cych
tekst.
Folie s± w³a¶ciwie samodzielnymi sekcjami posiadaj±cymi tytu³ i tre¶æ.
\begin_layout Itemize
-
\family sans
Foilhead
\end_layout
\begin_layout Itemize
-
\family sans
Rotatefoilhead
\end_layout
\begin_layout Standard
-
LyX dostarcza tak¿e lekko zmodyfikowane wersje powy¿szych ¶rodowisk o nazwach:
\end_layout
\begin_layout Itemize
-
\family sans
ShortFoilhead
\end_layout
\begin_layout Itemize
-
\family sans
ShortRotatefoilhead
\end_layout
\begin_layout Standard
-
ró¿nice pomiêdzy nimi s± wyja¶nione w nastêpnej sekcji.
\end_layout
\begin_layout Standard
-
Folie s± czêsto u¿ywane do prezentacji pomys³ów lub nowych teorii i tak¿e
\family sans
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
\begin_layout Itemize
-
\family sans
Theorem
\end_layout
\begin_layout Itemize
-
\family sans
Lemma
\end_layout
\begin_layout Itemize
-
\family sans
Corollary
\end_layout
\begin_layout Itemize
-
\family sans
Proposition
\end_layout
\begin_layout Itemize
-
\family sans
Definition
\end_layout
\begin_layout Itemize
-
\family sans
Proof
\end_layout
\begin_layout Itemize
-
\family sans
Theorem*
\end_layout
\begin_layout Itemize
-
\family sans
Lemma*
\end_layout
\begin_layout Itemize
-
\family sans
Corollary*
\end_layout
\begin_layout Itemize
-
\family sans
Proposition*
\end_layout
\begin_layout Itemize
-
\family sans
Definition*
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
\end_layout
\begin_layout Standard
-
Wersje z gwiazdk± s± ¶rodowiskami nienumerowanymi, a bez gwiazdki s± numerowane.
S± jeszcze dwa ¶rodowiska list dodane przez LyX i s± to:
\end_layout
\begin_layout Itemize
-
\family sans
TickList
\end_layout
\begin_layout Itemize
-
\family sans
CrossList
\end_layout
\begin_layout Standard
-
Jest jeszcze kilka poleceñ
\family sans
Foil
\end_layout
\begin_layout Subsection
-
Tworzenie folii
\end_layout
\begin_layout Standard
-
W tej sekcji podamy proste wprowadzenie jak korzystaæ z ró¿nych ¶rodowisk
aby utworzyæ foliê.
Je¶li chcesz zobaczyæ przyk³ad folii zobacz plik
\end_layout
\begin_layout Subsubsection
-
Strona tytu³owa
\end_layout
\begin_layout Standard
-
Nie tak jak inne klasy dostarczaj±ce ¶rodowisk
\family sans
Title
\end_layout
\begin_layout Subsubsection
-
Rozpoczêcie nowej folii
\end_layout
\begin_layout Standard
-
Jak wspomnia³em wcze¶niej, mamy cztery sposoby na utworzenie nowej folii.
Dla folii pionowych powiniene¶ u¿yæ
\family sans
\end_layout
\begin_layout Standard
-
Folie poziome tworzymy za pomoc± ¶rodowisk
\family sans
Rotatefoilhead
\end_layout
\begin_layout Standard
-
Jednym problemem z obs³ug± poziomych slajdów jest wymóg u¿ycia sterownika
\family typewriter
\end_layout
\begin_layout Subsubsection
-
Theorems, Lemmas, Proofs i wiêcej
\end_layout
\begin_layout Standard
-
Z powodu ma³ego b³êdu w LyX-ie nie mo¿na umie¶ciæ dwóch ¶rodowisk tego samego
typu bezpo¶rednio jedno po drugim.
Musza one byæ czymkolwiek rozdzielone.
\end_layout
\begin_layout Subsubsection
-
Listy
\end_layout
\begin_layout Standard
-
Mo¿esz korzystaæ ze wszystkich obs³ugiwanych i wystêpuj±cych w innych klasach,
¶rodowisk list, a tak¿e z dwóch nowych.
Tutaj opiszê tylko te nowe.
\end_layout
\begin_layout Standard
-
Dwa nowe style list
\family sans
TickList
\end_layout
\begin_layout Subsubsection
-
Rysunki i Tabele
\end_layout
\begin_layout Standard
-
\family sans
Foil
\family default
\end_layout
\begin_layout Subsubsection
-
Nag³ówki i stopki
\begin_inset LatexCommand \label{sec:foilfoot}
\end_layout
\begin_layout Standard
-
Polecenia
\family typewriter
status collapsed
\begin_layout Standard
-
Przyp.
t³um.
Aby do³±czyæ logo graficzne to nale¿y jako argument polecenia
\end_layout
\begin_layout Standard
-
Pozosta³e naro¿niki mo¿na wype³niæ poleceniami
\family sans
Right\InsetSpace ~
\end_layout
\begin_layout Subsection
-
Nieobs³ugiwane funkcje
\family sans
Foil
\end_layout
\begin_layout Standard
-
Wszystkie polecenia wyja¶nione poni¿ej nale¿y wstawiaæ w ¶rodowisku
\family sans
LaTeX
\end_layout
\begin_layout Subsubsection
-
D³ugo¶ci
\end_layout
\begin_layout Standard
-
Wszystkie d³ugo¶ci s± ustawiane poleceniem
\family typewriter
\end_layout
\begin_layout Standard
-
Mo¿na zmieniaæ odstêp pomiêdzy tytu³em folii a tre¶ci±, przez zmianê d³ugo¶ci
\family typewriter
\end_layout
\begin_layout Standard
-
Odstêpy wokó³ wstawek mog± byæ ustawiane przez zmianê nastêpuj±cych d³ugo¶ci:
\end_layout
\begin_layout List
\labelwidthstring MMMMMMMMMMM
-
\family typewriter
\backslash
\begin_layout List
\labelwidthstring MMMMMMMMMMM
-
\family typewriter
\backslash
\begin_layout List
\labelwidthstring MMMMMMMMMMM
-
\family typewriter
\backslash
\begin_layout List
\labelwidthstring MMMMMMMMMMM
-
\family typewriter
\backslash
\end_layout
\begin_layout Standard
-
Jest jeszcze kilka d³ugo¶ci zwi±zanymi ze strona tytu³owa, które mog± byæ
u¿yteczne je¶li masz d³ugie tytu³y lub kilku autorów:
\end_layout
\begin_layout List
\labelwidthstring MMMMMMMMMMM
-
\family typewriter
\backslash
\begin_layout List
\labelwidthstring MMMMMMMMMMM
-
\family typewriter
\backslash
\begin_layout List
\labelwidthstring MMMMMMMMMMM
-
\family typewriter
\backslash
\begin_layout List
\labelwidthstring MMMMMMMMMMM
-
\family typewriter
\backslash
\begin_layout List
\labelwidthstring MMMMMMMMMMM
-
\family typewriter
\backslash
\end_layout
\begin_layout Standard
-
Ostatnia d³ugo¶æ odnosi siê do wszystkich ¶rodowisk list.
Je¶li umie¶cisz
\family typewriter
\end_layout
\begin_layout Subsubsection
-
Nag³ówki i stopki
\begin_inset LatexCommand \label{sec:foilfoot}
\end_layout
\begin_layout Standard
-
Polecenia
\family typewriter
\end_layout
\begin_layout Standard
-
Pozosta³e polecenia steruj±ce:
\end_layout
\begin_layout List
\labelwidthstring MMMMMMMMM
-
\family typewriter
\backslash
\begin_layout List
\labelwidthstring MMMMMMMMM
-
\family typewriter
\backslash
\begin_layout List
\labelwidthstring MMMMMMMMM
-
\family typewriter
\backslash
\end_layout
\begin_layout Standard
-
Je¶li zdecydujesz siê u¿yæ styl strony
\family sans
fancy
\end_layout
\begin_layout Section
-
Latex8 (Dokumenty konferencyjne IEEE )
\end_layout
\begin_layout Standard
-
by
\noun on
Allan Rae
\end_layout
\begin_layout Subsection
-
Wprowadzenie
\end_layout
\begin_layout Standard
-
Since this class is specifically for writing submissions to IEEE sponsored
conferences I strongly recommend that you get a copy of their Authors Kit.
The
\end_layout
\begin_layout Subsection
-
Zaczynamy
\end_layout
\begin_layout Standard
-
[AR.
more to come]
\end_layout
\begin_layout Subsection
-
Obs³ugiwane ¶rodowiska
\end_layout
\begin_layout Itemize
-
Standard
\end_layout
\begin_layout Itemize
-
Title
\end_layout
\begin_layout Itemize
-
Author
\end_layout
\begin_layout Itemize
-
E-mail
\end_layout
\begin_layout Itemize
-
Affiliation
\end_layout
\begin_layout Itemize
-
Abstract
\end_layout
\begin_layout Itemize
-
Section
\end_layout
\begin_layout Itemize
-
SubSection
\end_layout
\begin_layout Itemize
-
Caption
\end_layout
\begin_layout Subsection
-
Ró¿nice pomiêdzy ekranem a dokumentem
\end_layout
\begin_layout Standard
-
There are slight differences in appearance mainly with the presentation
of section counters.
On screen the trailing period of the section counter is missing but it
\end_layout
\begin_layout Section
-
Hollywood (Hollywood spec scripts)
\end_layout
\begin_layout Standard
-
by
\shape smallcaps
Garst Reese
\end_layout
\begin_layout Subsection
-
Wprowadzenie
\end_layout
\begin_layout Standard
-
Getting the format of a Hollywood script right is a ,,rite of passage''.
Zosta³ zaprojektowany do czytania ze zwróceniem uwagi na tre¶æ oraz aby
byæ ³atwym i przyjaznym w czytaniu dla aktorów.
\end_layout
\begin_layout Subsection
-
Specjalne problemy
\end_layout
\begin_layout Standard
-
Tekst mówcy nie powinien byæ NIGDY ³amany w po³owie zdania.
Je¶li tekst mówcy jest kontynuowany na nastêpnej stronie, powtórz
\family sans
\end_layout
\begin_layout Subsection
-
Specjalne funkcje
\end_layout
\begin_layout Standard
-
Wstaw nazwê mówcy (
\family sans
Speaker
\end_layout
\begin_layout Subsection
-
Rozmiar papieru i marginesy
\end_layout
\begin_layout Standard
-
USLetter, lewy 1.6in, prawy 0.75in, górny 0.5in, dolny 0.75in
\end_layout
\begin_layout Subsection
-
¦rodowiska
\end_layout
\begin_layout Standard
-
Dostêpne s± nastêpuj±ce ¶rodowiska.
Mo¿esz u¿yæ uk³adu hollywood.bind aby uzyskaæ skróty klawiszowe jak poni¿ej.
\end_layout
\begin_layout Itemize
-
\family sans
Standard
\newline
\begin_layout Itemize
-
\family sans
Narrative
\hfill
\begin_layout Itemize
-
\family sans
FADE\InsetSpace ~
IN
\begin_layout Itemize
-
\family sans
INT:
\hfill
\begin_layout Itemize
-
\family sans
EXT:
\hfill
\begin_layout Itemize
-
\family sans
Speaker
\hfill
\begin_layout Itemize
-
\family sans
Parenthetical
\hfill
\begin_layout Itemize
-
\family sans
Dialogue
\hfill
\begin_layout Itemize
-
\family sans
Transition
\hfill
\begin_layout Itemize
-
\family sans
FADE\InsetSpace ~
OUT:
\begin_layout Itemize
-
\family sans
Author
\hfill
\begin_layout Itemize
-
\family sans
Title
\hfill
\begin_layout Itemize
-
\family sans
Right\InsetSpace ~
Address
\end_layout
\begin_layout Subsection
-
¯argon scenariusza
\end_layout
\begin_layout Itemize
-
(O.S) --- off screen
\end_layout
\begin_layout Itemize
-
(V.0) --- voice over
\end_layout
\begin_layout Itemize
-
b.g.
--- t³o
\end_layout
\begin_layout Itemize
-
C.U.
--- close-up
\end_layout
\begin_layout Itemize
-
PAN --- przesuniêcie kamery
\end_layout
\begin_layout Itemize
-
INSERT --- cut to close-up of
\end_layout
\begin_layout Section
-
Broadway
\end_layout
\begin_layout Standard
-
by
\shape smallcaps
Garst Reese
\end_layout
\begin_layout Subsection
-
Wprowadzenie
\end_layout
\begin_layout Standard
-
Klasa Broadway jest przeznaczona dla pisz±cych scenariusze teatralne.
Ten format jest bardziej dekoracyjny i o wiele mniej ustandaryzowany.
Ten format powinien byæ odpowiedni dla workshopów.
\end_layout
\begin_layout Subsection
-
Specjalne problemy
\end_layout
\begin_layout Standard
-
Podobnie jak format Hollywood.
\end_layout
\begin_layout Subsection
-
Specjalne funkcje
\end_layout
\begin_layout Standard
-
Wstaw nazwê mówcy (
\family sans
Speaker
\end_layout
\begin_layout Subsection
-
Rozmiar papieru i marginesy
\end_layout
\begin_layout Standard
-
USLetter, lewy 1.6in, prawy 0.75in, górny 0.5in, dolny 0.75in
\end_layout
\begin_layout Subsection
-
¦rodowiska
\end_layout
\begin_layout Standard
-
Dostêpne s± nastêpuj±ce ¶rodowiska.
Mo¿esz u¿yæ uk³adu broadway.bind aby uzyskaæ skróty klawiszowe jak poni¿ej.
\end_layout
\begin_layout Itemize
-
\family sans
Standard
\newline
\begin_layout Itemize
-
\family sans
Narrative
\hfill
\begin_layout Itemize
-
\family sans
ACT
\hfill
\begin_layout Itemize
-
\family sans
ACT*
\hfill
\begin_layout Itemize
-
\family sans
SCENE
\hfill
\begin_layout Itemize
-
\family sans
AT\InsetSpace ~
RISE:
\begin_layout Itemize
-
\family sans
Speaker
\hfill
\begin_layout Itemize
-
\family sans
Parenthetical
\hfill
\begin_layout Itemize
-
\family sans
Dialogue
\hfill
\begin_layout Itemize
-
\family sans
CURTAIN
\hfill
\begin_layout Itemize
-
\family sans
Title
\hfill
\begin_layout Itemize
-
\family sans
Author
\hfill
\begin_layout Itemize
-
\family sans
Right_Address
\hfill
\end_layout
\begin_layout Standard
-
Hello there.
\end_layout
\begin_layout Section
-
RevTeX4
\end_layout
\begin_layout Standard
-
by
\noun on
Amir Karge
\end_layout
\begin_layout Standard
-
Klasa dokumentu
\family sans
Revtex\InsetSpace ~
\end_layout
\begin_layout Standard
-
These documents are supposed to be used in
\emph on
addition
\end_layout
\begin_layout Subsection
-
Instalacja
\end_layout
\begin_layout Standard
-
All you need to do is install RevTeX 4, as described in the package's README
file.
the package can be found at
\end_layout
\begin_layout Standard
-
Probably the easiest way to get started is either to import a RevTeX 4 document
using
\family typewriter
\end_layout
\begin_layout Subsection
-
Preambu³a Matter
\end_layout
\begin_layout Standard
-
Optional arguments to
\family typewriter
\end_layout
\begin_layout Standard
-
Other preamble matter, like
\family typewriter
\end_layout
\begin_layout Subsection
-
Uk³ad
\end_layout
\begin_layout Standard
-
The layouts basically correspond to the commands in RevTeX4.0.
For example, the Email layout corresponds to
\family typewriter
status open
\begin_layout Standard
-
In case you're curious, both were included so that
\family typewriter
reLyX
\end_layout
\begin_layout Standard
-
There are a couple of important unique aspects of RevTeX 4 which might cause
bugs that will be even more confusing in LyX.
\end_layout
\begin_layout Standard
-
In RevTeX, the
\family typewriter
\end_layout
\begin_layout Standard
-
Also, the
\family sans
Author\InsetSpace ~
\end_layout
\begin_layout Subsection
-
Drawbacks
\end_layout
\begin_layout Standard
-
The main problem with this layout is that you can't use the optional arguments
to layouts like Email and Title.
(The problem is not unique to this layout; in LyX 1.0, you can't use optional
\end_layout
\begin_layout Section
-
article (mwart), book (mwbk) i report (mwrep)
\end_layout
\begin_layout Standard
-
by
\noun on
Tomasz £uczak
\end_layout
\begin_layout Standard
-
Klasy dokumentu
\emph on
article (mwart)
\end_layout
\begin_layout Standard
-
Podstawowe ró¿nice:
\end_layout
\begin_layout Itemize
-
Nienumerowane tytularia ( z gwiazdk±) s± dopisywane do spisu tre¶ci.
\end_layout
\begin_layout Itemize
-
Dodatkowe style strony:
\end_layout
\begin_deeper
\begin_layout Description
-
uheadings pagina górna z lini± oddzielaj±c±,
\end_layout
\begin_layout Description
-
myheadings pagina górna z zadawan± tre¶ci± poleceniami:
\family typewriter
\end_layout
\begin_layout Description
-
myuheadings pagina górna z zadawan± tre¶ci± z lini± oddzielaj±c±,
\end_layout
\begin_layout Description
-
outer paginacja w stopce od strony zewnêtrznego marginesu
\end_layout
+
\end_deeper
\begin_layout Itemize
-
Opcje
\end_layout
\begin_deeper
\begin_layout Description
-
rmheadings szeryfowe tytularia -- opcja domy¶lna
\end_layout
\begin_layout Description
-
sfheadings bezszeryfowe tytularia
\end_layout
\begin_layout Description
-
authortitle najpierw autor poni¿ej tytu³ -- opcja domy¶lna
\end_layout
\begin_layout Description
-
titleauthor najpierw tytu³ poni¿ej autor
\end_layout
\begin_layout Description
-
withmarginpar rezerwuje miejsce na marginalia
\end_layout
+
\end_deeper
\begin_layout Chapter
-
Import i eksport innych formatów plików
\end_layout
\begin_layout Section
-
Wprowadzenie
\end_layout
\begin_layout Standard
-
Zagadnienie importu i eksportu z/do innych formatów plików zosta³o wspomniane
w
\emph on
\end_layout
\begin_layout Section
-
Import z innych formatów
\end_layout
\begin_layout Subsection
-
LaTeX
\end_layout
\begin_layout Standard
-
T³umaczenie z LaTeX-a do LyX-a jest dokonywane przez Perl za pomoc± skryptów
wywo³ywanych przez reLyX.
Ponadto jest to samodzielny program, który mo¿e byæ wywo³ywany z wiersza
\end_layout
\begin_layout Subsection
-
ASCII
\end_layout
\begin_layout Standard
-
S± dwie metody importu plików tekstowych ASCII.
Import ,,jako wiersze'' zachowuje wszystkie koñce wierszy z pliku ASCII
do LyX-a, wówczas ka¿dy wiersz jest oddzielnym akapitem.
\end_layout
\begin_layout Subsection
-
Noweb
\end_layout
\begin_layout Standard
-
\emph on
[Editor's note: Needs to be written, obviously - any volunteers? --- mer]
\end_layout
\begin_layout Section
-
Eksport do innych formatów
\end_layout
\begin_layout Subsection
-
LaTeX
\end_layout
\begin_layout Standard
-
LyX tworzy dwa typy plików LaTeX-owych: pliki do normalnego przetwarzania
(do podgl±du DVI itp.), które nie s± nigdy ogl±dane oraz pliki o formie
czytelnej dla ludzi.
\end_layout
\begin_layout Subsection
-
DVI
\end_layout
\begin_layout Standard
-
Plik DVI (skrót od
\family sans
D
\end_layout
\begin_layout Subsection
-
PostScript
\end_layout
\begin_layout Standard
-
Nastêpny krokiem w ³añcuchu konwersji jest konwersja pliku DVI do PostScript.
Najczê¶ciej u¿ywanym do tego celu programem jest program
\family typewriter
\end_layout
\begin_layout Subsection
-
ASCII
\end_layout
\begin_layout Standard
-
Eksport do ASCII próbuje zachowaæ ,,kszta³t'' dokumentu jak to mo¿liwe,
ale takie elementy jak centrowanie i wciêcia s± odrzucane, a akapity s±
rozdzielane pustym wierszem.
\end_layout
\begin_layout Subsection
-
HTML
\end_layout
\begin_layout Standard
-
Dokumenty LyX-a mog± byæ konwertowane do formatu hipertekstowego, zwykle
najpierw dokonywana jest konwersja do LaTeX-a, który konwertuje do formatu
HTML.
\end_layout
\begin_layout Standard
-
Aktualnie s± dostêpne dla LyX-a trzy konwertery LaTeX
\begin_inset Formula $\rightarrow$
\end_inset
\end_layout
\begin_layout Subsection
-
PDF
\end_layout
\begin_layout Standard
-
by
\noun on
Dekel Tsur
\end_layout
\begin_layout Standard
-
Najszybsz± drog± do tworzenia plików PDF (bez znaczników, linków itp.) w
dowolnej wersji LyX-a jest zapisanie dokumentu w formacie PostScript, a
nastêpnie uruchomienie polecenia
\end_layout
\begin_layout Subsubsection
-
U¿ycie pdfLaTeX
\end_layout
\begin_layout Standard
-
Korzystaj±c z pdfLaTeX potrzebujesz skonwertowaæ swoje obrazki EPS do formatu
PDF (zobacz
\begin_inset LatexCommand \ref{sec:pdfeps}
\end_layout
\begin_layout Subsubsection
-
Dlaczego tekst wygl±da ma³o czytelnie przy podgl±dzie za pomoc± Acrobat
Reader?
\begin_inset LatexCommand \label{sec:badfonts}
\end_layout
\begin_layout Standard
-
¬ród³em k³opotów s± czcionki bitmapowe brzydko wy¶wietlane przez Acrobat
Reader.
Podczas tworzenia pliku PDF z pliku LyX-a potrzebujesz czcionek obwiedniowych
\end_layout
\begin_layout Standard
-
Ostatnie dystrybucje LaTeX-a posiadaj± standardowe czcionki CM (Computer
Modern) PostScript Type 1.
PdfLaTeX u¿ywa tych czcionek domy¶lnie.
\end_layout
\begin_layout LyX-Code
-
p+ psfonts.cmz
\end_layout
\begin_layout LyX-Code
-
p+ psfonts.amz
\end_layout
\begin_layout Standard
-
Je¶li u¿ywane jest domy¶lne kodowanie LaTeX-a (OT1), to nie trzeba robiæ
nic wiêcej.
Ale je¶li u¿ywane jest kodowanie T1 to LaTeX u¿ywa nowych czcionek EC,
\end_layout
\begin_layout Standard
-
Uwaga: LyX u¿ywa domy¶lnie kodowania T1.
Je¶li chcesz stosowaæ domy¶lne kodowanie (co nie jest zalecane chyba ¿e
piszesz tylko w jêzyku angielskim), dodaj wiersz
status open
\begin_layout Standard
-
Dla sk³adu w jêzyku polskim zaleca siê stosowaæ kodowanie OT4 oraz pakiet
\family typewriter
\end_layout
\begin_layout Standard
-
Podsumowuj±c czcionki postscriptowe i Computer Modern daj± dobre rezultaty
(z kilkoma wyj±tkami).
Decyzja których u¿ywaæ jest kwesti± gustu.
\end_layout
\begin_layout Subsubsection
-
Jak mogê u¿yæ pdfLaTeX z obrazkami w formacie EPS?
\begin_inset LatexCommand \label{sec:pdfeps}
\end_layout
\begin_layout Standard
-
PdfLaTeX nie obs³uguje w³±czania plików EPS, ale obs³uguje w³±czanie plików
PDF.
Je¶li masz dokumenty z w³±czonymi rysunkami EPS, np.
\end_layout
\begin_layout Enumerate
-
Skonwertuj
\family typewriter
foo.eps
\end_layout
\begin_layout Enumerate
-
Kiedy wstawiasz rysunek w dokumencie nie podawaj rozszerzenia nazwy pliku:
na przyk³ad, wstawiaj±c plik
\family typewriter
\end_layout
\begin_layout Standard
-
Uwaga: W LyX 1.2.0 bêdzie mo¿liwe wstawianie ró¿nych rodzajów rysunków ze
wszystkimi niezbêdnymi transformacjami.
Czê¶ciowo funkcjonalne wstawianie istnieje w wersji 1.1.6, do u¿ycia nale¿y
\end_layout
\begin_layout Subsubsection
-
Dlaczego polecenie
\backslash
boldsymbol{} nie dzia³a gdy u¿ywam pslatex?
\end_layout
\begin_layout Standard
-
Czcionki PostScript nie posiadaj± symboli pó³grubych.
Rozwi±zaniem jest u¿ycie polecenia
\family typewriter
\end_layout
\begin_layout Standard
-
Jest to mo¿liwe przez przedefiniowanie polecenia
\family typewriter
\begin_layout LyX-Code
-
\backslash
renewcommand{
\backslash
\end_layout
\begin_layout Standard
-
w preambule.
\end_layout
\begin_layout Subsubsection
-
Czy jest mo¿liwe zapisanie kodu przetwarzanego tylko przez pdfLaTeX-a?
\end_layout
\begin_layout Standard
-
Tak.
Oto przyk³ad:
\end_layout
\begin_layout LyX-Code
-
\backslash
newif
\backslash
\begin_layout LyX-Code
-
\backslash
ifx
\backslash
\begin_layout LyX-Code
-
\backslash
pdffalse
\end_layout
\begin_layout LyX-Code
-
\backslash
else
\end_layout
\begin_layout LyX-Code
-
\backslash
pdftrue
\end_layout
\begin_layout LyX-Code
-
\backslash
fi
\end_layout
\begin_layout LyX-Code
-
\backslash
ifpdf
\end_layout
\begin_layout LyX-Code
-
\backslash
pdfinfo { /Author (your name and e-mail address)
\end_layout
\begin_layout LyX-Code
-
/Title (official title -- i.e., title element)
\end_layout
\begin_layout LyX-Code
-
/Subject (one line description of the document)
\end_layout
\begin_layout LyX-Code
-
}
\end_layout
\begin_layout LyX-Code
-
\backslash
pdfcatalog { /PageMode (/UseNone)
\end_layout
\begin_layout LyX-Code
-
% /OpenAction (fitbh)
\end_layout
\begin_layout LyX-Code
-
}
\end_layout
\begin_layout LyX-Code
-
\backslash
usepackage[pdftex]{hyperref}
\end_layout
\begin_layout LyX-Code
-
\backslash
else
\end_layout
\begin_layout LyX-Code
-
\backslash
usepackage[ps2pdf]{hyperref}
\end_layout
\begin_layout LyX-Code
-
\backslash
fi
\end_layout
\begin_layout Subsection
-
Eksport u¿ytkownika
\end_layout
\begin_layout Standard
-
Eksport u¿ytkownika jest mo¿liwy je¶li masz dziwny format do którego chcesz
konwertowaæ, zak³adaj±c, ¿e masz odpowiedni konwerter.
Format pliku wej¶ciowego jest podany w dyrektywie
\end_layout
\begin_layout Standard
-
Polecenie wywo³ania konwertera jest podane w dyrektywie
\family typewriter
\end_layout
\begin_layout Standard
-
Mo¿e bêdziesz musia³ trochê poprawiæ podan± sekwencjê, dla zgodno¶ci z twoj±
pow³ok±.
\end_layout
\begin_layout Standard
-
Omawiany sposób eksportu ustawia siê w domy¶lnym lokalnym pliku
\family typewriter
lyxrc
\end_layout
\begin_layout Section
-
Pe³ny opis reLyX
\begin_inset LatexCommand \label{sec:reLyX}
\end_layout
\begin_layout Subsection
-
Synopsis
\end_layout
\begin_layout Standard
-
Najprostszym sposobem u¿ycia reLyX-a jest u¿ycie polecenia
\family sans
Plik\SpecialChar \menuseparator
\begin_layout Standard
-
\series bold
reLyX
\series default
\begin_layout Standard
-
\series bold
reLyX -p -c
\series default
\begin_layout Standard
-
\series bold
reLyX -h
\end_layout
\begin_layout Subsection
-
Opcje
\end_layout
\begin_layout Description
-
-c Klasa (class).
Domy¶lnie, gdy reLyX zobaczy polecenie
\family typewriter
\end_layout
\begin_layout Description
-
-d Diagnostyka (debug).
Domy¶lnie, reLyX rzadko daje wyj¶cie i usuwa pliki tymczasowe utworzone
podczas konwersji.
\end_layout
\begin_layout Description
-
-f (force).
reLyX nie uruchamia siê je¶li plik .lyx, który ma zostaæ utworzony istnieje.
U¿yj (ostro¿nie) opcji
\end_layout
\begin_layout Description
-
-h Pomoc (help).
Drukuje informacje o sposobie u¿ycia i koñczy pracê.
\end_layout
\begin_layout Description
-
-o Katalog wyj¶ciowy (output directory).
W przypadku u¿ycia tej opcji, wszystkie pliki tymczasowe i wyj¶ciowe LyX-a
(dla podanego pliku wej¶ciowego lub dla dowolnych plików czê¶ciowych podanych
\end_layout
\begin_layout Description
-
-p Plik czê¶ciowy (partial).
Wej¶ciem jest fragment pliku LaTeX-a bez preambu³y lub bez polecenia
\family typewriter
\end_layout
\begin_layout Description
-
-r ¦rodowiska regularne (regular environments) (zobacz sekcjê
\shape italic
Pliki sk³adni
\end_layout
\begin_layout Description
-
-s Plik sk³adni (syntax file).
Dodatkowe pliki sk³adni (umieszczaj w cudzys³owie, rozdzielaj przecinkiem)
do wczytania (zobacz sekcjê
\end_layout
\begin_layout Subsection
-
Opis
\end_layout
\begin_layout Subsubsection
-
Wprowadzenie
\end_layout
\begin_layout Standard
-
reLyX tworzy plik LyX-a
\emph on
dir/foo.lyx
\end_layout
\begin_layout Standard
-
Rozszerzenia plików .tex, .ltx i .latex s± obs³ugiwane.
Je¶li
\emph on
\end_layout
\begin_layout Standard
-
Przeznaczeniem reLyX jest translacja
\shape italic
dobrze zachowuj±ca
\end_layout
\begin_layout Standard
-
reLyX ma kilka b³êdów i brak mu kilku funkcji.
Jednak g³ównymi celami s±:
\end_layout
\begin_layout Itemize
-
Uporaæ siê z plikiem LaTeX2e bez upadku,
\end_layout
\begin_layout Itemize
-
Translacja wielu takich plików,
\end_layout
\begin_layout Itemize
-
Lokalizacja czê¶ci, które nie mog± byæ t³umaczone i kopiowanie ich w trybie
TeX.
\end_layout
\begin_layout Standard
-
Te g³ówne cele s± osi±gane dla wiêkszo¶ci plików.
\end_layout
\begin_layout Standard
-
Istnieje wiele ulepszeñ, które mog± byæ i bêd± wprowadzone do reLyX-a w
przysz³o¶ci.
Jednak, my chcemy korzystaæ z reLyX jak najwcze¶niej, aby u³atwiæ nowym
\end_layout
\begin_layout Subsubsection
-
U¿ycie
\end_layout
\begin_layout Standard
-
Tutaj znajduje siê d³u¿szy opis co powiniene¶ zrobiæ, aby skonwertowaæ dokument
LaTeX do dokumentu LyX-a.
\end_layout
\begin_layout Itemize
-
Uruchom reLyX.
\end_layout
\begin_deeper
\begin_layout Standard
-
reLyX bêdzie informowa³ Ciebie o postêpach i wysy³a³ ostrze¿enia do stderr,
je¶li nie chcesz ¿adnych informacji spróbuj ,,
\family typewriter
\emph default
.
\end_layout
+
\end_deeper
\begin_layout Itemize
-
Uruchom LyX (wersja 0.12 lub pó¼niejsza) z wynikowym plikiem .lyx.
\end_layout
\begin_deeper
\begin_layout Standard
-
Teoretycznie wiêkszo¶æ pliku zostanie przet³umaczona, a je¶li co¶ nie zostanie
przet³umaczone, to zostanie zaznaczone na czerwono (tryb TeX).
Teoretycznie LyX potrafi wczytaæ plik i utworzyæ dokument na jego podstawie,
\emph default
.
\end_layout
+
\end_deeper
\begin_layout Itemize
-
Zmieñ pod¶wietlone na czerwono (tryb TeX) rzeczy rêcznie w LyX-ie.
\end_layout
\begin_deeper
\begin_layout Standard
-
Jak wspomnia³em powy¿ej, powiniene¶ móc wydrukowaæ plik LyX bez robienia
tego.
Jednak zmiany poleceñ z trybu TeX na odpowiednie obiekty LyX-a pozwol±
\end_layout
\begin_layout Standard
-
reLyX nie gwarantuje utworzenia pliku LyX, który utworzy dok³adnie identyczny
wydruk jak z pliku LaTeX, ale powinien byæ zbli¿ony.
reLyX will generally err on the side of translating less to ensure that
and less WYSIWYM.
\end_layout
+
\end_deeper
\begin_layout Itemize
-
Dokonaj KOREKTY dokumentu!
\end_layout
\begin_deeper
\begin_layout Standard
-
I'm sure you were planning on doing this anyway, but it's particularly important
after translating a LaTeX document.
reLyX is, at least now, better at
For example, you may see extra spaces or deleted spaces.
Space handling has improved, but it's not perfect.
\end_layout
+
\end_deeper
\begin_layout Subsubsection
-
Co reLyX mo¿e przechwyciæ
\end_layout
\begin_layout Standard
-
reLyX rozumie wiele poleceñ LaTeX-a.
Zostan± skonwertowane:
\end_layout
\begin_layout Itemize
-
zwyk³y tekst, w³±czaj±c minipolecenia takie jak: ~, '',
\family typewriter
\end_layout
\begin_layout Itemize
-
polecenia strony tytu³owej takie jak
\family typewriter
\end_layout
\begin_layout Itemize
-
polecenia struktury tekstu takie jak
\family typewriter
\end_layout
\begin_layout Itemize
-
¦rodowiska:
\family typewriter
quote
\end_layout
\begin_layout Itemize
-
¦rodowiska:
\family typewriter
itemize
\end_layout
\begin_layout Itemize
-
polecenia odno¶ników:
\family typewriter
\begin_layout Itemize
-
\family typewriter
\backslash
\end_layout
\begin_layout Itemize
-
polecenia zmiany czcionki w³±czaj±c
\family typewriter
\begin_layout Itemize
-
\family typewriter
\backslash
\end_layout
\begin_layout Itemize
-
¦rodowisko
\family typewriter
tabular
\end_layout
\begin_layout Itemize
-
¶rodowiska wstawek
\family typewriter
table
\end_layout
\begin_layout Itemize
-
¶rodowisko
\family typewriter
thebibliography
\end_layout
\begin_layout Itemize
-
ró¿ne polecenia:
\family typewriter
\end_layout
\begin_layout Itemize
-
¶rodowiska specyficzne dla klasy dokumentu (i trochê poleceñ), które mog±
byæ konwertowane do pliku uk³adu LyX-a
\end_layout
\begin_layout Itemize
-
argumenty pewnych niekonwertowalnych poleceñ (np.
\family typewriter
\end_layout
\begin_layout Standard
-
Niektóre z nich mog± nie byæ jeszcze wspierane w 100%.
Zobacz poni¿ej szczegó³y
\end_layout
\begin_layout Standard
-
reLyX kopiuje matematykê (prawie) wprost z twojego pliku LaTeX-a.
Szczê¶liwie wczytuje matematykê LaTeX-a (prawie), która jest obs³ugiwana
przez LyX-a i dzia³a ¶wietnie.
\end_layout
\begin_layout Standard
-
reLyX tak¿e kopiuje polecenia preambu³y (np.
cokolwiek przed
\family typewriter
\end_layout
\begin_layout Subsubsection
-
Czego reLyX nie mo¿e przechwyciæ -- ale jest OK
\end_layout
\begin_layout Itemize
-
Rysunki i tabele
\family typewriter
tabular*
\end_layout
\begin_layout Itemize
-
ministrony
\end_layout
\begin_layout Itemize
-
polecenia odstêpów (
\family typewriter
\begin_layout Itemize
-
\family typewriter
\backslash
\end_layout
\begin_layout Itemize
-
¶rodowiska
\family typewriter
\end_layout
\begin_layout Itemize
-
nieznane (np.
utworzone przez u¿ytkownika) ¶rodowiska i polecenia
\end_layout
\begin_layout Standard
-
reLyX kopiuje nieznane polecenia wraz z ich argumentami dos³ownie do pliku
LyX-a.
Ponadto, je¶li zobaczy
\end_layout
\begin_layout Subsubsection
-
Co reLyX przechwytuje niepoprawnie -- s± b³êdy
\end_layout
\begin_layout Standard
-
reLyX jest wzglêdnie nowy i ma kilka problemów.
As it matures, these bugs will be squished.
Listê b³êdów i brakuj±cych cech mo¿na znale¼æ w LyX bug tracker
\end_layout
\begin_layout Standard
-
If reLyX is choking on something lub LyX nie potrafi wczytaæ go po konwersji
przez reLyX, to najlepsz± rzecz± do zrobienia jest wstawienie poleceñ
\family typewriter
\end_layout
\begin_layout Itemize
-
,,Dok³adne'' kopiowanie nieznanych ¶rodowisk i poleceñ nie jest zupe³nie
dok³adne.
Wyszczególniaj±c, komentarze i nowe wiersze mog± zostaæ utracone.
\end_layout
\begin_layout Itemize
-
reLyX konwertuje tylko kilka opcji polecenia
\family typewriter
\begin_deeper
\begin_layout Standard
-
Co wa¿niejsze, reLyX nie t³umaczy polecenia
\family typewriter
\family default
, itp.
\end_layout
+
\end_deeper
\begin_layout Itemize
-
Klasa foil ma parê b³êdów.
reLyX may do weird things z opcjonalnymi argumentami polecenia
\family typewriter
\end_layout
\begin_layout Standard
-
Wiêcej znacz±cych b³êdów mo¿esz znale¼æ w pliku
\emph on
BUGS
\end_layout
\begin_layout Standard
-
reLyX is hopefully rather robust.
Jak wspomnia³em powy¿ej, mo¿e on nie konwertowaæ twojego pliku perfekcyjnie,
ale nie powinien siê przewracaæ.
\end_layout
\begin_layout Subsubsection
-
Czego reLyX nie potrafi przechwyciæ
\end_layout
\begin_layout Standard
-
LyX wewnêtrznie nie obs³uguje paru rzeczy, tak ¿e gdyby reLyX przet³umaczy³
to perfekcyjnie, LyX mia³by problem wczytaæ je.
Je¶li na pewno potrzebujesz tych cech, to mo¿esz po ukoñczeniu pracy nad
\end_layout
\begin_layout Itemize
-
Dla kilku poleceñ LyX nie obs³uguje argumentów opcjonalnych.
Na przyk³ad zawartych w
\family typewriter
\end_layout
\begin_layout Itemize
-
¦rodkowanie (lub wyrównanie do lewej lub prawej) dzia³a na pe³nych akapitach.
\end_layout
\begin_layout Itemize
-
Obs³uga tabel przez LyX-a nie jest perfekcyjna.
Dla skomplikowanych tabel u¿yj bloku ,,skip'', tak ¿e one zostan± skopiowane
w trybie TeX-a.
\end_layout
\begin_layout Itemize
-
Edytor wyra¿eñ matematycznych LyX-a nie obs³uguje ¶rodowisk AMS-LaTeX takich
jak align, split itd.
Te ¶rodowiska zostan± skopiowane w trybie TeX.
\end_layout
\begin_layout Subsubsection
-
Przysz³o¶æ reLyX-a
\end_layout
\begin_layout Standard
-
W przysz³o¶ci wiêcej poleceñ i ¶rodowisk bêdzie obs³ugiwanych przez reLyX.
B³êdy zostan± wyeliminowane.
\end_layout
\begin_layout Standard
-
Zobacz plik TODO dla poznania szczegó³ów.
\end_layout
\begin_layout Subsection
-
Przyk³ad
\end_layout
\begin_layout Standard
-
\family typewriter
reLyX -df -o
\begin_inset Quotes eld
\end_layout
\begin_layout Standard
-
Powy¿sze polecenie utworzy plik
\family typewriter
my/dir/foo.lyx
\end_layout
\begin_layout Subsection
-
Uwagi
\end_layout
\begin_layout Subsubsection
-
Zg³aszanie b³êdów
\end_layout
\begin_layout Standard
-
If reLyX is crashing or otherwise acting strangely---in ways other than
those described in the section on
\shape italic
\end_layout
\begin_layout Standard
-
Bug reports should be sent to the LyX developers' mailing list.
Its address is currently lyx-devel@lists.lyx.org, but you can check the LyX
home page, http://www.lyx.org if that bounces.
\end_layout
\begin_layout Subsubsection
-
Szczegó³y implementacji
\end_layout
\begin_layout Standard
-
reLyX wykonuje kilka ,,przebiegów'' w celu konwersji pliku LaTeX-a.
W ka¿dym przebiegu tworzony jest jeden lub dwa pliku.
\end_layout
\begin_layout Description
-
Przebieg\InsetSpace ~
0 \InsetSpace ~
\end_layout
\begin_layout Description
-
Przebieg\InsetSpace ~
1a \InsetSpace ~
\end_layout
\begin_layout Description
-
Przebieg\InsetSpace ~
1b \InsetSpace ~
\begin_deeper
\begin_layout Standard
-
Jak pozna klasê dokumentu, to wczytuje plik uk³adu LyX-a dla tej klasy.
\end_layout
+
\end_deeper
\begin_layout Description
-
Przebieg\InsetSpace ~
2 \InsetSpace ~
\begin_deeper
\begin_layout Itemize
-
Zamiana, np: x^2 na ekwiwalent, ale przejrzystszy x^{2}
\end_layout
\begin_layout Itemize
-
Usuwa opcjonalne argumenty, których LyX nie obs³uguje (np.
z
\family typewriter
\end_layout
\begin_layout Itemize
-
Zamienia
\family typewriter
{
To jest konieczne, poniewa¿ w innym wypadku LyX zawsze zapisuje jako nielokalne.
This should very rarely make a difference.
\end_layout
+
\end_deeper
\begin_layout Description
-
Przebieg\InsetSpace ~
3 \InsetSpace ~
\end_layout
\begin_layout Description
-
Przebieg\InsetSpace ~
4 \InsetSpace ~
\newline
-Sk³ada obie czê¶ci razem i wykonuje some final tweaking, aby utworzyæ plik
- LyX.
+Sk³ada obie czê¶ci razem i wykonuje some final tweaking, aby utworzyæ
+ plik LyX.
\end_layout
\begin_layout Standard
-
Je¶li s± jakie¶ polecenia
\family typewriter
\end_layout
\begin_layout Standard
-
Je¶li reLyX nie znajdzie plików, które chcia³e¶ do³±czyæ, wy¶le Ci ostrze¿enie
ale bêdzie kontynuowa³ konwersjê pozosta³ych znalezionych plików.
\end_layout
\begin_layout Subsubsection
-
Pliki szablonów
\end_layout
\begin_layout Standard
-
reLyX wczytuje plik uk³adu LyX-a aby wiedzieæ jak obs³ugiwaæ ¶rodowiska
LaTeX-a i polecenia, które bêd± konwertowane do uk³adu LyX-a.
Ten plik do³±cza wszystkie ,,normalne'' niematematyczne ¶rodowiska (np.
\end_layout
\begin_layout Subsubsection
-
Pliki sk³adni
\end_layout
\begin_layout Standard
-
reLyX zawsze wczytuje co najmniej jeden plik sk³adni, zwany domy¶lnym plikiem
sk³adni.
reLyX wczytuje twój osobisty plik sk³adni je¶li istnieje, je¶li nie istnieje
\end_layout
\begin_layout Standard
-
First, it describes the syntax of each command, that is, how many required
arguments and how many optional arguments the command takes.
Knowing this makes it easier for reLyX to copy (in TeX mode) commands that
\end_layout
\begin_layout Standard
-
Some commands that cannot be translated to LyX, like
\family typewriter
\end_layout
\begin_layout Standard
-
User-defined syntax files are allowed to define new commands and their syntax,
or override the number of arguments for a command given in the default
syntax file.
\end_layout
\begin_layout Standard
-
Second, the syntax file describes any
\begin_inset Quotes eld
\end_inset
\end_layout
\begin_layout Standard
-
Third, the syntax file describes a math translation table.
The LyX math editor doesn't support a few commands.
For example,
\end_layout
\begin_layout Subsubsection
-
Ró¿ne
\end_layout
\begin_layout Standard
-
Potrzebujesz Perl-a 5.002 lub nowszego do uruchomienia reLyX-a.
Je¶li nie masz Perl-a to powiniene¶ go ¶ci±gn±æ (
\begin_inset ERT
\end_layout
\begin_layout Subsection
-
Diagnostyka
\end_layout
\begin_layout Standard
-
reLyX powinien zawsze wyja¶niæ dlaczego nie powiod³o siê t³umaczenie, je¶li
siê nie powiod³o.
Niektóre komunikaty diagnostyczne mog± byæ bardzo techniczne, je¶li pochodz±
\end_layout
\begin_layout Standard
-
Gdy zakoñczy pracê, reLyX bêdzie Ciê informowa³ o pomy¶lnym zakoñczeniu
lub o b³êdzie, który spowodowa³ przerwanie przetwarzania.
\end_layout
\begin_layout Subsection
-
Ostrze¿enia
\end_layout
\begin_layout Standard
-
Zawsze zachowaj kopiê oryginalnego pliku LaTeX-a pod inn± nazw± lub w innym
katalogu.
Istnieje kilka sposobów, w których u¿ycie LyX-a prowadzi do nadpisania
\end_layout
\begin_layout Standard
-
Je¶li importujesz plik foo.tex utworzysz foo.lyx, nastêpnie edytujesz plik
foo.lyx i chcesz ponownie wyeksportowaæ go, to zauwa¿, ¿e zast±pisz oryginalny
plik foo.tex (LyX zapyta ciê czy chcesz zast±piæ go).
\end_layout
\begin_layout Standard
-
Je¶li ustawi³e¶ zmienn±
\backslash
use_tempdir na false w swoim pliku lyxrc, wówczas LyX utworzy pliki tymczasowe
\end_layout
\begin_layout Subsection
-
Pliki
\end_layout
\begin_layout Description
-
\emph on
MY_LYXDIR
\emph default
\begin_layout Description
-
\emph on
MY_LYXDIR
\emph default
\begin_layout Description
-
\emph on
LIBDIR
\emph default
\begin_layout Description
-
\emph on
LIBDIR
\emph default
\begin_layout Standard
-
\emph on
LIBDIR
\emph default
\end_layout
\begin_layout Subsection
-
Zobacz tak¿e
\end_layout
\begin_layout Standard
-
\shape italic
lyx
\shape default
\end_layout
\begin_layout Subsection
-
Autorzy
\end_layout
\begin_layout Standard
-
Copyright (c) 1998-9 Amir Karger (karger@voth.chem.utah.edu)
\end_layout
\begin_layout Standard
-
Wspó³twórcy kodu:
\end_layout
\begin_layout Itemize
-
John Weiss napisa³ oryginalny CleanTeX pass.
\end_layout
\begin_layout Itemize
-
Etienne Grossmann
\end_layout
\begin_layout Itemize
-
Jos\i \'{e}
Ab\i \'{\i}
lio Oliveira Matos
\end_layout
\begin_layout Itemize
-
David Suarez de Lis
\end_layout
\begin_layout Standard
-
Inni wspó³pracownicy:
\end_layout
\begin_layout Itemize
-
Jean-Marc Lasgouttes worked on the wrapper script and offered lots of bug
reports, advice, and feature suggestions.
\end_layout
\begin_layout Itemize
-
Asger K.
Alstrup Nielsen i Marc Pavese doradzaj±cy.
\end_layout
\begin_layout Itemize
-
Ró¿ni cz³onkowie list dyskusyjnych LyX developers' i users' dostarczaj±cy
raporty o b³êdach i sugerowanie nowych cech.
\end_layout
\begin_layout Standard
-
reLyX u¿ywa zmodyfikowanej wersji Perl-owego parsera TeX -- pakiet Text::TeX
napisanego przez Ilya Zakharevich (ilya@math.ohio-state.edu), dostêpnego
na CPAN.
\end_layout
\begin_layout Chapter
-
Funkcje LyX-a wymagaj±ce zewnêtrznych programów
\end_layout
\begin_layout Section
-
Zastosowanie LyX-a z SGML-Tools (aka LinuxDoc)
\end_layout
\begin_layout Standard
-
by
\noun on
Paul Evans
\end_layout
\begin_layout Subsection
-
Wprowadzenie
\end_layout
\begin_layout Standard
-
LinuxDoc jest klas± dokumentu dostêpn± w LyX-ie.
Mo¿esz jej u¿yæ do wydania dokumentu zwanego Standardized General Mark-up
Language (SGML) w specyficznym formacie stosowanym w Linux Documentation
\end_layout
\begin_layout Standard
-
Klasa LinuxDoc posiada mniej opcji uk³adu ni¿ inne klasy LyX-a.
G³ównie dlatego, ¿e translacja do innego formatu ma wówczas szanse na bardziej
sensownie wykonanie.
\end_layout
\begin_layout Standard
-
W tej sekcji opisujemy:
\end_layout
\begin_layout Itemize
-
jak skonfigurowaæ i u¿yæ dokument w LinuxDoc
\end_layout
\begin_layout Itemize
-
jak u¿ywaæ znaczników LinuxDoc w uk³adzie Twojego dokumentu
\end_layout
\begin_layout Itemize
-
jak u¿ywaæ pakietu SGML do tworzenia ró¿nych formatów
\end_layout
\begin_layout Itemize
-
how to sort out some problems.
\end_layout
\begin_layout Subsection
-
Przygotowanie i u¿ycie dokumentów LinuxDoc
\end_layout
\begin_layout Subsubsection
-
Zaczynamy
\end_layout
\begin_layout Standard
-
Zaczynamy od wyboru klasy LinuxDoc w oknie
\family sans
Styl Dokumentu
\begin_layout Standard
-
\emph on
Musisz
\emph default
\end_layout
\begin_layout Standard
-
Nastêpnie mo¿esz przygotowaæ dokument jak zwykle korzystaj±c ze ¶rodowisk.
Zobacz sekcjê\InsetSpace ~
\end_layout
\begin_layout Subsubsection
-
Wydruk z LinuxDoc
\end_layout
\begin_layout Standard
-
Dokument mo¿esz drukowaæ i zapisywaæ normaln± drog±.
Do u¿ycia innych mo¿liwo¶ci pakietu SGML potrzeba zapisaæ dokument jako
LinuxDoc; to jest format, do którego dokument jest t³umaczony na podstawowy
\end_layout
\begin_layout Subsection
-
U¿ycie ¶rodowisk w LinuxDoc
\end_layout
\begin_layout Subsubsection
-
Struktura dokumentu LinuxDoc
\end_layout
\begin_layout Standard
-
Istnieje formalna struktura dla LinuxDoc która ogranicza umieszczanie znaczników.
Wszystkie dokumenty sk³adaj± siê z dwóch czê¶ci:
\end_layout
\begin_layout Description
-
Nag³ówek wszystko co znajduje siê przed znacznikiem pierwszej sekcji.
Mo¿esz wstawiæ tytu³, autora, datê, streszczenie i spis tre¶ci, ale dwa
pierwsze znaczniki s± obowi±zkowe.
\end_layout
\begin_layout Description
-
Tre¶æ zaczyna siê od pierwszej sekcji.
Dopuszczalne s± wszystkie inne znaczniki.
\end_layout
\begin_layout Subsubsection
-
¦rodowiska LinuxDoc
\end_layout
\begin_layout Standard
-
-
\begin_inset LatexCommand \label{sec:sgmlparas}
\end_inset
\begin_layout Itemize
-
\family sans
Standard:
\family default
\begin_layout Itemize
-
\family sans
Title
\family default
\begin_layout Itemize
-
\family sans
Section, Subsection, Subsubsection, Paragraph
\family default
\begin_layout Itemize
-
\family sans
Enumerate:
\family default
\begin_layout Itemize
-
\family sans
Itemize:
\family default
\begin_layout Itemize
-
\family sans
Description
\family default
\begin_layout Itemize
-
\family sans
Verbatim:
\family default
\begin_layout Itemize
-
\family sans
Code: podobnie jak ¶rodowisko LyX-Code
\end_layout
\begin_layout Itemize
-
\family sans
Author
\family default
\begin_layout Itemize
-
\family sans
Date:
\family default
\begin_layout Itemize
-
\family sans
Abstract
\family default
\begin_layout Standard
-
\emph on
Uwaga autora.
\begin_layout Itemize
-
\family sans
Displaymath
\family default
\begin_layout Standard
-
\emph on
Uwaga autora:
\emph default
\end_layout
\begin_layout Subsubsection
-
Inne cechy dokumentu
\end_layout
\begin_layout Standard
-
Mo¿esz tak¿e u¿ywaæ menu
\family sans
Character Layout
\begin_layout Standard
-
\emph on
Author's note:
\emph default
\end_layout
\begin_layout Subsubsection
-
Odno¶niki i HTML
\end_layout
\begin_layout Standard
-
W menu
\family sans
Wstaw
\begin_layout Quote
-
\family typewriter
\backslash
\end_layout
\begin_layout Standard
-
Wstaw pe³ny znacznik HTML pomiêdzy pierwszy i drugi blok.
To mo¿e byæ
\begin_inset LatexCommand \url{http://any.address}
\begin_layout Itemize
-
\family sans
URL:
\family default
\begin_layout Itemize
-
\family sans
HTML_URL:
\family default
\end_layout
\begin_layout Subsection
-
U¿ycie skryptu SGML w LinuxDoc
\end_layout
\begin_layout Standard
-
-
\begin_inset LatexCommand \label{sec:sgmloperate}
\end_inset
\end_layout
\begin_layout Standard
-
Alternatywnie, mo¿esz i¶æ do archiwum
\family typewriter
sunsite
status open
\begin_layout Standard
-
Note that, at the time of this writing (01/1998), version 1.0.3 of sgml-tools
has not yet been made available at
\family typewriter
\end_layout
\begin_layout Standard
-
Plik
\family typewriter
sgml-tools-1.0.x.tar.gz
\end_layout
\begin_layout Standard
-
Ten pakiet zmieni³ nazwê w styczniu 1997 roku z
\family typewriter
linuxdoc-sgml-1.5.tar.gz
\end_layout
\begin_layout Standard
-
Zainstaluj i u¿ywaj pakiet zgodnie z instrukcj± w nim zawart±.
Wszystko to musi byæ wykonane poza LyX-em, zanim u¿yjesz polecenia
\family sans
\end_layout
\begin_layout Subsection
-
Rozwi±zywanie problemów LinuxDoc
\end_layout
\begin_layout Standard
-
Gdy chcesz drukowaæ lub podejrzeæ dokument LinuxDoc wykonywana jest kontrola
znaczników przed uruchomieniem LaTeX.
Some errors are trapped here, especially those concerning the structure
\end_layout
\begin_layout Section
-
Faksowanie
\end_layout
\begin_layout Standard
-
by
\noun on
Jürgen Vigna
\end_layout
\begin_layout Subsection
-
Wysy³anie faksów wprost z LyX-a
\end_layout
\begin_layout Standard
-
Przede wszystkim musimy wspomnieæ, ¿e LyX potrafi wysy³aæ faksy pod warunkiem,
¿e masz zainstalowane i dzia³aj±ce oprogramowanie do wysy³ania faksów (np.
HylaFax, efax, mgetty+sendfax, \SpecialChar \ldots{}
\end_layout
\begin_layout Standard
-
W zale¿no¶ci od u¿ywanego oprogramowania faksowego musisz ustawiæ kilka
poleceñ w pliku
\family typewriter
\begin_layout Description
-
\family typewriter
\backslash
\begin_deeper
\begin_layout Description
-
\family typewriter
$$Host:
\family default
\begin_layout Description
-
\family typewriter
$$Comment:
\family default
\begin_layout Description
-
\family typewriter
$$Enterprise:
\family default
\begin_layout Description
-
\family typewriter
$$Name:
\family default
\begin_layout Description
-
\family typewriter
$$Phone:
\family default
\begin_layout Description
-
\family typewriter
$$FName:
\family default
zastêpuje nazwê pliku, który ma zostaæ wys³any
\end_layout
+
\end_deeper
\begin_layout Paragraph
-
Przyk³ady:
\end_layout
\begin_layout Standard
-
Przyjmujemy, ¿e nazwa³e¶ plik ,,
\family typewriter
newfile.lyx
\begin_layout List
\labelwidthstring 00.00.0000
-
\family sans
Fax.\InsetSpace ~
no:
\begin_layout List
\labelwidthstring 00.00.0000
-
\family sans
Dest.\InsetSpace ~
Name:
\begin_layout List
\labelwidthstring 00.00.0000
-
\family sans
Enterprise:
\family default
\begin_layout List
\labelwidthstring 00.00.0000
-
\family sans
Comment:
\family default
\end_layout
\begin_layout Standard
-
Z podanymi ni¿ej ustawieniami:
\end_layout
\begin_layout LyX-Code
-
\backslash
fax_command
\begin_inset Quotes eld
\end_layout
\begin_layout LyX-Code
-
-x '$$Enterprise' -d '$$Name'@'$$Phone' '$$FName'
\begin_inset Quotes erd
\end_inset
\end_layout
\begin_layout Standard
-
zostanie wykonane polecenie:
\end_layout
\begin_layout LyX-Code
-
sendfax -n -h faxhost.mydomain -c 'This comment string'
\end_layout
\begin_layout LyX-Code
-
-x 'Startrek' -d 'Someone'@'+39-2-444666'
\end_layout
\begin_layout LyX-Code
-
<tempfile-path>/newfile.ps
\end_layout
\begin_layout Description
-
\family typewriter
\backslash
\end_layout
\begin_layout Paragraph
-
Przyk³ady:
\end_layout
\begin_layout LyX-Code
-
\backslash
phone_book myphonebook
\end_layout
\begin_layout Standard
-
zapisuje i czyta plik ksi±¿ki telefonicznej z pliku
\family typewriter
$HOME/.lyx/myphonebook
\begin_layout LyX-Code
-
\backslash
phone_book /var/lib/phonebook
\end_layout
\begin_layout Standard
-
zapisuje i czyta plik ksi±¿ki telefonicznej
\family typewriter
/var/lib/phonebook
\begin_layout Description
-
\family typewriter
\backslash
\end_layout
\begin_layout Paragraph
-
Przyk³ady:
\end_layout
\begin_layout LyX-Code
-
\backslash
fax_program
\begin_inset Quotes eld
\end_layout
\begin_layout Standard
-
Przy powy¿szych za³o¿eniach zostanie wykonane nastêpuj±ce polecenie:
\end_layout
\begin_layout LyX-Code
-
tkhylafax <tempfile-path>/newfile.ps
\end_layout
\begin_layout Section
-
Check TeX
\end_layout
\begin_layout Standard
-
by Asger
\noun on
Alstrup
\end_layout
\begin_layout Subsection
-
Wprowadzenie
\end_layout
\begin_layout Standard
-
W menu
\family sans
Edycja
\end_layout
\begin_layout Standard
-
Pakiet
\family sans
ChkTeX
\end_layout
\begin_layout Standard
-
Czy CheckTeX jest kontrolerem sk³adni, którego u¿ycie zapewni poprawne pliki
LateX-a? Odpowied¼ jest prosta: Tak jak
\family typewriter
\end_layout
\begin_layout Itemize
-
Ellipsis detection:
\newline
Use \SpecialChar \ldots{}
\end_layout
\begin_layout Itemize
-
No space in front of/after parenthesis:
\newline
( wrong spacing )
\end_layout
\begin_layout Itemize
-
Enforcement of normal space after common abbreviations:
\newline
e.
\end_layout
\begin_layout Itemize
-
Enforcement of end-of-sentence space when the last sentence ends with a
capital letter:
\newline
\end_layout
\begin_layout Itemize
-
Space in front of labels and similar commands:
\newline
-The label should stick right up to the text to avoid falling to a wrong
- page.
+The label should stick right
+ up to the text to avoid falling to a wrong page.
\begin_inset LatexCommand \label{sec:chktex}
\end_inset
status collapsed
\begin_layout Standard
-
This footnote is in danger of falling off to a wrong page
\end_layout
\end_layout
\begin_layout Itemize
-
Space in front of references, instead of hard spaces:
\newline
-In you are in bad luck, the text will break right between the referenced
- text and reference number, and that's a pity.
+In you are in bad luck,
+ the text will break right between the referenced text and reference number,
+ and that's a pity.
See section
\begin_inset LatexCommand \ref{sec:chktex}
\end_layout
\begin_layout Itemize
-
Use of ,,x'' instead of
\begin_inset Formula $\times$
\end_inset
\end_layout
\begin_layout Standard
-
i inne \SpecialChar \ldots{}
To jest nieocenione narzêdzie gdy ,,zakoñczyli¶my'' pracê nad dokumentem.
Przed wydrukowaniem powinni¶my sprawdziæ obligatoryjnie pisowniê i uruchomiæ
\end_layout
\begin_layout Subsection
-
Jak u¿yæ
\end_layout
\begin_layout Standard
-
Je¶li masz zainstalowany program
\family typewriter
checktex
\end_layout
\begin_layout Standard
-
This document is an excellent testing bed for the feature, and it should
provide quite a few warnings for you to fiddle with.
Since computers are only so smart, expect most of the warnings to be false
\end_layout
\begin_layout Subsection
-
Jak dopasowaæ
\end_layout
\begin_layout Standard
-
Sometimes, you'll find that
\family sans
ChkTeX
\end_layout
\begin_layout Standard
-
Mimo to
\family sans
ChkTeX
status collapsed
\begin_layout Standard
-
You can inspect the specific output from
\family sans
chktex
\end_layout
\begin_layout Itemize
-
Dopasuj polecenia wywo³ania
\family sans
ChkTeX
\end_layout
\begin_layout Itemize
-
Wyeksportuj swoj dokument do LaTeX-a za pomoc± polecenia
\family sans
\bar under
\end_layout
\begin_layout Standard
-
Poni¿sze komunikaty ostrze¿eñ mog± byæ aktywowane lub wy³±czone za pomoc±
odpowiednich wpisów w dyrektywie
\family typewriter
\end_layout
\begin_layout Standard
-
Notice that you should only use the options that enable and disable warnings,
because LyX relies on some of the other command line parameters to be set
in a specific way to have a chance to communicate with
\begin_layout Enumerate
-
\size small
\emph on
Command terminated with space.
\begin_layout Enumerate
-
\size small
Non-breaking space (,,
\family typewriter
\begin_layout Enumerate
-
\size small
\emph on
You should enclose the previous parenthesis with ,,
\begin_layout Enumerate
-
\size small
Italic correction (,,
\family typewriter
\begin_layout Enumerate
-
\size small
Italic correction (,,
\family typewriter
\begin_layout Enumerate
-
\size small
\emph on
No italic correction (,,
\begin_layout Enumerate
-
\size small
Accent command ,,
\family typewriter
\begin_layout Enumerate
-
\size small
Wrong length of dash may have been used.
\end_layout
\begin_layout Enumerate
-
\size small
\emph on
,,
\begin_layout Enumerate
-
\size small
Solo ,,
\family typewriter
\begin_layout Enumerate
-
\size small
You should use ,,
\family typewriter
\begin_layout Enumerate
-
\size small
Inter-word spacing (,,
\family typewriter
\begin_layout Enumerate
-
\size small
Inter-sentence spacing (,,
\family typewriter
\begin_layout Enumerate
-
\size small
Could not find argument for command.
\end_layout
\begin_layout Enumerate
-
\size small
No match found for ,,
\family typewriter
\begin_layout Enumerate
-
\size small
Math mode still on at end of LaTeX file.
\end_layout
\begin_layout Enumerate
-
\size small
Number of ,,
\family typewriter
\begin_layout Enumerate
-
\size small
You should use either
\family typewriter
\begin_layout Enumerate
-
\size small
You should use ,,
\family typewriter
\begin_layout Enumerate
-
\size small
User-specified pattern found.
\end_layout
\begin_layout Enumerate
-
\size small
This command might not be intended.
\end_layout
\begin_layout Enumerate
-
\size small
\emph on
Comment displayed.
\begin_layout Enumerate
-
\size small
Either
\family typewriter
\begin_layout Enumerate
-
\size small
Delete this space to maintain correct page references.
\end_layout
\begin_layout Enumerate
-
\size small
\emph on
You might wish to put this between a pair of ,,
\begin_layout Enumerate
-
\size small
You ought to remove spaces in front of punctuation.
\end_layout
\begin_layout Enumerate
-
\size small
Could not execute LaTeX command.
\end_layout
\begin_layout Enumerate
-
\size small
Don't use
\family typewriter
\begin_layout Enumerate
-
\family typewriter
\size small
$
\begin_layout Enumerate
-
\size small
\emph on
Multiple spaces detected in output.
\begin_layout Enumerate
-
\size small
This text may be ignored.
\end_layout
\begin_layout Enumerate
-
\size small
Use
\family typewriter
\begin_layout Enumerate
-
\size small
Use
\family typewriter
\begin_layout Enumerate
-
\size small
Don't mix quotes.
\end_layout
\begin_layout Enumerate
-
\size small
You should perhaps use ,,
\family typewriter
\begin_layout Enumerate
-
\size small
You should put a space in front of/after parenthesis.
\end_layout
\begin_layout Enumerate
-
\size small
You should avoid spaces in front of/after parenthesis.
\end_layout
\begin_layout Enumerate
-
\size small
\emph on
You should not use punctuation in front of/after quotes.
\begin_layout Enumerate
-
\size small
Double space found.
\end_layout
\begin_layout Enumerate
-
\size small
You should put punctuation outside inner/inside display math mode.
\end_layout
\begin_layout Enumerate
-
\size small
You ought to not use primitive TeX in LaTeX code.
\end_layout
\begin_layout Enumerate
-
\size small
You should remove spaces in front of ,,
\family typewriter
\begin_layout Enumerate
-
\size small
,,
\family typewriter
\end_layout
\begin_layout Standard
-
Mam nadziejê, ¿e w nastêpnych wersjach LyX-a dostarczymy bardziej kompletny
interfejs dla tego narzêdzia (i jego mniejszego kuzyna
\family typewriter
\end_layout
\begin_layout Section
-
Kontrola wersji (RCS) w LyX
\end_layout
\begin_layout Standard
-
by
\noun on
Lars Gullik Bjønnes
\end_layout
\begin_layout Subsection
-
Wprowadzenie
\end_layout
\begin_layout Standard
-
Moi przyjaciele chcieli u¿yæ LyX-a do projektu grupowego.
Gdy nie znale¼li obs³ugi kontroli wersji ani blokowania plików, porzucili
ten pomys³.
\end_layout
\begin_layout Standard
-
Je¶li potrzebujesz zrobiæ co¶ bardziej wyszukanego to bêdziesz musia³ zrobiæ
to rêcznie w terminalu xterm.
\end_layout
\begin_layout Standard
-
Zanim zaczniesz u¿ywaæ kontroli wersji w LyX-ie powiniene¶ wpierw przeczytaæ
\emph on
rcsintro
\end_layout
\begin_layout Standard
-
W LyX-ie dokonano implementacji dla ostatniej wersji pakietu GNU RCS --
nie gwarantujemy wykonania dla starszych wersji.
\end_layout
\begin_layout Subsection
-
Polecenia RCS w LyX
\end_layout
\begin_layout Standard
-
W dalszych sekcjach opisano polecenia RCS obs³ugiwane przez LyX-a.
Mo¿esz je znale¼æ w menu
\family sans
\begin_layout Subsubsection
-
\family sans
Rejestruj
\end_layout
\begin_layout Standard
-
Je¶li dokument nie jest objêty kontrol± wersji, to wy¶wietlone jest tylko
to polecenie menu.
A je¶li dokument jest objêty kontrol± wersji, to te polecenie jest wy³±czone.
\end_layout
\begin_layout Standard
-
To polecenie rejestruje dokument w RCS.
Zostaniesz zapytany o pocz±tkowy opis dokumentu.
Dokument jest teraz w trybie TylkoDoOdczytu i aby dokonaæ jego edycji musisz
\end_layout
\begin_layout Standard
-
Polecenie RCS:
\family typewriter
ci -q -u -i -t-"<initial description>" <file-name>
\end_layout
\begin_layout Standard
-
Przeczytaj
\family typewriter
man ci
\end_layout
\begin_layout Subsubsection
-
Zwolnij
\end_layout
\begin_layout Standard
-
Gdy skoñczy³e¶ edycjê pliku wprowad¼ zmianê do RCS.
Gdy to zrobisz, zostaniesz zapytany o opis zmian, który zostanie zapisany
w historii dokumentu.
\end_layout
\begin_layout Standard
-
Polecenie RCS:
\family typewriter
ci -q -u -m"<description>" <file-name>
\end_layout
\begin_layout Subsubsection
-
Zablokuj i edytuj
\end_layout
\begin_layout Standard
-
Za pomoc± tego polecenia blokujemy dokument dla siebie i mo¿emy go edytowaæ.
Polecenie ustawia plik w tryb ZapisOdczyt tylko dla Ciebie.
Mo¿esz kontynuowaæ edycjê do czasu, a¿ do wydania polecenia
\end_layout
\begin_layout Standard
-
Polecenie RCS:
\family typewriter
co -q -l <file-name>
\end_layout
\begin_layout Subsubsection
-
Wróæ do ostatniej wersji
\end_layout
\begin_layout Standard
-
Polecenie usuwa wszystkie wprowadzone zmiany do dokumentu od czasu ostatniej
rewizji (zwolnienia).
Zostaniesz przedtem ostrze¿ony.
\end_layout
\begin_layout Standard
-
RCS command:is
\family typewriter
co -f -u<version> <file-name>
\end_layout
\begin_layout Subsubsection
-
Usuñ ostatnio wprowadzone zmiany
\end_layout
\begin_layout Standard
-
Wynikiem polecenia jest jak gdyby ostatnia rewizja siê nie zdarzy³a.
W dokumencie LyX-a nie s± dokonywane ¿adne zmiany, ale ostatnia wersja
jest usuwana z g³ównego pliku RCS.
\end_layout
\begin_layout Standard
-
RCS command:
\family typewriter
rcs -o<version> <file-name>
\end_layout
\begin_layout Subsubsection
-
Poka¿ historiê zmian
\end_layout
\begin_layout Standard
-
Polecenie wy¶wietla pe³n± historiê dokumentu.
Wy¶wietlony zostaje
\family typewriter
\end_layout
\begin_layout Section
-
Literate Programming
\end_layout
\begin_layout Standard
-
By
\noun on
Edmar Wienskoski Jr.
\end_layout
\begin_layout Subsection
-
Wprowadzenie
\end_layout
\begin_layout Standard
-
The main purpose of this documentation is to show you how to use LyX for
literate programming.
Where it is assumed that you are familiar with this programming technique,
\end_layout
\begin_layout Standard
-
It is also assumed that you are familiar with LyX itself to a point that
you are comfortable changing your
\family typewriter
\end_layout
\begin_layout Subsection
-
Literate Programming
\end_layout
\begin_layout Standard
-
From the Literate Programming FAQ :
\end_layout
\begin_layout Quotation
-
Literate programming is the combination of documentation and source together
in a fashion suited for reading by human beings.
In fact, literate programs should be enjoyable reading, even inviting!
\end_layout
\begin_layout Standard
-
Another excerpt says:
\end_layout
\begin_layout Quotation
-
\emph on
How is literate programming different from verbose commenting?
\end_layout
\begin_layout Quotation
-
There are three distinguishing characteristics.
In order of importance, they are:
\end_layout
\begin_deeper
\begin_layout Itemize
-
flexible order of elaboration
\end_layout
\begin_layout Itemize
-
automatic support for browsing
\end_layout
\begin_layout Itemize
-
typeset documentation, especially diagrams and mathematics
\end_layout
+
\end_deeper
\begin_layout Standard
-
Now that I sparked your curiosity, take a look in the references.
\end_layout
\begin_layout Subsubsection
-
References
\end_layout
\begin_layout Standard
-
The complete Literate Programming FAQ can be found at:
\end_layout
\begin_layout Quote
-
http://shelob.ce.ttu.edu/daves/faq.html
\end_layout
\begin_layout Standard
-
The FAQ lists 23 (twenty three !) different literate programming tools.
Where some are specialized or
\begin_inset Quotes eld
\end_layout
\begin_layout Itemize
-
It can generate the documentation either in latex or html.
\end_layout
\begin_layout Itemize
-
It has a open architecture, i.e., it is easy to plug in new filters and to
perform special processing that you may need.
\end_layout
\begin_layout Itemize
-
There is a good selection of filters available already (the html is one
of them).
\end_layout
\begin_layout Itemize
-
It is free.
\end_layout
\begin_layout Standard
-
The Noweb web page can be found at:
\end_layout
\begin_layout Quote
-
http://www.cs.virginia.edu/~nr/noweb
\end_layout
\begin_layout Standard
-
Starting from there you can reach many other interesting links and even
some literate program examples.
\end_layout
\begin_layout Subsection
-
LyX and Literate Programming
\end_layout
\begin_layout Standard
-
Some changes to LyX were required to enable it to interact with Noweb.
Those changes were rather simple, and were done in a
\begin_inset Quotes eld
\end_layout
\begin_layout Subsubsection
-
Generowanie dokumentów i kodu (weaving and tangling)
\end_layout
\begin_layout Paragraph
-
Wybor klasy dokumentu
\end_layout
\begin_layout Standard
-
If you have installed Noweb and LyX successfully, whenever you open a new
document or try to change the document class of an existing one, you will
find that there are three new document classes available:
\end_layout
\begin_layout Itemize
-
Article (Noweb)
\end_layout
\begin_layout Itemize
-
Book (Noweb)
\end_layout
\begin_layout Itemize
-
Report (Noweb)
\end_layout
\begin_layout Standard
-
You must select one of them to create your literate documents from.
\end_layout
\begin_layout Standard
-
Note that literate documents are not limited to these three classes.
New classes can be generated from other styles like letter or in combination
with other class variations like Article (AMS).
status collapsed
\begin_layout Standard
-
It is very simple, it involves the creation of a file with four lines, and
re-running of the auto configuration.
\end_layout
\end_layout
\begin_layout Paragraph
-
Wpisywanie kodu
\end_layout
\begin_layout Standard
-
LyX enables you to write code with a layout named
\noun on
Scrap
status collapsed
\begin_layout Standard
-
The equivalent Noweb term is
\begin_inset Quotes eld
\end_inset
\end_layout
\begin_layout LyX-Code
-
<<My scrap>>=
\end_layout
\begin_layout LyX-Code
-
code
\end_layout
\begin_layout LyX-Code
-
more code
\end_layout
\begin_layout LyX-Code
-
even more code
\end_layout
\begin_layout LyX-Code
-
@
\end_layout
\begin_layout Standard
-
The problem is that whatever is written in between the << and the
\family typewriter
@
\end_layout
\begin_layout Standard
-
The down side of this
\begin_inset Quotes eld
\end_inset
status collapsed
\begin_layout Standard
-
If you have a printed version of this document you will not see any difference
between the previous example and this one.
\end_layout
\end_layout
\begin_layout Standard
-
This layout works fine.
The only real inconvenience is that you have to type ctrl-return instead
of a plain return.
status collapsed
\begin_layout Standard
-
It is in my list of
\begin_inset Quotes eld
\end_inset
\end_layout
\begin_layout Paragraph
-
Generowanie dokumentacji
\end_layout
\begin_layout Standard
-
At this point you already have a new document file with a proper document
class, and with some code and text on it.
How do I print it ? The answer is simple, you select ,,Update dvi'' or
\end_layout
\begin_layout Standard
-
To help orientate you, I will now explain what happens inside LyX:
\end_layout
\begin_layout Enumerate
-
When the ,,Update dvi'' menu option is chosen, a latex file is generated.
\end_layout
\begin_deeper
\begin_layout Standard
-
If the document is of any literate class the generated file will be named
with an extension name defined by
\family typewriter
\family default
extension.
\end_layout
+
\end_deeper
\begin_layout Enumerate
-
Note that the only difference so far is in the name of the file, no special
processing is required by LyX.
Given that you formatted the code using the Scrap layout that, by itself,
\end_layout
\begin_layout Enumerate
-
If the document is of any literate class LyX will execute:
\end_layout
\begin_deeper
\begin_layout LyX-Code
-
-
\begin_inset Quotes eld
\end_inset
\end_layout
\begin_layout LyX-Code
-
-
\begin_inset Quotes eld
\end_inset
\end_layout
\begin_layout Standard
-
Otherwise it will just skip this step.
\end_layout
+
\end_deeper
\begin_layout Enumerate
-
Finally, LaTeX is invoked and the regular post processing continues as in
a plain document.
\end_layout
\begin_layout Standard
-
The purpose of the
\family typewriter
\end_layout
\begin_layout Standard
-
The purpose of the
\family typewriter
\end_layout
\begin_layout Paragraph
-
Generowanie kodu
\end_layout
\begin_layout Standard
-
When the ,,Build Program'' File menu option is chosen or the corresponding
button in the toolbar is pressed, a latex file with extension
\family typewriter
\end_layout
\begin_layout Standard
-
Note that no special processing is required from LyX.
\end_layout
\begin_layout Standard
-
Also note that I am assuming that you are familiar with Noweb.
In this case you will know what to do to get an executable file starting
from a noweb file (
\begin_layout LyX-Code
-
\backslash
build_command
\begin_inset Quotes eld
\end_layout
\begin_layout Standard
-
The
\family typewriter
\end_layout
\begin_layout Standard
-
In summary, the ,,Build Program'' internal function sequence is pretty much
like the ,,Update dvi'' one but involving different commands.
See schematic:
\end_layout
\begin_layout LyX-Code
-
,,Update dvi'' -> generate .tex
\end_layout
\begin_layout LyX-Code
-
-> invoke -> show latex errors
\end_layout
\begin_layout LyX-Code
-
on plain doc file
\backslash
latex
\end_layout
\begin_layout LyX-Code
-
,,Update dvi'' -> generate same -> invoke
\end_layout
\begin_layout LyX-Code
-
-> invoke -> show latex errors
\end_layout
\begin_layout LyX-Code
-
on literate doc file with .nw
\backslash
literate_command
\end_layout
\begin_layout LyX-Code
-
extension
\backslash
_______ -> show literate errors
\end_layout
\begin_layout LyX-Code
-
,,Build Program'' -> generate same -> invoke
\end_layout
\begin_layout LyX-Code
-
-> show compilation error
\end_layout
\begin_layout LyX-Code
-
on literate doc file with .nw
\backslash
build_command
\end_layout
\begin_layout LyX-Code
-
extension ( make )
\end_layout
\begin_layout Subsubsection
-
Konfiguracja LyXa
\end_layout
\begin_layout Standard
-
There are five new controls that you can put in your lyxrc file:
\end_layout
\begin_layout Description
-
\family typewriter
\backslash
\begin_deeper
\begin_layout LyX-Code
-
noweave -delay -index
\end_layout
\begin_layout Standard
-
Otherwise the default value is set to
\begin_inset Quotes eld
\end_inset
.
\end_layout
+
\end_deeper
\begin_layout Description
-
\family typewriter
\backslash
\begin_layout Description
-
\family typewriter
\backslash
\begin_deeper
\begin_layout Standard
-
Another way is to maintain the makefile or building script itself as part
of the document.
That way every project can be compiled with the same command line:
\end_layout
\begin_layout LyX-Code
-
notangle -Rbuild-script
\emph on
filename
\end_layout
\begin_layout Standard
-
To use this scheme, create a script named
\family typewriter
project-build
\end_layout
\begin_layout LyX-Code
-
#!/bin/sh
\end_layout
\begin_layout LyX-Code
-
notangle -Rbuild-script $1 | sh
\end_layout
\begin_layout Standard
-
Finally set LyX to execute the
\family typewriter
project-build
\begin_layout LyX-Code
-
\backslash
build_command project-build
\end_layout
\begin_layout Standard
-
Every time you start a new project, define a scrap with name
\family typewriter
build-script
\family default
).
\end_layout
+
\end_deeper
\begin_layout Description
-
\family typewriter
\backslash
\begin_deeper
\begin_layout LyX-Code
-
\backslash
literate_error_filter
\begin_inset Quotes eld
\end_layout
\begin_layout Standard
-
to process Noweb(noweave) error messages
\end_layout
+
\end_deeper
\begin_layout Description
-
\family typewriter
\backslash
\begin_deeper
\begin_layout LyX-Code
-
\backslash
build_error_filter
\begin_inset Quotes eld
\end_layout
\begin_layout Standard
-
to process both Noweb(notangle) error messages and gcc error messages.
\end_layout
+
\end_deeper
\begin_layout Subsubsection
-
Rozszerzenia diagnostyczne
\end_layout
\begin_layout Standard
-
There is also a new function implemented in the LyX server, the ,,server-goto-fi
le-row'' function, to be used with ddd/gdb or other debugger.
\end_layout
\begin_layout Standard
-
When debugging code with ddd/gdb, it is possible to invoke a text editor
at the current execution position with a single key stroke.
The default ddd configuration for that is shift-ctrl-V.
\end_layout
\begin_layout Standard
-
I take advantage of the new created LyX server function and this ddd feature,
and set
\begin_inset Quotes eld
\end_layout
\begin_layout Quote
-
echo "LYXCMD:monitor:server-goto-file-row:@FILE@ @LINE@" >~/.lyxpipe.in
\end_layout
\begin_layout Standard
-
With this, whenever you are using ddd and find a point in the program that
you want to edit, you just press shift-ctrl-V (in the ddd window), and
ddd you forward this information to LyX through the LyX server and then
\end_layout
\begin_layout Standard
-
Note however that you must enable the LyX server to get this feature working
(it is disabled by default).
To enable it, insert in your lyxrc file:
\begin_layout Quote
-
\backslash
serverpipe "/home/<your home directory>/.lyxpipe"
\end_layout
\begin_layout Standard
-
Read the LyX server documentation for further information.
\end_layout
\begin_layout Subsubsection
-
Rozszerzenia paska narzêdzi
\end_layout
\begin_layout Standard
-
I created six new buttons that can be added to your LyX toolbar.
Five of these buttons are short cuts to layout styles: Standard, Section,
LaTeX, LyX-Code, and Scrap.
\end_layout
\begin_layout Standard
-
LyX has a range of buttons that are available for tool bar customization.
In my toolbar I like to combine the six short cuts above with two more:
One for
\begin_layout LyX-Code
-
\backslash
begin_toolbar
\end_layout
\begin_layout LyX-Code
-
\backslash
layouts
\end_layout
\begin_layout LyX-Code
-
\backslash
add layout Standard
\end_layout
\begin_layout LyX-Code
-
\backslash
add layout Section
\end_layout
\begin_layout LyX-Code
-
\backslash
add layout LaTeX
\end_layout
\begin_layout LyX-Code
-
\backslash
add layout LyX-Code
\end_layout
\begin_layout LyX-Code
-
\backslash
add layout Scrap
\end_layout
\begin_layout LyX-Code
-
\backslash
separator
\end_layout
\begin_layout LyX-Code
-
\backslash
add buffer-view
\end_layout
\begin_layout LyX-Code
-
\backslash
add buffer-typeset
\end_layout
\begin_layout LyX-Code
-
\backslash
add build-program
\end_layout
\begin_layout LyX-Code
-
\backslash
separator
\end_layout
\begin_layout LyX-Code
-
.
\end_layout
\begin_layout LyX-Code
-
.
\end_layout
\begin_layout LyX-Code
-
.
\end_layout
\begin_layout LyX-Code
-
\backslash
end_toolbar
\end_layout
\begin_layout Subsubsection
-
Dopasowanie kolorów
\end_layout
\begin_layout Standard
-
There are a number of colors in LyX that can be customized.
For each one there are two ways to do it: either by inserting a line in
your X resource files, or by adding a flag in the LyX command line.
\end_layout
\begin_layout Standard
-
One of the things that bothers people is the LaTeX font color.
The default color is red, since the scraps uses LaTeX font, and there is
a lot of scraps in literate documents, you may get tired of seeing everything
\end_layout
\begin_layout Itemize
-
In the X resource file:
\end_layout
\begin_deeper
\begin_layout Quote
-
lyx*LatexColor: gold
\end_layout
+
\end_deeper
\begin_layout Itemize
-
In the command line:
\end_layout
\begin_deeper
\begin_layout Quote
-
lyx -LatexColor gold
\end_layout
+
\end_deeper
\begin_layout Standard
-
The next thing is the visible presence of the newline character in the screen.
You can choose the color of this particular character and make it blend
in the background.
\end_layout
\begin_layout Itemize
-
In the X resource file:
\end_layout
\begin_deeper
\begin_layout Quote
-
lyx*BackgroundColor: gray20
\end_layout
\begin_layout Quote
-
lyx*NewLineColor: gray35
\end_layout
+
\end_deeper
\begin_layout Itemize
-
In the command line:
\end_layout
\begin_deeper
\begin_layout Quote
-
lyx -BackgroundColor gray20 -NewLineColor gray35
\end_layout
+
\end_deeper
\begin_layout Standard
-
If you don't like a bright clear background burning your eyes all day long,
you can reverse background and foreground colors with this:
\end_layout
\begin_layout Itemize
-
In the X resource file:
\end_layout
\begin_deeper
\begin_layout Quote
-
lyx*Reverse: 1
\end_layout
+
\end_deeper
\begin_layout Itemize
-
In the command line:
\end_layout
\begin_deeper
\begin_layout Quote
-
lyx -Reverse 1
\end_layout
+
\end_deeper
\begin_layout Standard
-
The problem with all those color alterations is that you may need to change
other colors as well to ensure that math, inset, etc, are
\begin_inset Quotes eld
\end_layout
\begin_layout LyX-Code
-
lyx*Reverse: 1
\end_layout
\begin_layout LyX-Code
-
lyx*MathColor: green
\end_layout
\begin_layout LyX-Code
-
lyx*LatexColor: gold
\end_layout
\begin_layout LyX-Code
-
lyx*OnOffLineColor: magenta
\end_layout
\begin_layout LyX-Code
-
lyx*InsetColor: yellow
\end_layout
\begin_layout LyX-Code
-
lyx*LightedColor: gray50
\end_layout
\begin_layout LyX-Code
-
lyx*NewLineColor: gray35
\end_layout
\begin_layout LyX-Code
-
lyx*BackgroundColor: gray20
\end_layout
\begin_layout Chapter
-
Sekrety LaTeX-a
\end_layout
\begin_layout Standard
-
Mimo ¿e LyX jest silnym narzêdziem, to nie mo¿na mieæ nadziei na obs³ugê
wszystkiego co zosta³o zrobione dla TeX-a/LaTeX-a.
Jednak wiele tricków TeX-a i LaTeX-a mo¿e byæ wykonane w LyX-ie, je¶li
\end_layout
\begin_layout Standard
-
W tym rozdziale opisano kilka sposobów i pomys³ów, aby Twoje dokumenty by³y
trochê sprytniejsze.
Wypróbuj je w domu i zacznij od czego¶ ma³ego i mniej wa¿nego.
\end_layout
\begin_layout Standard
-
Wiêkszo¶æ pomys³ów tego rozdzia³u wymaga mniej podstawowych plików w Twojej
instalacji LaTeX-a.
Je¶li masz system taki jak teTeX, wiêkszo¶æ bêdzie ju¿ dostêpnych.
\end_layout
\begin_layout Section
-
Triki w przypisach i marginaliach
\end_layout
\begin_layout Standard
-
suggested by Robin
\noun on
Socha
\end_layout
\begin_layout Subsection
-
Przypisy
\end_layout
\begin_layout Standard
-
LyX jeszcze nie potrafi ustawiæ numeracji przypisów z powrotem od 1 po ka¿dej
sekcji w klasie dokumentu ,,article'' lub zmianie stylu licznika.
Aby to osi±gn±æ bêdziesz potrzebowa³ nastêpuj±cych poleceñ LaTeX-a:
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
status collapsed
\begin_layout Standard
-
Licznik zosta³ ustawiony na 1.
\end_layout
\end_layout
\begin_layout Standard
-
Nastêpuj±ce polecenie zmienia numeracjê przypisów na numerowanie ma³ymi
literami.
Zobacz w podgl±dzie jak to wygl±da.
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
status collapsed
\begin_layout Standard
-
To jest przyk³ad przypisu numerowanego alfabetycznie.
\newline
U¿yj
status collapsed
\begin_layout Standard
-
U¿yj
\family typewriter
\end_layout
\begin_layout Standard
-
Mo¿esz u¿ywaæ
\family typewriter
\end_layout
\begin_layout Subsection
-
Marginalia
\end_layout
\begin_layout Standard
-
Tutaj znajduj± siê dwa przyk³ady jak wstawiæ marginalia przy u¿yciu poleceñ
LaTeX-a
\end_layout
\begin_layout Standard
-
Nastêpuj±ce polecenie utworzy poziom± liniê pojawiaj±c± obok tekstu:
\end_layout
\begin_layout Standard
-
\family typewriter
\backslash
\end_layout
\begin_layout Standard
-
Zobacz na wydruku co robi nastêpuj±ce polecenie.
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
\begin_layout Standard
-
\backslash
reverse
\begin_inset ERT
\end_layout
\begin_layout Section
-
Sk³ad wieloszpaltowy
\end_layout
\begin_layout Standard
-
by Lars
\noun on
Gullik Bjønnes
\end_layout
\begin_layout Subsection
-
Zastosowanie
\end_layout
\begin_layout Standard
-
Celem tej sekcji
\begin_inset Foot
status collapsed
\begin_layout Standard
-
Przypis edytora: Oryginalny rozdzia³ Lars'a by³ pe³nym opisem zastosowania
pakietu
\family typewriter
\end_layout
\begin_layout Standard
-
LyX jako taki jeszcze nie obs³uguje pakietu
\family typewriter
multicol
\end_layout
\begin_layout Subsection
-
Ograniczenia
\end_layout
\begin_layout Standard
-
Pakiet
\family typewriter
multicol
\end_layout
\begin_layout Subsection
-
Przyk³ady
\end_layout
\begin_layout Subsubsection
-
Dwie szpalty
\end_layout
\begin_layout Standard
-
Je¶li chcesz mieæ dwie szpalty w tek¶cie, u trybie LaTeX-a wstaw polecenie
\family typewriter
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
\begin_layout Standard
-
\size small
It was in the spring of the year 1894 that all London was interested, and
the fashionable world dismayed, by the murder of the Honourable Ronald
\begin_layout Standard
-
\size small
Even now, after this long interval, I find myself thrilling as I think of
it, and feeling once more that sudden flood of joy, amazement, and incredulity
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
\end_layout
\begin_layout Subsubsection
-
Uk³ad wieloszpaltowy
\end_layout
\begin_layout Standard
-
Ten sam przepis jest u¿ywany gdy chcesz utworzyæ wiêcej ni¿ dwie szpalty:
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
\begin_layout Standard
-
\size footnotesize
It can be imagined that my close intimacy with Sherlock Holmes had interested
me deeply in crime, and that after his disappearance I never failed to
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
\end_layout
\begin_layout Standard
-
Mo¿esz mieæ wiêcej ni¿ trzy szpalty je¶li chcesz, ale to nie bêdzie przyjemne
do czytania.
\end_layout
\begin_layout Subsubsection
-
Szpalty wewn±trz szpalty
\end_layout
\begin_layout Standard
-
Mo¿esz umie¶ciæ szpalty wewn±trz szpalty:
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
\begin_layout Standard
-
\size footnotesize
The Honourable Ronald Adair was the second son of the Earl of Maynooth,
at that time governor of one of the Australian colonies.
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
\begin_layout Standard
-
\size footnotesize
The youth moved in the best society--had, so far as was known, no enemies
and no particular vices.
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
\begin_layout Standard
-
\size footnotesize
Yet it was upon this easy-going young aristocrat that death came, in most
strange and unexpected form, between the hours of ten and eleven-twenty
\begin_layout Standard
-
\size footnotesize
Ronald Adair was fond of cards--playing continually, but never for such
stakes as would hurt him.
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
\end_layout
\begin_layout Standard
-
Proszê przeczytaæ plik
\family typewriter
examples/multicol.lyx
\end_layout
\begin_layout Section
-
Numeracja w ¶rodowisku wyliczenia akapitów
\end_layout
\begin_layout Standard
-
by John
\noun on
Weiss
\end_layout
\begin_layout Standard
-
-
\begin_inset VSpace bigskip
\end_inset
\end_layout
-
\begin_layout Standard
-
Domy¶lna numeracja akapitów w ¶rodowisku wyliczenia zaczyna siê od cyfr
arabskich, a koñczy siê na du¿ych literach alfabetu.
Prawdopodobnie jednak bêdziesz chcia³ inaczej numerowaæ akapity.
\begin_layout LyX-Code
-
\backslash
renewcommand{
\backslash
\begin_layout LyX-Code
-
\backslash
renewcommand{
\backslash
\begin_layout LyX-Code
-
\backslash
renewcommand{
\backslash
\begin_layout LyX-Code
-
\backslash
renewcommand{
\backslash
\end_layout
\begin_layout Standard
-
\SpecialChar \ldots{}
który zmienia schemat na nastêpuj±cy: cyfry rzymskie, du¿e litery, cyfry
arabskie i ma³e litery.
\end_layout
\begin_layout Standard
-
Mo¿na zobaczyæ w przyk³adzie, gdzie s± polecenia dla ka¿dego zagnie¿d¿onego
poziomu,
\family typewriter
\end_layout
\begin_layout Standard
-
Mo¿esz rzeczywi¶cie otrzymaæ ozdobny schemat numeracji, na przyk³ad:
\end_layout
\begin_layout LyX-Code
-
\backslash
renewcommand{
\backslash
\begin_layout LyX-Code
-
\backslash
renewcommand{
\backslash
\begin_layout LyX-Code
-
\backslash
renewcommand{
\backslash
\begin_layout LyX-Code
-
\backslash
renewcommand{
\backslash
\end_layout
\begin_layout Standard
-
Otrzymujemy wówczas nastêpuj±c± numeracjê: <,,#A#'', ,,A.1'', ,,a+'', ,,(i)''>.
\end_layout
\begin_layout Section
-
Przestrzeñ pomiêdzy wierszami tabel
\end_layout
\begin_layout Standard
-
by Mike
\noun on
Ressler
\end_layout
\begin_layout Standard
-
-
\begin_inset VSpace bigskip
\end_inset
\end_layout
-
\begin_layout Standard
-
LaTeX pozwala wstawiaæ trochê wolnego miejsca pomiêdzy wierszami tabeli
przez podanie opcjonalnego argumentu koñca wiersza (
\family typewriter
\end_layout
\begin_layout Standard
-
Pierwszy sposób jest bardziej formalny, ale bardziej zawik³any.
W preambule nale¿y dodaæ nastêpuj±c± definicjê polecenia:
\end_layout
\begin_layout Standard
-
\family typewriter
\backslash
\end_layout
\begin_layout Standard
-
To polecenie pobiera pojedynczy argument -- ilo¶æ miejsca, któr± chcesz
wstawiæ.
Wstaw polecenie w pierwszej kolumnie nastêpnego wiersza gdzie chcia³by¶
a):
\end_layout
-
\begin_layout Standard
-
-
\begin_inset VSpace 0.3cm
\end_inset
\begin_layout Standard
\align center
-
-\begin_inset Tabular
+\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="3">
<features>
<column alignment="center" valignment="top" width="0pt">
\begin_inset Text
\begin_layout Standard
-
Minerals
\end_layout
\begin_inset Text
\begin_layout Standard
-
Calcite
\end_layout
\begin_inset Text
\begin_layout Standard
-
Dolomite
\end_layout
\begin_inset Text
\begin_layout Standard
-
Quartz
\end_layout
\begin_inset Text
\begin_layout Standard
-
Graphite
\end_layout
\begin_inset Text
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
\begin_inset Text
\begin_layout Standard
-
Limestone
\end_layout
\begin_inset Text
\begin_layout Standard
-
Sandstone
\end_layout
\begin_inset Text
\begin_layout Standard
-
Granite
\end_layout
\begin_inset Text
\begin_layout Standard
-
Andesite
\end_layout
\end_layout
\begin_layout Standard
-
-
\begin_inset VSpace 0.3cm
\end_inset
\end_layout
-
\begin_layout Standard
-
Drugi sposób jest szybszy.
Po prostu umie¶æ w odpowiednim wierszu opcjonalny argument koñca wiersza.
¯adne eleganckie definicje nie s± potrzebne jak w poprzednim przyk³adzie,
ie:
\end_layout
-
\begin_layout Standard
-
-
\begin_inset VSpace 0.3cm
\end_inset
\begin_layout Standard
\align center
-
-\begin_inset Tabular
+\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="3">
<features>
<column alignment="center" valignment="top" width="0pt">
\begin_inset Text
\begin_layout Standard
-
Minerals
\end_layout
\begin_inset Text
\begin_layout Standard
-
Calcite
\end_layout
\begin_inset Text
\begin_layout Standard
-
Dolomite
\end_layout
\begin_inset Text
\begin_layout Standard
-
Quartz
\end_layout
\begin_inset Text
\begin_layout Standard
-
Graphite
\end_layout
\begin_inset Text
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
\begin_inset Text
\begin_layout Standard
-
Limestone
\end_layout
\begin_inset Text
\begin_layout Standard
-
Sandstone
\end_layout
\begin_inset Text
\begin_layout Standard
-
Granite
\end_layout
\begin_inset Text
\begin_layout Standard
-
Andesite
\end_layout
\end_layout
\begin_layout Standard
-
-
\begin_inset VSpace 0.3cm
\end_inset
\end_layout
-
\begin_layout Standard
-
To pozwala szybko wykonaæ pracê, ale zdarza siê, ¿e brzydko wygl±da.
\end_layout
\begin_layout Section
-
Inicja³y
\end_layout
\begin_layout Standard
-
by Mike
\noun on
Ressler
\end_layout
\begin_layout Standard
-
-
\begin_inset VSpace bigskip
\end_inset
\end_layout
-
\begin_layout Standard
\noindent
-
\begin_inset ERT
status collapsed
\begin_layout Standard
\noindent
-
\begin_inset ERT
status collapsed
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status collapsed
status collapsed
\begin_layout Standard
-
Przyp.
t³um.
Aby zobaczyæ wynik pracy pakietu
\end_layout
\begin_layout Section
-
Niestandardowe kszta³ty akapitów
\end_layout
\begin_layout Standard
-
by Mike
\noun on
Ressler
\end_layout
\begin_layout Standard
-
-
\begin_inset VSpace bigskip
\end_inset
\end_layout
-
\begin_layout Standard
-
-
\begin_inset ERT
status open
\begin_layout Standard
\noindent
-
\begin_inset ERT
status open
daj±ce wra¿enie rêcznej pracy.
\end_layout
-
\begin_layout Standard
-
-
\begin_inset VSpace bigskip
\end_inset
\end_layout
\begin_layout Standard
-
Sk³adnia:
\family typewriter
\end_layout
\begin_layout Standard
-
-
\begin_inset ERT
status open
\end_layout
\begin_layout Section
-
Podsumowanie
\end_layout
\begin_layout Standard
-
Jak mo¿na zobaczyæ, przyk³ady w tym rozdziale zaczynaj± siê od u¿ytecznych
a¿ do wymy¶lnych.
Nie spodziewam siê aby kto¶ potrzebowa³ kszta³tu akapitu jak ostatnim rozdziale
\end_layout
\begin_layout Standard
-
TeX jest fantastycznym systemem sk³adu i jego mo¿liwo¶ci s± dostêpne dla
Ciebie przez LyX-a wykorzystuj±cego go w tle.
\end_layout
\begin_layout Standard
-
Mi³ego LyX-owania!
\end_layout