lyx_mirror/lib/doc/sk_UserGuide.lyx
Lars Gullik Bjønnes d97d081155 add missing doc files and update makefile
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8798 a592a061-630c-0410-9148-cb99ea01b6c8
2004-06-02 13:40:06 +00:00

19969 lines
370 KiB
Plaintext
Raw Blame History

#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass book
\begin_preamble
% DO NOT ALTER THIS PREAMBLE!!!!
%
% I've designed this preamble to ensure that the User's Guide prints
% out as advertised. If you mess with this preamble,
% parts of the User's Guide may not print out as expected. If you
% have problems LaTeXing this file, please contact
% the documentation team intead of messing around in here. --jpw 4/97
%% Widens the vertical table spacing
%%
\renewcommand{\arraystretch}{1.25}
\setlength{\tabcolsep}{0.45em}
%% Provides certain commands which are missing.
%%
\DeclareRobustCommand{\textyen}{%
{\fontencoding{U}\fontfamily{msa}\selectfont\char85}%
}
\DeclareRobustCommand{\textcurrency}{%
{\fontencoding{U}\fontfamily{wasy}\selectfont\char27}%
}
\DeclareRobustCommand{\textcent}{%
{\fontencoding{U}\fontfamily{wasy}\selectfont\char103}%
}
\DeclareRobustCommand{\textbrokenbar}{%
{\fontencoding{U}\fontfamily{wasy}\selectfont\char124}%
}
%% For some odd reason, this character isn't defined in T1-encoding.
%%
\DeclareInputText{"0AD}{\textendash}
%% Accented characters missing in non-T1 encodings.
%%
\ProvideTextCommandDefault{\quotedblbase}{%
\raisebox{-1ex}{\textquotedblright}
\hspace{-0.7em}
}
\ProvideTextCommandDefault{\quotesinglbase}{%
\raisebox{-1ex}{\textquoteright}
\hspace{-0.7em}
}
\ProvideTextCommandDefault{\guillemotleft}{%
\raisebox{0.27ex}{\ensuremath{\scriptscriptstyle \ll\!\!\!}}
}
\ProvideTextCommandDefault{\guillemotright}{%
\raisebox{0.27ex}{\ensuremath{\scriptscriptstyle \gg}}
}
\ProvideTextCommandDefault{\guilsinglleft}{%
\raisebox{0.27ex}{\ensuremath{\scriptscriptstyle <\!\!\!}}
}
\ProvideTextCommandDefault{\guilsinglright}{%
\raisebox{0.27ex}{\ensuremath{\scriptscriptstyle >}}
}
\ProvideTextCommandDefault{\DH}{%
D\hspace{-0.7em}\rule[0.8ex]{0.30em}{0.08ex}\hspace{0.40em}
}
\ProvideTextCommandDefault{\dh}{%
\ensuremath{\mathrm{\partial}}
\hspace{-0.65em}\rule[1.35ex]{0.3em}{0.08ex}\hspace{0.35em}
}
\ProvideTextCommandDefault{\TH}{%
\textsc{I\hspace{-0.325em}p}
}
\ProvideTextCommandDefault{\th}{%
p\hspace{-0.55em}l
}
\end_preamble
\language slovak
\inputencoding latin2
\fontscheme default
\graphics default
\float_placement htp
\paperfontsize default
\spacing single
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language german
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle headings
\layout Title
U<EFBFBD><EFBFBD>vate<EFBFBD>sk<EFBFBD> pr<70>ru<72>ka LyXu
\layout Author
nap<EFBFBD>sal LyX T<>m,
\newline
do sloven<65>iny prelo<6C>il Stanislav Pe<50>ko (gabrielko@host.sk)
\layout Standard
\begin_inset LatexCommand \tableofcontents{}
\end_inset
\layout Chapter
Predstavenie
\layout Section
<EFBFBD>o je LyX?
\layout Standard
LyX je program, ktor<6F> poskytuje modernej<65><6A> pr<70>stup k p<>saniu dokumentov
na po<70><6F>ta<74>i, pr<70>stup, ktor<6F> prekon<6F>va star<61>
\begin_inset Quotes gld
\end_inset
koncept p<>sacieho stroja
\begin_inset Quotes grd
\end_inset
.
Je roben<65> pre <20>ud<75>, ktor<6F> chc<68> profesion<6F>lny v<>stup r<>chlo, s minim<69>lnym
vynalo<6C>en<65>m <20>sil<69>m a bez nutnosti sta<74> sa <20>pecialistom v s<>dzan<61> dokumentov.
Pri porovnan<61> s in<69>mi textov<6F>mi procesormi, LyX zv<7A><76>i produktivitu, zatia<69><61>o
o s<>dzanie sa v<><76><EFBFBD>inou star<61> po<70><6F>ta<74> a nie autor.
S LyXom sa autor star<61> o obsah svojho textu a po<70><6F>ta<74> sa star<61> o to, ako
bude text vyzera<72>.
\layout Standard
Technicky je to dan<61> kombin<69>ciou pohodln<6C>ho prostredia textov<6F>ho procesora
a kvalitn<74>ho s<>dzacieho syst<73>mu.
LyX pou<6F><75>va najpopul<75>rnej<65><6A>, a pod<6F>a n<><6E>ho n<>zoru aj najlep<65><70> s<>dzac<61> syst<73>m:
LaTeX.
LaTeX sa pou<6F><75>va na <20>irok<6F> <20>k<EFBFBD>lu dokumentov, hlavne vedeck<63>ch.
Napr<70>klad je ta<74>k<EFBFBD> n<>js<6A> matematick<63>, alebo po<70><6F>ta<74>ov<6F> knihu, ktor<6F> nie
je uroben<65> v LaTeXu.
K<>li tomuto niektor<6F> <20>udia tvrdia, <20>e jeho hlavn<76> <20><>el je matematick<63> s<>dzanie.
Toto nie je pravda.
LaTeX je takisto dobr<62> na p<>sanie listov, <20>l<EFBFBD>nkov, kn<6B>h, alebo hocijak<61>ch
in<69>ch dokumentov a rob<6F> to lep<65>ie ako mnoh<6F> in<69> textov<6F> procesory.
To, <20>o br<62>ni <20>u<EFBFBD>om v pou<6F><75>van<61> tohto mocn<63>ho s<>dzacieho syst<73>mu, je jeho
<20>a<EFBFBD>k<EFBFBD> pou<6F><75>vanie.
Na vytvorenie dokumentu mus<75>te v <20>istom LaTeXu vlo<6C>i<EFBFBD> do dokumentu mno<6E>stvo
s<>dzac<61>ch pr<70>kazov.
V<>sledok nevid<69>te, pokia<69> svoj dokument nespracujete programom LaTeX.
Je tie<69> ve<76>mi <20>a<EFBFBD>k<EFBFBD> <20><>ta<74> tieto dokumenty, k<>m nie s<> vytla<6C>en<65>.
Tak<61>e editovanie nie je ve<76>mi <20>ahk<68>.
A tu prich<63>dza LyX.
\layout Standard
LyX poskytuje
\begin_inset Quotes gld
\end_inset
takmer-WYSIWYG
\begin_inset Quotes grd
\end_inset
poh<6F>ad na dokument.
\begin_inset Quotes gld
\end_inset
Takmer
\begin_inset Quotes grd
\end_inset
znamen<65>, <20>e zlomy riadkov a str<74>n nie s<> zobrazen<65> presne tak, ako bud<75>
vo vytla<6C>enom dokumente.
Av<41>ak toto ani nie je potrebn<62>, preto<74>e LyX pou<6F><75>va samostatn<74> s<>dzac<61>
program (LaTeX) aby urobil fin<69>lne form<72>tovanie textu.
LyX mus<75> poskytova<76> komfortn<74> u<><75>vate<74>sk<73> prostredie, s<>dzac<61> program obsahuje
v<>etko na form<72>tovanie textu.
Pre<72>o by ste si mali prid<69>va<76> robotu pam<61>tan<61>m si v ktorej podsekcii v
ktorej sekcii v ktorej kapitole ste, ak<61> <20><>slovanie pou<6F><75>vate, ak<61> ve<76>k<EFBFBD>
s<> r<>zne nadpisy ak<61> p<>smo ste pou<6F>ili na r<>zne nadpisy at<61>., at<61>., at<61>\SpecialChar \ldots{}
,
ke<6B> toto v<>etko m<><6D>e robi<62> za v<>s po<70><6F>ta<74>? Odpove<76> je jednoduch<63>: nemali
by ste a s LyXom ani nemus<75>te.
Tak<61>e zlomy riadkov a str<74>n u<> viac nie s<> v<><76> probl<62>m.
Pam<61>tanie si ak<61> <20><>slo bude ma<6D> nasleduj<75>ca sekcia u<> nie je v<><76> probl<62>m.
Pam<61>tanie si ak<61> p<>smo ste pou<6F>ili na nadpis nie je u<> v<><76> probl<62>m.
V LyXe si len vyberiete takzvan<61>
\begin_inset Quotes gld
\end_inset
prostredie odseku
\begin_inset Quotes grd
\end_inset
.
To je v<>etko.
Ste hotov<6F>.
\layout Standard
Toto v<>m d<>va ove<76>a v<><76><EFBFBD>iu silu, ako si mo<6D>no mysl<73>te.
U<> viac nemus<75>te prech<63>dza<7A> 75 str<74>nkov<6F> dokument a meni<6E> <20><>slovanie sekci<63>,
preto<74>e ste vymazali nejak<61> sekciu na za<7A>iatku dokumentu.
Mohli by ste napr<70>klad vybra<72> sekciu, nadpis a jej telo, z jedn<64>ho dokumentu
a vlo<6C>i<EFBFBD> ju do in<69>ho.
LyX sa postar<61> o pre<72><65>slovanie, prid<69> sekciu do obsahu a <20>al<61>ie veci! Preto<74>e
ste povedali LyXu (a LaTeXu) ak<61>
\emph on
druh
\emph toggle
dokumentu editujete, a ak<61>
\emph on
typ
\emph toggle
odseku je tento text, po<70><6F>ta<74> ho pod<6F>a toho m<><6D>e vys<79>dza<7A>.
Vystrihnime nejak<61> odsek z dokumentu (povedzme z <20>l<EFBFBD>nku) a vlo<6C>me ho do
<20>plne in<69>ho (povedzme listu) a LyX sa postar<61> o zvy<76>ok.
Samozrejme, <20>e st<73>le m<><6D>te robi<62> nejak<61> n<>zko-<2D>rov<6F>ov<6F> form<72>tovanie, aby
ste dokument
\begin_inset Quotes gld
\end_inset
vyladili
\begin_inset Quotes grd
\end_inset
.
Av<41>ak spr<70>vny sp<73>sob v LyXe je poveda<64> po<70><6F>ta<74>u o ak<61> text
\emph on
ide
\emph toggle
, nie ako by mal vyzera<72>.
Tak<61>e radi by sme povedali, <20>e LyX poskytuje WYSIWYM editovanie (What You
See Is What You Mean).
\layout Standard
Niektor<EFBFBD> <20>udia m<><6D>u by<62> zv<7A>dzan<61> k naz<61>vaniu LyXu ako
\begin_inset Quotes gld
\end_inset
frontend k LaTeXu
\begin_inset Quotes grd
\end_inset
.
To nie je celkom spr<70>vne.
LyX rob<6F> interne nejak<61> s<>dzanie, aby text vyzeral spr<70>vne na obrazovke.
<20>alej LyX m<> nejak<61> roz<6F><7A>renia LaTeXu, zvlṻ roben<65> pre koncept WYSIWYM.
Tak<61>e je lep<65>ie naz<61>va<76> LyX ako
\emph on
Vysoko <20>rov<6F>ov<6F> textov<6F> procesor
\emph toggle
, ktor<6F> pou<6F><75>va LaTeX ako svoj backend.
\layout Section
O tomto dokumente
\layout Standard
Ak ste ne<6E>itali
\emph on
Predstavenie
\emph toggle
, urobte tak.
A urobte to teraz.
\layout Standard
Predstavenie popisuje niektor<6F> veci, najm<6A> form<72>ty v<>etk<74>ch manu<6E>lov.
Tie<69> popisuje na <20>o ktor<6F> manu<6E>l sl<73><6C>i.
\layout Standard
Zoznam <20>ud<75>, ktor<6F> sa o nie<69>o zasl<73><6C>ili, obsahuj<75>ci <20>lenov Dokumenta<74>n<EFBFBD>ho
Projektu LyX, sa nach<63>dza na konci tohto dokumentu.
\layout Section
Za<EFBFBD><EFBFBD>name
\layout Subsection
Spustenie LyXu
\layout Standard
Podobne ako in<69> Linux<75>cke (a in<69> typy Unixu) programy, LyX spust<73>te jednoducho
nap<61>san<61>m
\family typewriter
lyx
\family default
(
\family typewriter
klyx
\family default
) na pr<70>kazovom riadku.
Samozrejme, m<><6D>te prida<64> nieko<6B>ko parametrov, vr<76>tane mien s<>borov.
Nebudeme tu znovu vymenov<6F>va<76> v<>etky parametre, preto<74>e to sme urobili
v
\family typewriter
man
\family default
str<74>nke LyXu.
Pozrite sa tam.
\layout Subsection
Ako LyX vyzer<65>
\layout Subsubsection
Hlavn<EFBFBD> okno
\layout Standard
Ako v<><76><EFBFBD>ina aplik<69>ci<63>, LyX m<> na vrchu okna zn<7A>me menu.
Pod n<>m sa nach<63>dza n<>strojov<6F> li<6C>ta s rozba<62>ovac<61>m zoznamom a r<>zn<7A>mi
tla<6C><61>tkami.
Samozrejme <20>e je tu vertik<69>lna naviga<67>n<EFBFBD> li<6C>ta a pracovn<76> plocha na edit<69>ciu
dokumentu.
Naspodku hlavn<76>ho okna je mal<61> okno, ktor<6F> obsahuje jeden riadok textu.
Toto je minibuffer (term<72>n, ktor<6F> sme prevzali z GNU Emacs).
Nezobrazuje len inform<72>cie, ale tie<69> prij<69>ma vstup.
\layout Standard
V<EFBFBD>imnite si, <20>e tu nie je <20>iadna horizont<6E>lna naviga<67>n<EFBFBD> li<6C>ta.
Toto nie je chyba, ale z<>mer.
Ke<4B> <20><>tate knihu, o<>ak<61>vate, <20>e riadok na konci
\begin_inset Quotes gld
\end_inset
sko<EFBFBD><EFBFBD>
\begin_inset Quotes grd
\end_inset
na <20>al<61><6C> riadok.
Vo vertik<69>lnom smere text pretek<65> na nov<6F> str<74>nky, preto sta<74><61> len vertik<69>lna
naviga<67>n<EFBFBD> li<6C>ta.
\layout Standard
S<EFBFBD> tri pr<70>pady, kedy by ste mohli chcie<69> horizont<6E>lnu li<6C>tu.
Prv<72>m s<> ve<76>k<EFBFBD> obr<62>zky, zobrazen<65> WYSIWYG.
Av<41>ak rutina, ktor<6F> sa star<61> o zobrazenie obr<62>zkov na obrazovke v LyXe
by mala tento obr<62>zok zmen<65>i<EFBFBD>, aby sa zmestil do okna, rovnako, ako by
ste ho potrebovali zmen<65>i<EFBFBD> vy, aby sa v<>m zmestil na str<74>nku.
Druh<75> a tret<65> pr<70>pad s<> tabu<62>ky a rovnice, ktor<6F> s<> <20>ir<69>ie ako okno LyXu.
Toto je skuto<74>ne probl<62>m, ktor<6F> by mal by<62> odstr<74>nen<65> v bud<75>cich verzi<7A>ch
LyXu.
\layout Subsubsection
Dial<EFBFBD>gy
\layout Standard
Takmer v<>etky dial<61>gy v LyXe maj<61> tri z<>kladn<64> tla<6C><61>tka:
\family sans
OK
\family default
,
\family sans
Pou<EFBFBD>i<EFBFBD>
\family default
,
\family sans
Zru<EFBFBD>i<EFBFBD>
\family default
.
Prv<72> a posledn<64> s<> samovysvet<65>uj<75>ce.
Tla<6C><61>tko
\family sans
Pou<EFBFBD>i<EFBFBD>
\family default
, funguje podobne ako
\family sans
OK
\family default
, teda aktivuje v<>etky zmeny, ktor<6F> ste v dial<61>gu vykonali, ale tento dial<61>g
neuzavrie (ako to rob<6F>
\family sans
OK
\family default
).
V podstate stla<6C>enie
\family sans
OK
\family default
je rovnak<61> ako stla<6C>enie
\family sans
Pou<EFBFBD>i<EFBFBD>
\family default
na potvrdenie zmien a n<>sledne stla<6C>enie
\family sans
Zru<EFBFBD>i<EFBFBD>
\family default
na uzavretie dial<61>gu.
Tieto tla<6C><61>tka maj<61> kl<6B>vesov<6F> skratky:
\layout Itemize
\family sans
OK
\family default
reaguje na kl<6B>vesu
\family sans
Enter
\family default
, ako vo v<><76><EFBFBD>ine programov
\layout Itemize
Pou<EFBFBD>i<EFBFBD> na kombin<69>ciu
\family sans
M-a
\family default
\begin_inset Foot
collapsed true
\layout Standard
\emph on
Pozn.
prekl.:
\emph toggle
T<>to kl<6B>vesov<6F> skratka by mala fungova<76> v anglickej verzii LyXu.
V lokalizovanej (slovensk<73> KLyX 0.10.0) mi nefungovala a ani som nepri<72>iel
na to, ak<61> tam je (asi <20>iadna :-( ).
\end_inset
\layout Itemize
Zru<EFBFBD>i<EFBFBD> na kl<6B>vesu
\family sans
Esc
\layout Standard
S<EFBFBD> nejak<61> dial<61>gy, ktor<6F> maj<61> in<69> tla<6C><61>tka, ale niet sa <20>oho ob<6F>va<76>, preto<74>e
s<> oby<62>ajne zrozumite<74>n<EFBFBD>.Iba sme chceli vysvetli<6C> <20>o rob<6F> tla<6C><61>tko
\family sans
Pou<EFBFBD>i<EFBFBD>
\family default
.
\layout Subsection
POMOC!
\layout Standard
Help pozost<73>va z manu<6E>lov LyXu.
\emph on
V<EFBFBD>etky
\emph toggle
manu<6E>ly m<><6D>ete <20><>ta<74> priamo v LyXe.
Jednoducho si vyberte ten, ktor<6F> chcete, z menu
\family sans
Pomocn<EFBFBD>k
\family default
.
\layout Standard
Manu<EFBFBD>ly ako tak<61> by sme radi tro<72>ku okomentovali.
Tu je nie<69>o, <20>o raz o manu<6E>loch povedal jeden z na<6E><61>ch autorov,
\noun on
John Weiss
\noun toggle
:
\layout Quotation
Nen<EFBFBD>vid<EFBFBD>m manu<6E>ly
\layout Quotation
<EFBFBD>no.
U<> sme sa v<>etci stretli s t<>mi stroh<6F>mi, zle prelo<6C>en<65>mi manu<6E>lmi.
Za prv<72>, polovicu <20>asu str<74>via podrobn<62>m obozn<7A>men<65>m u<><75>vate<74>a o tom, ako
zaobch<63>dza<7A> s my<6D>ou, <20>o je menu, at<61>., at<61>., at<61>.
Pros<6F>m v<>s.
Ak niekto nevie ako pou<6F><75>va<76> vlastn<74> po<70><6F>ta<74>, alebo GUI, tak by si mal
sadn<64><6E> a nau<61>i<EFBFBD> sa to
\emph on
predt<EFBFBD>m
\emph toggle
, ako za<7A>ne pou<6F><75>va<76> d<>le<6C>it<69> softv<74>r.
\layout Quotation
Za druh<75>, inform<72>cie, ktor<6F> poskytuj<75> predpokladaj<61>, <20>e u<><75>vate<74> je blb<6C>.
To je <20>pln<6C> nezmysel! Pod<6F>a moj<6F>ch sk<73>senost<73> v<><76><EFBFBD>ina u<><75>avte<74>ov je zastra<72>en<65>c
h a nevie ako <20>alej, ale nie s<> hl<68>pi.
\layout Standard
\emph on
Pozn<EFBFBD>mka vydavate<74>a: S t<>mto na pam<61>ti som nav<61>dzal v<>etk<74>ch autorov, aby
ich pr<70>stup bol viac pedagogick<63> ako pedantn<74>.
- jw
\layout Section
Prostredie LyXu
\layout Subsection
Z<EFBFBD>kladn<EFBFBD> oper<65>cie so s<>bormi
\layout Standard
V menu s<>bor je 9 oper<65>ci<63>, z<>kladn<64>ch pre ka<6B>d<EFBFBD> textov<6F> procesor:
\layout Itemize
\family sans
Nov<EFBFBD>
\layout Itemize
\family sans
Nov<EFBFBD> zo <20>abl<62>ny
\layout Itemize
\family sans
Otvori<EFBFBD>
\layout Itemize
\family sans
Zavrie<EFBFBD>
\layout Itemize
\family sans
Ulo<EFBFBD>
\layout Itemize
\family sans
Ulo<EFBFBD>i<EFBFBD> ako
\family default
\begin_inset Foot
collapsed true
\layout Standard
\emph on
Pozn.
prekl.:
\emph toggle
Tento pr<70>kaz je nap<61>san<61> ako
\family sans
Ulo<EFBFBD>i<EFBFBD>
\family default
\SpecialChar ~
\family sans
\bar under
a
\bar default
ko
\family default
, tzn.
m<> rovnak<61> skratku ako
\family sans
Nov<EFBFBD>\SpecialChar ~
zo\SpecialChar ~
<EFBFBD>
\bar under
a
\bar default
bl<EFBFBD>ny
\family default
, ku ktor<6F>mu t<> skratka aj v skuto<74>nosti patr<74>.
Pr<50>kaz
\family sans
Ulo<EFBFBD>i<EFBFBD>\SpecialChar ~
ako
\family default
teda nem<65> nijak<61> skratku.
To ist<73> plat<61> aj o pr<70>kaze
\family sans
K
\bar under
o
\bar default
niec
\family default
.
D<>fam, <20>e v lokaliz<69>ci<63>ch <20>al<61><6C>ch verzi<7A> sa toto odstr<74>ni.
\end_inset
\layout Itemize
\family sans
V
\bar under
r
\bar default
<EFBFBD>ti<EFBFBD> sa k ulo<6C>en<65>mu
\layout Itemize
\family sans
Tla<EFBFBD>i<EFBFBD>
\layout Itemize
\family sans
Koniec
\layout Standard
V<EFBFBD>etky robia rovnak<61> veci ako v ostatn<74>ch textov<6F>ch procesoroch, s nejak<61>mi
drobn<62>mi odli<6C>nos<6F>ami.
Pr<50>kaz S<>bor->Nov<6F> zo <20>abl<62>ny sa nesp<73>ta iba na meno nov<6F>ho s<>boru, ale
aj na meno <20>abl<62>ny, ktor<6F> m<> pou<6F>i<EFBFBD>.
Vybran<61>m <20>abl<62>ny automaticky nastav<61> ur<75>it<69> vlastnosti prostredia dokumentu
--- vlastnosti, ktor<6F> by ste inak museli nastavi<76> manu<6E>lne.
Tie sa pou<6F><75>vaj<61> pre ur<75>it<69> triedy, zvlṻ na p<>sanie listov (pozri
\begin_inset LatexCommand \ref{sec: dok-triedy}
\end_inset
).
\layout Standard
Pozn<EFBFBD>mka: Nie je <20>iadny
\begin_inset Quotes gld
\end_inset
<EFBFBD>tandardn<EFBFBD> s<>bor
\begin_inset Quotes grd
\end_inset
alebo dokument nazvan<61>
\begin_inset Quotes gld
\end_inset
ne\SpecialChar \-
po\SpecialChar \-
me\SpecialChar \-
no\SpecialChar \-
va\SpecialChar \-
n<EFBFBD>
\begin_inset Quotes grd
\end_inset
.
Dokia<69> nepoviete LyXu aby otvoril s<>bor, alebo vytvoril nov<6F>, ten ve<76>k<EFBFBD>
pr<70>zdny priestor je len --- ve<76>k<EFBFBD> pr<70>zdny priestor.
\layout Standard
Pr<EFBFBD>kaz
\family sans
Vr<EFBFBD>ti<EFBFBD> sa k ulo<6C>en<65>mu
\family default
je u<>ito<74>n<EFBFBD> ak na jednom dokumente pracuje s<><73>asne viac <20>ud<75>.
\begin_inset Foot
collapsed true
\layout Standard
Ak pl<70>nujete pracova<76> takto, pre<72><65>tajte si o Spr<70>ve verz<72><7A> v LyXe v manu<6E>le
\emph on
<EFBFBD>al<EFBFBD>ie mo<6D>nosti edit<69>cie
\emph toggle
.
\end_inset
Jednoducho znovu na<6E><61>ta dokument z disku.
Samozrejme, m<><6D>ete ho pou<6F>i<EFBFBD> ak <20>utujete <20>e ste zmenili dokument a chcete
ho obnovi<76> od posledn<64>ho ulo<6C>enia.
\layout Standard
Pr<EFBFBD>kazy Zavrie<69> a Koniec zobrazia provokat<61>vne okno, ktor<6F>m n<>s chr<68>nia
pred na<6E>ou vlastnou hl<68>pos<6F>ou.
To znamen<65>, <20>e ak sa pok<6F>site zavrie<69> s<>bor, v ktorom boli vykonan<61> zmeny
(alebo ukon<6F>i<EFBFBD> LyX), budete informovan<61>, <20>e s<> otvoren<65> a neulo<6C>en<65> s<>bory.
\begin_inset Foot
collapsed true
\layout Standard
Niektor<EFBFBD> z v<>s mo<6D>no vedia, <20>e predch<63>dzaj<61>ce verzie LyXu m<><6D>u spadn<64><6E>,
ak sa pok<6F>site zavrie<69> okno z window mana<6E><61>ra (dvojklikom na <20>av<61> horn<72>
roh).
Toto bolo opraven<65> vo verzii 0.12, tak<61>e teraz je to bezpe<70>n<EFBFBD>.
\end_inset
\layout Subsection
Z<EFBFBD>klady editovania
\layout Standard
Ako v<><76><EFBFBD>ina modern<72>ch textov<6F>ch procesorov, LyX m<><6D>e vystrihova<76> a vklada<64>
bloky textu, m<><6D>e sa pohybova<76> po znakoch, slov<6F>ch, alebo str<74>nkach (obrazovkov
<EFBFBD>ch) a m<><6D>e maza<7A> cel<65> slov<6F> a jednotliv<69> znaky.
Nasleduj<75>ce <20>tyri sekcie pokr<6B>vaj<61> z<>kladn<64> mo<6D>nosti edit<69>cie v LyXe.
Za<5A>neme s vystrihovan<61>m a vkladan<61>m.
\layout Standard
Ako ste isto o<>ak<61>vali, menu
\family sans
Upravi<EFBFBD>
\family default
m<> pr<70>kazy vystrihn<68><6E> a vlo<6C>i<EFBFBD>, a r<>zne <20>al<61>ie editovacie pr<70>kazy.
Niektor<6F> z nich s<> <20>peci<63>lne a s<> pop<6F>san<61> v <20>al<61><6C>ch sekci<63>ch, ako napr<70>klad
podmenu
\family sans
Insety
\family default
.
Z<>kladn<64> pr<70>kazy s<>:
\layout Itemize
\family sans
Vystrihn<EFBFBD><EFBFBD>
\layout Itemize
\family sans
Kop<EFBFBD>rova<EFBFBD>
\layout Itemize
\family sans
Vlo<EFBFBD>i<EFBFBD>
\layout Itemize
\family sans
Find\SpecialChar ~
&Replace
\family default
\begin_inset Foot
collapsed true
\layout Standard
\emph on
Pozn.
prekl.:
\emph toggle
Asi chyba lokaliz<69>cie.
Toto je skuto<74>ne nap<61>sn<73> takto.
Ak tomu nerozumiete, znamen<65> to N<>jdi a nahra<72>.
\end_inset
\layout Standard
Prv<EFBFBD> tri s<> samozrejm<6A>.
Jedna vec, ktor<6F> si zapam<61>tajte: ak vyma<6D>ete blok textu, ktor<6F> ste ozna<6E>ili,
automaticky sa umiestni do schr<68>nky.
To znamen<65>, <20>e kl<6B>vesy
\family sans
Delete
\family default
a
\family sans
Backspace
\family default
tie<69> funguj<75> ako pr<70>kaz
\family sans
V
\bar under
y
\bar default
strihn<EFBFBD><EFBFBD>
\family default
(funguj<75> na ozna<6E>en<65> text, nie na samostatn<74> znak).
Tak isto, ak m<>te ozna<6E>en<65> text, bu<62>te opatrn<72>.
Ak stla<6C><61>te kl<6B>vesu, LyX ozna<6E>en<65> text vyma<6D>e a nahrad<61> ho t<>m, <20>o ste
nap<61>sali.
Ak chcete vymazan<61> text vr<76>ti<74>, pou<6F>ite pr<70>kaz
\family sans
Vr<EFBFBD>ti<EFBFBD> sp<73><70>
\family default
.
\layout Standard
Pr<EFBFBD>kaz
\family sans
Find\SpecialChar ~
&\SpecialChar ~
Replace
\family default
otvor<6F> okno
\family sans
H<EFBFBD>ada<EFBFBD> a zameni<6E>
\family default
.
LyX t<>to funkciu vykon<6F>va tro<72>ku odli<6C>ne od in<69>ch komer<65>n<EFBFBD>ch programov.
Text, ktor<6F> chcete vyh<79>ada<64> nap<61><70>ete do po<70>a
\family sans
H<EFBFBD>ada<EFBFBD>
\family default
.
Dve tla<6C><61>tka so <20><>pkami preh<65>ad<61>vaj<61> smerom dopredu a dozadu v dokumente.
Ak ste na<6E>li slovo alebo v<>raz, LyX ho ozna<6E><61>.
Stal<61>en<65>m tal<61><6C>tka
\family sans
Vymeni<EFBFBD>
\family default
, sa ozna<6E>en<65> text nahrad<61> obsahom po<70>a
\family sans
Vymeni<EFBFBD>\SpecialChar ~
za
\family default
.
\layout Standard
Teda si to upresn<73>me: nem<65><6D>ete zameni<6E> slovo, pokia<69> ho najprv nevyh<79>ad<61>te.
\layout Standard
Tla<EFBFBD><EFBFBD>tkom
\family sans
Replace All
\family default
(Zameni<6E> v<>etko) zamen<65>te v<>etky v<>skyty h<>adan<61>ho v<>razu.
Tu samozrejme nemus<75>te pou<6F>i<EFBFBD> <20><>pky na vyh<79>adanie prv<72>ho v<>skytu v<>razu.
\layout Standard
Prep<EFBFBD>na<EFBFBD>
\family sans
Uva<EFBFBD>ova<EFBFBD> ve<76>kos<6F>
\family default
pou<6F>ijete, ak chcete rozli<6C>ova<76> mal<61> a ve<76>k<EFBFBD> p<>smen<65>.
Ak je za<7A>krtnut<75>, slov<6F>
\begin_inset Quotes gld
\end_inset
V<EFBFBD>raz
\begin_inset Quotes grd
\end_inset
a
\begin_inset Quotes gld
\end_inset
v<EFBFBD>raz
\begin_inset Quotes grd
\end_inset
s<> r<>zne.
\layout Standard
Prep<EFBFBD>na<EFBFBD>om
\family sans
Len cel<65>
\bar under
s
\bar default
lov<EFBFBD>
\family default
prin<69>tite LyX, aby vyh<79>ad<61>val len cel<65> slov<6F>.
Teda h<>adanie slova
\begin_inset Quotes gld
\end_inset
v<EFBFBD>raz
\begin_inset Quotes grd
\end_inset
, nen<65>jde slovo
\begin_inset Quotes gld
\end_inset
v<EFBFBD>razy
\begin_inset Quotes grd
\end_inset
.
\layout Subsection
\family sans
Vr<EFBFBD>ti<EFBFBD> sp<73><70>
\family default
a
\family sans
Opakova<EFBFBD> vr<76>ten<65>
\layout Standard
Ak urob<6F>te chybu, jednoducho ju m<><6D>ete opravi<76>.
LyX m<> z<>sobn<62>k vr<76>ti<74>/o\SpecialChar \-
pa\SpecialChar \-
ko\SpecialChar \-
va<EFBFBD> s nekone<6E>nou kapacitou.
Pr<50>kazom
\family sans
Upravi<EFBFBD>->Vr<56>ti<74>\SpecialChar ~
sp<EFBFBD><EFBFBD>
\family default
oprav<61>te nejak<61> chybu.
Ak ho n<>hodou pou<6F>ijete pr<70>li<6C> ve<76>a kr<6B>t, pr<70>kazom
\family sans
Upravi<EFBFBD>->Opakova<76>\SpecialChar ~
vr<EFBFBD>ten<EFBFBD>
\family default
\begin_inset Quotes gld
\end_inset
vr<EFBFBD>tie sp<73><70> to, <20>o ste vr<76>tili sp<73><70>
\begin_inset Quotes grd
\end_inset
.
\layout Standard
Nem<EFBFBD><EFBFBD>ete vr<76>ti<74> sp<73><70> zmeny, ktor<6F> boli uroben<65> pred otvoren<65>m dokumentu
(pri predo<64>l<EFBFBD>ch edit<69>ci<63>ch).
V takom pr<70>pade bude tento pr<70>kaz nepr<70>stupn<70>.
Tie<69> si v<>imnite, <20>e ak vr<76>tite sp<73><70> v<>etky zmeny, a<> do stavu v akom bol
dokument naposledy ulo<6C>en<65>, pr<70>znak dokumentu
\begin_inset Quotes gld
\end_inset
Zmenen<EFBFBD>
\begin_inset Quotes grd
\end_inset
(v nadpise okna) nie je zru<72>en<65>.
\layout Standard
Tieto dva pr<70>kazy funguj<75> takmer na v<>etko.
S textom samozrejme nepracuj<75> po znakoch, ale po blokoch textu.
Treba to p<>rkr<6B>t pou<6F>i<EFBFBD>, aby ste zistili ako pracuj<75>.
\layout Subsection
Z<EFBFBD>klady ovl<76>dania my<6D>ou
\layout Standard
Nebudeme sa tu zaobera<72> v<>etk<74>mi funkciami my<6D>i.
<20>al<61>ie sekcie tohto manu<6E>lu popisuj<75> <20>pecifick<63> oper<65>cie ktor<6F> m<><6D>ete robi<62>
s my<6D>ou.
Namiesto toho pop<6F><70>eme v<><76><EFBFBD>inu z<>kladn<64>ch oper<65>ci<63>.
\layout Enumerate
Pohyb
\begin_deeper
\layout Itemize
Raz kliknite
\emph on
<EFBFBD>av<EFBFBD>m my<6D><79>tkom
\emph toggle
hocikde v editovacom okne.
Kurzor sa presunie na text pod my<6D>ou.
\layout Itemize
Referencie
\begin_deeper
\layout Standard
\emph on
<EFBFBD>av<EFBFBD>m my<6D><79>tkom
\emph toggle
kliknite na tla<6C><61>tko referencie.
Presko<6B><6F>te do odkazovanej sekcie.
\end_deeper
\end_deeper
\layout Enumerate
Ozna<EFBFBD>ovanie textu
\begin_deeper
\layout Itemize
Dr<EFBFBD>te stla<6C>en<65>
\emph on
<EFBFBD>av<EFBFBD> my<6D><79>tko
\emph toggle
a <20>ahajte my<6D>.
LyX ozna<6E><61> text medzi starou a novou poz<6F>ciou kurzora my<6D>i.
Funguje to rovnako ako v in<69>ch programoch.
\layout Itemize
Text vlo<6C><6F>te kliknut<75>m
\emph on
prostredn<EFBFBD>m my<6D><79>tkom
\emph toggle
.
LyX vlo<6C><6F> text zo schr<68>nky na poz<6F>ciu, kde ste klikli.
\end_deeper
\layout Enumerate
Pozn<EFBFBD>mky pod <20>iarou, na okraji, obr<62>zky, at<61>.
\begin_deeper
\layout Standard
Tieto veci otv<74>ra jednoduch<63> klik
\emph on
<EFBFBD>av<EFBFBD>m my<6D><79>tkom
\emph toggle
.
Pre podrobnej<65>ie inform<72>cie si pozrite pr<70>slu<6C>n<EFBFBD> sekciu tohto manu<6E>lu.
\end_deeper
\layout Enumerate
Tabu<EFBFBD>ky
\begin_deeper
\layout Standard
Jednoduch<EFBFBD> klik
\emph on
prav<EFBFBD>m my<6D><79>tkom
\emph toggle
otvor<6F> menu, ktor<6F> v<>m umo<6D>n<EFBFBD> manipulova<76> s tabu<62>kou.
\end_deeper
\layout Subsection
Z<EFBFBD>klady ovl<76>dania kl<6B>vesnicou
\layout Standard
Ani tu nebudeme rozobera<72> cel<65> kl<6B>vesov<6F> ovl<76>danie.
\emph on
V<EFBFBD>etky
\emph toggle
kl<6B>vesov<6F> skratky s<> pop<6F>san<61> v
\emph on
Referen<EFBFBD>nej pr<70>ru<72>ke
\emph toggle
.
\layout Standard
Niektor<EFBFBD> kl<6B>vesy, ako napr<70>klad
\family sans
PageUp
\family default
,
\family sans
PageDown
\family default
, <20><>pky
\family sans
V<EFBFBD>avo
\family default
,
\family sans
Vpravo
\family default
,
\family sans
Hore
\family default
,
\family sans
Nadol
\family default
robia presne to, <20>o od nich o<>ak<61>vate, <20>al<61>ie nie:
\layout List
\labelwidthstring 00.00.0000
\family sans
Tab
\family default
V LyXe neexistuje tak<61> nie<69>o ako tabul<75>tor.
Ak tomu nerozumiete, hne<6E> teraz si pre<72><65>tajte sekcie
\begin_inset LatexCommand \ref{sec: odsek-zarovnanie}
\end_inset
a
\begin_inset LatexCommand \ref{sec: odsek-prostredia}
\end_inset
, zvlṻ sekciu
\begin_inset LatexCommand \ref{sec: odsek-prostr-zoz}
\end_inset
.
Ak ste st<73>le zm<7A>ten<65>, pozrite si
\emph on
Sprievodcu
\emph toggle
(manu<6E>l
\emph on
Z<EFBFBD>klady pr<70>ce
\emph toggle
).
\layout List
\labelwidthstring 00.00.0000
\family sans
Esc
\family default
Toto je
\begin_inset Quotes gld
\end_inset
ru<EFBFBD>iaca kl<6B>vesa
\begin_inset Quotes grd
\end_inset
.
Vo v<>eobecnosi sa pou<6F><75>va na ru<72>enie oper<65>ci<63>.
V <20>al<61><6C>ch <20>astiach manu<6E>lu sa na to pozrieme detailnej<65>ie.
\layout List
\labelwidthstring 00.00.0000
\family sans
Home\SpecialChar ~
a\SpecialChar ~
End
\family default
Pres<65>vaj<61> kurzor na za<7A>iatok a koniec riadku.
\layout List
\labelwidthstring 00.00.0000
\family sans
Backspace\SpecialChar ~
a\SpecialChar ~
Delete
\family default
Ak m<>te spr<70>vne nastaven<65> kl<6B>vesnicu v X-Windows sys\SpecialChar \-
t<EFBFBD>\SpecialChar \-
me,
\family sans
Backspace
\family default
gunguje ako m<>, a
\family sans
Delete
\family default
vyma<6D>e znak za kurzorom (ak nie je ozna<6E>en<65> <20>iadny text).
\begin_deeper
\layout Standard
Ak ste si e<>te nenastavili kl<6B>vesnicu v X-k<>ch, alebo ani neviete <20>o t<>m
mysl<73>me, okam<61>ite si pre<72><65>tajte sekciu
\begin_inset LatexCommand \ref{sec: x-win-kbd}
\end_inset
.
U<>etr<74>te si kopu starost<73>.
\end_deeper
\layout Standard
<EFBFBD>alej nasleduje zoznam modifika<6B>n<EFBFBD>ch kl<6B>vesov:
\layout List
\labelwidthstring 00.00.0000
\family sans
Control
\family default
M<> r<>zne pou<6F>itie, v z<>vislosti na tom s akou kl<6B>vesou ho skombinujete:
\begin_deeper
\layout Itemize
S kl<6B>vesami
\family sans
Backspace
\family default
a
\family sans
Delete
\family default
vyma<6D>e cel<65> slovo namiesto jedn<64>ho znaku.
\layout Itemize
So <20><>pkami
\family sans
V<EFBFBD>avo
\family default
a
\family sans
Vpravo
\family default
pohybuje kurzor po cel<65>ch slov<6F>ch.
\layout Itemize
S kl<6B>vesami
\family sans
Home
\family default
a
\family sans
End
\family default
sa presunie na za<7A>iatok a koniec dokumentu.
\end_deeper
\layout List
\labelwidthstring 00.00.0000
\family sans
Shift
\family default
Spolu s kurzorov<6F>mi <20><>pkami ozna<6E><61> text.
\layout List
\labelwidthstring 00.00.0000
\family sans
Meta
\family default
Ako sme sa zmienili sk<73>r, na v<><76><EFBFBD>ine kl<6B>vesn<73>c je toto kl<6B>vesa
\family sans
Alt
\family default
.
M<> ve<76>a r<>znych pou<6F>it<69>, ale tie<69> aktivuje menu.
Ak ju pou<6F>ijete s p<>smenom, ktor<6F> je v menu pod<6F>iarknut<75>, otvor<6F> dan<61> menu.
\begin_deeper
\layout Standard
Napr<EFBFBD>klad kombin<69>cia
\begin_inset Quotes gld
\end_inset
\family sans
M-s
\family default
\begin_inset Quotes grd
\end_inset
, otvor<6F> menu
\family sans
S<EFBFBD>bor
\family default
,
\begin_inset Quotes gld
\end_inset
\family sans
M-u\SpecialChar ~
l
\family default
\begin_inset Quotes grd
\end_inset
vlo<6C><6F> text.
\layout Standard
<EFBFBD>al<EFBFBD>ie pou<6F>itie
\family sans
Meta
\family default
kl<6B>vesy si budete musie<69> pre<72><65>ta<74> v
\emph on
Referen<EFBFBD>nej pr<70>ru<72>ke
\emph toggle
.
\end_deeper
\layout Standard
Po<EFBFBD>as pou<6F><75>vania LyXu sa nau<61><75>te <20>oraz viac kl<6B>vesov<6F>ch skratiek, preto<74>e
v<><76><EFBFBD>ina pr<70>kazov my<6D>i zobraz<61> v minibufferi spr<70>vu, ktor<6F> popisuje dan<61>
akciu a aj kl<6B>vesov<6F> skratku pre <20>u.
Ich not<6F>cia je podobn<62> tej, ktor<6F> pou<6F><75>vame v dokument<6E>cii, tak<61>e by ste
nemali ma<6D> probl<62>my s porozumen<65>m.
Av<41>ak v<>imnite si, <20>e modifik<69>tor
\family sans
Shift
\family default
je v<>dy explicitne ur<75>en<65>, tak<61>e
\begin_inset Quotes gld
\end_inset
\family sans
M-p S-A
\family default
\begin_inset Quotes grd
\end_inset
znamen<65>
\family sans
Meta-p
\family default
nasledovan<61> ve<76>k<EFBFBD>m
\family sans
A
\family default
,
\begin_inset Quotes gld
\end_inset
\family sans
S-C-S
\family default
\begin_inset Quotes grd
\end_inset
znamen<65>
\family sans
Shift-Control-s
\family default
.
\layout Section
Pou<EFBFBD><EFBFBD>vanie LyXu s <20>al<61><6C>mi programami
\layout Subsection
Importovanie ASCII s<>borov
\layout Standard
ASCII textov<6F> s<>bor m<><6D>ete importova<76> pr<70>kazom
\family sans
Vlo<EFBFBD>i<EFBFBD>->Vlo<6C>i<EFBFBD>\SpecialChar ~
ASCII\SpecialChar ~
s<EFBFBD>bor
\family default
.
Obsahuje dve r<>zne mo<6D>nosti:
\family sans
Ako\SpecialChar ~
riadky
\family default
a
\family sans
Ako\SpecialChar ~
odstavce
\family default
.
\layout Standard
Mo<EFBFBD>nos<EFBFBD>
\family sans
Ako\SpecialChar ~
riadky
\family default
urob<6F> z ka<6B>d<EFBFBD>ho riadku s<>boru vlastn<74> odstavec LyXu.
Je to u<>ito<74>n<EFBFBD>, ak importujete textov<6F> s<>bor s jednoduch<63>m zoznamom.
Ak s<>bor bude obsahova<76> odseky, LyX ich zni<6E><69>.
\layout Standard
Mo<EFBFBD>nos<EFBFBD>
\family sans
Ako\SpecialChar ~
odstavce
\family default
uchov<6F> odstavce vytvoren<65> v textovom s<>bore.
V tak<61>chto textov<6F>ch s<>boroch <20>asto nevojde odstavec na jeden riadok a
preto kl<6B>vesou
\family sans
Enter
\family default
rozdel<65>te odstavec na nieko<6B>ko riadkov.
Pri importe bud<75> tak<61>to odstavce zru<72>en<65>.
Za odstavec LyXu je pova<76>ovan<61> v<>etko medzi dvoma pr<70>zdnymi riadkami.
Teda medzi dvoma odstavcami mus<75> by<62>
\emph on
<EFBFBD>plne pr<70>zdny
\emph toggle
riadok.
In<49><6E> LyX spoj<6F> dokopy dva odstavce.
\layout Subsection
Vystrihovanie a vkladanie medzi LyXom a in<69>mi X programami
\layout Standard
Oper<EFBFBD>cie
\family sans
Vystrihn<EFBFBD><EFBFBD>
\family default
,
\family sans
Kop<EFBFBD>rova<EFBFBD>
\family default
a
\family sans
Vlo<EFBFBD>i<EFBFBD>
\family default
funguj<75> len v r<>mci LyXu.
V s<><73>asnosti nie je mo<6D>n<EFBFBD> kop<6F>rova<76> text z LyXu do inej X-Window aplik<69>cie.
Je n<>m to <20><>to, ale e<>te sme to neimplementovali.
\layout Standard
Opa<EFBFBD>n<EFBFBD>m sp<73>sobom to v<>ak funguje.
To znamen<65>, <20>e m<><6D>ete kop<6F>rova<76> text z inej X-Window palik<69>cie do LyXu.
Toto vkladanie textu pracuje ako import ASCII s<>borov: text m<><6D>ete vklada<64>
ako riadky alebo odseky.
Pou<6F>ite:
\layout Itemize
\family sans
Vlo<EFBFBD>i<EFBFBD>\SpecialChar ~
prim<EFBFBD>rnu\SpecialChar ~
selekcie\SpecialChar ~
ako\SpecialChar ~
riadky
\layout Itemize
\family sans
Vlo<EFBFBD>i<EFBFBD>\SpecialChar ~
prim<EFBFBD>rnu\SpecialChar ~
selekciu\SpecialChar ~
ako\SpecialChar ~
odstavce
\layout Standard
z menu
\family sans
Upravi<EFBFBD>
\family default
.
\layout Chapter
Nastavenia LyXu a podporn<72> aplik<69>cie
\layout Section
Predstavenie
\layout Standard
Ak pou<6F><75>vate LyX na syst<73>me, ktor<6F> u<> niekto pre v<>s nastavil, t<>to kapitolu
m<><6D>ete v pohode presko<6B>i<EFBFBD>.
Popisuje v<>etky veci, ktor<6F> potrebujete okrem bin<69>riek LyXu a s<>borov,
ktor<6F> s<> s n<>m distribuovan<61>.
\layout Standard
Ak in<69>talujete LyX,
\emph on
mali by ste si pre<72><65>ta<74> README s<>bory, ktor<6F> s<> v distrib<69>ci<63> LyXu a potom
s<>bor
\emph toggle
\family sans
Help->Konfigur<75>cia LaTeX-u
\family default
.
T<>to kapitola nepopisuje in<69>tal<61>ciu bin<69>riek LyXu (nie <20>plne\SpecialChar \ldots{}
).
Popisuje v<>etky veci, ktor<6F> budete potrebova<76>, aby ste mohli vyu<79><75>va<76> LyX
naplno.
\emph default
\begin_inset Foot
collapsed true
\layout Standard
Tu jednoducho zdokumetujeme nie<69>o o pou<6F><75>van<61> LyXu, vr<76>tane toho, ak<61> <20>al<61>ie
programy potrebujete, aby bol LyX u<>ito<74>n<EFBFBD>.
\end_inset
\layout Section
Po<EFBFBD>iadavky
\layout Standard
Verzia LyXu distribuovan<61> ako bin<69>rne s<>bory potrebuje len X-Windows (X11R6).
Ale tie<69> by mal <20>s<EFBFBD> pod X11R5.
LyX je celkom mal<61> (okolo 1MB bez XForms) a tie<69> nepotrebuje ve<76>a pam<61>ti
na ukladanie dokumentov.
Nie je a<> tak<61> r<>chly
\begin_inset Foot
collapsed true
\layout Standard
M<EFBFBD><EFBFBD>e chv<68><76>u trva<76>, k<>m sa zobraz<61> text p<>san<61> nov<6F>m p<>smom, preto<74>e p<>smo
mus<75> by<62> natiahnut<75> do X-servera.
LyX fonty nenatiahne, pokia<69> ich nebude potrebova<76>, tak<61>e nie v<>etky fonty
s<> pr<70>stupn<70> okam<61>ite vo v<>etk<74>ch mo<6D>n<EFBFBD>ch <20>t<EFBFBD>loch a ve<76>kostiach.
\end_inset
, ale dos<6F> r<>chly, aby v<>m umo<6D>nil pr<70>cu na 386DX40 s 8MB RAM.
\begin_inset Foot
collapsed true
\layout Standard
Pozn<EFBFBD>mka od
\noun on
Matthiasa
\noun toggle
:
\begin_inset Quotes gld
\end_inset
Pozn<EFBFBD>m <20>ud<75>, ktor<6F> to robia.
\begin_inset Quotes grd
\end_inset
\end_inset
\layout Standard
Ak chcete tla<6C>i<EFBFBD> a prezra<72> n<>h<EFBFBD>ad, tie<69> potrebujete <20>pln<6C> in<69>tal<61>ciu bal<61>ka
LaTeX2e, vr<76>tane
\family typewriter
dvips
\family default
a
\family typewriter
xdvi
\family default
.
LyX nepracuje s LaTeXom 2.09 (zmeny, ktor<6F> by ste museli urobi<62> v zdroj<6F>koch
LyXu s<> podstatne pr<70>cnej<65>ie ako upgradovanie LaTeXu).
\layout Standard
Ak si chcete skompilova<76> svoje vlastn<74> bin<69>rky, potrebujete kni<6E>nicu XForms.
Od verzie LyXu 0.12, budete potrebova<76> jednu z verzi<7A> 0.81, 0.86, 0.88 kni<6E>nice
XForms.
Doporu<72>ujeme verziu 0.88, preto<74>e t<> v<>m umo<6D>n<EFBFBD> viac vec<65>.
Z<>ska<6B> ju m<><6D>ete na:
\layout Itemize
http://bloch.phys.uwm.edu/xforms/
\layout Itemize
ftp://einstein.phys.uwm.edu/pub/xforms/
\layout Itemize
ftp://ftp.cs.ruu.nl/pub/XFORMS
\layout Standard
Tie<EFBFBD> potrebujete kni<6E>nicu pixmap (libXpm).
Toto by ale nemal by<62> probl<62>m, preto<74>e je to <20>as<61> v<><76><EFBFBD>iny modern<72>ch Unixov.
Len sa uistite, <20>i m<>te spr<70>vnu verziu kni<6E>nice pixmap pre va<76>u verziu
kni<6E>nice XForms.
S<> nejak<61> probl<62>my s nekompatibilitou.
Od verzie LyXu 0.12 budete potrebova<76> kni<6E>nicu libXpm verzie 4.7 alebo 4.8.
\layout Standard
Ku kompilovaniu LyXu\SpecialChar \ldots{}
No\SpecialChar \ldots{}
, tento dokument by ste ne<6E><65>tali, ak u<> ste to neurobili,
<20>e?
\begin_inset Foot
collapsed true
\layout Standard
Ak v<>m niekdo dal vytla<6C>en<65> tento manu<6E>l a zdrojov<6F> s<>bory LyXu, <20>iadajte
pomoc od
\emph on
neho
\emph toggle
.
Alebo si pre<72><65>tajte s<>bory README.
\end_inset
\layout Section
Z<EFBFBD>kladn<EFBFBD> nastavenia LyXu
\layout Standard
\begin_inset LatexCommand \label{sec: nastavenie}
\end_inset
Pravdepodobne by ste toto ne<6E><65>tali, keby ste u<> nemali funguj<75>ci LyX, tak<61>e
toto tu rozobera<72> nebudeme.
Je zop<6F>r vec<65> o in<69>tal<61>cii a nastaven<65> LyXu, o ktor<6F>ch sa chceme zmieni<6E>.
\layout Standard
S<EFBFBD> dva sp<73>soby ako spusti<74> LyX.
Prv<72>m je nain<69>talovanie LyXu a podporn<72>ch programov na v<><76> syst<73>m.
Samozrejme, <20>e na to potrebujete pr<70>va roota.
Druh<75> sp<73>sob nevy<76>aduje pr<70>va roota, a dovo<76>uje v<>m
\begin_inset Quotes gld
\end_inset
nain<EFBFBD>talova<EFBFBD>
\begin_inset Quotes grd
\end_inset
LyX niekde na va<76>e konto.
LyX automaticky detekuje kde to je, pokia<69> podporn<72> adres<65>ru bud<75> na spr<70>vnych
miestach.
\layout Standard
Niektor<EFBFBD> vlastnosti LyXu sa daj<61> nakonfigurova<76> z LyXu, bez prepisovania
configura<72>n<EFBFBD>ch s<>borov.
Za prv<72>, LyX je schopn<70> presk<73>ma<6D> v<><76> syst<73>m, aby videl ak<61> programy, triedy
dokumentov LaTeXu a LaTeXov<6F> bal<61>ky s<> dostupn<70>.
Toto pou<6F><75>va ako <20>tandardn<64> hodnoty niektor<6F>ch premenn<6E>ch v s<>bore
\family typewriter
lyxrc
\family default
.
T<>to konfigur<75>cia u<> bola uroben<65> ke<6B> bol LyX in<69>talovan<61> na v<><76> syst<73>m,
ale m<><6D>ete ma<6D> nejak<61> veci, ktor<6F> ste si nain<69>talovali lok<6F>lne a ktor<6F>
LyX nevid<69>.
Aby ste prin<69>tili LyX znovu presk<73>ma<6D> syst<73>m, pou<6F>ite pr<70>kaz
\family sans
Mo<EFBFBD>nosti->Prekonfigurova<76>
\family default
.
Potom by ste LyX mali re<72>tartova<76>, aby boli zmeny bran<61> do <20>vahy.
Pokia<69> ide o triedy a bal<61>ky LaTeXu, inform<72>cie o tom <20>o bolo n<>jden<65>,
s<> v s<>bore
\family sans
Pomocn<EFBFBD>k->Konfigur<75>cia\SpecialChar ~
LaTeX-u.
\layout Standard
Druh<EFBFBD> mno<6E>ina nastaven<65>, ktor<6F> by ste mohli chcie<69> zmeni<6E>, pokr<6B>va nastavenia
na <20>rovni dokumentu a m<><6D>ete ich zmeni<6E> dial<61>gmi
\family sans
Dokument
\family default
,
\family sans
Papier
\family default
,
\family sans
<EFBFBD>vodzovky
\family default
a
\family sans
LaTeX\SpecialChar ~
preambula
\family default
z menu
\family sans
Rozlo<EFBFBD>enie
\family default
\begin_inset Foot
collapsed true
\layout Standard
Pou<EFBFBD><EFBFBD>vatelia LyXu 0.10.x si mo<6D>no spomen<65>, <20>e tieto nastavenia boli pr<70>stupn<70>
v s<>bore
\family typewriter
lyxrc
\family default
.
To u<> je minulos<6F>ou.
\end_inset
.
Na zmenu t<>chto nastaven<65> otvorte (pravdepodobne nov<6F>) dokument, nastavte
si v<>etko pod<6F>a svojich preds\SpecialChar \-
t<EFBFBD>v a nastavenia ulo<6C>te pr<70>kazom
\family sans
Rozlo<EFBFBD>enie->Ulo<6C>i<EFBFBD>\SpecialChar ~
rozlo<EFBFBD>enie\SpecialChar ~
ako\SpecialChar ~
preddefinovan<EFBFBD>
\family default
.
Toto vytvor<6F> <20>abl<62>nu pomenovan<61>
\family typewriter
default.lyx
\family default
, ktor<6F> je automaticky na<6E>ahovan<61> LyXom pri otv<74>ran<61> s<>boru bez <20>abl<62>ny.
\layout Standard
Je ve<76>a <20>al<61><6C>ch konfigurovate<74>n<EFBFBD>ch vlastnost<73> LyXu.
Na za<7A>iatku sa LyX pok<6F><6B>a <20><>ta<74> s<>bor nazvan<61>
\family typewriter
~/.lyx/lyxrc
\family default
pod va<76>im domovsk<73>m adres<65>rom.
Ak tento s<>bor neexistuje, LyX <20><>ta glob<6F>lny s<>bor
\family typewriter
lyxrc
\family default
.
O t<>chto konfigura<72>n<EFBFBD>ch s<>boroch sa do<64><6F>tate viac dokumente
\emph on
Prisp<EFBFBD>sobenie
\emph toggle
.
\layout Section
Nastavenie X kl<6B>vesnice
\layout Standard
\begin_inset LatexCommand \label{sec: x-win-kbd}
\end_inset
Aby ste mohli spr<70>vne pou<6F><75>va<76> LyX, mus<75>te spr<70>vne nastavi<76> X-k<>.
Zvlṻ je to nutn<74>, ak pou<6F><75>vate medzin<69>rodn<64> podporu LyXu a chcete pou<6F><75>va<76>
neanglick<63> mapovania kl<6B>vesnice.
Nane<6E><65>astie takmer nikto sa o toto nestar<61> a zvlṻ t<>, ktor<6F> nain<69>talovali
Linux na PC.
Administr<74>tori ve<76>k<EFBFBD>ch syst<73>mov tie<69> m<><6D>u by<62> v tomto vinn<6E>, tak<61>e nepredpoklad
ajte, <20>e ak pou<6F><75>vate ve<76>k<EFBFBD> syst<73>m, ste v bezpe<70><65>.
Ka<4B>d<EFBFBD> u<><75>vate<74> m<><6D>e poveda<64> X-k<>m ako pou<6F><75>va<76> jeho, alebo jej kl<6B>vesnicu.
Nemus<75>te sa spolieha<68> na svojho syst<73>mov<6F>ho administr<74>tora --- v podstate
by ste
\emph on
nemali
\emph toggle
! Nasleduj<75>ce dva programy s<> v<>etko <20>o potrebujete, aby ste nastavili kl<6B>vesnic
u ako chcete.
\layout Subsection
\family typewriter
xmodmap
\family default
a
\family typewriter
xkeycaps
\layout Standard
V prvom rade si pre<72><65>tajte manu<6E>lov<6F> str<74>nky k t<>mto programom.
S<> va<76>e najlep<65>ie priate<74>ky, ke<6B> sa pok<6F><6B>ate spr<70>vne nastavi<76> mapovanie
v X.
Ak ich nem<65>te, doin<69>talujte ich.
\layout Subsubsection
\family typewriter
xmodmap
\layout Standard
Tento dokument neobsahuje <20>iadne inform<72>cie ako pou<6F><75>va<76>
\family typewriter
xmodmap
\family default
.V
\emph on
Pris\SpecialChar \-
p<EFBFBD>\SpecialChar \-
so\SpecialChar \-
be\SpecialChar \-
n<EFBFBD>
\emph toggle
je uk<75><6B>kov<6F> s<>bor .Xmodmap.
\emph default
\begin_inset Foot
collapsed true
\layout Standard
\emph on
Pozn.
prekl.:
\emph toggle
V manu<6E>le
\emph on
Prisp<EFBFBD>sobenie
\emph toggle
(
\emph on
Customizing LyX
\emph toggle
) som ni<6E> tak<61> nena<6E>iel.
\end_inset
Na natiahnutie nov<6F>ho mapovania X kl<6B>vesnice nap<61><70>te pr<70>kaz
\family typewriter
xmodmap\SpecialChar ~
.Xmodmap
\family default
niekde do svojich sp<73><70><EFBFBD>ac<61>ch skriptov (napr.
\family typewriter
.cshrc
\family default
,
\family typewriter
.profile
\family default
,
\family typewriter
.login
\family default
, alebo
\family typewriter
.xinitrc
\family default
).
\layout Subsubsection
\family typewriter
xkeycaps
\layout Standard
Tento program pln<6C> va<76>e sny! Graficky zobrazuje va<76>u kl<6B>vesnicu a dovo<76>uje
v<>m robi<62> modifik<69>cie a potom vyp<79>sa<73> tieto modifik<69>cie na <20>tandardn<64> v<>stup
vo forme <20>itate<74>nej pre
\family typewriter
xmodmap
\family default
.
Je ve<76>mi u<>ito<74>n<EFBFBD>, ke<6B> si chcete vyrobi<62> nov<6F>
\family typewriter
.Xmodmap
\family default
s<>bor, av<61>ak bude to vy<76>adova<76> trochu vystrihovania a vkladania.
\layout Subsection
Modifik<EFBFBD>tory a Mode_switch
\layout Standard
LyX podporuje tri modifik<69>tory:
\family sans
Shift
\family default
(
\family sans
S-
\family default
),
\family sans
Control
\family default
(
\family sans
C-
\family default
) a
\family sans
Meta
\family default
(
\family sans
M-
\family default
).
<20>alej, ak jedna z kl<6B>vesov va<76>ej kl<6B>vesnice je nakonfigurovan<61> ako
\family sans
Compose
\family default
kl<6B>vesa, m<><6D>ete ju pou<6F>i<EFBFBD> na vkladanie niektor<6F>ch znakov, ktor<6F> nie s<>
na kl<6B>vesnici.
T<>to kl<6B>vesa sa m<><6D>e pou<6F><75>va<76> ako modifik<69>tor (ako
\family sans
Shift
\family default
alebo
\family sans
Control
\family default
), alebo ako prefixov<6F> kl<6B>vesa.
Tu je zop<6F>r pr<70>kladov, <20>o m<><6D>ete robi<62> s kl<6B>vesou
\family sans
Compose
\family default
:
\layout Itemize
\family sans
Compose
\family default
+
\family sans
e
\family default
+
\family sans
'
\family default
\begin_inset Formula $\rightarrow$
\end_inset
<20>
\layout Itemize
\family sans
Compose
\family default
+
\family sans
o
\family default
+
\family sans
r
\family default
\begin_inset Formula $\rightarrow$
\end_inset
<20>
\layout Itemize
\family sans
Compose
\family default
+
\family sans
1
\family default
+
\family sans
2
\family default
\begin_inset Formula $\rightarrow$
\end_inset
<20>
\layout Itemize
\family sans
Compose
\family default
+
\family sans
<
\family default
+
\family sans
<
\family default
\begin_inset Formula $\rightarrow$
\end_inset
<20>
\begin_inset Foot
collapsed true
\layout Standard
\emph on
Pozn.
prekl.:
\emph toggle
Neviem ak<61> kl<6B>vesa funguje ako
\family sans
Compose
\family default
kl<6B>vesa u m<>a (ak v<>bec funguje), tak<61>e tie znaky som nap<61>sal norm<72>lne
(pr<70>padne prekop<6F>roval z anglick<63>ho dokumentu).
D<>fam, <20>e <20>asom na to pr<70>dem.
\end_inset
\layout Standard
T<EFBFBD>to met<65>da je <20>iasto<74>ne vhodn<64>, ke<6B> tak<61>to znaky pou<6F>vate len ob<6F>as.
<20>andardne pracuje pre znaky latin1, ale <20>al<61>ie by sa mali da<64> pou<6F>i<EFBFBD>, ak
m<>te spr<70>vne nastaven<65> locale.
\layout Subsection
Pomocn<EFBFBD> tipy a triky
\layout Standard
Najprv si otvorte dva xtermin<69>ly.
Jeden pou<6F>ite na editovanie s<>boru
\family typewriter
.Xmodmap
\family default
a druh<75> na sp<73><70><EFBFBD>anie
\family typewriter
xkeycaps
\family default
.
Pomocou
\family sans
xkyecaps
\family default
premapujte kl<6B>vesnicu ako chcete.
Je tam tla<6C><61>tko, ktor<6F>m vyp<79><70>ete nov<6F> mapu kl<6B>vesnice.
Ak ho stla<6C><61>te,
\family typewriter
xkeycaps
\family default
vyp<79><70>e nie<69>o na termin<69>l, z ktor<6F>ho ste ho spustili.
Skop<6F>rujte to a vlo<6C>te do s<>boru
\family typewriter
.Xmodmap
\family default
a ste hotov<6F>.
\begin_inset Foot
collapsed true
\layout Standard
M<EFBFBD><EFBFBD>ete si u<>etri<72> pr<70>cu spusten<65>m xkeycaps
\family sans
.Xmodmap
\family default
.
Toto v<>m vytvor<6F> pou<6F>ite<74>n<EFBFBD> kl<6B>vesov<6F> mapu.
Samozrejme, <20>e ak stla<6C><61>te tla<6C><61>tko na v<>stup viackr<6B>t, v<>sledok bude neporiado
k.
Ako v<>etky veci,
\family sans
xkeycaps
\family default
je n<>stroj a je len tak inteligentn<74> ako osoba, ktor<6F> ho pou<6F><75>va.
\end_inset
\layout Standard
Je tie<69> nieko<6B>ko vec<65>, ktor<6F> v<>m umo<6D>nia lep<65>iu orient<6E>ciu.
Sk<53>ste spusti<74> pr<70>kaz
\family typewriter
xmodmap -v -pm
\family default
.
Uk<55><6B>e v<>m v<>etky aktu<74>lne modifik<69>tory.
Taktie<69> sk<73>ste
\family typewriter
xmodmap -v -pke | more
\family default
, aby ste videli, ktor<6F> k<>dy kl<6B>ves s<> priraden<65> ktor<6F>m symbolick<63>m men<65>m.
Tie<69> v<>m to d<> nie<69>o o tom, ak<61> je syntax s<>boru
\family typewriter
.Xmodmap
\family sans
.
\layout Standard
Jednu vec by ste si mali skontrolova<76>.
Uistite sa, <20>e kl<6B>vesy
\family sans
BackSpace
\family default
a
\family sans
Delete
\family default
nemaj<61> v X-och definovan<61> rovnak<61> kl<6B>vesov<6F> symboly! V<>imnite si, <20>e priradenie
unik<69>tnych symbolick<63>ch mien nezmen<65> nutne chovanie v<><76>ho programu.
Niektor<6F> programy prepoja
\family sans
Delete
\family default
a
\family sans
BackSpace
\family default
na rovnak<61> oper<65>ciu.
Jedn<64>m z nich je Emacs.
In<49> programy tieto kl<6B>vesy pou<6F><75>vaj<61> na r<>zne opr<70>cie.
LyX je jedn<64>m z nich, a ak m<>te
\family sans
Delete
\family default
a
\family sans
BackSpace
\family default
ozna<6E>en<65> rovnak<61>m symbolick<63>m menom, m<><6D>ete ma<6D> v LyXe probl<62>my.
\layout Section
LaTeX
\layout Standard
Ak chcete robi<62> s LyXom viac ako nap<61>sa<73> len dokument a vygenrova<76>
\family typewriter
.tex
\family default
s<>bor, budete potrebova<76> LaTeX.
\layout Standard
V pr<70>pade <20>e sa <20>udujete, LaTeX je roz<6F><7A>renie TeXu, syst<73>mu pr<70>pravy dokumentov,
vyvynut<75>ho v roku 1984 Donaldom Knuthom.
\begin_inset Foot
collapsed true
\layout Standard
Pozn<EFBFBD>mka k v<>slovnosti: TeX poch<63>dza z gr<67>ckeho slova
\begin_inset Formula $\tau\varepsilon\chi$
\end_inset
, ktor<6F> sa vyslovuje
\begin_inset Quotes gld
\end_inset
tech
\begin_inset Quotes grd
\end_inset
.
\end_inset
TeX z ASCII s<>boru <20><>ta mno<6E>inu pr<70>kazov a konvertuje ich do form<72>tu
\begin_inset Quotes gld
\end_inset
nez<EFBFBD>visl<EFBFBD> od zariadenia
\begin_inset Quotes grd
\end_inset
(device-independent), alebo v skratke Dvi.
Dvi s<>bor m<><6D>e by<62> potom poslan<61> na tla<6C>iare<72>.
TeX je programovate<74>n<EFBFBD> a LaTeX nie je ni<6E> in<69>, len (ve<76>mi ve<76>k<EFBFBD>) mno<6E>ina
makier TeXu.
LaTeX oby<62>ajne prich<63>dza s distrib<69>ciou TeXu, tak<61>e potrebujete len bal<61>k
TeXu.
\layout Standard
V s<><73>asnosti sa be<62>ne pou<6F><75>vaj<61> dve verzie LaTeXu.
Star<61>ia LaTeX 2.09 a nov<6F>ia LaTeX2e.
LyX pracuje len s verziou LaTeX2e.
\layout Standard
Aby sme si to vyjasnili:
\layout Standard
\added_space_top 0.23cm \added_space_bottom 0.23cm \paragraph_spacing single
\align center
LyX
\emph on
BUDE PRACOVA<56> LEN S
\emph toggle
LaTeXom2e!!!
\layout Standard
Ak m<>te verziu 2.09, povedzte administr<74>torovi, aby upgradeoval.
\layout Standard
Ak pou<6F><75>vate Linux, LaTeX2e by mal by<62> vo va<76>ej distrib<69>cii.
Pozrite sa na in<69>trukcie v distrib<69>cii a nain<69>talujte bal<61>k TeX ak ste
to e<>te neurobili.
V<>etko <20>o potrebujete tam bude, aj s nejak<61>mi vecami, ktor<6F> pravdepodobne
potrebova<76> nebudete.
\layout Standard
Pri <20>al<61><6C>ch syst<73>moch sa pravdepodobne budete musie<69> porozpr<70>va<76> s administr<74>tor
om o in<69>tal<61>cii TeXu/LaTeXu, ak nie je nain<69>talovan<61>.
\layout Section
Dvips a Ghostscript
\layout Subsection
<EFBFBD>o potrebujete
\layout Standard
Je e<>te jeden krok, ktor<6F> mus<75>te urobi<62>, ak chcete tla<6C>i<EFBFBD> va<76>e dokumenty
LyXu.
Oby<62>ajne sa budete musie<69> uisti<74>, <20>i m<>te nakonfigurovan<61> tla<6C>iare<72> (pozri
nasleduj<75>cu sekciu).
A ak ich e<>te nem<65>te, nain<69>talujte si nasledovn<76> programy (alebo s nimi
kompatibiln<6C>):
\layout Itemize
\family typewriter
dvips
\layout Itemize
\family typewriter
ghostscript
\layout Itemize
\family typewriter
xdvi
\layout Itemize
\family typewriter
ghostview
\layout Standard
Posledn<EFBFBD> dva s<> prezera<72>e PostScriptov<6F>ch a Dvi s<>borov.
Ak neviete <20>o je to
\family typewriter
dvi
\family default
s<>bor, pravdepodobne ste s LaTeXom nepracovali a najprv by ste si mali
pre<72><65>ta<74>
\emph on
Sprievodcu
\emph toggle
.
\family typewriter
dvips
\family default
konvertuje dvi s<>bor do PostScriptu, <20>o je form<72>t v<><76><EFBFBD>iny dnes pou<6F><75>van<61>ch
tla<6C>iarn<72>.
T<>, ktor<6F> pou<6F><75>vate ihli<6C>kov<6F> a atramentov<6F> tla<6C>iarne, budete musie<69> PostScript
s<>bor prefiltrova<76> cez
\family typewriter
ghostscript
\family default
, ktor<6F> je schop<6F> vyrobi<62> v<>stup pre r<>zne tla<6C>iarne.
Nasleduj<75>ca sekcia o nastaven<65> tla<6C>e popisuje, ako toto v<>etko robi<62> automatick
y v<>dy, ke<6B> chcete tla<6C>i<EFBFBD>.
Teraz sa zameriame na
\family typewriter
dvips
\family default
.
\layout Subsection
\family typewriter
dvips
\layout Standard
\begin_inset LatexCommand \label{sec: dvipskonfig}
\end_inset
<EFBFBD>i budete pou<6F><75>va<76> LyX na ve<76>kom syst<73>me, alebo na dom<6F>com po<70><6F>ta<74>i, mali
by ste nakonfigurova<76>
\family typewriter
dvips
\family default
.
\family typewriter
dvips
\family default
\begin_inset Quotes gld
\end_inset
tla<EFBFBD><EFBFBD>
\begin_inset Quotes grd
\end_inset
do s<>boru, alebo posiela v<>stup priamo na tla<6C>iare<72>, v z<>vislosti na tom,
ako je nakonfigurovan<61>.
Ak je nastaven<65> tla<6C> do s<>boru a nie je <20>pecifikovan<61> <20>iadne meno, jednoducho
urob<6F> zo
\family typewriter
s<EFBFBD>bor.dvi
\family default
\family typewriter
s<EFBFBD>bor.ps
\family default
.
Niektor<6F> syst<73>my mo<6D>u ma<6D>
\family typewriter
dvips
\family default
nakonfigurovan<61> tak, <20>e
\emph on
v<EFBFBD>dy
\emph toggle
tla<6C>ia do s<>boru.
\layout Standard
Aby ste informovali
\family typewriter
dvips
\family default
ako automaticky skonvertova<76>
\family typewriter
.dvi
\family default
s<>bor na
\family typewriter
.foo
\family default
s<>bor, mus<75>te niekde ma<6D> konfigura<72>n<EFBFBD> s<>bor
\begin_inset Quotes gld
\end_inset
\family typewriter
config.foo
\family default
\begin_inset Quotes grd
\end_inset
.
Oby<62>ajne s<>bory
\family typewriter
config.*
\family default
pre dvips s<> v
\family typewriter
/usr/lib/texmf/dvips
\family default
.
Ak je v<><76> syst<73>m in<69>, pozrite sa do hlavn<76>ho adres<65>ra TeXu a poh<6F>adajte
podadres<65>r nazvan<61>
\begin_inset Quotes gld
\end_inset
\family typewriter
dvips
\family default
\begin_inset Quotes grd
\end_inset
.
Mal by tam niekde by<62>.
\layout Standard
Oby<EFBFBD>ajne tam je najmenej jeden konfigura<72>n<EFBFBD> s<>bor:
\family typewriter
config.ps
\family default
.
Niektor<6F> distrib<69>cie TeXu s<> in<69> a maj<61> tam s<>bor
\family typewriter
config.lp
\family default
, skop<6F>rujte ho do s<>boru
\family typewriter
config.ps
\family default
, ak tam tak<61> nie je.
\layout Standard
Je e<>te jedna vec, ktor<6F> mus<75>te urobi<62> s konfigura<72>n<EFBFBD>m s<>borom.
M<><4D>e tam by<62> riadok ktor<6F> vyzer<65> ako
\begin_inset Quotes gld
\end_inset
\family typewriter
o | lpr
\family default
\begin_inset Quotes grd
\end_inset
.
Zakomentujteho (dajte na za<7A>iatok riadku
\begin_inset Quotes gld
\end_inset
\family typewriter
%
\family default
\begin_inset Quotes grd
\end_inset
), lebo inak bude
\family typewriter
dvips
\family default
v<>dy posiela<6C> v<>stup na tla<6C>iare<72>.
\layout Standard
Ak ste to v<>etko urobili, z LyXu m<><6D>ete tla<6C>i<EFBFBD> do s<>boru, alebo na PostScriptov<6F>
tla<6C>iare<72>.
Pri tla<6C>i na tla<6C>iarni v<>dy m<><6D>ete pou<6F>i<EFBFBD>
\begin_inset Quotes gld
\end_inset
\family typewriter
| lpr -Pmenotla\SpecialChar \-
<EFBFBD>iar\SpecialChar \-
ne
\family default
\begin_inset Quotes grd
\end_inset
ako meno v<>stupn<70>ho s<>boru.
Samozrejme, <20>e pravdepodobne budete pou<6F><75>va<76> mo<6D>nos<6F> LyXu
\begin_inset Quotes gld
\end_inset
print to printer
\begin_inset Quotes grd
\end_inset
.
Ak ste sa uistili, <20>e s<>bor
\family typewriter
config.ps
\family default
existuje a va<76>a <20>tandardn<64> tla<6C>iare<72> sa vol<6F>
\begin_inset Quotes gld
\end_inset
\family typewriter
ps
\family default
\begin_inset Quotes grd
\end_inset
, m<>te v<>etko nastaven<65>.
LyX pou<6F><75>va
\family typewriter
dvips
\family default
s parametrom
\family typewriter
-Pps
\family default
pre priamu tla<6C>.
\layout Standard
E<EFBFBD>te jedna vec: niektor<6F> <20>udia musia by<62> in<69> a nebud<75> ma<6D> tla<6C>iare<72> pomenovan<61>
\begin_inset Quotes gld
\end_inset
\family typewriter
ps
\family default
\begin_inset Quotes grd
\end_inset
, alebo maj<61> viac tla<6C>iarn<72>, jednu nazvan<61>
\begin_inset Quotes gld
\end_inset
\family typewriter
ps
\family default
\begin_inset Quotes grd
\end_inset
, in<69>
\begin_inset Quotes gld
\end_inset
\family typewriter
ljfour
\family default
\begin_inset Quotes grd
\end_inset
at<61>.
<20>o teraz? M<><4D>ete pre ka<6B>d<EFBFBD> vytvori<72> konfigura<72>n<EFBFBD> s<>bor! Ak vytvor<6F>te s<>bor
\begin_inset Quotes gld
\end_inset
\family typewriter
config.ljfour
\family default
\begin_inset Quotes grd
\end_inset
,
\family typewriter
dvips
\family default
potom rozpozn<7A> parameter
\family typewriter
-Pljfour
\family default
.
M<><4D>ete pou<6F>i<EFBFBD> <20>ubovo<76>n<EFBFBD> po<70>et konfigura<72>n<EFBFBD>ch s<>borov, ka<6B>d<EFBFBD> pre in<69> tla<6C>iare<72>.
<20>tandardn<64> tla<6C>iare<72> pre LyX m<><6D>e by<62> <20>pecifikovan<61> v
\family typewriter
lyxrc
\family default
.
<20>iadan<61> tal<61>iare<72> si m<><6D>ete vybra<72> aj priamo z LyXu, ako je to pop<6F>san<61>
v neskor<6F>ej sekcii.
\layout Subsection
\family typewriter
ghostscript
\layout Standard
Ak si mysl<73>te, <20>e cel<65> ten nezmysel okolo konfigura<72>n<EFBFBD>ch s<>borov pre
\family typewriter
dvips
\family default
je zm<7A>tok,
\family typewriter
ghostscript
\family default
budete ma<6D> radi.
\layout Standard
Teraz zl<7A> spr<70>vy: ak va<76>a tla<6C>iare<72> nerozumie PostScriptu, budete musie<69>
pou<6F><75>va<76>
\family typewriter
ghostscript
\family default
ako filter pre v<><76> mana<6E><61>r tla<6C>e.
Toto je pop<6F>san<61> vo viacer<65>ch HOWTO a mau<61>loch.
My tie<69> o tomto nie<69>o povieme v jednej sekcii.
\layout Standard
Niektor<EFBFBD> <20>udia neradi pou<6F><75>vaj<61>
\family typewriter
dvips
\family default
v kombin<69>cii s
\family typewriter
ghostscript
\family default
om.
Alternat<61>va je pou<6F>i<EFBFBD> program, ktor<6F> konvertuje
\family typewriter
dvi
\family default
s<>bor priamo do jazyka va<76>ej tla<6C>iarne.
Tento program tie<69> m<><6D>ete ur<75>i<EFBFBD> v
\family typewriter
lyxrc
\family default
.
T<>to met<65>da m<> ale jedu nev<65>hodu.
Do dokumentu nem<65><6D>ete vlo<6C>i<EFBFBD> <20>iadny PostScriptov<6F> s<>bor, ako napr<70>klad
obr<62>zok, preto<74>e konvertory <20>pecifick<63> pre ur<75>it<69> tla<6C>iare<72> nepoznaj<61> PostScrip
t.
K<>li tomuto LyX t<>m doporu<72>uje na tla<6C> po<70><6F>va<76>
\family typewriter
dvips
\family default
a
\family typewriter
ghostscript
\family default
.
\layout Subsection
\family typewriter
xdvi
\family default
a
\family typewriter
ghostview
\layout Standard
Tieto dva programy s<> prehliada<64>e.
\family typewriter
xdvi
\family default
sa star<61> o
\family typewriter
.dvi
\family default
s<>bory a
\family typewriter
ghostview
\family default
spolu s
\family typewriter
ghostscript
\family default
om v<>m dovo<76>uje prezera<72> PostScriptov<6F> s<>bory.
\layout Standard
O nich len v r<>chlosti.
Oba programy automaticky obnovia v<>stup, ak pre\SpecialChar \-
ze\SpecialChar \-
ran<EFBFBD> s<>bor
\begin_inset Foot
collapsed true
\layout Standard
To znamen<65>
\family typewriter
.dvi
\family default
alebo
\family typewriter
.ps
\family default
s<>bor a nie s<>bory, z ktor<6F>ch sa tieto vytv<74>raj<61>.
\end_inset
bol zmenen<65>.
Tie<69> m<><6D>ete obnovova<76> manu<6E>lne.
Tak<61>e ak raz otvor<6F>te jeden z t<>chto prezera<72>ov, nie je d<>vod ich zatv<74>ra<72>.
A oba programy maj<61> rovnak<61> funkcie.
\layout Standard
LyX t<>m doporu<72>uje pou<6F><75>va<76>
\family typewriter
xdvi
\family default
na dola<6C>ovanie dokumentov.
Pre<72>o? Je r<>chlej<65><6A>: m<> o jednu vec na pr<70>ci menej predt<64>m ako m<><6D>ete prezrie<69>
dokument.
Tu je pr<70>klad:
\layout Enumerate
Pomocou
\family typewriter
xdvi
\family default
si pozrite s<>bor a
\family typewriter
xdvi
\family default
nechajte be<62>a<EFBFBD>.
\layout Enumerate
V dokumente urobte zmeny.
\layout Enumerate
Na prezretie zmien pou<6F>ite pr<70>kaz
\family sans
Aktualizova<EFBFBD> DVI
\family default
z menu
\family sans
S<EFBFBD>bor->N<>h<EFBFBD>ad
\family default
.
Ke<4B> je LaTeX hotov<6F>, kliknite na okno
\family typewriter
xdvi
\family default
a voil<69>!
\family typewriter
xdvi
\family default
sa aktualizovalo.
\layout Standard
Toto neznamen<65>, <20>e
\family typewriter
ghostscript
\family default
je neu<65>ito<74>n<EFBFBD>.
Je lep<65><70> na pr<70>pady, kde
\emph on
mus<EFBFBD>te
\emph toggle
prezera<72> PostScriptov<6F> s<>bory.
Pre opakovan<61> zmeny, ktor<6F> nez<65>visia na PostScripte, bude lep<65>ie prezeranie
dokumentu cez
\family typewriter
xdvi
\family default
.
\layout Section
Tla<EFBFBD>iare<EFBFBD>
\layout Standard
Ka<EFBFBD>d<EFBFBD>, kdo pracuje vo ve<76>kom syst<73>me by tu nemal ma<6D> probl<62>my.
V<><56> administr<74>tor (alebo vy, ak ste administr<74>tor) by u<> mal tla<6C>iarne
pre v<>s nastavi<76>.
V<>etko <20>o potrebujete urobi<62> je zisti<74> meno va<76>ej tla<6C>iarne a konfigurov<6F>
s<>bor
\family typewriter
lyxrc
\family default
.
\layout Standard
Av<EFBFBD>ak t<>, ktor<6F> pou<6F><75>vaj<61> Linux, bud<75> ma<6D> trochu viac pr<70>ce.
Ve<56>a <20>ud<75> obdr<64><72> distrib<69>ciu Linuxu, ako napr<70>klad Red Hat alebo Slackware
na CD-ROM.
Pod<6F>a in<69>trukci<63> Linux nain<69>taluj<75> s rozbehn<68>, ale nikdy nezistia, <20>e potrebuj<75>
nastavi<76> tla<6C>iare<72>.
Ak ste nikdy nevideli s<>bor
\family typewriter
/etc/printcap,
\family default
potrebujete si tal<61>iare<72> nastavi<76>.
Nap<61>sali sme nie<69>o, aby sme v<>m s t<>m pomohli.
Pre<72><65>tajte si kapitolu
\begin_inset Quotes gld
\end_inset
\emph on
Sprievodca tla<6C>iar<61>ou
\emph toggle
\begin_inset Quotes grd
\end_inset
(
\emph on
A\SpecialChar ~
Printer\SpecialChar ~
Tutorial
\emph toggle
) v manu<6E>le
\emph on
Prisp<EFBFBD>sobenie
\emph toggle
.
\layout Chapter
Z<EFBFBD>klady LyXu
\layout Section
Typy dokumentov
\layout Subsection
Predstavenie
\layout Standard
Predt<EFBFBD>m ako budete robi<62> <20>oko<6B>vek in<69>, predt<64>m ako za<7A>nete p<>sa<73> dokument,
mus<75>te sa rozhodn<64><6E>, ak<61>
\emph on
typ
\emph toggle
dokumentu to m<> by<62>.
R<>zne dokumenty pou<6F><75>vaj<61> r<>zne riadkovanie, titulky, <20><>slovanie, sch<63>my
a tak <20>alej.
<20>alej r<>zne dokumenty pou<6F><75>vaj<61> r<>zne prostredia odsekov, a r<>zne form<72>tuj<75>
n<>zov dokumentu.
\layout Standard
\emph on
Trieda dokumentu
\emph toggle
popisuje skupinu vlastnost<73> be<62>n<EFBFBD>ch pre ur<75>it<69> typ dokumentu.
Nastaven<65>m triedy dokumentu automaticky nastavujete tieto vlastnosti, <20>o
v<>m u<>ah<61>uje tvorbu dokumentu typu, ktor<6F> chcete.
Ak nevyberiete triedu dokumentu, LyX za v<>s jednu <20>tandardne vyberie.
Tak<61>e potom je na v<>s, aby ste zmenili triedu dokumentu.
\layout Standard
O triedach dokumentov ktor<6F> si v LyXe m<><6D>ete vybra<72> a o doladeniach niektor<6F>ch
ich vlastnost<73> sa do<64><6F>tate <20>alej.
\layout Subsection
\begin_inset LatexCommand \label{sec: dok-triedy}
\end_inset
R<EFBFBD>zne triedy dokumentov
\layout Subsubsection
Preh<EFBFBD>ad
\layout Standard
P<EFBFBD><EFBFBD> <20>tandardn<64>ch tried dokumentov v LyXe je:
\layout Description
Article pre z<>kladn<64> <20>l<EFBFBD>nok.
\layout Description
Report pre z<>kladn<64> spr<70>vu.
\layout Description
Book pre p<>sanie kn<6B>h.
\layout Description
Letter pre listy (US <20>t<EFBFBD>l).
\layout Description
Slides pou<6F><75>van<61> na tvorbu f<>li<6C>.
\layout Standard
<EFBFBD>alej s<> nejak<61> ne<6E>tandardn<64> triedy, ktor<6F> LyX pou<6F><75>va, ak m<>te nastaven<65>
LaTeX tak, <20>e ich podporuje:
\layout Description
Aapaper Novinov<6F> <20>l<EFBFBD>nky <20>t<EFBFBD>lu a form<72>tu pou<6F><75>vanom v Astron<6F>mii a Astrofyzike.
\layout Description
Amsart Novinov<6F> <20>l<EFBFBD>nky v <20>t<EFBFBD>le a form<72>te pou<6F><75>vanom AMS (Americk<63> Ma\SpecialChar \-
te\SpecialChar \-
matick<EFBFBD>
Spolo<6C>nos<6F>).
S<> dostupn<70> tri typy
\begin_inset Quotes gld
\end_inset
amsartov
\begin_inset Quotes grd
\end_inset
.
\layout Description
Amsbook Kniha v <20>t<EFBFBD>le a form<72>te pou<6F><75>vanom AMS.
\layout Description
Dinbrief F<>r Briefe nach deutcher Art.
\layout Description
Foils Pou<6F><75>va sa na robenie f<>li<6C> a je lep<65><70> ako slides.
\layout Description
Iletter Per lettere all` italiana.
\layout Description
Linuxdoc Pou<6F><75>va sa s bal<61>kom n<>strojov SGML (p<>vodne zn<7A>mom ako LinuxDoc).
Dovo<76>uje LyXu robi<62> SGML v<>stupy.
SGML je markup jazyk a je predchodca HTML.
Bal<61>k SGML v<>m umo<6D><6F>uje konvertova<76> SGML na HTML alebo do form<72>tu
\family typewriter
man
\family default
str<74>nok.
\layout Description
Paper Na pou<6F>itie s LaTeXovou triedou dokumetov
\family typewriter
paper
\family default
(nie je vo v<>etk<74>ch distrib<69>cia<69>ch LaTeXu).
\layout Description
Revtex Pou<6F><75>va sa na p<>sanie <20>l<EFBFBD>nkov pre publik<69>cie Americkej Fyzik<69>lnej
Spolo<6C>nosti (American Physical Society - APS), Americk<63>ho In<49>tit<69>tu Fyziky
(American Institute of Physics - AIP) a Optickej spolo<6C>nosti Ameriky (Optical
Society of America - OSA).
T<>to trieda nie je <20>pln<6C> kompatibiln<6C> so v<>etk<74>mi vlastnos<6F>ami LyXu.
\layout Standard
Nebudeme sa tu zaobera<72> detailmi, ako pou<6F><75>va<76> r<>zne triedy dokumentov.
V<>etko poterebn<62> o ne<6E>tandardn<64>ch triedach n<>jdete v manu<6E>le
\emph on
<EFBFBD>al<EFBFBD>ie mo<6D>nosti edit<69>cie
\emph toggle
.
Tu sa zameriame len na zoznam niektor<6F>ch spolo<6C>n<EFBFBD>ch vlastnost<73> v<>etk<74>ch
tried dokumentov.
\layout Subsubsection
Vybratie triedy
\layout Standard
Triedu si m<><6D>ete ur<75>i<EFBFBD> dial<61>gom
\family sans
Rozlo<EFBFBD>enie dokumentu
\family default
, pr<70>kazom
\family sans
Rozlo<EFBFBD>enie->Dokument
\family default
.
Potom v listboxe
\family sans
Trieda
\family default
vyberte po<70>adovan<61> triedu.
\layout Standard
Potom, <20>o ste si zvolili triedu, LyX sa v<>s op<6F>ta, <20>i m<> nastavi<76> preddefinovan<61>
parametre danej triedy pre <20>t<EFBFBD>l str<74>nky, st<73>pce\SpecialChar \ldots{}
M<><4D>ete k<>udne stla<6C>i<EFBFBD>
\family sans
<EFBFBD>no
\family default
.
Ak sa lep<65>ie pozriete na dial<61>g
\family sans
Rozlo<EFBFBD>enie dokumentu
\family default
, v<>imnete si, <20>e v<>etky tieto vlastnosti s<> tam, tak<61>e v<>dy si ich m<><6D>ete
vyladi<64> pod<6F>a seba.
\layout Subsubsection
Vlastnosti
\layout Standard
V pr<70>pade, <20>e sa <20>udjete, <20>o tie
\begin_inset Quotes gld
\end_inset
preddefinovan<EFBFBD> hodnoty
\begin_inset Quotes grd
\end_inset
pre ka<6B>d<EFBFBD> triedu s<>, tu je jednoduch<63> tabu<62>ka, ktor<6F> ich popisuje.
\layout Standard
\added_space_top 0.3cm \added_space_bottom 0.3cm \align center
\begin_inset Tabular
<lyxtabular version="3" rows="11" columns="5">
<features>
<column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
<column alignment="center" valignment="top" leftline="true" width="0pt">
<column alignment="center" valignment="top" leftline="true" width="0pt">
<column alignment="center" valignment="top" leftline="true" width="0pt">
<column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
<EFBFBD>t<EFBFBD>l strany
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Strany
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
St<EFBFBD>pce
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
Max.
<20>rove<76> sekcie
\end_inset
</cell>
</row>
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
article
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Plain
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Jedna
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Jeden
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Section
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
report
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Plain
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Jedna
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Jeden
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Chapter
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
book
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Headings
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Dve
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Jeden
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Chapter
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
letter
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Plain
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Jedna
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Jeden
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
none
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
linuxdoc
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Plain
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Jedna
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Jeden
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Section
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
aapaper
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Plain
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Dve
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Dva
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Section
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
amsart
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Headings
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Jedna
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Jeden
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Section
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
dinbrief
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Plain
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Jedna
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Jeden
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
none
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
iletter
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Plain
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Jedna
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Jeden
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
none
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
paper
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Headings
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Jedna
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Jeden
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
Section
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\layout Standard
Pre tieto triedy nie je <20>iadna preddefinovan<61> hodnota pre
\family sans
Extra parametre
\family default
.
\layout Standard
Tie<EFBFBD> sa asi div<69>te, <20>o znamen<65>
\begin_inset Quotes gld
\end_inset
Max.
<20>rove<76> sekcie
\begin_inset Quotes grd
\end_inset
.
Je nieko<6B>ko prostred<65> odsekov, ktor<6F> vytv<74>raj<61> n<>zvy sekci<63>.
R<>zne triedy dokumentov povo<76>uj<75> r<>zne typy n<>zvov sekci<63>.
Len dve pou<6F><75>vaj<61> n<>zov
\family sans
Chapter
\family default
(Kapitola): ostatn<74> za<7A><61>naj<61> s n<>zvom
\family sans
Section
\family default
(Sekcia).
Niektor<6F> triedy dokumentov, ako napr<70>klad listy, nepou<6F><75>vaj<61> <20>iadne n<>zvy
sekci<63>.
Okrem n<>zvov
\family sans
Chapter
\family default
a
\family sans
Section
\family default
, s<> e<>te <20>al<61>ie n<>zvy, ako napr<70>klad
\family sans
Subsection
\family default
(podsekcia) a
\family sans
Subsubsection
\family default
(podpodsekcia) a tak <20>alej.
Tieto n<>zvy plne pop<6F><70>eme v sekcii
\begin_inset LatexCommand \ref{sec: odsek-prostr-titulky}
\end_inset
.
\layout Subsection
Dola<EFBFBD>ovanie preddefinovan<61>ch hodn<64>t
\layout Standard
V poriadku, vieme, <20>e sme v<>m nikdy nepovedali, <20>o v<><76><EFBFBD>ina t<>chto
\begin_inset Quotes gld
\end_inset
preddefinovan<EFBFBD>ch hodn<64>t
\begin_inset Quotes grd
\end_inset
nastaven<65>ch typom triedy dokumentu znamen<65>.
Toto popisuje t<>to sekcia.
\layout List
\labelwidthstring 00.00.0000
\family sans
<EFBFBD>t<EFBFBD>l\SpecialChar ~
strany
\family default
Je to zoznam, obsahuj<75>ci p<><70> polo<6C>iek.
Ur<55>uje, ak<61> typy titulkov (n<>zvov) a <20><>sla str<74>n id<69> na dan<61> stranu:
\begin_inset Foot
collapsed true
\layout Standard
O toto sa star<61> LaTeX.
\end_inset
\begin_deeper
\layout List
\labelwidthstring 00.00.0000
\family sans
Default
\family default
Pou<6F><75>va <20>tandardn<64> <20>t<EFBFBD>l strany pre dan<61> triedu.
\layout List
\labelwidthstring 00.00.0000
\family sans
Empty
\family default
<20>iadne titulky a <20><>sla str<74>n.
\layout List
\labelwidthstring 00.00.0000
\family sans
Plain
\family default
Iba <20><>sla str<74>n
\layout List
\labelwidthstring 00.00.0000
\family sans
Headings
\family default
<20><>sla str<74>n a n<>zov a <20><>slo aktu<74>lnej bu<62> kapitoly, alebo sekcie.
<20>i LyX pou<6F>ije aktu<74>lnu kapitolu alebo sekciu z<>vis<69> na tom, <20>o je maxim<69>lna
<20>rove<76> sekcie.
\layout List
\labelwidthstring 00.00.0000
\family sans
Fancy
\family default
Dovo<76>uje v<>m vytv<74>ra<72> plne prisp<73>sobite<74>n<EFBFBD> hlavi<76>ky a p<>ty dokumentov,
ak m<>te main<69>talovan<61> bal<61>k
\family sans
fancyhdr
\family default
.
Moment<6E>lne podpora v LyXe je limitovan<61> na toto nastavenie.
Aby ste vyu<79>ili cel<65> silu tohto bal<61>ka, mus<75>te p<>sa<73> k<>d do preambuly.
Pre viac inform<72>ci<63> o
\family sans
fancyhdr
\family default
si pozrite dokument<6E>ciu k tomuto bal<61>ku.
\end_deeper
\layout List
\labelwidthstring 00.00.0000
\family sans
Strany
\family default
Nie.
LyX nem<65><6D>e prin<69>ti<74> tla<6C>iare<72> aby tla<6C>ila na obe strany papiera! Av<41>ak
m<><6D>e pou<6F><75>va<76> r<>zny form<72>t pre p<>rne a nep<65>rne strany.
\begin_deeper
\layout Standard
S<EFBFBD> tu dva prep<65>na<6E>e:
\family sans
1
\family default
- pre jednostrann<6E> dokument,
\family sans
2
\family default
- pre dvojstrann<6E> dokument.
\end_deeper
\layout List
\labelwidthstring 00.00.0000
\family sans
St<EFBFBD>pce
\family default
Toto ovl<76>da, ko<6B>ko st<73>pcov m<> ka<6B>d<EFBFBD> strana.
M<><4D>ete si vybra<72> 1 alebo 2 st<73>pce.
\begin_deeper
\layout Standard
V<EFBFBD>imnite si, <20>e LyX na obrazovke nezobraz<61> dva st<73>pce.
Je to nepraktick<63>, <20>asto ne<6E>itate<74>n<EFBFBD> a nie je to pod<6F>a konceptu WYSIWYM.
Av<41>ak vo vygenerovanom v<>stupe
\emph on
bud<EFBFBD>
\emph toggle
dva st<73>pce.
\end_deeper
\layout List
\labelwidthstring 00.00.0000
\family sans
Extra\SpecialChar ~
parametre
\family default
LaTeXov<6F> pr<70>kaz
\family typewriter
\backslash
documentclass
\family default
prij<69>ma nieko<6B>ko parametrov.
LyX niektor<6F> nastav<61> automaticky.
Toto textov<6F> pole v<>m umo<6D>n<EFBFBD> zada<64> <20>al<61>ie.
Jednoducho ich vp<76><70>te oddelen<65> <20>iarkami.
Ak<41> parametre m<><6D>ete pou<6F><75>va<76>, si pre<72><65>tajte v nejakej dobrej knihe o LaTeXu.
\layout Subsection
Ve<EFBFBD>kos<EFBFBD> papiera, orient<6E>cia a okraje
\layout Standard
Je e<>te nieko<6B>ko vlastnost<73>, ktor<6F> sa nastavuj<75> v dial<61>gu
\family sans
Rozlo<EFBFBD>enie dokumentu
\family default
.
V<>etky s<> glob<6F>lne parametre, ale maj<61> <20>peci<63>lny v<>znam a t<>kaj<61> sa len
ur<75>it<69>ch vlastnost<73> dokumentu.
Tieto parametre pop<6F><70>eme v sekcii, ktor<6F> popisuje vlastnosti, ktor<6F>ch sa
t<>kaj<61>.
\layout Standard
S<EFBFBD> e<>te dve vlastnosti, ktor<6F> ovplyv<79>uj<75> cel<65> dokument, tak<61>e ich pop<6F><70>eme
tu.
N<>jdete ich v dial<61>gu
\family sans
Konfigurova<EFBFBD> form<72>t papiera
\family default
v menu
\family sans
\bar under
R
\bar default
ozlo<EFBFBD>enie->
\bar under
P
\bar default
apier
\family default
:
\layout List
\labelwidthstring 00.00.0000
\family sans
Orient<EFBFBD>cia
\family default
Dva prep<65>na<6E>e ur<75>uj<75>, <20>i v<>stup bude vytla<6C>en<65> ako
\family sans
Portr<EFBFBD>t
\family default
(na v<><76>ku) alebo ako
\family sans
Krajinka
\family default
(na <20><>rku).
\layout List
\labelwidthstring 00.00.0000
\family sans
Ve<EFBFBD>kos<EFBFBD>\SpecialChar ~
papiera
\family default
Na ak<61> ve<76>k<EFBFBD> papier sa bude tla<6C>i<EFBFBD>.
Mo<4D>nosti s<>:
\begin_deeper
\layout Itemize
\family sans
Default
\layout Itemize
\family sans
A3
\family default
,
\family sans
A4
\family default
,
\family sans
A5
\layout Itemize
\family sans
B3
\family default
,
\family sans
B4
\family default
,
\family sans
B5
\layout Itemize
\family sans
US letter
\layout Itemize
\family sans
US legal
\layout Itemize
\family sans
US executive
\layout Itemize
\family sans
Custom
\end_deeper
\layout Standard
Niektor<EFBFBD> z t<>chto nastaven<65> bud<75> vy<76>adova<76> nain<69>talovan<61> bal<61>k
\family sans
geometry
\family default
.
Tento bal<61>k v<>m umo<6D>n<EFBFBD> nastavi<76> si okraje v dial<61>gu
\family sans
Konfigurova<EFBFBD> form<72>t papiera
\family default
.
\layout Subsection
D<EFBFBD>le<EFBFBD>it<EFBFBD> pozn<7A>mky:
\layout Standard
Ak zmen<65>te triedu dokumentu, LyX mus<75> konvertova<76>
\emph on
v<EFBFBD>etko
\emph toggle
na nov<6F> triedu.
Vr<56>tane prostred<65> odsekov.
Niektor<6F> prostredia s<> <20>tandardn<64>; maj<61> ich v<>etky triedy, ale niektor<6F>
triedy maj<61> <20>peci<63>lne prostredia.
Ak v takomto pr<70>pade zmen<65>te triedu dokumentu, LyX ch<63>baj<61>ce prostredia
zmen<65> na Standard a na za<7A>iatok okdesku vlo<6C><6F> chybov<6F> hl<68><6C>ku.
Kliknut<75>m na <20>u otvor<6F>te okienko s popisom chyby, ktor<6F> hovor<6F> o konverzii
a pre<72>o nebola <20>spe<70>n<EFBFBD>.
\layout Section
Zarovnanie a odde<64>ovanie odsekov
\layout Subsection
Predstavenie
\layout Standard
\begin_inset LatexCommand \label{sec: odsek-zarovnanie}
\end_inset
Predt<EFBFBD>m, ako pop<6F><70>eme prostredia odsekov, radi by sme povedali p<>r slov
o ich zarovnan<61>.
\layout Standard
Zd<EFBFBD> sa, <20>e ka<6B>d<EFBFBD> m<> svoje vlastn<74> konvencie ako odde<64>ova<76> osdeky.
V<><56><EFBFBD>ina ameri<72>anov odsadzuje prv<72> riadok odseku.
In<49> neodsadzuj<75>, ale medzi odseky d<>vaj<61> pr<70>zdne miesta.
LyX pou<6F><75>va rovnak<61> konvencie, ak<61> n<>jdete medzi typografmi.
\emph on
Prv<EFBFBD>
\emph toggle
odsek v sekcii, alebo za obr<62>zkom, rovnicou, tabu<62>kou, zoznamom at<61>.,
\emph on
nie je
\emph toggle
odsaden<65>.
Len <20>al<61>ie odseky sa odsadzuj<75>.
Toto niektor<6F> <20>udia nemaj<61> radi, ale ak chcete pou<6F><75>va<76> odsaden<65> odseky,
mus<75>te sa s t<>m nau<61>i<EFBFBD> <20>i<EFBFBD>.
\emph default
\begin_inset Foot
collapsed true
\layout Standard
Existuje sp<73>sob, ako prin<69>ti<74> LaTeX aby odsadzoval v<>etky odseky.
LyX v<>m to samozrejme nezobraz<61>, ale LaTeX to tak vytla<6C><61>.
Mus<75>te ma<6D> zvl<76><6C>tny bal<61>k, a do preambuly vlo<6C>i<EFBFBD> pr<70>slu<6C>n<EFBFBD> pr<70>kaz.
\end_inset
\layout Standard
Medzera medzi odsekmi, tak isto ako medzery medzi riadkami, medzi titulkom
a textom -- v podstate v<>etky medzery -- s<> v LyXe prednastaven<65>.
Ako sme hovorili, nemus<75>te sa stara<72> o to ak<61> medzeru da<64> medzi <20>o.
O to sa star<61> LyX.
Toto preddefinovan<61> vertik<69>lne
\begin_inset Quotes gld
\end_inset
medzerovanie
\begin_inset Quotes grd
\end_inset
nie s<> <20><>sla, ale rozsahy.
Takto m<><6D>e LyX stla<6C>i<EFBFBD>, alebo roztiahn<68><6E> medzery medzi riadkami, aby sa
obr<62>zok vo<76>iel na str<74>nku spolu s textom, aby sekcia neza<7A><61>nala na spodu
str<74>nky a tak <20>alej.
\begin_inset Foot
collapsed true
\layout Standard
V skuto<74>nosti to rob<6F> LaTeX, ke<6B> LyX produkuje v<>stup.
\end_inset
Ale to <20>e s<> preddefinovan<61> neznamen<65>, <20>e ich nem<65><6D>ete zmeni<6E>.
LyX v<>m d<>va mo<6D>nos<6F> glob<6F>lne zmeni<6E>
\emph on
v<EFBFBD>etky
\emph toggle
tieto preddefinovan<61> medzery.
Viac v<>m vysvetl<74>me nesk<73>r.
\layout Subsection
Glob<EFBFBD>lna zmena odsadenia
\layout Standard
<EFBFBD>tandardn<EFBFBD> met<65>du odsadzovania odsekov si m<><6D>ete vybra<72> v dial<61>gu
\family sans
Rozlo<EFBFBD>enie\SpecialChar ~
dokumentu
\family default
.
V <20>asti
\family sans
Oddelenie
\family default
si vyberte
\family sans
Odsadenie
\family default
-- norm<72>lne odsadzovanie prv<72>ho riadku odseku a
\family sans
Medzera
\family default
-- medzi odseky vklad<61> extra medzeru (prv<72> riadok neodsadzuje).
\layout Subsection
Dola<EFBFBD>ovanie
\layout Standard
Odsadenie odseku m<><6D>ete zmeni<6E> aj pre samosatn<74> odsek.
Vyberte pr<70>kaz
\family sans
Odstavec
\family default
z menu
\family sans
Rozlo<EFBFBD>enie
\family default
a otvor<6F> sa v<>m dial<61>g
\family sans
Prostredie odstavca
\family default
.
Prepnut<75>m tla<6C><61>tka
\family sans
Neodsadi<EFBFBD>
\family default
zmen<65>te aktu<74>lne odsadenie odseku.
Ak je odsek <20>tandardne odsaden<65>, tento prep<65>na<6E> bude vypnut<75>.
Ak odsek nie je odsaden<65>, ale na oddelenie pou<6F><75>va extra medzeru, prep<65>na<6E>
bude <20>tandardne zapnut<75>.
\layout Standard
Zmenu odsadenia pre jednotliv<69> odsek by ste mali pou<6F><75>va<76> len ak potrebujete
dola<6C>i<EFBFBD> dokument.
Typicky si odsadenie nastav<61>te pre cel<65> dokument a potom u<> len p<><70>ete.
\layout Subsection
Zmena riadkovania
\layout Standard
V
\family sans
Rozlo<EFBFBD>en<EFBFBD> dokumentu
\family default
si m<><6D>ete nastavi<76> riadkovanie (
\family sans
Medzerovanie
\family default
), ak m<>te nain<69>talovan<61> bal<61>k
\family sans
setspace
\family default
.
\layout Section
Prostredia odsekov
\begin_inset LatexCommand \label{sec: odsek-prostredia}
\end_inset
\layout Subsection
Preh<EFBFBD>ad
\layout Standard
Prostredia odsekov kore<72>ponduj<75> s pr<70>kazmi
\family typewriter
\backslash
begin{
\family default
\emph on
prostredie
\family typewriter
\emph toggle
} ...
\backslash
end{
\family default
\emph on
pros\SpecialChar \-
tre\SpecialChar \-
die
\family typewriter
\emph toggle
}
\family default
v be<62>nom LaTeX s<>bore.
Ak LaTeX nepozn<7A>te, alebo prostredia odsekov s<> v<>m <20>plne nezn<7A>me, doporu<72>ujeme
v<>m pre<72><65>ta<74> si
\emph on
Sprievodcu
\emph toggle
.
Ten tie<69> obsahuje viac pr<70>kladov ako t<>to sekcia.
\layout Standard
Prostredie odseku je jednoducho
\begin_inset Quotes gld
\end_inset
obal
\begin_inset Quotes grd
\end_inset
pre odsek, ktor<6F> tomuto odseku d<>va ur<75>it<69> vlastnosti.
Toto m<><6D>e zahr<68>ova<76> <20>t<EFBFBD>l p<>sma, r<>zne okraje, <20><>slovanie, popisky a tak
<20>alej.
R<>zne prostredia m<><6D>ete do seba
\begin_inset Quotes gld
\end_inset
vn<EFBFBD>ra<EFBFBD>
\begin_inset Quotes grd
\end_inset
, <20>o dovo<76>uje jedn<64>mu prostrediu dedi<64> nejak<61> vlastnosti od in<69>ho prostredia.
R<>zne prostredia odsekov <20>plne nahr<68>dzaj<61> potrebu tabul<75>torov, nastavovania
okrajov po<70>as pr<70>ce a in<69>ch vec<65> z d<>b p<>sac<61>ch strojov.
Je nieko<6B>ko prostred<65>, ktor<6F> s<> <20>pecifick<63> pre ur<75>it<69> typ dokumentu.
Tu sa budeme zaobera<72> len t<>mi najbe<62>nej<65><6A>mi.
\layout Standard
Aby ste si vybrali prostedie, pou<6F>ite rozba<62>ovacie menu na <20>avom kraji n<>strojov
ej li<6C>ty.
LyX zmen<65> prostredie
\emph on
cel<EFBFBD>ho
\emph toggle
odseku, v ktorom sa nach<63>dza kurzor.
Taktie<69> m<><6D>ete zmeni<6E> prostredie skupiny odsekov, ak ich predt<64>m ozna<6E><61>te.
\layout Standard
V<EFBFBD>imnite si, <20>e stal<61>enie kl<6B>vesy
\family sans
Enter
\family default
,
\emph on
typicky
\emph toggle
vytvor<6F> nov<6F> odsek s pros\SpecialChar \-
tre\SpecialChar \-
d<EFBFBD>m Standard.
Hovor<6F>me
\begin_inset Quotes gld
\end_inset
typicky
\begin_inset Quotes grd
\end_inset
, preto<74>e nie je to v<>dy tak.
\emph default
\begin_inset Foot
collapsed true
\layout Standard
Ak ste v niektorom z t<>chto prostred<65>:
\layout Standard
\begin_inset ERT
status Collapsed
\layout Standard
\backslash
vspace{-2ex}
\backslash
parbox[t]{3cm}{
\end_inset
\layout Itemize
\family sans
Quote
\layout Itemize
\family sans
Quotation
\layout Standard
\family sans
\begin_inset ERT
status Collapsed
\layout Standard
}
\backslash
parbox[t]{3cm}{
\end_inset
\layout Itemize
\family sans
Verse
\layout Itemize
\family sans
Itemize
\layout Standard
\family sans
\begin_inset ERT
status Collapsed
\layout Standard
}
\backslash
parbox[t]{3cm}{
\end_inset
\layout Itemize
\family sans
Enumerate
\layout Itemize
\family sans
Description
\layout Standard
\family sans
\begin_inset ERT
status Collapsed
\layout Standard
}
\backslash
parbox[t]{3cm}{
\end_inset
\layout Itemize
\family sans
List
\layout Standard
\family sans
\begin_inset ERT
status Collapsed
\layout Standard
}
\end_inset
\layout Standard
LyX pri stla<6C>en<65>
\family sans
Enteru
\family default
nech<63> nastaven<65> star<61> typ prostredia.
Av<41>ak LyX v<>dy znovu nastav<61> h<>bku vnoren<65>ho prostredia na najvy<76><79>iu <20>rove<76>.
\end_inset
Oby<62>ajne, pri za<7A>at<61> nov<6F>h odseku, LyX nastav<61> prostredie, aj h<>bku vnoren<65>ho
odseku (viac o vn<76>ran<61> je v sekcii
\begin_inset LatexCommand \ref{sec: vnaranie}
\end_inset
).
Av<41>ak niekedy LyX ponech<63> nastaven<65> star<61> prostredie.
Toto v<>etko z<>vis<69> od kontextu, tak<61>e bude lep<65>ie, ak budete o<>ak<61>va<76>,
<20>e
\family sans
Enter
\family default
nastav<61> prostredie odseku a aj jeho h<>bku.
Ak chcete za<7A>a<EFBFBD> nov<6F> odsek s aktu<74>lnym prostred<65>m, pou<6F>ite
\family sans
M-Enter
\family default
.
\begin_inset Foot
collapsed true
\layout Standard
Vyvol<EFBFBD> to funkciu
\family typewriter
break-paragraph-keep-layout
\family default
.
\end_inset
\layout Subsection
\family sans
Standard
\layout Standard
Toto je predvolen<65> prostredie odseku.
Vytv<74>ra <20>ist<73> odsek.
Ak LyX nastavuje prostredie odseku, nastavuje toto.
V podstate odsek, ktor<6F> pr<70>ve <20><>tate (a v<><76><EFBFBD>ina odsekov v tomto manu<6E>le)
m<> prostredie
\family sans
Standard
\family default
.
\layout Standard
Odseky s prostred<65>m
\family sans
Standad
\family default
m<><6D>ete do seba vn<76>ra<72>, ale v skuto<74>nosti nem<65><6D>ete vnori<72> ni<6E> do prostredia
\family sans
Standard
\family default
.
\layout Subsection
Tituln<EFBFBD> strany dokumentov
\layout Standard
LaTeXov<EFBFBD> tituln<6C> strana m<> tri <20>asti: samotn<74> n<>zov dokumentu, meno(<28>) autora(ov
) a
\begin_inset Quotes gld
\end_inset
p<EFBFBD>tu
\begin_inset Quotes grd
\end_inset
pre po<70>akovanie, alebo kontaktn<74> inform<72>cie.
Pre ur<75>it<69> typy dokumentov, LaTeX toto v<>etko umiest<73> na samostatn<74> stranu,
spolu s aktu<74>lnym d<>tumom.
Pre in<69> typy dokumentu, tituln<6C>
\begin_inset Quotes gld
\end_inset
strana
\begin_inset Quotes grd
\end_inset
ide na vrchol prvej strany v dokumente.
\layout Standard
LyX poskytuje medzi<7A>l<EFBFBD>nok k pr<70>kazom pre tituln<6C> stranu cez prostredia odsekov
\family sans
Title
\family default
,
\family sans
Author
\family default
a
\family sans
Date
\family default
.
Tu je ich pou<6F>itie:
\layout Itemize
Do prostredia
\family sans
Title
\family default
nap<61><70>te n<>zov dokumentu.
\layout Itemize
Do prostredia
\family sans
Author
\family default
nap<61><70>te men<65> autorov.
\layout Itemize
Ak chcete aby d<>tum vyzeral pod<6F>a v<>s, alebo chcete pou<6F>i<EFBFBD> fixn<78> d<>tum,
alebo namiesto d<>tumu chcete ma<6D> text, nap<61><70>te tento text do prostredia
\family sans
Date
\family default
.
Pou<6F>itie tohto prostrdeia je nepovinn<6E>.
Ak ho neposkytnete, LaTeX automaticky vlo<6C><6F> aktu<74>lny d<>tum.
\layout Standard
Toto urobte na za<7A>iatku dokumentu.
Na vlo<6C>enie po<70>akovan<61> alebo kontaktn<74>ch ionform<72>ci<63> pou<6F>ite p<>tu.
\layout Subsection
N<EFBFBD>zvy sekci<63>
\layout Standard
\begin_inset LatexCommand \label{sec: odsek-prostr-titulky}
\end_inset
Je dev<65><76> prostred<65> na vytv<74>ranie n<>zvov sekci<63>.
LyX sa star<61> o <20><>slovanie n<>zvov.
V<>etko, <20>o mus<75>te urobi<62> je rozhodn<64><6E> sa ak<61> n<>zov bude ma<6D> sekcia 3 alebo
kapitola 9.
\layout Subsubsection
<EFBFBD><EFBFBD>slovan<EFBFBD> n<>zvy
\layout Standard
Je <20>es<65> <20><>slovan<61>ch prostred<65> n<>zvov sekci<63>, S<> to:
\layout Enumerate
\family sans
Chapter
\layout Enumerate
\family sans
Section
\layout Enumerate
\family sans
Subsection
\layout Enumerate
\family sans
Subsubsection
\layout Enumerate
\family sans
Paragraph
\layout Enumerate
\family sans
Subparagraph
\layout Standard
LyX ozna<6E><61> ka<6B>d<EFBFBD> n<>zov s<>riou <20><>sel, oddelen<65>ch bodkou.
<20><>slo znamen<65>, kde v dokumente sa nach<63>dzate.
Tieto n<>zvy rozde<64>uj<75> v<><76> dokument na r<>zne <20>asti textu.
Napr<70>klad predpokladajme, <20>e p<><70>ete knihu.
Knihu del<65>te na kapitoly.
LyX rob<6F> podobn<62> delenie:
\layout Itemize
Kapitola (
\family sans
Chapter
\family default
) alebo sekcia (
\family sans
Section
\family default
) je maxim<69>lna <20>rove<76> dokumentu.
\layout Itemize
Kapitoly s<> delen<65> na sekcie,
\layout Itemize
sekcie s<> delen<65> na podsekcie (
\family sans
Subsection
\family default
s),
\layout Itemize
podsekcie s<> delen<65> na podpodsekcie (
\family sans
Subsubsection
\family default
s),
\layout Itemize
podpodsekcie s<> delen<65> na odstavce (
\family sans
Paragraph
\family default
s)
\layout Itemize
a odstavce s<> delen<65> na pododstavce (
\family sans
Subparagraph
\family default
s).
\layout Standard
\emph on
Pozn<EFBFBD>mka:
\emph toggle
nie v<>etky dokumenty pou<6F><75>vaj<61> ako najvy<76><79>iu <20>rove<76> kapitolu.
V tom pr<70>pade je najvy<76><79>ou <20>rov<6F>ou sekcia.
\layout Standard
Tak<EFBFBD>e, ak na n<>zov pou<6F>ijete prostredie
\family sans
Subsubsection
\family default
, LyX ho o<><6F>sluje s jeho <20><>slom a spolu s <20><>slom podsekcie, sekcie a ak
sa d<> aj kapitoly.
Napr<70>klad piata sekcia v druhej kapitole tejto knihy m<> <20><>slo
\begin_inset Quotes gld
\end_inset
2.5
\begin_inset Quotes grd
\end_inset
.
\layout Subsubsection
Ne<EFBFBD><EFBFBD>slovan<EFBFBD> n<>zvy
\layout Standard
S<EFBFBD> tri typy ne<6E><65>slovan<61>ch n<>zvov:
\layout Enumerate
\family sans
Section*
\layout Enumerate
\family sans
Subsection*
\layout Enumerate
\family sans
Subsubsection*
\layout Standard
\begin_inset Quotes gld
\end_inset
*
\begin_inset Quotes grd
\end_inset
pri ka<6B>dom n<>zve znamen<65>, <20>e nie je <20><>slovan<61>.
Inak pracuj<75> rovnako, ako <20><>slovan<61> n<>zvy.
\layout Subsubsection
Zmena <20><>slovania
\layout Standard
Tie<EFBFBD> m<><6D>ete meni<6E>, ktor<6F> <20>rovne nadpisov bud<75> <20><>slovan<61>, a aktor<6F> sa objavia
v obsahu.
Toto neodober<65> jednotliv<69> <20>rovne (prostredia), preto<74>e tie s<> nastaven<65>
v triede dokumentu.
Ur<55>it<69> triedy za<7A><61>naj<61> s prostred<65>m
\family sans
Chapter
\family default
a id<69> nadol k <20>rovni
\family sans
Subparagraph
\family default
.
In<49> za<7A><61>naj<61> s prostred<65>m
\family sans
Section
\family default
.
Podobne, nie v<>etky triedy dokumentov <20><>sluj<75> v<>etky <20>rovne.
V<><56><EFBFBD>ina z nich ne<6E><65>sluje
\family sans
Paragraph
\family default
a
\family sans
Subparagraph
\family default
.
Toto je nie<69>o, <20>o m<><6D>ete zmeni<6E>.
\layout Standard
Otvorte dial<61>g
\family sans
Rozlo<EFBFBD>enie dokumentu
\family default
.
Mali by ste vidie<69>
\begin_inset Quotes gld
\end_inset
posuvn<EFBFBD>k
\begin_inset Quotes grd
\end_inset
, pomenovan<61>
\family sans
H<EFBFBD>bka <20><>slovania odsekov
\family default
.
Ten ur<75>uje, do akej h<>bky v hierarchii <20>rovn<76> LyX <20><>sluje n<>zvy sekci<63>.
Nane<6E><65>astie, <20><>slo, ktor<6F> nastav<61>te je trochu divn<76>, tak<61>e tu je tabu<62>ka
hodn<64>t a <20>o znamenaj<61>.
\layout Standard
\added_space_top 0.3cm \added_space_bottom 0.3cm \align center
\begin_inset Tabular
<lyxtabular version="3" rows="8" columns="2">
<features>
<column alignment="center" valignment="top" leftline="true" width="0pt">
<column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
Hodnota posuvn<76>ka
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
Sekcie, ktor<6F> LyX <20><>sluje
\end_inset
</cell>
</row>
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
-1
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
<EFBFBD>iadne <20><>slovanie
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
0
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
Kapitoly
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
1
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
Kapitoly a<> sekcie
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
2
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
Kapitoly a<> podsekcie
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
3
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
Kapitoly a<> podpodsekcie
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
4
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
Kapitoly a<> odseky
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
5
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
Kapitoly a<> pododseky
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\layout Standard
Samozrejme, <20>e ke<6B> pou<6F><75>vate triedu dokumentu, ktor<6F> nem<65> prostredie kapitola
(
\family sans
Chapter
\family default
), potom <20><>slovanie za<7A><61>na na <20>rovni sekcie (
\family sans
Section
\family default
) a
\begin_inset Quotes gld
\end_inset
0
\begin_inset Quotes grd
\end_inset
tie<69> znamen<65>
\begin_inset Quotes gld
\end_inset
<EFBFBD>iadne <20><>slovanie
\begin_inset Quotes grd
\end_inset
.
\layout Standard
V danom dial<61>gu je e<>te jeden posuvn<76>k, pomenovan<61>
\family sans
H<EFBFBD>bka obsahu
\family default
.
Pracuje rovnako ako predch<63>dzaj<61>ci, ale ur<75>uje, ktor<6F> <20>rovne sekci<63> sa
objavia v obsahu.
Toto je ve<76>mi <20>ikovn<76> vec.
Napr<70>klad ke<6B> chcete <20><>slova<76> v<>etky n<>zvy, ale v obsahu chcete ma<6D> len
kapitoly, sekcie a podsekcie.
Sta<74><61> v<>m nastavi<76> h<>bku <20><>slovania odsekov na
\begin_inset Quotes gld
\end_inset
5
\begin_inset Quotes grd
\end_inset
a h<>bku obsahu na
\begin_inset Quotes gld
\end_inset
2
\begin_inset Quotes grd
\end_inset
.
To je v<>etko.
\layout Subsubsection
<EFBFBD>peci<EFBFBD>lne inform<72>cie
\layout Standard
Tieto inform<72>cie sa t<>kaj<61> v<>etk<74>ch prostred<65> pre nadpisy (<28><>slovan<61>ch aj
ne\SpecialChar \-
<EFBFBD><EFBFBD>s\SpecialChar \-
lo\SpecialChar \-
va\SpecialChar \-
n<EFBFBD>ch):
\layout Itemize
V <20>iadnom z t<>chto prostred<65> nem<65><6D>ete pou<6F>i<EFBFBD> pozn<7A>mku na okraji.
\layout Itemize
M<EFBFBD><EFBFBD>ete v nich pou<6F><75>va<76> riadkov<6F> (inline) matematiku.
\layout Itemize
S t<>mito prostrediami nem<65><6D>ete robi<62> <20>iadne vn<76>ranie.
\layout Itemize
M<EFBFBD><EFBFBD>ete pou<6F><75>va<76> n<>vestia a krosreferencie, ako odkazy na ich <20><>sla.
\layout Standard
Ako pr<70>klad na tieto prostredia sa poobzerajte okolo v tomto dokumente.
Po\SpecialChar \-
u\SpecialChar \-
<EFBFBD><EFBFBD>\SpecialChar \-
va\SpecialChar \-
me ich v<>ade vo v<>etk<74>ch manu<6E>loch.
\layout Subsection
Cit<EFBFBD>ty a po<70>zia
\layout Standard
LyX m<> tri prostredia odsekov na p<>sanie po<70>zie a cit<69>tov.
S<> to
\family sans
Quote
\family default
,
\family sans
Quotation
\family default
a
\family sans
Verse
\family default
.
Zabudnite na dni menenia riadkovania a hrania sa s okrajmi.
Tieto tri prostredia to v<>etko maj<61> zabudovan<61>.
V<>etky nastavia <20>av<61> okraj a pridaj<61> medzeru pred a za text, ktor<6F> obsahuj<75>.
Tie<69> umo<6D><6F>uj<75> vn<76>ranie, tak<61>e m<><6D>ete prostredie
\family sans
Verse
\family default
vlo<6C>i<EFBFBD> do prostredia
\family sans
Quotation
\family default
, pr<70>padne do in<69>ch prostred<65>.
\layout Standard
Tieto prostredia maj<61> e<>te jednu vlastnos<6F>.
Nemenia prostredie na
\family sans
Standard
\family default
, ke<6B> dokon<6F><6E>te odsek.
Tak<61>e m<><6D>ete p<>sa<73> b<>se<73> a stla<6C>i<EFBFBD>
\family sans
Enter
\family default
bez ob<6F>v, <20>e by ste museli znovu meni<6E> prostredie.
Samozrejme to znamen<65>, <20>e ke<6B> t<> b<>se<73> dop<6F><70>ete, prostredie
\family sans
Standard
\family default
(alebo ak<61> chcete) si mus<75>te nastavi<76> sami.
\layout Subsubsection
\family sans
Quote
\family default
a
\family sans
Quotation
\layout Standard
\begin_inset LatexCommand \label{sec: quote}
\end_inset
Teraz, ke<6B> sme pop<6F>sali podobnosti t<>chto prostred<65>, je <20>as poveda<64> si o
rozdieloch.
\family sans
Quote
\family default
a
\family sans
Quotation
\family default
s<> identick<63>, a<> na jeden rozdiel:
\family sans
Quote
\family default
pou<6F><75>va na oddelenie odsekov extra medzeru a nikdy neodsadzuje prv<72> riadok.
\family sans
Quotaion
\family default
\emph on
v<EFBFBD>dy
\emph toggle
odsadzuje prv<72> riadok odseku, a st<73>le pou<6F><75>va rovnak<61> riadkovanie.
\layout Standard
Tu je pr<70>klad prostredia
\family sans
Quote
\family default
:
\layout Quote
Toto je prostredie
\family sans
Quote
\family default
.
M<><4D>em st<73>le p<>sa<73> a p<>sa<73>, predl<64>ova<76> tento riadok <20>alej a <20>alej, a<> k<>m
sa nezalom<6F>.
Pozrite -- <20>iadne odsadenie prv<72>ho riadku!
\layout Quote
Toto je druh<75> odsek tohto cit<69>tu.
Znovu.
Nie je tu odsadenie, ale je v<><76><EFBFBD>ia medzera medzi t<>mto a predch<63>dzaj<61>cim
odsekom.
\layout Standard
Koniec pr<70>kladu.
Tu je <20>al<61><6C> pr<70>klad, tentoraz na prostredie
\family sans
Quotation
\family default
:
\layout Quotation
Toto je prostredie
\family sans
Quotation
\family default
.
Ak budem st<73>le p<>sa<73>, uvid<69>te odsadenie prv<72>ho riadku.
Ak va<76>a krajina pou<6F><75>va <20>t<EFBFBD>l p<>sania, ktor<6F> zv<7A>raz<61>uje odseky odsaden<65>m
ich prv<72>ho riadku,
\family sans
Quotation
\family default
je prostredie pre v<>s! Pou<6F>ijete ho, ak budete citova<76> nejak<61> text.
\layout Quotation
A m<>me tu <20>al<61><6C> odsek.
Mohol by som t<>ra<72> <20>alej, ako politik v <20>ase volieb.
Ale keby som to robil, boli by ste znuden<65>.
\layout Subsubsection
\family sans
Verse
\layout Standard
\begin_inset LatexCommand \label{sec: verse}
\end_inset
\family sans
Verse
\family default
je prostredie pre po<70>ziu, r<>my, ver<65>e a tak <20>alej.
Tu je pr<70>klad:
\layout Verse
This is in Verse
\newline
Which I did not rehearse!
\begin_inset Foot
collapsed true
\layout Standard
\emph on
Pozn.
prekl.:
\emph toggle
Toto som neprekladal, preto<74>e v sloven<65>ine by sa to ner<65>movalo a nechcelo
sa mi vym<79><6D><EFBFBD>a<EFBFBD> nejk<6A> ver<65>e (okrem toho, <20>e by to aj tak asi nikam neviedlo).
\end_inset
\layout Verse
Mohlo to by<62> aj hor<6F>ie.Tento riadok by mohol by<62> dlh<6C>, ve<76>mi dlh<6C>, a<> tak
dlh<6C>, tak ve<76>mi dlh<6C>, <20>e sa bude zalamova<76>.
Na obrazovke to vyzer<65> v poriadku, ale vo vytla<6C>enej forme, bud<75> <20>al<61>ie
riadky trochu viac odsaden<65> ako prv<72> riadok.
\layout Verse
To break a line
\newline
And make things look fine
\newline
Use
\family sans
C-Return
\family default
.
\layout Standard
Ako m<><6D>ete vidie<69>,
\family sans
Verse
\family default
nezarovn<76>va na oba okraje.
Ka<4B>d<EFBFBD> strofa b<>sne je vo svojom odseku.
Strofy sa odde<64>uj<75> kl<6B>vesou
\family sans
C-Enter
\family default
.
\layout Subsection
Zoznamy
\layout Standard
\begin_inset LatexCommand \label{sec: odsek-prostr-zoz}
\end_inset
Toto je oblas<61>, kde LyX predstihuje <20>tandardn<64> textov<6F> procesory.
Jedna z naj\SpecialChar \-
be<EFBFBD>\SpecialChar \-
nej<EFBFBD><EFBFBD>ch s<>a<EFBFBD>nost<73> a oznamoch o chyb<79>ch v zozname v<>voj<6F>rov
LyXu je,
\begin_inset Quotes gld
\end_inset
Nem<EFBFBD><EFBFBD>em nap<61>sa<73> viac ako jednu medzeru
\begin_inset Quotes grd
\end_inset
.
U<><55>vate<74> s touto ot<6F>zkou oby<62>ajne h<>ad<61> nejak<61> sp<73>sob, ako odsadi<64> text,
aby vytvoril nejak<61> zoznam.
Ke<4B> chcete v komer<65>n<EFBFBD>ch textov<6F>ch procesoroch nap<61>sa<73> zoznam, mus<75>te pou<6F>i<EFBFBD>
tabul<75>tory, zarovnania a r<>zne in<69> pr<70>kazy na horizont<6E>lne medzery.
\layout Standard
Ale pre<72>o by ste
\emph on
vy
\emph toggle
mali robi<62> toto v<>etko? Tabul<75>tory s<> dobr<62> pre p<>sac<61> stroj, kde niet
in<69>ho sp<73>sobu, ako odsadi<64> text.
Na druhej strane, po<70><6F>ta<74> je dobr<62> na po<70><6F>tanie a opakovan<61> robenie vec<65>.
Tak<61>e vy by ste sa nemali stara<72> o <20><>slovanie zoznamov, zarovnanie a podobne.
A s LyXom sa ani nemus<75>te.
\layout Standard
LyX m<> <20>tyri r<>zne prostredia odsekov na vytv<74>ranie zoznamov.
V prostrediach
\family sans
Itemize
\family default
a
\family sans
Enumerate
\family default
, LyX polo<6C>ky v<><76>ho zoznamu o<><6F>sluje, alebo ozna<6E><61> odr<64><72>kami.
V prostrediach
\family sans
Description
\family default
a
\family sans
List
\family default
, v<>m LyX umo<6D>n<EFBFBD> poskytn<74><6E> v<><76> popis.
Detaily o jednotliv<69>ch prostrediach pop<6F><70>eme <20>alej, len <20>o sa pozrieme
na v<>eobecn<63> vlastnosti v<>etk<74>ch t<>chto prostred<65>.
\layout Subsubsection
V<EFBFBD>eobecn<EFBFBD> vlastnosti
\layout Standard
Tieto <20>tyri prostredia sa od ostatn<74>ch prostred<65> l<><6C>ia neko<6B>k<EFBFBD>mi vecami.
Za prv<72>, LyX pova<76>uje ka<6B>d<EFBFBD> odsek za polo<6C>ku zoznamu.
Stla<6C>enie kl<6B>vesy
\family sans
Enter
\family default
nezmen<65> prostredie na
\family sans
Standard
\family default
, ale nech<63> sktu<74>lne prostredie a vytvor<6F> nov<6F> polo<6C>ku zoznamu.
Av<41>ak h<>bka vnorenia je oby<62>ajne znovu nastaven<65> na najvy<76><79>iu <20>rove<76>.
Ak chcete ponecha<68> oboje, h<>bku prostredia aj samotn<74> prostredie, na ukon<6F>enie
odsekov pou<6F>ite
\family sans
M-Enter
\family default
.
\layout Standard
Zoznamy r<>znych typov m<><6D>ete do seba vn<76>ra<72>.
LyX zmen<65> popisky polo<6C>iek zoznamu, pod<6F>a toho, ako hlboko je vnoren<65>.
Ak zam<61><6D><EFBFBD>ate pou<6F><75>va<76> niektor<6F> z t<>chto prostred<65>, doporu<72>ujeme v<>m pre<72><65>ta<74>
si sekciu
\begin_inset LatexCommand \ref{sec: vnaranie}
\end_inset
.
\layout Subsubsection
\family sans
Itemize
\layout Standard
\begin_inset LatexCommand \label{sec: itemize}
\end_inset
Prv<EFBFBD> typ zoznamu, ktor<6F> pop<6F><70>eme je prostredie
\family sans
Itemize
\family default
.
M<> nasleduj<75>ce vlastnosti:
\layout Itemize
Ka<EFBFBD>d<EFBFBD> polo<6C>ka m<> kr<6B><72>ok, alebo nejak<61> in<69> symbol ako odr<64><72>ku.
\begin_deeper
\layout Itemize
LyX pou<6F><75>va rovnak<61> symbol pre v<>etky polo<6C>ky v danej h<>bke vnorenia.
\layout Itemize
Symbol sa objav<61> na za<7A>iatku prv<72>ho riadku polo<6C>ky.
\end_deeper
\layout Itemize
Jednotliv<EFBFBD> polo<6C>ky m<><6D>u by<62> ve<76>mi dlh<6C>.
LyX automaticky posunie <20>av<61> okraj ka<6B>dej polo<6C>ky.
Toto posunutie je relat<61>vne k prostrediu v ktorom sa pr<70>ve dan<61>
\family sans
Itemize
\family default
zoznam nach<63>dza.
\layout Itemize
Ak vnor<6F>te prostredie
\family sans
Itemize
\family default
do in<69>ho prostredie
\family sans
Itemize
\family default
, odr<64><72>ka sa zmen<65> na nov<6F> symbol.
\begin_deeper
\layout Itemize
S<EFBFBD> <20>tyri r<>zne symboly, na vn<76>ranie do <20>rovne h<>bky 4.
\layout Itemize
Na obrazovke LyX v<>dy zobraz<61> rovnak<61> symbol, a to hviezdi<64>ku.
\layout Itemize
Pre <20>pln<6C> vysvetlenie vn<76>rania si pozrite sekciu
\begin_inset LatexCommand \ref{sec: vnaranie}
\end_inset
.
\end_deeper
\layout Standard
Samozrejme, toto vysvetlenie bolo z<>rove<76> uk<75><6B>kou zoznamu
\family sans
Itemize
\family default
.
Toto prostredie sa hod<6F> na zoznamy, v ktor<6F>ch nez<65>le<6C><65> na porad<61> jednotliv<69>ch
polo<6C>iek.
\layout Standard
Povedali sme, <20>e r<>zne <20>rovne pou<6F><75>vaj<61> in<69> symbol ako popisok.
Tu je pr<70>klad v<>etk<74>ch <20>tyroch
\begin_inset Foot
collapsed true
\layout Standard
\emph on
Pozn.
prekl.:
\emph toggle
Sk<53><6B>al som <20>o sa stane, ak pou<6F>ijem e<>te hlb<6C>ie vnorenie ako je <20>rove<76>
<20>tyri.
LyX to zobraz<61> spr<70>vne - <20>alej to odsad<61> - ale LaTeX pri spracov<6F>van<61> dokumentu
vyhl<68>si chybu a dan<61> polo<6C>ka bude ma<6D> h<>bku <20>tyri.
\end_inset
mo<6D>nost<73>.
T<> <20>o <20><>tate tento manu<6E>l v LyXe, si ur<75>ite v<>imnete, <20>e nevid<69>te <20>iadny
rozdiel.
\layout Itemize
Popisok pre prv<72> <20>rove<76> prostredia
\family sans
Itemize
\family default
je ve<76>k<EFBFBD> <20>ierny kr<6B><72>ok.
\begin_deeper
\layout Itemize
Popisok pre druh<75> <20>rove<76> je poml<6D>ka.
\begin_deeper
\layout Itemize
Pre tretiu <20>rove<76> je to hviezdi<64>ka.
\begin_deeper
\layout Itemize
Pre <20>tvrt<72> vycentrovan<61> bodka.
\end_deeper
\layout Itemize
Sp<EFBFBD><EFBFBD> na tretiu <20>rove<76>.
\end_deeper
\layout Itemize
Sp<EFBFBD><EFBFBD> na druhej <20>rovni.
\end_deeper
\layout Itemize
Sp<EFBFBD><EFBFBD> na najvy<76><79>iu <20>rove<76>.
\layout Standard
Toto s<> <20>tandardn<64> odr<64><72>ky pre toto prostredie.
Tieto odr<64><72>ky si m<><6D>ete pris\SpecialChar \-
p<EFBFBD>\SpecialChar \-
so\SpecialChar \-
bi<EFBFBD> pridan<61>m pr<70>slu<6C>n<EFBFBD>ch pr<70>kazov do LaTeX
preambuly (pozri sekciu
\begin_inset LatexCommand \ref{sec: preambula}
\end_inset
).
Samozrejme, <20>e o tomto LyX nebude vedie<69>.
To je princ<6E>m konceptu WYSIWYM.
Ak<41>ko<6B>vek prisp<73>sobenie sa objav<61> vo vytla<6C>enom dokumente.
\layout Standard
V<EFBFBD>imnite si tie<69>, ako sa zmen<65>uj<75> medzery medzi riadkami, so zv<7A><76><EFBFBD>uj<75>cou
sa h<>bkou prostredia.
Vn<56>ranie a v<>etky triky, ktor<6F> m<><6D>ete robi<62> s r<>znymi h<>bkami, vysvetl<74>me
v sekcii
\begin_inset LatexCommand \ref{sec: vnaranie}
\end_inset
.
Ur<55>ite si ju pre<72><65>tajte.
\layout Subsubsection
\family sans
Enumerate
\layout Standard
\begin_inset LatexCommand \label{sec: enumerate}
\end_inset
Prostedie
\family sans
Enumerate
\family default
je n<>stroj, ktor<6F> v<>m umo<6D>n<EFBFBD> vytv<74>ra<72> <20><>slovan<61> zoznamy.
M<> tieto vlastnosti:
\layout Enumerate
Ka<EFBFBD>d<EFBFBD> polo<6C>ka m<> ako popisok znak (alfanumerick<63>).
\begin_deeper
\layout Enumerate
Typ znaku z<>vis<69> od h<>bky vnorenia.
\end_deeper
\layout Enumerate
LyX automatick<63> polo<6C>ky po<70><6F>ta, a popisky pod<6F>a toho upravuje.
\layout Enumerate
Ka<EFBFBD>d<EFBFBD> nov<6F> prostredie
\family sans
Enumerate
\family default
nastavuje po<70><6F>tadlo na za<7A>iatok, teda 1.
\layout Enumerate
Tak isto ako prostredie
\family sans
Itemize
\family default
, aj prostredie
\family sans
Enumerate
\family default
:
\begin_deeper
\layout Enumerate
Pos<EFBFBD>va polo<6C>ky relat<61>vne k <20>av<61>mu okraju.
Polo<6C>ky m<><6D>u by<62> <20>ubovo<76>ne dlh<6C>.
\layout Enumerate
Redukuje medzeru medzi riadkami pod<6F>a h<>bky vnorenia.
\layout Enumerate
Pou<EFBFBD><EFBFBD>va r<>zne popisky, v z<>vislosti na h<>bke vnorenia.
\layout Enumerate
Dovo<EFBFBD>uje vnorenie do h<>bky <20>tyri.
\end_deeper
\layout Standard
Prostredie
\family sans
Enumerate
\family default
ukazuje
\emph on
r<EFBFBD>zne
\emph toggle
popisky pre ka<6B>d<EFBFBD> polo<6C>ku aj v LyXe.
Tu je uk<75><6B>ka, ako LyX <20><>sluje v<>etky <20>rovne tohto prostredia.
\layout Enumerate
Prv<EFBFBD> <20>rove<76> pou<6F><75>va arabsk<73> <20><>sla, nasledovan<61> bodkou.
\begin_deeper
\layout Enumerate
Druh<EFBFBD> <20>rove<76> pou<6F><75>va mal<61> p<>smen<65> uzatvoren<65> v z<>tvork<72>ch.
\begin_deeper
\layout Enumerate
Tretia <20>rove<76> pou<6F><75>va mal<61> r<>mske <20><>sla, nasledovan<61> bodkou.
\begin_deeper
\layout Enumerate
<EFBFBD>tvrt<EFBFBD> <20>rove<76> pou<6F><75>va ve<76>k<EFBFBD> p<>smen<65> nasledovan<61> bodkou.
\layout Enumerate
Znovu si v<>imnite zmen<65>enie medzier medzi riadkami pri v<><76><EFBFBD>ej h<>bke.
\end_deeper
\layout Enumerate
Sp<EFBFBD><EFBFBD> na tretiu <20>rove<76>.
\end_deeper
\layout Enumerate
Sp<EFBFBD><EFBFBD> na druh<75> <20>rove<76>.
\end_deeper
\layout Enumerate
Sp<EFBFBD><EFBFBD> na najvy<76><79>iu <20>rove<76>.
\layout Standard
Typ <20><>slovanie si zasa m<><6D>ete zmeni<6E>.
Av<41>ak vy<76>aduje to pridanie pr<70>kazov do LaTeX preambuly (pozri sekciu
\begin_inset LatexCommand \ref{sec: preambula}
\end_inset
).
Ako sme u<> povedali, tak<61>to zmeny sa objavia len vo vytla<6C>enej forme dokumentu
(nie v LyXe).
\layout Standard
O vn<76>ran<61> prostred<65>
\family sans
Enumerate
\family default
sa d<> poveda<64> viac.
Naozaj by ste si mali pre<72><65>ta<74> sekciu
\begin_inset LatexCommand \ref{sec: vnaranie}
\end_inset
.
\layout Subsubsection
\family sans
Description
\layout Standard
\begin_inset LatexCommand \label{sec: description}
\end_inset
Ako protiklad k dvoma predch<63>dzaj<61>cim prostrediam,
\family sans
Description
\family default
nem<65> <20>iadny pevne dan<61> popisok.
Namiesto neho LyX ako popisok pou<6F><75>va prv<72>
\begin_inset Quotes gld
\end_inset
slovo
\begin_inset Quotes grd
\end_inset
.
Tu je pr<70>klad:
\layout Description
Pr<EFBFBD>klad: Toto je pr<70>klad prostredia
\family sans
Description
\family default
.
\layout Standard
LyX popisok vys<79>dza tu<74>n<EFBFBD>m p<>smom a od zvy<76>ku riadku ho oddel<65> v<><76><EFBFBD>ou medzerou.
\layout Standard
Teraz sa pravepodobne <20>udujete, <20>o mysl<73>me t<>m
\begin_inset Quotes gld
\end_inset
pou<EFBFBD><EFBFBD>va prv<72>
\begin_inset Quotes gls
\end_inset
slovo
\begin_inset Quotes grs
\end_inset
\begin_inset Quotes grd
\end_inset
.
Ako sme uviedli d<>vnej<65>ie, kl<6B>vesa
\family sans
Medzera
\family default
neprid<69>va biely znak do textu, ale odde<64>uje od seba jednotliv<69> slov<6F>.
Ak sme na za<7A>iatku prv<72>ho riadku polo<6C>ky zoznamu v prostred<65>
\family sans
Description
\family default
,
\family sans
Medzera
\family default
hovor<6F> LyXu aby ukon<6F>il popisok,
\layout Standard
Av<EFBFBD>ak <20>o, ak potrebujete ako popisok pou<6F>i<EFBFBD> viac ako jedno slovo? Je to
jednoduch<63>.
Pou<6F>ite chr<68>nen<65> medzeru (
\family sans
C-Medzera
\family default
, pre <20>al<61>ie inform<72>cie si pozrite sekciu
\begin_inset LatexCommand \ref{sec: hmedzera}
\end_inset
).
Tu je pr<70>klad:
\layout Description
Druh<EFBFBD>\SpecialChar ~
pr<EFBFBD>klad: Tento popisuje ako pou<6F>i<EFBFBD> chr<68>nen<65> medzeru v popisku polo<6C>ky
zoznamu
\family sans
Description
\family default
.
\layout Description
Pou<EFBFBD>itie: Prostredie
\family sans
Description
\family default
by ste mali pou<6F><75>va<76> na veci, ako s<> napr<70>klad defin<69>cie a pou<6F>ky.
Pou<6F>ite ho, ak potrebujete, aby jedno slovo malo <20>peci<63>lne postavenie v
texte, ktor<6F> ho popisuje.
Nie je dobr<62> pou<6F><75>va<76> toto prostredie, ak m<>te pop<6F>sa<73> cel<65> vetu.
Sk<53>r by ste mali pou<6F>i<EFBFBD> prostredie
\family sans
Itemize
\family default
alebo
\family sans
Enumerate
\family default
a vnorenie nieko<6B>k<EFBFBD>ch odsekov
\family sans
Standard
\family default
do nich.
\layout Description
Vn<EFBFBD>ranie: Samozrejme, <20>e prostredia Description m<><6D>ete do seba vn<76>ra<72> a
m<><6D>ete ich vn<76>ra<72> do in<69>ch typov zoznamov a tak <20>alej.
O vn<76>ran<61> si pr<70><72>tajte sekciu
\begin_inset LatexCommand \ref{sec: vnaranie}
\end_inset
.
\layout Standard
V<EFBFBD>imnite si, <20>e po prvom riadku LyX ostatn<74> riadky odsad<61>.
\layout Subsubsection
\family sans
List
\layout Standard
\begin_inset LatexCommand \label{sec: lyxlist}
\end_inset
Prostredie
\family sans
List
\family default
je LyXov<6F> roz<6F><7A>renie LaTeXu.
\layout Standard
Toto prostredie
\emph on
nevytv<EFBFBD>ra
\emph toggle
<20><>slovan<61> zoznam.
Na to je prostredie Enumerate, pop<6F>san<61> v sekcii
\begin_inset LatexCommand \ref{sec: enumerate}
\end_inset
.
\layout Standard
Tak ako prostredie
\family sans
Description
\family default
,
\family sans
List
\family default
m<> u<><75>vate<74>sky definovan<61> popisky polo<6C>iek zoznamu.
Medzi prostred<65>m
\family sans
List
\family default
a ostatn<74>mi troma prostrediami s<> nejak<61> rozdiely:
\layout List
\labelwidthstring MMMMMMMMM
popisky\SpecialChar ~
polo<EFBFBD>iek Ako popisok LyX pou<6F><75>va prv<72>
\begin_inset Quotes gld
\end_inset
slovo
\begin_inset Quotes grd
\end_inset
riadku.
Prv<72>
\family sans
Medzera
\family default
na za<7A>iatku prv<72>ho riadku ozna<6E><61> koniec popisku.
Ak potrebujete ako popisok pou<6F>i<EFBFBD> viac slov, odde<64>te ich chr<68>\SpecialChar \-
ne\SpecialChar \-
nou medzerou
(
\family sans
C-Mezera
\family default
).
\layout List
\labelwidthstring MMMMMMMMM
okraje Ako m<><6D>ete vidie<69>, LyX pou<6F><75>va r<>zne okraje na popisok polo<6C>ky a
text polo<6C>ky.
Text polo<6C>ky m<> zv<7A><76><EFBFBD>en<65> <20>av<61> okraj, ktor<6F> je rovn<76> ve<76>kosti popisku, plus
nejak<61> medzera naviac.
\layout List
\labelwidthstring MMMMMMMMM
<EFBFBD><EFBFBD>rka\SpecialChar ~
popisku LyX pou<6F><75>va jednu z dvoch <20><>riek na popisky.
Bu<42> pou<6F>ije aktu<74>lnu, alebo <20>tandardn<64>, pod<6F>a toho, ktor<6F> je v<><76><EFBFBD>ia.
Ak je v<><76><EFBFBD>ia aktu<74>lna <20><>rka, potom sa popisok
\begin_inset Quotes gld
\end_inset
pretiahne
\begin_inset Quotes grd
\end_inset
do prv<72>ho riadku.
In<49>mi slovami, text prv<72>ho riadku nie je zarovnan<61> tak ako ostatn<74> riadky
textu.
\layout List
\labelwidthstring MMMMMMMMM
<EFBFBD>tandardn<EFBFBD>\SpecialChar ~
<EFBFBD><EFBFBD>rka T<>to <20><>rku m<><6D>ete ve<76>mi <20>ahko zmeni<6E>.
Je to <20>plne bez\SpecialChar \-
bo\SpecialChar \-
lest\SpecialChar \-
n<EFBFBD>, tak<61>e m<><6D>ete zaisti<74>, aby text v<>etk<74>ch polo<6C>iek
zoznamu prostredia
\family sans
List
\family default
mal rovnak<61> <20>av<61> okraj.
\layout List
\labelwidthstring MMMMMMMMM
pou<EFBFBD>itie Toto prostredie by ste mali pou<6F><75>va<76> tak, ako by ste pou<6F><75>vali
prostredie
\family sans
Description
\family default
: ke<6B> potrebujete, aby jedno slovo malo <20>pecilne postavenie v texte, ktor<6F>
ho popisuje.
Prostredie
\family sans
List
\family default
v<>m na toto poskytuje in<69> form<72>t.
\layout List
\labelwidthstring MMMMMMMMM
vn<EFBFBD>ranie Prostredia List m<><6D>ete do seba vn<76>ra<72>, takisto ich m<><6D>te vn<76>ra<72>
do in<69>ch typov zoznamov, at<61>.
Funguje to rovnako ako in<69> prostredia zoznamov.
O vn<76>ran<61> si pre<72><65>tajte sekciu
\begin_inset LatexCommand \ref{sec: vnaranie}
\end_inset
.
\layout Standard
Aby ste zmenili <20><>rku popisku, ozna<6E>te polo<6C>ky zoznamu pre ktor<6F> ju chcete
zmeni<6E>.
Ak chcete zmeni<6E> <20><>rku len pre jednu polo<6C>ku, jednoducho len umistnite
kurzor do nej.
Otvorte okno
\family sans
Prostredie odstavca
\family default
a n<>jdite textov<6F> pole
\family sans
<EFBFBD><EFBFBD>rka hlavi<76>ky
\family default
.
Text v tomto poli ur<75>uje <20><>rku popisku.
Ak naozaj chcete, m<><6D>ete sem nap<61>sa<73> v<><76> navj<76><6A><EFBFBD><EFBFBD> popisok, ale nie je to
nutn<74>.
Doporu<72>ujujeme v<>m pou<6F>i<EFBFBD> p<>smeno
\begin_inset Quotes gld
\end_inset
M
\begin_inset Quotes grd
\end_inset
(viac kr<6B>t).
Je to naj<61>ir<69><72> znak a je to <20>tandardn<64> jednotka <20><>rky LaTeXu.
\begin_inset Foot
collapsed true
\layout Standard
Samozrejme, mohli by ste pou<6F>i<EFBFBD> aj nejak<61> in<69> p<>smeno nieko<6B>kokr<6B>t.
Alebo by ste mohli pou<6F>i<EFBFBD> kombin<69>cie p<>smen, napr.
\begin_inset Quotes gld
\end_inset
I
\begin_inset Quotes grd
\end_inset
,
\begin_inset Quotes gld
\end_inset
O
\begin_inset Quotes grd
\end_inset
a
\begin_inset Quotes gld
\end_inset
M
\begin_inset Quotes grd
\end_inset
.
Av<41>ak <20><>rka p<>smena
\begin_inset Quotes gld
\end_inset
M
\begin_inset Quotes grd
\end_inset
\emph on
je
\emph toggle
<20>tandardnou jednotkou horizont<6E>lnej ve<76>kosti v LaTeXu.
Preto doporu<72>ujeme pou<6F><75>va<76> toto p<>smeno.
\end_inset
<20>tandardn<64> <20><>rka popisku je 6 p<>smen
\begin_inset Quotes gld
\end_inset
M
\begin_inset Quotes grd
\end_inset
.
\layout Standard
Je e<>te jedna vlastnos<6F> tohto prostredia, o ktorej v<>m mus<75>me poveda<64>.
Ako vid<69>te v pr<70>klade, LyX popisky <20>tandardne zarovn<76>va na<6E>avo.
V skuto<74>nosti je na konci popisku vlo<6C>en<65>
\family sans
HFill
\family default
.
\family sans
Hfill
\family default
y preberieme nesk<73>r v sekcii
\begin_inset LatexCommand \ref{sec: hmedzera}
\end_inset
.
M<><4D>ete pou<6F>i<EFBFBD> <20>al<61>ie
\family sans
HFill
\family default
y aby ste zmenili zarovnanie popisku.
Tu je pr<70>kald:
\layout List
\labelwidthstring MMMMMMMM
Na<EFBFBD>avo <20>atndardn<64> zarovnanie pre polo<6C>ky prostredia
\family sans
List
\family default
.
\layout List
\labelwidthstring MMMMMMMM
\hfill
Dostredu Jeden
\family sans
HFill
\family default
na za<7A>iatku popisku ho vycentruje.
\layout List
\labelwidthstring MMMMMMMM
\SpecialChar ~
\SpecialChar ~
\SpecialChar ~
\SpecialChar ~
\SpecialChar ~
\SpecialChar ~
\SpecialChar ~
Napravo\SpecialChar ~
1 Zarovna<6E> popisok napravo m<><6D>ete viacer<65>my chr<68>nen<65>mi me\SpecialChar \-
dze\SpecialChar \-
rami
na za<7A>iatku riadku.
Av<41>ak m<><6D>e to posun<75><6E> okraj prv<72>ho riadku textu polo<6C>ky.
Je dos<6F> <20>a<EFBFBD>k<EFBFBD> zisti<74> ko<6B>ko chr<68>\SpecialChar \-
ne\SpecialChar \-
n<EFBFBD>ch medzier treba da<64>, aby to bolo dobr<62>.
\begin_inset Foot
collapsed true
\layout Standard
\emph on
Pozn.
prekl.:
\emph toggle
Na obrazovke to nevyzer<65> zarovnan<61> napravo, ale vo v<>stupe to bolo OK.
Ke<4B> som dal viac chr<68>nen<65>ch medzier, aby to bolo vpravo na obrazovke, vo
v<>stupe to bolo posunut<75> moc doprava.
Zasahovalo to prv<72> riadok text (bol posunut<75>, ako ke<6B> je popisok v<><76><EFBFBD><EFBFBD>
ako <20>tandardn<64> <20><>rka).
Toto zarovnanie napravo nie je dobre vyrie<69>en<65> a d<>fam, <20>e v bud<75>cich verzi<7A>ch
programu bude zmenen<65>.
\end_inset
\layout List
\labelwidthstring MMMMMMMM
\hfill
\hfill
\hfill
\hfill
\hfill
\hfill
\hfill
\hfill
\hfill
\hfill
\hfill
\hfill
\hfill
\hfill
\hfill
\hfill
Napravo\SpecialChar ~
2 Toto je trochu lep<65>ie, ale st<73>le to nie je ono.
Niko<6B>ko
\family sans
HFill
\family default
ov na za<7A>iatku popisku.
\layout Standard
Netr<EFBFBD>pte sa, ak e<>te neviete, <20>o je to
\family sans
HFill
\family default
.
Iba si zapam<61>tajte, ako ich m<><6D>te pou<6F>i<EFBFBD> na prisp<73>sobenie si zoznamu
\family sans
List
\family default
.
\layout Standard
To je v<>etko o <20>tyroch prostrediach odekov na vytv<74>ranie zoznamov.
E<>te raz --- mali by ste si pre<72><65>ta<74> sekciu
\begin_inset LatexCommand \ref{sec: vnaranie}
\end_inset
o vn<76>ran<61> prostred<65>.
\layout Subsection
Listy
\layout Subsubsection
\family sans
Address
\family default
a
\family sans
Right\SpecialChar ~
Address
\family default
: Preh<65>ad
\layout Standard
Ke<EFBFBD><EFBFBD>e LyX m<> triedu dokumentu na tvorbu listov, tie<69> sme vytvorili dve prostredi
a nazvan<61>
\family sans
Address
\family default
a
\family sans
Right\SpecialChar ~
Address
\family default
.
Pri pou<6F><75>van<61> triedy list, mus<75>te pou<6F>i<EFBFBD> <20>pecifick<63> prostredia v <20>pecifickom
porad<61>, inak LaTeX dokument nespracuje.
Naproti tomu prostredia
\family sans
Address
\family default
a
\family sans
Right\SpecialChar ~
Address
\family default
m<><6D>ete pou<6F>i<EFBFBD> v dokumente kdeko<6B>vek bez probl<62>mov.
Tie<69> ich m<><6D>ete vn<76>ra<72> do in<69>ch prostred<65>, ale do nich samotn<74>ch nem<65><6D>ete
vnori<72> ni<6E>.
\layout Standard
Samozrejme v pou<6F><75>van<61> t<>chto prostred<65> nie ste obmedzen<65> len na listy.
\family sans
Right\SpecialChar ~
Address
\family default
je <20>iasto<74>ne u<>ito<74>n<EFBFBD> na vytv<74>ranie n<>zvov <20>l<EFBFBD>nkov, ako napr<70>klad tie,
<20>o sa pou<6F><75>vaj<61> v eur<75>pskych akademick<63>ch novin<69>ch.
\layout Subsubsection
Pou<EFBFBD>itie
\layout Standard
\begin_inset LatexCommand \label{sec: adresa_pouzitie}
\end_inset
Prostredie
\family sans
Address
\family default
form<72>tuje text v <20>t<EFBFBD>le adresy, ktor<6F> sa v niektor<6F>ch krajin<69>ch pou<6F><75>va
pre oslovenie a podpis.
Podobne prostredie
\family sans
Right\SpecialChar ~
Address
\family default
form<72>tuje text v <20>t<EFBFBD>le adresy zarovnanej napravo, ktor<6F> sa v niektor<6F>ch
krajin<69>ch pou<6F><75>va ako adresa odosielate<74>a a dne<6E>n<EFBFBD> d<>tum.
Tu je pr<70>klad ka<6B>d<EFBFBD>ho prostredia:
\layout Right Address
Right Address
\newline
Kto som
\newline
Kde som
\newline
Kde to je? <20>o je dnes za de<64>?
\layout Standard
To bolo prostredie
\family sans
Right\SpecialChar ~
Address
\family default
.
V<>imnite si, <20>e v<>etky riadky maj<61> rovnak<61> <20>av<61> okraj, ktor<6F> LyX nastav<61>
tak, bol najdlh<6C><68> blok textu na jednom riadku.
Tu je pr<70>klad prostredia
\family sans
Address
\family default
:
\layout Address
Kto si ty
\newline
Kde toto posielam
\newline
Tvoja po<70>ta a krajina
\layout Standard
Ako m<><6D>ete vidie<69>,
\family sans
Address
\family default
a
\family sans
Right\SpecialChar ~
Address
\family default
prid<69>vaj<61> medzeru medzi seba a nasleduj<75>ci odstavec.
Ak stla<6C><61>te
\family sans
Enter
\family default
v niektorom z t<>chto prosterd<72>, LyX nastav<61> h<>bku vnorenia a prostredie
na
\family sans
Standard
\family default
.
Ke<4B><65>e
\family sans
Enter
\family default
je funkcia na odde<64>ovanie odsekov, tak<61>e individu<64>lne riadky adresy nie
s<> odseky.
Z toho vypl<70>va, <20>e nov<6F> riadok v prosted<65>
\family sans
Address
\family default
alebo
\family sans
Right\SpecialChar ~
Address
\family default
by ste mali za<7A><61>na<6E>
\family sans
C-Enter
\family default
.
\layout Subsection
Akademick<EFBFBD> p<>sanie
\layout Standard
V<EFBFBD><EFBFBD><EFBFBD>ina akademick<63>ch <20>l<EFBFBD>nkov za<7A><61>na s abstraktom
\begin_inset Foot
collapsed true
\layout Standard
\emph on
Pozn.
prekl.:
\emph toggle
Nevedel som <20>o je to abstrakt (a neviem <20>i sa to v sloven<65>ine vol<6F> takto),
ale mal by to by<62> nejak<61> kr<6B>tky <20>vod k <20>l<EFBFBD>nku.
\end_inset
a kon<6F><6E> literat<61>rou alebo zoznamom odkazov.
LyX obsahuje prostredia na tvorbu oboch.
\layout Subsubsection
\family sans
Abstract
\layout Standard
Prostredie
\family sans
Abstract
\family default
sa pou<6F><75>va na vytvorenie abstraktu k <20>l<EFBFBD>nku.
Technicky
\emph on
by ste mohli
\emph toggle
toto prostredie pou<6F>i<EFBFBD> kdeko<6B>vek, ale
\emph on
mali by
\emph toggle
ste ho pou<6F>i<EFBFBD> len na za<7A>iatku dokumentu, za nadpisom.
Tie<69> sa nepok<6F><6B>ajte vn<76>ra<72> toto prostredie do in<69>ch, alebo naopak.
Nebude to fungova<76>.
\layout Standard
Toto prostredie rob<6F> za v<>s nieko<6B>ko vec<65>.
Ako prv<72>, nad text umiestni vycentrovan<61> n<>pis
\begin_inset Quotes gld
\end_inset
Abstrakt
\begin_inset Quotes grd
\end_inset
.
Tento n<>pis a text pod n<>m s<> oddelen<65> nejakou extra medezrou.
<20>alej, v<>etko vys<79>dza men<65><6E>m p<>smom, presne tak, ako by ste o<>ak<61>vali.
Nakoniec prid<69> extra medzeru medzi sebou a nasleduj<75>cim textom.
Takto to vyzr<7A> na obrazovke LyXu.
Ak v<><76> dokument je p<>san<61> v triede
\begin_inset Quotes gld
\end_inset
report
\begin_inset Quotes grd
\end_inset
, vo vytla<6C>enej forme bude abstrakt na samostatnej str<74>nke.
\layout Standard
Nov<EFBFBD> odek po stla<6C>en<65>
\family sans
Enteru
\family default
nezmen<65> prostredie.
Nov<6F> odsek bude p<>san<61> st<73>le v prostred<65>
\family sans
Abstract
\family default
, tak<61>e prostredie mus<75>te zmeni<6E> sami, ke<6B> udete ma<6D> abstrakt nap<61>san<61>.
\layout Standard
Radi by sme v<>m uk<75>zali pr<70>klad tohto prostedia, ale nie je to mo<6D>n<EFBFBD>, preto<74>e
tento dokument je p<>san<61> v triede
\begin_inset Quotes gld
\end_inset
book
\begin_inset Quotes grd
\end_inset
.
Ak ste nikdy predt<64>m nepo<70>uli o
\begin_inset Quotes gld
\end_inset
abstrakte
\begin_inset Quotes grd
\end_inset
, toto prostredie m<><6D>ete bezpe<70>ne ignorova<76>.
\layout Standard
Posledn<EFBFBD> pozn<7A>mka: toto prostredie je u<>ito<74>n<EFBFBD> len v dokumentoch tried
\begin_inset Quotes gld
\end_inset
article
\begin_inset Quotes grd
\end_inset
a
\begin_inset Quotes gld
\end_inset
report
\begin_inset Quotes grd
\end_inset
(tie<69> aj
\begin_inset Quotes gld
\end_inset
amsart
\begin_inset Quotes grd
\end_inset
, <20>o je <20>pecializovan<61> verzia
\begin_inset Quotes gld
\end_inset
article
\begin_inset Quotes grd
\end_inset
).
Trieda
\begin_inset Quotes gld
\end_inset
book
\begin_inset Quotes grd
\end_inset
toto prostredie <20>plne ignoruje, a je <20>plne hl<68>pe pou<6F><75>va<76> abstrakt v liste.
\layout Subsubsection
\family sans
Bibliography
\family default
(literat<61>ra)
\layout Standard
\begin_inset LatexCommand \label{sec: bibliography}
\end_inset
Prostredie
\family sans
Bibliography
\family default
sa pou<6F><75>va pre zoznam referenci<63>.
Technicky
\emph on
by ste mohli
\emph toggle
toto prostredie pou<6F>i<EFBFBD> kdeko<6B>vek, ale
\emph on
mali by
\emph toggle
ste ho pou<6F>i<EFBFBD> na konci dokumentu.
Tie<69> sa nepok<6F><6B>ajte vnori<72>
\family sans
Bibliography
\family default
do in<69>ho prostredia alebo naopak.
Nebude to fungova<76>.
\layout Standard
\bibitem {1}
Ke<EFBFBD> prv<72> kr<6B>t vyberiete prostredie
\family sans
Bibliography
\family default
, LyX urob<6F> ve<76>k<EFBFBD> vertik<69>lnu medzeru, nasledovan<61> nadpisom
\begin_inset Quotes gld
\end_inset
Literat<EFBFBD>ra
\begin_inset Quotes grd
\end_inset
alebo
\begin_inset Quotes gld
\end_inset
Referencia
\begin_inset Quotes grd
\end_inset
, v z<>vislosti na triede dokumentu.
Nadpis je vytla<6C>en<65> ve<76>k<EFBFBD>m tu<74>n<EFBFBD>m p<>smom.
Ka<4B>d<EFBFBD> odsek tohto prostredia je polo<6C>ka referenci<63>.
Stal<61>enie
\family sans
Enteru
\family default
nezru<72><75> typ prostredia.
Ka<4B>d<EFBFBD> nov<6F> odsek je st<73>le v prostred<65>
\family sans
Bibliography
\family default
.
\layout Standard
\bibitem {1}
Na
\emph on
za<EFBFBD>iatku prv<72>ho riadku
\emph toggle
ka<6B>d<EFBFBD>ho odseku uvid<69>te <20>ed<65> obd<62><64>nik s <20><>slom.
Ak na<6E> kliknete, zobraz<61> sa v<>m okienko, v ktorom m<><6D>ete zada<64>
\family sans
k<EFBFBD><EFBFBD><EFBFBD>
\family default
a
\family sans
n<EFBFBD>vestie
\family default
.
K<><4B><EFBFBD> je symbolick<63> meno, pomocou ktor<6F>ho sa budete odkazova<76> na t<>to polo<6C>ku
literat<61>ry.
Napr<70>klad predpokladajme, <20>e prv<72> polo<6C>ka v literat<61>re je kniha o LaTeXu.
Ako k<><6B><EFBFBD> pre t<>to polo<6C>ku by sme mohli nap<61>sa<73>
\begin_inset Quotes gld
\end_inset
knihalatex
\begin_inset Quotes grd
\end_inset
.
Takisto m<><6D>ete definova<76> n<>pis, ktor<6F> sa zobraz<61> v <20>edom obd<62><64>niku.
\layout Standard
Polo<EFBFBD>ka k<><6B><EFBFBD> nie je neu<65>ito<74>n<EFBFBD>.
Na va<76>e polo<6C>ky literat<61>ry sa m<><6D>ete odkazova<76> pr<70>kazom
\family sans
Vlo<EFBFBD>i<EFBFBD>->Referencia na cit<69>ciu
\family default
.
Po<50>adovan<61> k<><6B><EFBFBD> si vyberiete z rozba<62>ovacieho menu.
Pr<50>klad tohto prostredia sa nach<63>dza (kde inde) na konci dokumentu.
\begin_inset Quotes gld
\end_inset
Pozri
\begin_inset LatexCommand \cite{latexguide}
\end_inset
alebo
\begin_inset LatexCommand \cite[Kapitola 3]{latexcompanion}
\end_inset
\begin_inset Quotes grd
\end_inset
je pr<70>klad ako sa odkazova<76> na dve polo<6C>ky literat<61>ry.
V druhom sme pou<6F>ili polo<6C>ku
\family sans
pozn<EFBFBD>mka
\family default
v okienku vlo<6C>i<EFBFBD> cit<69>ciu, <20><>m sme pridali text
\begin_inset Quotes gld
\end_inset
Kapitola 3
\begin_inset Quotes grd
\end_inset
.
Text
\begin_inset Quotes gld
\end_inset
latexguide
\begin_inset Quotes grd
\end_inset
a
\begin_inset Quotes gld
\end_inset
latexcompanion
\begin_inset Quotes grd
\end_inset
, ktor<6F> vid<69>te na obrazovke, bude vo vytla<6C>enom dokumente nahraden<65> <20><>slom
alebo n<>zvom polo<6C>ky literat<61>ry.
\layout Subsection
<EFBFBD>peci<EFBFBD>lny <20><>el
\layout Standard
S<EFBFBD> tri <20>tandardn<64> prostredia odsekov, ktor<6F> sa jednoducho nehodia do <20>iadnej
kateg<65>rie, preto<74>e s<> dos<6F> <20>pecializovan<61> pre ur<75>it<69> <20><>ely.
Pouk<75><6B>eme na ich vlastnosti a sp<73>sob pou<6F>itia.
\layout Subsubsection
\family sans
Caption
\layout Standard
\begin_inset LatexCommand \label{sec: captionlayout}
\end_inset
Prostredie
\family sans
Caption
\family default
je <20>tandardn<64> prostredie pre
\family sans
Insety s obr<62>zkom
\family default
a
\family sans
Insety s tabu<62>kou
\family default
.
Na obrazovke LyXu uvid<69>te n<>pis
\begin_inset Quotes gld
\end_inset
Figure:
\begin_inset Quotes grd
\end_inset
alebo
\begin_inset Quotes gld
\end_inset
Table:
\begin_inset Quotes grd
\end_inset
\begin_inset Foot
collapsed true
\layout Standard
\emph on
Pozn.
prekl.:
\emph toggle
V slovenskom v<>stupe to samozrejme bude
\begin_inset Quotes gld
\end_inset
Obr<EFBFBD>zok:
\begin_inset Quotes grd
\end_inset
alebo
\begin_inset Quotes gld
\end_inset
Tabu<EFBFBD>ka:
\begin_inset Quotes grd
\end_inset
.
\end_inset
, v z<>vislosti na tom, ak<61> inset sa tam nach<63>dza.
<20>alej toto prostredie vo fin<69>lnom v<>stupe vygeneruje <20><>slo obr<62>zku alebo
tabu<62>ky.
\layout Standard
Toto prostredie nem<65><6D>ete vn<76>ra<72> do in<69>ch prostred<65> a naopak.
A <20>alej stal<61>enie
\family sans
Enteru
\family default
zmen<65> nasleduj<75>ce prostredie na Standard, tak<61>e
\family sans
Caption
\family default
m<><6D>e by<62> len samostatn<74> odsek.
\layout Standard
Prostredie
\family sans
Caption
\family default
nem<65><6D>ete pou<6F>i<EFBFBD> mimo insetu s obr<62>zkom alebo insetu s tabu<62>kou.
O t<>chto insetoch sa do<64><6F>tate v sekci<63>ch
\begin_inset LatexCommand \ref{sec: obrazky}
\end_inset
a
\begin_inset LatexCommand \ref{sec: tabulky}
\end_inset
.
\layout Subsubsection
\family sans
LyX-Code
\layout Standard
\family sans
LyX-Code
\family default
prostredie je <20>al<61>ie roz<6F><7A>renie LyXu.
Text vys<79>dza fontom p<>sacieho stroja.
Tie<69> kl<6B>vesu
\family sans
Medzera
\family default
ch<63>pe ako skuto<74>n<EFBFBD> medzera
\begin_inset Foot
collapsed true
\layout Standard
V prostred<65>
\family sans
LyX-Code
\family default
je medzera ch<63>pan<61> ako
\family sans
Chr<EFBFBD>nen<EFBFBD> medzera
\family default
a nie ako odde<64>ova<76> slov.
\end_inset
, to znamen<65>, <20>e toto je jedin<69> pr<70>pad v LyXe, kde m<><6D>ete nap<61>sa<73> viac medzier
za sebou.
Ak potrebujete vlo<6C>i<EFBFBD> pr<70>zdne riadky, st<73>le mus<75>te pou<6F>i<EFBFBD>
\family sans
C-Enter
\family default
(funkcia
\family typewriter
zalomenie riadku
\family default
).
\family sans
Enter
\family default
odde<64>uje odseky.
V<>imnite si, <20>e stla<6C>enie
\family sans
Enteru
\family default
nezru<72><75> prostedie, tak<61>e ke<6B> skon<6F><6E>te s p<>san<61>m v tomto prostred<65>, budete
ho musie<69> zmeni<6E> sami.
Tie<69> m<><6D>ete
\family sans
LyX-Code
\family default
vn<76>ra<72> do in<69>ch prostred<65>.
\layout Standard
Tu je p<>r drobnost<73> o tomto prostred<65>:
\layout Itemize
\family sans
C-Enter
\family default
nem<65><6D>ete pou<6F>i<EFBFBD> na za<7A>iatku nov<6F>ho odseku (tzn.
za
\family sans
Enterom
\family default
nem<65><6D>e nasledova<76>
\family sans
C-Enter
\family default
)
\layout Itemize
Za
\family sans
C-Enter
\family default
nem<65><6D>e nasledova<76>
\family sans
Medzera
\family default
.
\begin_deeper
\layout Itemize
Pou<EFBFBD>ite
\family sans
Enter
\family default
na za<7A>atie nov<6F>ho odseku a potom pou<6F>ite
\family sans
medzeru
\family default
.
\layout Itemize
Alebo pou<6F>ite
\family sans
C-Medzera
\family default
.
\end_deeper
\layout Itemize
Nem<EFBFBD><EFBFBD>ete ma<6D> pr<70>zdny odsek, alebo pr<70>zdny riadok.
Na ka<6B>d<EFBFBD> riadok, ktor<6F> chcete ma<6D> pr<70>zdny, mus<75>te nap<61>sa<73> aspo<70> jednu medzeru.
Inak LaTeX vygeneruje chyby.
\layout Itemize
<EFBFBD>vodzovky p<>sacieho stroja nenap<61><70>ete jednoduch<63>m nap<61>san<61>m
\family sans
\begin_inset Quotes grd
\end_inset
\family default
preto<74>e toto vlo<6C><6F> skuto<74>n<EFBFBD> <20>vodzovky.
<20>vodzovky p<>sacieho stroja vlo<6C><6F>te s
\family sans
C-
\begin_inset Quotes grd
\end_inset
\family default
.
\begin_inset Foot
collapsed true
\layout Standard
\emph on
Pozn.
prekl.:
\emph toggle
Pod pojmom <20>vodzovky p<>sacieho stroja sa myslia oby<62>ajn<6A> rovn<76> <20>vodzovky,
ktor<6F> su nap<61>san<61> ako horn<72> (aj po<70>iato<74>n<EFBFBD> aj ukon<6F>ovacie).
Kl<4B>vesov<6F> skratka
\family sans
C-
\begin_inset Quotes grd
\end_inset
\family default
mi fungovala len ke<6B> som mal v LyXe zapnut<75> anglick<63> kl<6B>vesnicu (jazyk
Default).
in<69><6E> sa daj<61> vlo<6C>i<EFBFBD> pr<70>kazom
\family sans
Vlo<EFBFBD>i<EFBFBD>-><3E>peci<63>lny znak->Oby<62>ajn<6A> <20>vodzovka
\family default
.
\end_inset
\layout Standard
Tu je pr<70>klad:
\layout LyX-Code
#include <stdio.h>
\layout LyX-Code
\layout LyX-Code
int main(void)
\layout LyX-Code
{
\layout LyX-Code
printf("Hello World
\backslash
n");
\layout LyX-Code
return 0;
\layout LyX-Code
}
\layout Standard
Toto je <20>tandardn<64>
\begin_inset Quotes gld
\end_inset
Hello World
\begin_inset Quotes grd
\end_inset
program.
\layout Standard
\family sans
LyX-Code
\family default
m<> jeden <20><>el: vys<79>dza<7A> k<>d, ako napr<70>klad zdrojov<6F> program, skript, at<61>.
Pou<6F>ite ho len v t<>ch <20>peci<63>lnych pr<70>padoch, kde potrebujete vytvori<72> text,
ako keby ste pou<6F>ili p<>sac<61> stroj.
\layout Subsubsection
\family sans
Comment
\layout Standard
Toto prostredie sa pou<6F><75>va na p<>sanie koment<6E>rov k dokumentu.
Tieto koment<6E>re sa neobjavia vo v<>stupe.
Aby to bolo jasn<73> na prv<72> poh<6F>ad, LyX text p<>san<61> t<>mto prostred<65>m zobraz<61>
inou farbou ako ostatn<74> text.
\layout Subsubsection
\family sans
LaTeX
\layout Standard
\begin_inset LatexCommand \label{sec: LaTeXlayout}
\end_inset
Prostredie
\family sans
LaTeX
\family default
m<> <20>peci<63>lne <20><>el: preda<64> LaTeXu ve<76>k<EFBFBD> bloky pr<70>kazov.
M<> nasleduj<75>ce vlastnosti:
\layout Itemize
Text je zobrazen<65> <20>ervn<76>m p<>smom, indikuj<75>c, <20>e je to k<>d LaTeXu.
\layout Itemize
M<EFBFBD><EFBFBD>ete vlo<6C>i<EFBFBD> viac medzier (
\family sans
Medzera
\family default
je ch<63>pan<61> ako chr<68>nen<65> medzera).
\begin_deeper
\layout Itemize
Av<EFBFBD>ak toto nefunguje po
\family sans
C-Enter
\family default
.
Vtedy pou<6F>ite
\family sans
C-Medzera
\family default
.
\end_deeper
\layout Itemize
Ak chcete va<76>e pr<70>kazy zalomi<6D> do viacer<65>ch riadkov, pou<6F>ite
\family sans
C-Enter
\family default
.
\layout Itemize
\family sans
Enter
\family default
nastav<61> prostredie odseku na
\family sans
Standard
\family default
.
\layout Itemize
Prostredie
\family sans
LaTeX
\family default
\emph on
m<EFBFBD><EFBFBD>ete
\emph toggle
vn<76>ra<72> do in<69>ch prostred<65>.
\layout Standard
Pre viac inform<72>ci<63> si pre<72><65>tajte sekciu
\begin_inset LatexCommand \ref{sec: latexcodes}
\end_inset
.
\layout Section
Vn<EFBFBD>ranie prostred<65>
\begin_inset LatexCommand \label{sec: vnaranie}
\end_inset
\layout Subsection
O <20>o ide
\layout Standard
V predch<63>dzaj<61>cich sekci<63>ch sme v<>s st<73>le otravovali so slovami
\begin_inset Quotes gld
\end_inset
pre<EFBFBD><EFBFBD>tajte si sekciu
\begin_inset LatexCommand \ref{sec: vnaranie}
\end_inset
\begin_inset Quotes grd
\end_inset
.
Pravdepodobne ste sa <20>udovali <20>o za vec je tak<61> d<>le<6C>it<69>.
\layout Standard
D<EFBFBD>le<EFBFBD>it<EFBFBD> je, <20>e LyX sa odli<6C>uje od konceptu tradi<64>n<EFBFBD>ch textov<6F>ch procesorov.
S p<>sac<61>m strojom je text iba atrament na str<74>ke.
V<><56><EFBFBD>ina textov<6F>ch procesorov nie je o ni<6E> lep<65>ia, pre ne je text pixely
na obrazovke a bajty v pam<61>ti.
Oproti tomu, LyX pova<76>uje text za jednotn<74> blok s ur<75>it<69>m kontextom a vlastnos<6F>
ami.
Ale <20>o, ak chcete, aby jeden
\begin_inset Quotes gld
\end_inset
blok
\begin_inset Quotes grd
\end_inset
zdedil nejak<61> vlastnosti in<69>ho
\begin_inset Quotes gld
\end_inset
bloku
\begin_inset Quotes grd
\end_inset
?
\layout Standard
Tu je <20>pecifickej<65><6A> pr<70>klad: n<>vrhy.
V n<>vrhu m<>te tri hlavn<76> body, ale bod 2.
m<> dve podpolo<6C>ky.
In<49>mi slovami, m<>te zoznam
\emph on
vo vn<76>tri
\emph toggle
in<69>ho zoznamu, vn<76>torn<72> zoznam je
\begin_inset Quotes gld
\end_inset
pripojen<EFBFBD>
\begin_inset Quotes grd
\end_inset
k bodu 2.:
\layout Enumerate
jeden
\layout Enumerate
dva
\begin_deeper
\layout Enumerate
podpolo<EFBFBD>ka - bod 1
\layout Enumerate
podpolo<EFBFBD>ka - bod 2
\end_deeper
\layout Enumerate
tri
\layout Standard
Ako vlo<6C><6F>te zoznam do in<69>ho zoznamu?
\layout Standard
Teraz by odpove<76> bola oby<62>ajn<6A>: vnor<6F>te jeden zoznam do druh<75>ho.
Av<41>ak vn<76>ranie nie je limitovan<61> len na zoznamy.
V LyXe m<><6D>ete vnori<72> skoro v<>etko do hoci<63>oho in<69>ho, ako o chv<68><76>u zist<73>te.
Toto je skuto<74>n<EFBFBD> sila vn<76>rania prostred<65> odsekov.
\layout Subsection
<EFBFBD>o m<><6D>ete a nem<65><6D>ete vn<76>ra<72>
\layout Standard
Predt<EFBFBD>m ako v<>s zasypeme prostrediami, mus<75>me v<>m poveda<64> trochu o tom,
ako vn<76>ranie funguje.
\layout Standard
Ot<EFBFBD>zka vn<76>rania je trochu komplikovanej<65>ia ako jednoduch<63> <20>no alebo nie,
m<><6D>ete alebo nem<65><6D>ete.
Tie<69> je tu ot<6F>zka ako.
M<><4D>ete vnori<72> toto prostredie do in<69>ho? M<><4D>ete vnori<72> in<69> prostredie do
neho?
\begin_inset Quotes gld
\end_inset
<EFBFBD>no
\begin_inset Quotes grd
\end_inset
na jednu z t<>chto ot<6F>zok negarantuje
\begin_inset Quotes gld
\end_inset
<EFBFBD>no
\begin_inset Quotes grd
\end_inset
na druh<75> ot<6F>zku.
\layout Standard
Ke<EFBFBD> pr<70>de na vn<76>ranie, prostredie odseku v LyXe m<><6D>e ma<6D> tri stavy.
Poprv<72>, prostredie m<><6D>e by<62> <20>plne nevn<76>rate<74>n<EFBFBD>.
Po druh<75> s<> prostredia, ktor<6F> s<> plne vn<76>rate<74>n<EFBFBD>.
M<><4D>ete ich vn<76>ra<72> do in<69>ch vec<65> a takisto m<><6D>ete vn<76>ra<72> in<69> veci do nich.
E<>te je jeden typ prostred<65>.
M<><4D>ete ich vn<76>ra<72> do in<69>ch prostred<65>, ale to je v<>etko.
Do nich nem<65><6D>ete vnori<72> ni<6E>.
\layout Standard
Tu je zoznam v<>etk<74>ch troch spr<70>van<61> sa vn<76>rania, a ktor<6F> prostredia ho
maj<61>:
\begin_inset Foot
collapsed true
\layout Standard
Z nejak<61>ho divn<76>ho d<>vodu, LyX dovo<76>uje <20>plne vn<76>ra<72> prostredia
\family sans
Bibliography
\family default
a
\family sans
Abstract
\family default
.
LyX tie<69> umo<6D><6F>uje vn<76>ra<72> prostredia
\family sans
Title
\family default
,
\family sans
Author
\family default
a
\family sans
Date
\family default
do in<69>ch prostred<65>.
Zd<5A>raz<61>ujeme v<>m, aby ste to nerobili.
LaTeX to m<><6D>e, ale nemus<75> zobra<72>.
Nevieme to naisto.
Ale v kontexte to aj tak ned<65>va <20>iadny zmysel vn<76>ra<72> tieto prostredia,
tak<61>e pre<72>o by ste to mali robi<62>?
\end_inset
\layout Description
Nevn<EFBFBD>rate<EFBFBD>n<EFBFBD> Nem<65><6D>te ich vn<76>ra<72>, ani vn<76>ra<72> do nich.
\begin_deeper
\layout Itemize
\family sans
Chapter
\layout Itemize
\family sans
Section
\layout Itemize
\family sans
Subsection
\layout Itemize
\family sans
Subsubsection
\layout Itemize
\family sans
Paragraph
\layout Itemize
\family sans
Subparagraph
\layout Itemize
\family sans
Section*
\layout Itemize
\family sans
Subsection*
\layout Itemize
\family sans
Subsubsection*
\layout Itemize
\family sans
Bibliography
\layout Itemize
\family sans
Abstract
\layout Itemize
\family sans
Title
\layout Itemize
\family sans
Author
\layout Itemize
\family sans
Date
\end_deeper
\layout Description
Plne\SpecialChar ~
vn<EFBFBD>rate<EFBFBD>n<EFBFBD> M<><4D>ete ich vn<76>ra<72> a m<><6D>ete vn<76>ra<72> do nich.
\begin_deeper
\layout Itemize
\family sans
Verse
\layout Itemize
\family sans
Quote
\layout Itemize
\family sans
Quotation
\layout Itemize
\family sans
Itemize
\layout Itemize
\family sans
Enumerate
\layout Itemize
\family sans
Description
\layout Itemize
\family sans
List
\layout Itemize
\family sans
LyX-Code
\end_deeper
\layout Description
Vn<EFBFBD>rate<EFBFBD>n<EFBFBD>\SpecialChar ~
do M<><4D>ete ich vn<76>ra<72> do in<69>ch prostred<65>, ale nem<65><6D>ete vn<76>ra<72> do
nich sam<61>ch.
\begin_deeper
\layout Itemize
\family sans
Standard
\layout Itemize
\family sans
Right\SpecialChar ~
Address
\layout Itemize
\family sans
Address
\layout Itemize
\family sans
LaTeX
\end_deeper
\layout Standard
Prostredie
\family sans
Caption
\family default
skuto<74>ne nikam nepatr<74>, preto<74>e sa pou<6F><75>va len v insetoch s obr<62>zkami a
tabu<62>kami.
\layout Subsection
Vn<EFBFBD>ranie in<69>ch vec<65>: tabuliek, vzorcov, insetov at<61>.
\layout Standard
\begin_inset LatexCommand \label{sec: tab-a-obr-vnaranie}
\end_inset
Toto s<> veci, ktor<6F> nie s<> prostredia odsekov, ale nejako sa ich vn<76>ranie
dot<6F>ka.
S<> to:
\layout Itemize
Rovnice
\layout Itemize
Tabu<EFBFBD>ky
\layout Itemize
Obr<EFBFBD>zky
\layout Standard
\emph on
Pozn<EFBFBD>mka:
\emph toggle
ak obr<62>zok alebo tabu<62>ku vlo<6C><6F>te do insetu, tak toto sa ho net<65>ka.
Pozrite sa ni<6E><69>ie, alebo na sekciu
\begin_inset LatexCommand \ref{sec: obrazky}
\end_inset
alebo
\begin_inset LatexCommand \ref{sec: tabulky}
\end_inset
.
\layout Standard
LyX m<><6D>e tieto tri objekty pova<76>ova<76> bu<62> za jedno slovo, alebo za odsek.
No, tabu<62>ku nem<65><6D>ete vlo<6C>i<EFBFBD> do riadku, ale vzorec a obr<62>zok <20>no.
Ak je obr<62>zok alebo rovnica v riadku, ide tam, kam patr<74> odsek, v ktorom
sa nach<63>dza.
\layout Standard
Na druhej strane, ak m<>te rovnicu, obr<62>zok alebo tabu<62>ku ako samostatn<74>
odsek, spr<70>va sa ako prostredie
\begin_inset Quotes gld
\end_inset
vn<EFBFBD>rate<EFBFBD>n<EFBFBD> do
\begin_inset Quotes grd
\end_inset
.
M<><4D>ete ich vnori<72> do in<69>ho prostredia, ale (oby<62>ajne) nem<65><6D>ete vn<76>ra<72> do
nich.
\layout Standard
Tu je pr<70>klad s tabu<62>kou:
\layout Enumerate
Polo<EFBFBD>ka jedna
\begin_deeper
\layout Enumerate
Toto je (a) a je vnoren<65>.
\begin_deeper
\layout Standard
\added_space_top 0.3cm \added_space_bottom 0.3cm \align center
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
<features>
<column alignment="center" valignment="top" leftline="true" width="0pt">
<column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
a
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
b
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
c
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
d
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\end_deeper
\layout Enumerate
Toto je (b).
Tabu<62>ka je vnoren<65> v (a).
\end_deeper
\layout Enumerate
Sp<EFBFBD><EFBFBD> vonku.
\layout Standard
Ak by sme tabu<62>ku v<>bec nevnorili, zoznam by vyzeral takto:
\layout Enumerate
Polo<EFBFBD>ka jedna
\begin_deeper
\layout Enumerate
Toto je (a) a je vnoren<65>.
\end_deeper
\layout Standard
\added_space_top 0.3cm \added_space_bottom 0.3cm \align center
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
<features>
<column alignment="center" valignment="top" leftline="true" width="0pt">
<column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
a
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
b
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
c
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
d
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\layout Enumerate
Toto je (b).
Tabu<62>ka je vnoren<65> v (a).
\layout Enumerate
Sp<EFBFBD><EFBFBD> vonku.
\layout Standard
V<EFBFBD>imnite si, <20>e polo<6C>ka (b) u<> nie je vnoren<65>, ale tie<69> je prvou polo<6C>kou
nov<6F>ho zoznamu!
\layout Standard
E<EFBFBD>te je tu jedna pasca, do ktorej sa m<><6D>ete chyti<74>: ak tabu<62>ku vnor<6F>te,
ale nie dostato<74>ne hlboko, LyX ostatok za tabu<62>kou premen<65> na nov<6F> (pod)zoznam.
\layout Enumerate
Polo<EFBFBD>ka jedna
\begin_deeper
\layout Enumerate
Toto je (a) a je vnoren<65>.
\layout Standard
\added_space_top 0.3cm \added_space_bottom 0.3cm \align center
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
<features>
<column alignment="center" valignment="top" leftline="true" width="0pt">
<column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
a
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
b
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
c
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
d
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\layout Enumerate
Toto je (b).
Tabu<62>ka je vnoren<65> v (a).
\end_deeper
\layout Enumerate
Sp<EFBFBD><EFBFBD> vonku.
\layout Standard
Ako vid<69>te, polo<6C>ka (b) sa premenila na prv<72> polo<6C>ku, ale prv<72> polo<6C>ku
\emph on
vn<EFBFBD>tri
\emph toggle
zoznamu 1.
Rovnak<61> vec by sa stala s rovnicou alebo obr<62>zkom.
Tak<61>e ak vn<76>rate rovnice, obr<62>zky, alebo tabu<62>ky, dajte si pozor, <20>i idete
do spr<70>vnej h<>bky.
\layout Standard
E<EFBFBD>te s<> tu tie takzvan<61>
\family sans
Insety
\family default
.
\family sans
Inset
\family default
je blok textu asociovan<61> s nejak<61>m popisom, ktor<6F> ale nem<65> pevn<76> polohu.
M<><4D>e
\begin_inset Quotes gld
\end_inset
pl<EFBFBD>va<EFBFBD>
\begin_inset Quotes grd
\end_inset
dopredu alebo dozadu po str<74>nkach, pod<6F>a toho, kde je najlep<65>ie umiestnen<65>.
\family sans
Pozn<EFBFBD>mky pod <20>iarou
\family default
a
\family sans
pozn<EFBFBD>mky na okraji
\family default
s<> insety, takisto ako inset s obr<62>zkom, insety s tabu<62>kou, <20>irok<6F> insety
s obr<62>zkom a <20>irok<6F> insety s tabu<62>kou.
\begin_inset Foot
collapsed true
\layout Standard
Rozdiel medzi <20>irok<6F>m a ne-<2D>irok<6F>m insetom je relevantn<74> len v dvojst<73>pcovom
dokumente, kde <20>irok<6F> insety s<> <20>irok<6F> dva st<73>pce namiesto jedn<64>ho.
\end_inset
Ak v LyXe editujete dokument, zavret<65> inset vyzer<65> ako slovo, nap<61>san<61>
horn<72>m indexom a <20>erven<65>m p<>smom, a patr<74> tam, kde je odsek, v ktorom sa
nach<63>dza.
Av<41>ak, preto<74>e insety nemaj<61> pevn<76> polohu vo v<>slednom texte, vn<76>ranie
nem<65> <20>iadny efekt na ich skuto<74>n<EFBFBD> polohu ke<6B> dokument spracujete LaTeXom.
\layout Subsection
Pou<EFBFBD>itie a v<>eobecn<63> vlastnosti
\layout Subsubsection
R<EFBFBD>zne v<>zby
\layout Standard
Teraz, ke<6B> sme v<>m povedali <20>o m<><6D>ete a <20>o nem<65><6D>ete vn<76>ra<72>, je <20>as, aby
sme vysvetlili
\emph on
ako
\emph toggle
vn<76>ra<72>.
\layout Standard
V prvom rade m<>te na v<>ber medzi kl<6B>vesov<6F>mi skratkami, n<>strojovou li<6C>tou
a polo<6C>kami menu.
Pr<50>kaz
\family sans
Zmeni<EFBFBD> h<>bku prostredia
\family default
z menu
\family sans
Rozlo<EFBFBD>enie
\family default
\emph on
zv<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
\emph toggle
h<>bku vnorenia o jednu <20>rove<76>.
Zv<5A><76>i<EFBFBD> <20>rove<76> m<><6D>ete tie<69> pou<6F>it<69>m tla<6C><61>tka na paneli n<>strojov, ktor<6F>
zobrazuje str<74>nku, so <20><>pkami na oboch stran<61>ch vnoren<65>ho odseku.
\layout Standard
S<EFBFBD> dva sp<73>soby vn<76>rania textu.
M<><4D>ete ozna<6E>i<EFBFBD> text, ktor<6F>ho h<>bku chcete zmeni<6E>, alebo jednoducho umiestnite
kurzor do do odseku, ktor<6F>ho h<>bku chcete zmeni<6E>.
Prv<72> sp<73>sob umo<6D><6F>uje zmeni<6E> h<>bku viacer<65>m odsekom naraz.
\layout Standard
V<EFBFBD>imnite si, <20>e LyX zmen<65> h<>bku vnorenia, len ke<6B> je to mo<6D>n<EFBFBD>.
Ak nie je mo<6D>n<EFBFBD> tak urobi<62>, pri pokuse zmeni<6E> h<>bku sa ni<6E> nestane.
<20>alej, ke<6B> zmen<65>te h<>bku odseku, ovplyvn<76> to h<>bku ka<6B>d<EFBFBD>ho odseku, ktor<6F>
je v tomto vnoren<65>.
Je <20>a<EFBFBD>k<EFBFBD> pop<6F>sa<73>, <20>o presne LyX urob<6F> v takomto pr<70>pade.
Z<>vis<69> to na tom, ako v<><76> text vyzer<65>.
Najlep<65>ie, <20>o m<><6D>ete urobi<62>, je
\begin_inset Quotes gld
\end_inset
pohra<EFBFBD> sa
\begin_inset Quotes grd
\end_inset
s menen<65>m h<>bky a pozera<72> <20>o to rob<6F>.
\layout Standard
Nakoniec by sme v<>s radi upozornili na toto:
\layout Itemize
Ak
\emph on
zmen<EFBFBD><EFBFBD>te
\emph toggle
h<>bku viackr<6B>t, LyX sa zastav<61> na najvy<76><79>ej <20>rovni.
\layout Itemize
Ak
\emph on
zv<EFBFBD><EFBFBD><EFBFBD><EFBFBD>te
\emph toggle
h<>bku vnorenia viackr<6B>t, LyX h<>bku cyklicky nastavuje.
To znamen<65>, <20>e ke<6B> dosiahnete najhlb<6C>iu <20>rove<76> a znovu sa pok<6F>site h<>bku
zv<7A><76><EFBFBD>i<EFBFBD>, LyX sa nezastav<61>, ale vr<76>ti sa na najvy<76><79>iu <20>rove<76>.
\layout Standard
V<EFBFBD>imnite si, <20>e
\begin_inset Quotes gld
\end_inset
najv<EFBFBD><EFBFBD><EFBFBD>ia h<>bka
\begin_inset Quotes grd
\end_inset
neznamen<65> najhlb<6C>iu mo<6D>n<EFBFBD> h<>bku.
Nem<65><6D>ete zmeni<6E> h<>bku na <20>ubovo<76>n<EFBFBD> <20>rove<76>.
V nadradenej <20>rovni mus<75> nie<69>o by<62>.
\layout Standard
Ke<EFBFBD> hovor<6F>me o <20>rovniach, LyX dok<6F><6B>e vn<76>ra<72> do <20>iestej <20>rovne.
In<49>mi slovami, <20>rove<76> <20>.
6 je najv<6A><76><EFBFBD>ia mo<6D>n<EFBFBD> h<>bka.
Tu je pr<70>klad <20>o t<>m mysl<73>me:
\layout Enumerate
<EFBFBD>rove<EFBFBD> 1 - navy<76><79>ia
\begin_deeper
\layout Enumerate
<EFBFBD>rove<EFBFBD> 2
\begin_deeper
\layout Enumerate
<EFBFBD>rove<EFBFBD> 3
\begin_deeper
\layout Enumerate
<EFBFBD>rove<EFBFBD> 4
\begin_deeper
\layout Itemize
<EFBFBD>rove<EFBFBD> 5
\begin_deeper
\layout Itemize
<EFBFBD>rove<EFBFBD> 6
\end_deeper
\end_deeper
\end_deeper
\end_deeper
\end_deeper
\layout Standard
E<EFBFBD>te raz: LyX m<> maxim<69>lne 6 <20>rovn<76> a nez<65>le<6C>i na tom, ktor<6F> prostredie
odseku pou<6F><75>vate pre dan<61> <20>rove<76>.
\begin_inset Foot
collapsed true
\layout Standard
Nane<EFBFBD><EFBFBD>astie, LyX si toto obmedzenie nestr<74><72>i.
Ak sa pokus<75>te ho prekro<72>i<EFBFBD>, LyX v<>m to dovol<6F>, ale LaTeX v<>m vr<76>ti chybu
pri produkovan<61> v<>stupu.
\end_inset
Znamen<65> to, <20>e m<><6D>ete do <20>rovne 6 vn<76>ra<72> zoznam
\family sans
Description
\family default
, alebo prostredie
\family sans
Verse
\family default
, at<61>.
Tie<69> m<><6D>ete prostredia mie<69>a<EFBFBD>, ako uvid<69>te nesk<73>r.
\layout Standard
S<EFBFBD> dve v<>nimky pre obmedzenie <20>rovne 6 a obe m<><6D>ete vidie<69> v pr<70>kladoch.
Prostredia
\family sans
Enumerate
\family default
a
\family sans
Itemize
\family default
m<><6D>ete vn<76>ra<72> len do h<>bky 4.
Napr<70>klad, keby sme sa pok<6F>sili vnori<72> <20>al<61>iu polo<6C>ku
\family sans
Enumerate
\family default
zoznamu do polo<6C>ky
\begin_inset Quotes gld
\end_inset
A.
\begin_inset Quotes grd
\end_inset
, dostali by sme chybu.
\begin_inset Foot
collapsed true
\layout Standard
Znova: LyX toto neustr<74><72>i, ale ak sa to rozhodnete poru<72>i<EFBFBD>, LaTeX v<>m vr<76>ti
chybu.
\end_inset
\layout Subsection
Zop<EFBFBD>r pr<70>kladov
\layout Standard
Najlep<EFBFBD><EFBFBD> sp<73>sob ako vysvetli<6C> <20>o m<><6D>ete robi<62> s vn<76>ran<61>m s<> pr<70>klady.
M<>me nieko<6B>ko pr<70>kladov vnoren<65>ch prostred<65>, v ktor<6F>ch vysvet<65>ujeme, ako
sme dan<61> pr<70>klad vytvorili, tak<61>e si ho m<><6D>ete zopakova<76>.
\layout Subsubsection
Pr<EFBFBD>klad <20>.
1: <20>es<65> <20>rovn<76> a zmie<69>an<61> vn<76>ranie
\layout List
\labelwidthstring MMM
<EFBFBD>.\SpecialChar ~
1-a Toto je najvy<76><79>ia <20>rove<76>.
Pou<6F><75>vame prostredie
\family sans
List
\family default
.
\begin_deeper
\layout List
\labelwidthstring MMM
<EFBFBD>.\SpecialChar ~
2-a Toto je druh<75> <20>rove<76>.
Vytvorili sme ju
\family sans
M-Enter
\family default
a n<>sledn<64>m zv<7A><76><EFBFBD>en<65>m h<>bky.
\begin_deeper
\layout List
\labelwidthstring MMM
<EFBFBD>.\SpecialChar ~
3-a Tretia <20>rove<76>.
Teraz sme pou<6F>ili
\family sans
Enter
\family default
a dvakr<6B>t sme zv<7A><76><EFBFBD>ili h<>bku prostredia.
Takisto sme ju mohli urobi<62> ako v predch<63>dzaj<61>com pr<70>pade, teda
\family sans
M-Enter
\family default
a zv<7A><76><EFBFBD>enie h<>bky.
\begin_deeper
\layout Standard
Toto je prostredie
\family sans
Standar
\family default
, vnoren<65> v polo<6C>ke
\begin_inset Quotes gld
\end_inset
<EFBFBD>.\SpecialChar ~
3-a
\begin_inset Quotes grd
\end_inset
, tak<61>e je na <20>rovi <20>.
4.
Urobili sme to stla<6C>en<65>m
\family sans
M-Enter
\family default
a zv<7A><76><EFBFBD>en<65>m h<>bky a n<>sledn<64>m zmenen<65>m prostredia na
\family sans
Standard
\family default
.
Tato sa robia polo<6C>ky zoznamu, ktor<6F> maj<61> viac ako jeden odsek -- tie<69>
to funguje na prostredia
\family sans
Description
\family default
,
\family sans
Enumerate
\family default
a
\family sans
Itemize
\family default
.
\layout Standard
Tu je <20>al<61><6C> odsek v prostred<65>
\family sans
Standard
\family default
, tie<69> na <20>rovni <20>.
4, uroben<65> jednoduch<63>m stla<6C>n<EFBFBD>m
\family sans
M-Enter
\family default
.
\layout List
\labelwidthstring MMM
<EFBFBD>.\SpecialChar ~
4-a <20>rove<76> <20>.
4.
Stla<6C>ili sme
\family sans
M-Enter
\family default
a zmenili prostredie odseku nasp<73><70> na
\family sans
List
\family default
.
Spome<6D>te si -- do prostredia
\family sans
Standard
\family default
nem<65><6D>eme ni<6E> vnori<72>, preto sme st<73>le na <20>rovni <20>.
4.
\begin_deeper
\layout List
\labelwidthstring MMM
<EFBFBD>.\SpecialChar ~
5-a Toto je <20>rove<76> <20>.
5\SpecialChar \ldots{}
\begin_deeper
\layout List
\labelwidthstring MMM
<EFBFBD>.\SpecialChar ~
6-a \SpecialChar \ldots{}
a toto je <20>rove<76> <20>.
6.
Teraz by ste u<> mali vedie<69> ako sme ich urobili.
\end_deeper
\layout List
\labelwidthstring MMM
<EFBFBD>.\SpecialChar ~
5-b Sp<53><70> na <20>rovni <20>.
5.
Stla<6C>ili sme Enter a nastavili potrebn<62> h<>bku.
\end_deeper
\layout List
\labelwidthstring MMM
<EFBFBD>.\SpecialChar ~
4-b <20>rove<76> <20>.
4.
\end_deeper
\layout List
\labelwidthstring MMM
<EFBFBD>.\SpecialChar ~
3-b <20>rove<76> <20>.
3.
\end_deeper
\layout List
\labelwidthstring MMM
<EFBFBD>.\SpecialChar ~
2-b <20>rove<76> <20>.
2.
\end_deeper
\layout List
\labelwidthstring MMM
<EFBFBD>.\SpecialChar ~
1-b A nakoniec najvy<76><79>ia <20>rove<76>.
Na konci tejto vety stla<6C><61>me
\family sans
Enter
\family default
a zmen<65>me prostredie na
\family sans
Standard
\family default
.
\layout Standard
Tu to m<>te! Oh\SpecialChar \ldots{}
taktie<69> sme mohli namiesto prostredia List pou<6F>i<EFBFBD> prostredia
\family sans
Description
\family default
,
\family sans
Quote
\family default
,
\family sans
Quotation
\family default
, alebo dokonca
\family sans
Verse
\family default
.
Tento pr<70>klad by bol rovnak<61>.
\layout Subsubsection
Pr<EFBFBD>klad <20>.
2: Dedenie
\layout LyX-Code
Toto je prostredie
\family sans
LyX-Code
\family default
na <20>rovni <20>.
1, teda na najvy<76><79>ej <20>rovni.
Teraz stla<6C><61>me
\family sans
Enter
\family default
, potom zmen<65>me h<>bku prostredia a prostredie odseku na
\family sans
Enumerate
\family default
.
\begin_deeper
\layout Enumerate
Toto je prostredie
\family sans
Enumerate
\family default
na <20>rovni <20>.
2.
\layout Enumerate
V<EFBFBD>imnite si, <20>e vnoren<65> prostredie
\family sans
Enumerate
\family default
neded<65> od svojho rodi<64>ovsk<73>ho prostredia (
\family sans
LyX-Code
\family default
) len okraje, ale tie<69> p<>smo a medzerovanie.
\end_deeper
\layout Standard
Tento pr<70>klad sme skon<6F>ili stla<6C>en<65>m Enteru a n<>sledn<64>m zmenen<65>m prostredia
na Standard.
\layout Subsubsection
Pr<EFBFBD>klad <20>.
3: <20><>slovanie (zna<6E>ky), <20>rovne a prostredia Enumerate a Itemize
\layout Enumerate
Toto je prv<72> <20>rove<76> v prostred<65>
\family sans
Enumerate
\family default
.
Ideme ich zop<6F>r do seba vnori<72>.
\begin_deeper
\layout Enumerate
Toto je <20>rove<76> <20>.
2.
Stla<6C>ili sme
\family sans
M-Enter
\family default
a zmenili h<>bku.
Teraz <20>o sa stane, ak vnor<6F>me do tohto prostredie
\family sans
Itemize
\family default
? Bude na <20>rovni <20>.
3, ale ak<61> bude ma<6D> zna<6E>ku? Bude to hviezdi<64>ka?
\begin_deeper
\layout Itemize
Nie! Bude to kr<6B><72>ok.
Toto je
\emph on
prv<EFBFBD>
\emph toggle
prostredie
\family sans
Itemize
\family default
, aj ke<6B> je na <20>rovni <20>.
3.
Tak<61>e jeho zna<6E>ka je kr<6B><72>ok.
\begin_deeper
\layout Itemize
Toto je <20>rove<76> <20>.
4.
Mali by ste vedie<69> ako sme ju urobili.
\begin_deeper
\layout Enumerate
<EFBFBD>rove<EFBFBD> <20>.
5.
Teraz sme nezmenili len h<>bku, ale aj samotn<74> prostredie sp<73><70> na
\family sans
Enumerate
\family default
.
V<>imnite si typ <20><>slovania! S<> to
\emph on
mal<EFBFBD> r<>mske <20><>sla
\emph toggle
, preto<74>e v r<>mci prostredia
\family sans
Enumerate
\family default
sme na <20>rovni <20>.
3.
\layout Enumerate
<EFBFBD>o sa stane, ak nezmen<65>me prostredie, ale sp<73><70> zv<7A><76>ime jeho h<>bku? Ak<41> typ
<20><>slovania LyX pou<6F>ije?
\layout Enumerate
Oh, keby ste zabudli ako necha<68> h<>bku aj prostredie nezmenen<65> a vytvori<72>
nov<6F> polo<6C>ku, sta<74><61> stla<6C>i<EFBFBD>
\family sans
M-Enter
\family default
.
\layout Enumerate
Teraz h<>bku prostredia zv<7A><76>ime.
\end_deeper
\layout Enumerate
Toto je <20>rove<76> <20>.
4.
Pozrite, ak<61> <20><>slovanie LyX pou<6F>il!
\end_deeper
\layout Enumerate
Toto je <20>rove<76> <20>.
3.
Aj ke<6B> sme zmenili h<>bku, LyX st<73>le pou<6F><75>va mal<61> r<>mske <20><>slice.
Pre<72>o?
\layout Enumerate
Preto<EFBFBD>e aj ke<6B> sa zmenila h<>bka prostredia, v r<>mci prostredia
\family sans
Enumerate
\family default
sme na <20>rovni <20>.
3.
Av<41>ak v<>imnite si, <20>e LyX za<7A>ne <20><>slova<76> od za<7A>iatku.
\end_deeper
\layout Enumerate
Dostali sme sa sp<73><70> na druh<75> <20>rove<76>.
Teraz sme nezmenili len h<>bku, ale dostali sme sa na druh<75> <20>rove<76> aj v
r<>mci
\family sans
Enumerate
\family default
, tak<61>e sa zmenilo aj <20><>slovanie.
\end_deeper
\layout Enumerate
To ist<73> sa stalo po <20>al<61>om stla<6C>en<65> kl<6B>vesy
\family sans
Enter
\family default
.
Sme na najvy<76><79>ej <20>rovni.
\layout Standard
Nakoniec sme zmenili prostredie na
\family sans
Standard
\family default
.
Ako vid<69>te, <20><>slo <20>rovne nes<65>hlas<61> s <20><>slovan<61>m, ktor<6F> LyX pou<6F><75>va pre
prostredia
\family sans
Enumerate
\family default
a
\family sans
Itemize
\family default
.
Toto z<>vis<69> od <20><>slovania
\emph on
prostredia
\family sans
Enumerate
\family default
, ktor<6F> obklopuje dan<61> odsek
\emph toggle
.
Rovnak<61> pravidlo plat<61> pre prostredie
\family sans
Itemize
\family default
.
\layout Subsubsection
Pr<EFBFBD>klad <20>.
4: Ideme na to
\layout Enumerate
Teraz to v<>etko
\begin_inset Quotes gld
\end_inset
pomie<EFBFBD>ame
\begin_inset Quotes grd
\end_inset
.
Nebudeme vn<76>ra<72> tak hlboko ako v pre\SpecialChar \-
do<EFBFBD>\SpecialChar \-
l<EFBFBD>ch pr<70>kladoch, ani nebudeme tak
detailne popisova<76> ako sme to urobili.
(<28>rove<76> <20>.
1:
\family sans
Enumerate
\family default
)
\begin_deeper
\layout Standard
(
\family sans
Enter
\family default
, zmena h<>bky,
\family sans
Standard
\family default
: <20>rove<76> <20>.
2) V z<>tvork<72>ch budeme uv<75>dza<7A> ako sme dan<61> odsek vytvorili.
Mysl<73>me, <20>e je to zrozumite<74>n<EFBFBD>: ako sme urobili dan<61> odsek, typ prostredia
dan<61>ho odseku a na za<7A>iatku alebo na konci <20>rove<76> na ktorej sa nach<63>dzame.
\end_deeper
\layout Enumerate
(
\family sans
Enter
\family default
,
\family sans
Enumerate
\family default
: <20>rove<76> <20>.
1) Toto je <20>al<61>ia polo<6C>ka zoznamu.
\begin_deeper
\layout Verse
Teraz prid<69>me ver<65>e
\newline
Bude to trochu hor<6F>ie
\newline
(
\family sans
Enter
\family default
, zmena h<>bky,
\family sans
Verse
\family default
: <20>rove<76> <20>.
2)
\layout Verse
Fiddle dee, Fiddle doo
\newline
Bippitey boppitey boo!
\newline
(
\family sans
M-Enter
\family default
)
\layout Verse
A m<>me tu tabu<62>ku:
\begin_deeper
\layout Standard
\added_space_top 0.3cm \added_space_bottom 0.3cm \align center
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
<features>
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" leftline="true" width="0pt">
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" usebox="none">
\begin_inset Text
\layout Standard
jedna ryba
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
dve ryby
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" bottomline="true" usebox="none">
\begin_inset Text
\layout Standard
<EFBFBD>erven<EFBFBD> ryba
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
modr<EFBFBD> ryba
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\end_deeper
\end_deeper
\layout Verse
(
\family sans
M-Enter
\family default
, tabu<62>ka, zmena h<>bky (2-kr<6B>t),
\family sans
M-Enter
\family default
,
\family sans
Verse
\family default
, zv<7A><76>enie <20>rovne)
\layout Enumerate
(
\family sans
Enter
\family default
,
\family sans
Enumerate
\family default
: <20>rove<76> <20>.
1) Toto je <20>al<61>ia polo<6C>ka zoznamu.
V<>imnite si, <20>e ke<6B> sme vlo<6C>ili tabu<62>ku, <20>rove<76> sa zmenila na <20>.
3, tak<61>e sme museli zmeni<6E> h<>bku prostredia dva-kr<6B>t (aby bola na <20>rovni
<20>.
2), aby tabu<62>ka bola vnoren<65> v prosted<65>
\family sans
Verse
\family default
.
\layout Quotation
Teraz sme ukon<6F>ili zoznam
\family sans
Enumerate
\family default
a za<7A>ali prostredie
\family sans
Quotation
\family default
.
St<53>le sme na <20>rovni <20>.
1.
Chceme v<>m uk<75>za<7A> p<>r vec<65>, ktor<6F> m<><6D>ete urobi<62> mixovan<61>m prostred<65>.
<20>al<61>ie odseky s<>
\begin_inset Quotes gld
\end_inset
citovan<EFBFBD> list
\begin_inset Quotes grd
\end_inset
.
Prostredia
\family sans
Address
\family default
a
\family sans
Right Address
\family default
vnor<6F>me do tohoto a potom pou<6F>ijeme <20>al<61>ie vnoren<65> prostredie
\family sans
Quotation
\family default
na telo listu.
Na zachovanie h<>bky budeme pou<6F><75>va<76>
\family sans
M-Enter
\family default
.
Nezabudnite, <20>e v prostrediach
\family sans
Address
\family default
a
\family sans
Right Address
\family default
mus<75>te pou<6F><75>va<76>
\family sans
C-Enter
\family default
, aby ste mohli nap<61>sa<73> viac riadkov.
Tu to je:
\begin_deeper
\layout Right Address
1234 Nowhere Rd.
\newline
Moosegroin, MT 00100
\newline
9-6-96
\layout Address
V<EFBFBD><EFBFBD>en<EFBFBD> p<>n Nov<6F>:
\layout Quotation
S <20><>tos<6F>ou V<>m oznamujeme, <20>e nem<65><6D>eme splni<6E> Va<56>u objedn<64>vku na 200 l stla<6C>en<65>h
o met<65>nu, kv<6B>li d<>vodom, ktor<6F> s<> mimo na<6E>u kontrolu.
Nane<6E><65>astie, nieko<6B>ko z na<6E><61>ch kr<6B>v z<>hadne explodovalo.
Va<56>e meno d<>me do zoznamu <20>akate<74>ov a va<76>u objedn<64>vku sa pokus<75>me splni<6E>
hne<6E> ako to bude mo<6D>n<EFBFBD>.
<20>akujeme V<>m za trpezlivos<6F>.
\layout Quotation
Teraz V<>m v<>ak m<><6D>eme pon<6F>knu<6E> hov<6F>dzinu.
Ak m<>te z<>ujem, po<70>lite n<>m nasp<73><70> prilo<6C>en<65> objedn<64>vkov<6F> formul<75>r s Va<56>ou
objedn<64>vkou a platbou.
\layout Quotation
E<EFBFBD>te raz V<>m <20>akujeme za Va<56>u trpezlivos<6F>.
\layout Address
S pozdravom.
\newline
---------------
\layout Quotation
Toto je koniec pr<70>kladu!
\end_deeper
\layout Standard
Ako vid<69>te, vn<76>ranie prostred<65> v LyXe v<>m d<>va ve<76>k<EFBFBD> silu.
M<><4D>ete jednoducho vnori<72>
\family sans
Itemize
\family default
zoznam do prostredia
\family sans
Quotation
\family default
alebo
\family sans
Quote
\family default
, alebo naopak vlo<6C>i<EFBFBD>
\family sans
Quote
\family default
do zoznamu
\family sans
Itemize
\family default
.
M<>te ve<76>k<EFBFBD> mo<6D>nosti.
\layout Section
P<EFBFBD>sma a <20>t<EFBFBD>ly textu
\layout Subsection
Preh<EFBFBD>ad
\layout Standard
Ve<EFBFBD>a modern<72>ch s<>dzac<61>ch jazykov sa za<7A>alo pres<65>va<76> z poz<6F>cie <20>pecifikovania
ur<75>it<69>ho fontu ku <20>pecifikovaniu <20>t<EFBFBD>lu znakov.
Napr<70>klad, namiesto zmeny aktu<74>lneho fontu na jeho <20>ikm<6B> verziu, pou<6F>ijete
\begin_inset Quotes gld
\end_inset
zv<EFBFBD>raznen<EFBFBD> <20>t<EFBFBD>l
\begin_inset Quotes grd
\end_inset
.
Tento koncept sa prfektne hod<6F> do LyXu.
\layout Standard
Teraz v<>m LyX dovo<76>uje <20>pecifikova<76> glob<6F>lny <20>tandardn<64> font a m<> dva <20>t<EFBFBD>ly
znakov:
\family sans
Zv<EFBFBD>raznen<EFBFBD>
\family default
a
\family sans
Meno
\family default
.
<20>t<EFBFBD>l
\family sans
Zv<EFBFBD>raznen<EFBFBD>
\family default
je to ist<73> ako <20>ikm<6B> font.
<20>t<EFBFBD>l
\family sans
Meno
\family default
kore<72>ponduje s fontom p<>san<61>m ve<76>k<EFBFBD>mi p<>smenami (kapit<69>lky), ktor<6F> sa pou<6F><75>va
hlavne na p<>sanie mien.
LyX T<>m d<>fa, <20>e niekedy bude ma<6D> <20>pln<6C> mno<6E>inu <20>t<EFBFBD>lov znakov a tie<69>, <20>e
u<><75>vate<74> si bude m<>c<EFBFBD> prisp<73>sobi<62>, ktor<6F> zmeny fontu pr<70>sluchaj<61> ktor<6F>mu
<20>t<EFBFBD>lu.
V s<><73>asnosti sa budete musie<69> uspokoji<6A> s t<>m, <20>o sme u<> urobili.
\layout Subsection
Glob<EFBFBD>lne vo<76>by
\layout Standard
<EFBFBD>tandardn<EFBFBD> font si m<><6D>ete nastavi<76> v okne
\family sans
Rozlo<EFBFBD>enie dokumentu
\family default
, pr<70>kazom
\family sans
Dokument
\family default
z menu
\family sans
Rozlo<EFBFBD>enie
\family default
.
S<> tu dve zauj<75>mav<61> vo<76>by:
\family sans
P<EFBFBD>sma
\family default
a
\family sans
Ve<EFBFBD>kos<EFBFBD>\SpecialChar ~
p<EFBFBD>s\SpecialChar \-
ma
\family default
.
Mo<4D>n<EFBFBD> vo<76>by pod zoznamom
\family sans
P<EFBFBD>sma
\family default
zahr<68>uj<75>
\begin_inset Quotes gld
\end_inset
\family sans
default
\family default
\begin_inset Quotes grd
\end_inset
a zoznam fontov, dostupn<70>ch vo va<76>om syst<73>me.
Vo<56>ba
\begin_inset Quotes gld
\end_inset
\family sans
default
\begin_inset Quotes grd
\end_inset
\family default
pou<6F><75>va <20>tandardn<64> font TeXu, zn<7A>my ako
\begin_inset Quotes gld
\end_inset
computer modern
\begin_inset Quotes grd
\end_inset
(cm) alebo
\begin_inset Quotes gld
\end_inset
European modern
\begin_inset Quotes grd
\end_inset
(ec).
V<><56><EFBFBD>ina syst<73>mov bude ma<6D> nejak<61> verzie p<>siem Times a Helvetica, s nejak<61>mi
in<69>mi variantami.
Toto budete musie<69> presk<73>ma<6D> sami.
\layout Standard
Pre vo<76>bu
\family sans
Ve<EFBFBD>kos<EFBFBD> p<>sma
\family default
s<> mo<6D>n<EFBFBD> tri hodnoty (okrem
\begin_inset Quotes gld
\end_inset
default
\begin_inset Quotes grd
\end_inset
): 10, 11 a 12.
Zapam<61>tajte si, <20>e toto je
\emph on
z<EFBFBD>kladn<EFBFBD>
\emph toggle
ve<76>kos<6F> p<>sma.
LyX ostatn<74> mo<6D>n<EFBFBD> ve<76>kosti p<>sma (ako tie, ktor<6F> sa pou<6F><75>vaj<61> na pozn<7A>mky
pod <20>iarou, a indexy) zv<7A><76><EFBFBD>uje a zmen<65>uje pod<6F>a tejto hodnoty.
Ak to potrebujete, ve<76>kos<6F> p<>sma si m<><6D>ete doladi<64> v dokumente.
A je dos<6F> hl<68>pe pou<6F><75>va<76> ako <20>tandardn<64> ve<76>kos<6F> p<>sma 8pt (bodov) alebo
24pt, preto<74>e to m<><6D>e v<><76> dokument spravi<76> ne<6E>itate<74>n<EFBFBD>m.
\layout Standard
V<EFBFBD>imnite si, <20>e ke<6B> si vyberiete nov<6F> hodnotu pre
\family sans
P<EFBFBD>smo
\family default
a
\family sans
Ve<EFBFBD>kos<EFBFBD> p<>sma
\family default
, LyX
\emph on
nezmen<EFBFBD>
\emph toggle
obrazovku.
Rozdiel budete vidie<69> len ke<6B> vygenerujete v<>stup.
Toto je <20>as<61> konceptu WYSIWYM.
Okrem toho, ak ste dos<6F> inteligentn<74> aby ste pou<6F><75>vali po<70><6F>ta<74>, ste dos<6F>
inteligentn<74> aj na to, aby ste rozoznali, <20>e
\begin_inset Quotes gld
\end_inset
Roman
\begin_inset Quotes grd
\end_inset
text na obrazovke LyXu kore<72>ponduje s
\begin_inset Quotes gld
\end_inset
default
\begin_inset Quotes grd
\end_inset
fontom.
\layout Subsection
Pou<EFBFBD><EFBFBD>vanie r<>znych <20>t<EFBFBD>lov znakov
\layout Standard
Ako sme u<> videli, LyX automaticky zmen<65> <20><>l znakov pre ur<75>it<69> prostredia
odsekov.
Tie<69> sme sa zmienili o dvoch <20>al<61><6C>ch <20>t<EFBFBD>loch,
\family sans
Zv<EFBFBD>raznen<EFBFBD>
\family default
a
\family sans
Meno
\family default
.
Oba m<><6D>ete aktivova<76> pomocou kl<6B>vesov<6F>ch skratiek, menu a n<>strojovej li<6C>ty.
\layout Standard
Na aktivovanie <20>t<EFBFBD>lu
\family sans
Meno
\family default
urobte jedno z nasleduj<75>cich:
\layout Itemize
zmenu
\family sans
Rozlo<EFBFBD>enie
\family default
vyberte pr<70>kaz
\family sans
<EFBFBD>t<EFBFBD>l meno
\layout Itemize
kliknite na tla<6C><61>tko s obr<62>zkom <20>loveka
\layout Itemize
pou<EFBFBD>ite kl<6B>vesov<6F> skratku
\family sans
M-c\SpecialChar ~
c
\layout Standard
V<EFBFBD>etky tieto pr<70>kazy s<> prep<65>na<6E>e, tak<61>e ak je <20>t<EFBFBD>l
\family sans
Meno
\family default
u<> akt<6B>vny, deaktivuj<75> ho.
\layout Standard
<EFBFBD>al<EFBFBD><EFBFBD>m roz<6F><7A>ren<65>m <20>t<EFBFBD>lom je <20>t<EFBFBD>l
\family sans
Zv<EFBFBD>raznen<EFBFBD>
\family default
.
M<><4D>ete ho aktivova<76> (alebo deaktivova<76> -- je to tie<69> prep<65>na<6E>) pomocou:
\layout Itemize
vybrat<EFBFBD>m pr<70>kazu
\family sans
Zv<EFBFBD>raznen<EFBFBD> <20>t<EFBFBD>l
\family default
z menu
\family sans
Rozlo<EFBFBD>enie
\layout Itemize
kliknut<EFBFBD>m na tla<6C><61>tko so znakom
\begin_inset Quotes gld
\end_inset
!
\begin_inset Quotes grd
\end_inset
\layout Itemize
pou<EFBFBD>it<EFBFBD>m skratky
\family sans
M-c\SpecialChar ~
e
\layout Standard
Moment<EFBFBD>lne je <20>t<EFBFBD>l
\family sans
Zv<EFBFBD>raznen<EFBFBD>
\family default
ekvivalentn<74> <20>ikm<6B>mu p<>smu.
V bud<75>cnosti to pl<70>nujeme urobi<62> konfigurovate<74>n<EFBFBD>.
\layout Standard
<EFBFBD>t<EFBFBD>l Zv<5A>raznen<65> sme pou<6F><75>vali v celom tomto dokumente.
Tu je <20>al<61><6C> pr<70>klad:
\layout Quotation
\emph on
Nepre<EFBFBD>e<EFBFBD>te to so <20>t<EFBFBD>lmi znakov!
\layout Standard
Je to tie<69> varovanie.
P<>sanie textu by malo by<62> podobn<62> be<62>nej konverz<72>cii.
V skuto<74>nosti tie<69> permanentne jeden na druh<75>ho nekri<72><69>me, tak<61>e by sme
sa mali vyvarova<76> tendencii preh<65><68>a<EFBFBD> to so <20>t<EFBFBD>lmi.
\layout Standard
Hmm\SpecialChar \ldots{}
E<>te jedna pozn<7A>mka: nastavi<76> p<>smo na <20>tandardn<64> font m<><6D>ete skratkou
\family sans
M-c\SpecialChar ~
Medzera
\family default
.
\layout Subsection
Dola<EFBFBD>ovanie pomocou okna
\family sans
<EFBFBD>t<EFBFBD>l znaku
\layout Standard
V<EFBFBD>dy sa n<>jdu pr<70>pady, ke<6B> potrebujete nie<69>o doladi<64>, tak<61>e LyX v<>m d<>va
mo<6D>nos<6F> vytvori<72> si vlastn<74> <20>t<EFBFBD>l znakov.
Napr<70>klad vedeck<63> <20>asopis alebo nejak<61> spolo<6C>nos<6F> m<><6D>u ma<6D> pr<70>pady, ktor<6F>
vy<76>aduj<75> pou<6F>i<EFBFBD> font sans-serif.
Taktie<69> autori ob<6F>as pou<6F><75>vaj<61> r<>zne p<>sma na oddelenie my<6D>lienok post<73>v
od be<62>n<EFBFBD>ho dial<61>gu.
\layout Standard
Predt<EFBFBD>m, ako pop<6F><70>eme u<><75>vate<74>sk<73> <20>t<EFBFBD>ly znakov, e<>te raz v<>s chceme varova<76>:
so <20>t<EFBFBD>lmi to nepre<72>ente.
Ve<56>a modern<72>ch textov<6F>ch procesorov m<> ve<76>k<EFBFBD> mno<6E>stvo p<>siem, ktor<6F> v<>m
poskytuj<75> silu tla<6C>e.
Nane<6E><65>astie je tendencia t<>to silu pou<6F><75>va<76> a<> pr<70>li<6C>.
Na um prich<63>dza fr<66>za
\begin_inset Quotes gld
\end_inset
Pou<EFBFBD>i<EFBFBD> ve<76>k<EFBFBD> kladivo na zabitie muchy.
\begin_inset Quotes grd
\end_inset
.
A ako t<>to veta hovor<6F>, dokumenty, ktor<6F> maj<61> pr<70>li<6C> ve<76>a r<>znych p<>siem
a ich ve<76>kost<73>, vypadaj<61> ako keby niekdo do ich vykopal ve<76>k<EFBFBD> diery.
\layout Standard
Dos<EFBFBD> bolo s<>a<EFBFBD>ovania sa.
\layout Standard
Na pou<6F><75>vanie u<><75>vate<74>sk<73>ch fontov, otvorte okno
\family sans
<EFBFBD>t<EFBFBD>l znaku
\family default
, pr<70>kazom
\family sans
Znak
\family default
z menu
\family sans
Rozlo<EFBFBD>enie
\family default
.
Je tam <20>es<65> rozba<62>ovac<61>ch menu, ktor<6F> umo<6D><6F>uj<75> nastavova<76> r<>zne vlstnosti
p<>sma.
Z nich si m<><6D>ete vybra<72> nejak<61> vo<76>bu, alebo vybra<72> vo<76>bu
\family sans
Dr<EFBFBD>a<EFBFBD>
\family default
, ktor<6F> podr<64><72> aktu<74>lny stav danej vlastnosti.
Vo<56>ba
\family sans
Nulova<EFBFBD>
\family default
nastav<61> dan<61> vlastnos<6F> na <20>tandardn<64> hodnotu prostredia odseku.
M<><4D>ete to po<70>i<EFBFBD> na nastavovanie <20>tandardn<64>ch vlastnost<73> cez r<>zne odseky
v jednom kroku.
\layout Standard
<EFBFBD>es<EFBFBD> vlastnos<6F> p<>sma a ich mo<6D>nosti (okrem
\family sans
Dr<EFBFBD>a<EFBFBD>
\family default
a
\family sans
Nulova<EFBFBD>
\family default
) s<>:
\layout List
\labelwidthstring 00.00.0000
\family sans
Rodina
\family default
V<>eobecn<63> vzh<7A>ad p<>sma.
Mo<4D>n<EFBFBD> vo<76>by s<>:
\begin_deeper
\layout List
\labelwidthstring 00.00.0000
\family sans
R<EFBFBD>mske
\family default
Toto je rodina p<>sma R<>mske.
\begin_deeper
\layout Standard
Je to tie<69> <20>tandardn<64> rodina p<>sma.
(skratka:
\family sans
M-c\SpecialChar ~
r
\family default
)
\end_deeper
\layout List
\labelwidthstring 00.00.0000
\family sans
Bez\SpecialChar ~
p<EFBFBD>tiek
\family default
\family sans
Toto je rodina p<>sma Bez p<>tiek.
\begin_deeper
\layout Standard
(skratk:
\family sans
M-c\SpecialChar ~
s
\family default
)
\end_deeper
\layout List
\labelwidthstring 00.00.0000
\family sans
P<EFBFBD>sac<EFBFBD>\SpecialChar ~
stroj
\family default
\family typewriter
Toto je rodina p<>sma P<>sac<61>\SpecialChar ~
stroj.
\begin_deeper
\layout Standard
(skratka:
\family sans
M-c\SpecialChar ~
p
\family default
)
\end_deeper
\end_deeper
\layout List
\labelwidthstring 00.00.0000
\family sans
S<EFBFBD>ria
\family default
Ur<55>uje
\begin_inset Quotes gld
\end_inset
tu<EFBFBD>nos<EFBFBD>
\begin_inset Quotes grd
\end_inset
p<>sma.
Mo<4D>nosti s<>:
\begin_deeper
\layout List
\labelwidthstring 00.00.0000
\family sans
Stredn<EFBFBD>
\family default
Toto je Stredn<64> s<>ria p<>sma.
\begin_deeper
\layout Standard
Tie<EFBFBD> je to <20>tandardn<64> s<>ria.
\end_deeper
\layout List
\labelwidthstring 00.00.0000
\family sans
Tu<EFBFBD>n<EFBFBD>
\family default
\series bold
Toto je Tu<54>n<EFBFBD> s<>ria p<>sma.
\begin_deeper
\layout Standard
Tieto s<>rie m<><6D>ete prep<65>na<6E> medzi sebou pou<6F>it<69>m pr<70>kazu
\family sans
<EFBFBD>t<EFBFBD>l tu<74>n<EFBFBD>
\family default
z menu
\family sans
Rozlo<EFBFBD>enie
\family default
, alebo skratkou
\family sans
M-c\SpecialChar ~
b
\family default
.
\end_deeper
\end_deeper
\layout List
\labelwidthstring 00.00.0000
\family sans
Tvar
\family default
Ur<55>uje tvar p<>sma.
Mo<4D>nosti s<>:
\begin_deeper
\layout List
\labelwidthstring 00.00.0000
\family sans
Norm<EFBFBD>lne
\family default
Toto je norm<72>lny tvar p<>sma.
\begin_deeper
\layout Standard
Je to tie<69> <20>tandardn<64> tvar.
\end_deeper
\layout List
\labelwidthstring 00.00.0000
\family sans
<EFBFBD>ikm<EFBFBD>
\family default
\family sans
\shape italic
Toto je <20>ikm<6B> tvar p<>sma.
\layout List
\labelwidthstring 00.00.0000
\family sans
Kurz<EFBFBD>va
\family default
\family sans
\shape slanted
Toto je tvar p<>sma Kurz<72>va
\family default
\shape default
(aj ke<6B> to na obrazovke nemus<75> by<62> vidie<69>, je to odli<6C>n<EFBFBD> od <20>ikm<6B>ho tvaru).
\layout List
\labelwidthstring 00.00.0000
\family sans
Mal<EFBFBD>\SpecialChar ~
ve<EFBFBD>k<EFBFBD>
\family default
\family sans
\shape smallcaps
Toto je tvar p<>sma Mal<61> ve<76>k<EFBFBD>.
\end_deeper
\layout List
\labelwidthstring 00.00.0000
\family sans
Ve<EFBFBD>kos<EFBFBD>
\family default
Ur<55>uje ve<76>kos<6F> p<>sma.
Nen<65>jdete tu <20>iadne numerick<63> hodnoty.
V<>etky mo<6D>n<EFBFBD> ve<76>kosti s<> relat<61>vne ku <20>tandardnej ve<76>kosti p<>sma.
E<>te raz: nemus<75>te LyXu hovori<72> detaily, ale len v<>eobecn<63> popis toho,
<20>o chcete urobi<62>.
\begin_deeper
\layout Standard
Mo<EFBFBD>nosti (a ich skratky) s<>:
\layout List
\labelwidthstring 00.00.0000
\family sans
Drobn<EFBFBD>
\family default
\size tiny
Toto je
\begin_inset Quotes gld
\end_inset
drobn<EFBFBD>
\begin_inset Quotes grd
\end_inset
ve<76>kos<6F> p<>sma.
\begin_deeper
\layout Standard
(skratka:
\family sans
M-s\SpecialChar ~
t
\family default
alebo
\family sans
M-s\SpecialChar ~
1
\family default
)
\end_deeper
\layout List
\labelwidthstring 00.00.0000
\family sans
Najmen<EFBFBD>ie
\family default
\size scriptsize
Toto je
\begin_inset Quotes gld
\end_inset
najmen<EFBFBD>ia
\begin_inset Quotes grd
\end_inset
ve<76>kos<6F> p<>sma.
\begin_deeper
\layout Standard
(skratka:
\family sans
M-s\SpecialChar ~
2
\family default
)
\end_deeper
\layout List
\labelwidthstring 00.00.0000
\family sans
Men<EFBFBD>ie
\family default
\size footnotesize
Toto je
\begin_inset Quotes gld
\end_inset
men<EFBFBD>ia
\begin_inset Quotes grd
\end_inset
ve<76>kos<6F> p<>sma.
\begin_deeper
\layout Standard
(skratka:
\family sans
M-s\SpecialChar ~
S
\family default
alebo
\family sans
M-s\SpecialChar ~
3
\family default
)
\end_deeper
\layout List
\labelwidthstring 00.00.0000
\family sans
Mal<EFBFBD>
\family default
\size small
Toto je
\begin_inset Quotes gld
\end_inset
mal<EFBFBD>
\begin_inset Quotes grd
\end_inset
ve<76>kos<6F> p<>sma.
\begin_deeper
\layout Standard
(skratka:
\family sans
M-s\SpecialChar ~
s
\family default
alebo
\family sans
M-s\SpecialChar ~
4
\family default
)
\end_deeper
\layout List
\labelwidthstring 00.00.0000
\family sans
Norm<EFBFBD>lne
\family default
Toto je
\begin_inset Quotes gld
\end_inset
norm<EFBFBD>lna
\begin_inset Quotes grd
\end_inset
ve<76>kos<6F> p<>sma.
\begin_deeper
\layout Standard
Je to tie<69> <20>tandardn<64> ve<76>kos<6F>.
(skratka:
\family sans
M-s\SpecialChar ~
n
\family default
alebo
\family sans
M-s\SpecialChar ~
5
\family default
)
\end_deeper
\layout List
\labelwidthstring 00.00.0000
\family sans
Ve<EFBFBD>k<EFBFBD>
\family default
\size large
Toto je
\begin_inset Quotes gld
\end_inset
ve<EFBFBD>k<EFBFBD>
\begin_inset Quotes grd
\end_inset
ve<76>kos<6F> p<>sma.
\begin_deeper
\layout Standard
(skratka:
\family sans
M-s\SpecialChar ~
S-l
\family default
alebo
\family sans
M-s\SpecialChar ~
6
\family default
)
\end_deeper
\layout List
\labelwidthstring 00.00.0000
\family sans
V<EFBFBD><EFBFBD><EFBFBD>ie
\family default
\size larger
Toto je
\begin_inset Quotes gld
\end_inset
v<EFBFBD><EFBFBD><EFBFBD>ia
\begin_inset Quotes grd
\end_inset
ve<76>kos<6F> p<>sma.
\begin_deeper
\layout Standard
(skratka
\family sans
: M-s\SpecialChar ~
S-L
\family default
alebo
\family sans
M-s\SpecialChar ~
7
\family default
)
\end_deeper
\layout List
\labelwidthstring 00.00.0000
\family sans
Najv<EFBFBD><EFBFBD><EFBFBD>ie
\family default
\size largest
Toto je
\begin_inset Quotes gld
\end_inset
najv<EFBFBD><EFBFBD><EFBFBD>ia
\begin_inset Quotes grd
\end_inset
ve<76>kos<6F> p<>sma.
\begin_deeper
\layout Standard
(skratka:
\family sans
M-s\SpecialChar ~
8
\family default
)
\end_deeper
\layout List
\labelwidthstring 00.00.0000
\family sans
Obrovsk<EFBFBD>
\family default
\size huge
Toto je
\begin_inset Quotes gld
\end_inset
obrovsk<EFBFBD>
\begin_inset Quotes grd
\end_inset
ve<76>kos<6F> p<>s\SpecialChar \-
ma.
\begin_deeper
\layout Standard
(skratka:
\family sans
M-s\SpecialChar ~
h
\family default
alebo
\family sans
M-s\SpecialChar ~
9
\family default
)
\end_deeper
\layout List
\labelwidthstring 00.00.0000
\family sans
Obrovskej<EFBFBD>ie
\family default
\size giant
Toto je
\begin_inset Quotes gld
\end_inset
obrovskej<EFBFBD>ia
\begin_inset Quotes grd
\end_inset
ve<76>\SpecialChar \-
kos<EFBFBD> p<>sma.
\begin_deeper
\layout Standard
(skratka:
\family sans
M-s\SpecialChar ~
H
\family default
alebo
\family sans
M-s\SpecialChar ~
0
\family default
)
\begin_inset Foot
collapsed true
\layout Standard
\emph on
Pozn.
prekl.:
\emph toggle
Pri v<>etk<74>ch ve<76>kostiach p<>sma sa pou<6F><75>va skratka
\family sans
M-s
\family default
, ale to je v slovenskom LyXe skratka na otvorenie menu
\family sans
S<EFBFBD>bor
\family default
, tak<61>e ve<76>kosti budete musie<69> meni<6E> cez okno
\family sans
<EFBFBD>t<EFBFBD>l znaku
\family default
.
\end_inset
\end_deeper
\layout Standard
E<EFBFBD>te raz v<>s varujeme.
Neblbnite s touto vlastnos<6F>ou.
Takmer nikdy by ste nemali potrebova<76> zmeni<6E> ve<76>kos<6F> p<>sma.
LyX automaticky men<65> ve<76>kos<6F> p<>sma pre r<>zne prostredia odsekov -- teda
pou<6F><75>vajte to.
Toto nastavovanie je tu
\emph on
len
\emph toggle
pre dola<6C>ovanie niektor<6F>ch drobnost<73>!
\end_deeper
\layout List
\labelwidthstring 00.00.0000
\family sans
R<EFBFBD>zne
\family default
Tu si m<><6D>ete nastavi<76> p<>r <20>al<61><6C>ch vec<65>.
Mo<4D>nosti s<>:
\begin_deeper
\layout List
\labelwidthstring 00.00.0000
\family sans
Siln<EFBFBD>
\family default
\emph on
Toto je zv<7A>raznen<65> text.
\begin_deeper
\layout Standard
Mo<EFBFBD>no to vyzer<65> rovnako ako
\shape italic
<EFBFBD>ikm<EFBFBD>
\shape default
p<>smo, ale je to trochu in<69>.
Ak pou<6F>ijete zv<7A>raznen<65> text na <20>ikm<6B> p<>smo, bude tento text norm<72>lny.
V bud<75>cich verzi<7A>ch LyXu bude mo<6D>n<EFBFBD> definova<76> si presn<73> spr<70>vanie tejto
\emph on
logickej
\emph toggle
vlastnosti.
\end_deeper
\layout List
\labelwidthstring 00.00.0000
\family sans
Podtrhnut<EFBFBD>
\family default
\bar under
Tento text je podtrhnut<75>.
\bar default
\begin_inset Foot
collapsed true
\layout Standard
\emph on
Pozn.
prekl.:
\emph toggle
Na obrazovke (aspo<70> u m<>a) s<> podtrhnut<75> len slov<6F> (nie medzery medzi nimi).
Ni<4E> si z toho nerobte vo v<>stupe bude text pod<6F>iarknut<75> cel<65>, teda aj s
medzerami.
\end_inset
\begin_deeper
\layout Standard
(skratka:
\family sans
M-c\SpecialChar ~
u
\family default
)
\end_deeper
\layout List
\labelwidthstring 00.00.0000
\family sans
Meno
\family default
\noun on
Tento text je <20>t<EFBFBD>lom Meno.
\begin_deeper
\layout Standard
Tak isto ako
\family sans
Zv<EFBFBD>raznenie
\family default
, aj toto je logick<63> atrib<69>t.
Nateraz je ekvivalentn<74> <20>t<EFBFBD>lu
\family sans
Mal<EFBFBD>\SpecialChar ~
ve<EFBFBD>k<EFBFBD>
\family default
, ale to by sa niekedy malo zmeni<6E>.
\end_deeper
\layout List
\labelwidthstring 00.00.0000
\family sans
LaTeX
\family default
\begin_inset ERT
status Collapsed
\layout Standard
Tento text je v re<72>ime
\backslash
LaTeX.
\end_inset
\begin_deeper
\layout Standard
Toto je <20>peci<63>lny atrib<69>t, ktor<6F> sa pou<6F><75>va, ak chcete vlo<6C>i<EFBFBD> do svojho
dokumentu <20>ist<73> k<>dy LaTeXu.
V<>etko <20>o je p<>san<61> v re<72>ime LaTeX, sa doslova vlo<6C><6F> do LaTeX s<>boru.
\end_deeper
\layout Standard
Ak m<><6D>ete, vyvarujte sa pou<6F><75>vaniu podtrhnut<75>ho p<>sma.
Je to pozostatok z <20>ias p<>sac<61>ch strojov, ke<6B> ste nemohli zmeni<6E> p<>smo.
V LyXe je zahrnut<75> len preto, lebo ho tie<69> podporuje LaTeX a samozrejme
niektor<6F> <20>udia ho
\emph on
m<EFBFBD><EFBFBD>u
\emph toggle
skuto<74>ne potrebova<76>.
\end_deeper
\layout List
\labelwidthstring 00.00.0000
\family sans
Farba
\family default
S t<>mto si m<><6D>ete nastavi<76> farbu textu.
Samozrejme, <20>e na to potrebujete farebn<62> tla<6C>iare<72> a tie<69> nain<69>talovan<61>
\family sans
color
\family default
bal<61>k LaTeXu.
\family typewriter
xdvi
\family default
nie je schopn<70> tieto farby zobrazi<7A>.
Okrem mo<6D>nosti
\family sans
<EFBFBD>iadne
\family default
, si m<><6D>ete vybra<72> medzi
\family sans
<EFBFBD>iernou
\family default
,
\family sans
bielou
\family default
,
\family sans
<EFBFBD>ervenou
\family default
,
\family sans
zelenou
\family default
,
\family sans
modrou
\family default
,
\family sans
tyrkysovou
\family default
,
\family sans
fialovou
\family default
a
\family sans
<EFBFBD>ltou
\family default
.
Toto tu nebudeme ilustrova<76>.
\layout Standard
Na v<>ber m<>te obrovsk<73> mno<6E>stvo kombin<69>ci<63>.
\layout Standard
Ke<EFBFBD> u<> ste si v okne
\family sans
<EFBFBD>t<EFBFBD>l znaku
\family default
nastavili svoj <20>t<EFBFBD>l, m<><6D>ete ho pou<6F>i<EFBFBD> pomocou tla<6C><61>tka na paneli n<>strojov
ozna<6E>enom
\begin_inset Quotes gld
\end_inset
Font
\begin_inset Quotes grd
\end_inset
.
(Samozrejme, <20>e tie<69> m<><6D>ete pou<6F>i<EFBFBD> tla<6C><61>tka v okne
\family sans
OK
\family default
a
\family sans
Pou<EFBFBD>i<EFBFBD>
\family default
.) Tla<6C><61>tko na paneli n<>strojov v<>m umo<6D>n<EFBFBD> prep<65>na<6E> sa medzi vami definovan<61>m
<20>t<EFBFBD>lom, aj ke<6B> okno
\family sans
<EFBFBD>t<EFBFBD>l znaku
\family default
je zatvoren<65>.
\layout Standard
Ako sme uviedli sk<73>r, <20>plne zru<72>i<EFBFBD> <20>t<EFBFBD>l znakov na <20>tandardn<64> m<><6D>ete kombin<69>ciou
\family sans
M-c\SpecialChar ~
Medezra.
\layout Standard
Skon<EFBFBD>ime s rovnak<61>m varovan<61>m, ako predt<64>m: nepreh<65><68>ajte to s p<>smami.
V<><56> text by mal hovori<72> s<>m za seba.
\layout Section
Tla<EFBFBD> a n<>h<EFBFBD>ad
\layout Subsection
Preh<EFBFBD>ad
\layout Standard
Teraz, ke<6B> sme v<>m pop<6F>sali niektor<6F> z<>klady tvorby dokumentov v LyXe, pravdepod
obne chcete vedie<69> ako svoju pr<70>cu vytla<6C><61>te.
Av<41>ak predt<64>m ako v<>m to povieme, radi by sme v<>m trochu vysvetlili <20>o
sa deje
\begin_inset Quotes gld
\end_inset
za sc<73>nou
\begin_inset Quotes grd
\end_inset
.
Niektor<6F> z t<>chto inform<72>ci<63> pop<6F><70>eme aj v sekcii
\begin_inset LatexCommand \ref{sec: lyxalatex}
\end_inset
.
\layout Standard
LyX na svojom pozad<61> pou<6F><75>va program
\begin_inset Quotes gld
\end_inset
LaTeX
\begin_inset Quotes grd
\end_inset
.
(V skuto<74>nosti je LaTeX len bal<61>k makier pre s<>dzac<61> syst<73>m TeX, ale aby
sme sa vyhli zm<7A>tkom, budeme tomu cel<65>mu hovori<72>
\begin_inset Quotes gld
\end_inset
LaTeX
\begin_inset Quotes grd
\end_inset
.) Pozerajte sa na to takto: LyX je to, <20>o pou<6F><75>vate na nap<61>sanie svojho
dokumentu.
LyX potom zavol<6F> LaTeX aby v<><76> dokument premenil do vytla<6C>ite<74>nej podoby.
Toto sa deje v nieko<6B>k<EFBFBD>ch krokoch:
\layout Enumerate
Najprv LyX skonvertuje v<><76> dokument do textovej podoby pr<70>kazov pre LaTeX,
vygeneruj<75>c s<>bor s pr<70>ponou
\begin_inset Quotes gld
\end_inset
\family typewriter
.tex
\family default
\begin_inset Quotes grd
\end_inset
.
\layout Enumerate
Potom LaTeX pou<6F>ije tieto pr<70>kazy na vytvorenie vytla<6C>ite<74>n<EFBFBD>ho dokumentu.
LaTeX nevie ni<6E> o va<76>ej tla<6C>iarni, ale namiesto toho vyprodukuje to, <20>o
je zn<7A>me ako
\emph on
device-independent
\emph toggle
(nez<65>visl<73> od zariadenia) s<>bor, alebo jednoducho
\family sans
Dvi
\family default
.
Jeho v<>stupm je s<>bor s pr<70>ponou
\begin_inset Quotes gld
\end_inset
\family typewriter
.dvi
\family default
\begin_inset Quotes grd
\end_inset
.
\family sans
Dvi
\family default
s<>bory s<> plne prenosn<73>.
M<><4D>ete ich pren<65><6E>a<EFBFBD> z jedn<64>ho po<70><6F>ta<74>a na druh<75>, bez akejko<6B>vek konverzie.
\begin_deeper
\layout Description
Pozn<EFBFBD>mka:
\family sans
Dvi
\family default
s<>bor obsahuje len to, <20>o bolo priamo v s<>bore pre LaTeX.
Ak m<>te v dokumente vlo<6C>en<65> PostScriptov<6F> obr<62>zky, v dvi s<>bore bud<75> len
odkazy na ne, tak<61>e nesmiete zabudn<64><6E> pri prenose na in<69> po<70><6F>ta<74>, prenies<65>
aj tieto obr<62>zky.
\end_deeper
\layout Enumerate
\family typewriter
.dvi
\family default
s<>bor m<><6D>ete pova<76>ova<76> za kone<6E>n<EFBFBD> v<>stup.
Ke<4B> ho m<>te, m<><6D>ete ho prezera<72>, tla<6C>i<EFBFBD>, alebo konvertova<76> do in<69>ch form<72>tov.
\begin_deeper
\layout Enumerate
Prezera<EFBFBD> ho m<><6D>ete programom nazvan<61>m
\family typewriter
xdvi
\family default
.
\layout Enumerate
Niektor<EFBFBD> tla<6C>iarne a syst<73>my Unix rozumej<65>
\family sans
Dvi
\family default
s<>borom, tak<61>e tla<6C>i<EFBFBD> ich m<><6D>ete priamo.
\layout Enumerate
V dne<6E>nej dobe v<><76><EFBFBD>ina tla<6C>iarn<72> rozumie form<72>tu PostScript.
Ak idete tla<6C>i<EFBFBD> dokument, LyX automaticky prevedie
\family typewriter
.dvi
\family default
s<>bor na PostScript.
LyX v<>m tie<69> umo<6D>n<EFBFBD> prezrie<69> si PostScript s<>bor pomocou programu
\family typewriter
ghostview
\family default
.
\begin_deeper
\layout Standard
V<EFBFBD>hodou pou<6F>itia PostScriptov<6F>ho s<>boru je, <20>e program ktor<6F> do neho konvertuje
(nazvan<61>
\family typewriter
dvips
\family default
) v<>etku grafiku, ktor<6F> m<>te v dokumente vlo<6C>en<65> d<> priamo do v<>stupn<70>ho
PostScriptov<6F>ho s<>boru.
Tie<69> tam vlo<6C><6F> <20>peci<63>lne p<>sma, ktor<6F> ste pou<6F>ili.
Toto rob<6F> PostScriptov<6F> s<>bor ove<76>a prenosnej<65><6A>m ako
\family sans
Dvi
\family default
.
\end_deeper
\end_deeper
\layout Standard
LyX toto v<>etko rob<6F> automaticky za v<>s.
\layout Standard
Ako vid<69>te, predt<64>m ako dostanete vytla<6C>en<65> verziu v<><76>ho dokumentu sa rob<6F>
ve<76>a vec<65>, tak<61>e sa neob<6F>vajte ak tla<6C> zaberie viacej <20>asu ako v be<62>n<EFBFBD>ch
textov<6F>ch procesoroch.
Vytla<6C>en<65> v<>sledok je cenou za <20>akanie.
Kvalita m<> v<>dy svoju cenu.
\layout Subsection
N<EFBFBD>h<EFBFBD>ad s
\family typewriter
xdvi
\layout Standard
Aby ste si prezreli fin<69>lnu verziu v<><76>ho dokumentu, so v<>etk<74>m na svojom
mies\SpecialChar \-
te, o<><6F>slovan<61>mi pozn<7A>mkami at<61>, vyberte pr<70>kaz
\family sans
Zobrazi<EFBFBD> DVI
\family default
z menu
\family sans
S<EFBFBD>bor->N<>h<EFBFBD>ad
\family default
.
Chv<68><76>u budete musie<69> po<70>ka<6B>.
\layout Standard
Ke<EFBFBD> bude spraven<65> v<>etko <20>o sa deje
\begin_inset Quotes gld
\end_inset
za sc<73>nou
\begin_inset Quotes grd
\end_inset
, LyX zavol<6F> program
\family typewriter
xdvi
\family default
.
Teraz sa m<><6D>ete pozrie<69> na v<>sledok.
(Ak chcete o
\family typewriter
xdvi
\family default
vedie<69> viac, pre<72><65>tajte si manu<6E>lov<6F> str<74>nky.)
\layout Description
U<EFBFBD>ito<EFBFBD>n<EFBFBD>\SpecialChar ~
tip: Okno xdvi si nechajte otvoren<65> (m<><6D>ete ho presun<75><6E> na in<69> pracovn<76>
plochu).
Potom, ke<6B> v dokumente urob<6F>te nejak<61> zmeny a budete si ich chcie<69> pozrie<69>,
vyberte pr<70>kaz
\family sans
Aktualizova<EFBFBD> DVI
\family default
.
Program
\family typewriter
xdvi
\family default
automaticky znovu na<6E><61>ta
\family typewriter
.dvi
\family default
s<>bor, o <20>om sa m<><6D>ete presved<65>i<EFBFBD> pri prepnut<75> sa do jeho okna.
\layout Subsection
Prezeranie PostScriptovej verzie s programom
\family typewriter
ghost\SpecialChar \-
view
\layout Standard
Vo v<>eobecnosti je prezeranie programom
\family typewriter
xdvi
\family default
najjednoduch<63><68> a najr<6A>chlej<65><6A> sp<73>sob.
Ale m<><6D>e sa sta<74>, <20>e si budete chcie<69> pozrie<69> PostScriptov<6F> verziu.
Jedn<64>m z d<>vodou s<> p<>sma.
V LaTeX dokumente m<><6D>ete pou<6F><75>va<76> PostScriptov<6F> p<>sma, ale
\family typewriter
xdvi
\family default
v<>m ich nezobraz<61>.
Aby ste videli skuto<74>n<EFBFBD> v<>sledok, budete musie<69> pou<6F>i<EFBFBD>
\family typewriter
ghostview
\family default
, alebo in<69> prezera<72> PostScriptov<6F>ch s<>borov.
\layout Standard
Na prezeranie sl<73><6C>i pr<70>kaz
\family sans
Zobrazi<EFBFBD> PostScript
\family default
, z rovnak<61>ho menu ako predch<63>dzaj<61>ci.
Potom si cho<68>te da<64> k<>vu.
Ke<4B> je v<>etko hotov<6F>, LyX zavol<6F> program
\family typewriter
ghostview
\family default
a vy si m<><6D>ete pozrie<69> v<>sledok.
\layout Standard
Pr<EFBFBD>kaz
\family sans
Aktualizova<EFBFBD> PostScript
\family default
je taktie<69> rovnak<61> ako v predch<63>dzaj<61>com pr<70>pade.
\layout Subsection
Tla<EFBFBD> dokumentu
\layout Standard
Ak chcete dokument vytla<6C>i<EFBFBD>, vyberte pr<70>kaz
\family sans
Tla<EFBFBD>i<EFBFBD>
\family default
z menu
\family sans
S<EFBFBD>bor
\family default
, alebo kliknite na tla<6C><61>tko zobrazuj<75>ce tla<6C>iare<72>.
Otvor<6F> sa v<>m okno s nastaven<65>m tla<6C>e.
\begin_inset Foot
collapsed true
\layout Standard
\emph on
Pozn.
prekl.:
\emph toggle
Neviem pre<72>o, ale toto okno nie je v<>bec lokalizovan<61>, preto aj <20>alej v
texte bud<75> anglick<63> n<>zvy.
Ak n<>hodou medzit<69>m vyjde nejak<61> nov<6F>ia verzia LyXu a bude dobre lokalizovan<61>,
samozrejme <20>e tento text aktualizujem.
\end_inset
\layout Standard
Tu je zoznam mo<6D>nost<73>:
\begin_inset Foot
collapsed true
\layout Standard
\emph on
Pozn.
prekl.:
\emph toggle
Toto okno m<> in<69> mo<6D>nosti ak<61> bli pop<6F>san<61> v anglickej
\emph on
User`s Guide
\emph toggle
, tak<61>e sem d<>vam len m<>j popis.
\end_inset
\layout List
\labelwidthstring 00.00.0000
\family sans
Print\SpecialChar ~
Destination
\family default
Cie<69> v<><76>ho tla<6C>ov<6F>ho v<>stupu.
M<><4D>e to by<62> tla<6C>iare<72> alebo s<>bor.
\begin_inset Foot
collapsed true
\layout Standard
\emph on
Pozn.
prekl.:
\emph toggle
Toto jedin<69> bolo pop<6F>san<61> v anglickej dokument<6E>cii.
\end_inset
\begin_deeper
\layout List
\labelwidthstring 00.00.0000
\family sans
Print\SpecialChar ~
to\SpecialChar ~
Printer:
\family default
Vyberiete si meno tla<6C>iarne, na ktorej chcete tla<6C>i<EFBFBD>.
\begin_inset Foot
collapsed true
\layout Standard
Toto meno tal<61>iarne nie je pre pr<70>kaz
\family typewriter
lpr
\family default
, ale pre
\family typewriter
dvips
\family default
.
To znamen<65>, <20>e
\family typewriter
dvips
\family default
mus<75>te ma<6D> nakonfigurovan<61> pre dan<61> tla<6C>iare<72>.
Pozrite si sekciu
\begin_inset LatexCommand \ref{sec: dvipskonfig}
\end_inset
, alebo dokument<6E>ciu ku
\family typewriter
dvips
\family default
.
<20>tandardn<64> tla<6C>iare<72> m<><6D>e tie<69> by<62> nastaven<65> v
\family typewriter
lyxrc
\family default
.
\end_inset
Tla<6C>iare<72> by mala rozumie<69> PostScriptu.
\layout List
\labelwidthstring 00.00.0000
\family sans
Print\SpecialChar ~
to\SpecialChar ~
File:
\family default
Do okienka zadajte n<>zov s<>boru, do ktor<6F>ho sa m<> tla<6C>i<EFBFBD>.
V<>stup bude vo form<72>te PostScript.
\begin_deeper
\layout Standard
Je dobr<62> zada<64> cel<65> cestu (napr.
pomocou tla<6C><61>tka
\family sans
Browse
\family default
), preto<74>e LyX urob<6F> v<>stup do do<64>asn<73>ho adres<65>ra, kde si vytv<74>ra aj medziv<69>stup
y, tak<61>e by ste mohli o svoj v<>sledok pr<70>s<EFBFBD>.
\end_deeper
\end_deeper
\layout List
\labelwidthstring 00.00.0000
\family sans
Options
\family default
<20>al<61>ie nastavenia.
\begin_deeper
\layout List
\labelwidthstring 00.00.0000
\family sans
Print\SpecialChar ~
all
\family default
Vytla<6C><61> cel<65> dokument.
\layout List
\labelwidthstring 00.00.0000
\family sans
Print\SpecialChar ~
Range:
\family default
Vytla<6C><61> len zadan<61> rozsah str<74>n, zadan<61> ich <20><>slami.
Po<50>iato<74>n<EFBFBD> strana je v poli
\family sans
From\SpecialChar ~
page
\family default
, koncov<6F> strana v poli
\family sans
To\SpecialChar ~
page
\family default
.
\layout List
\labelwidthstring 00.00.0000
\family sans
Print\SpecialChar ~
first\SpecialChar ~
page\SpecialChar ~
first
\family default
Za<5A>ne tla<6C>i<EFBFBD> od prvej str<74>nky.
\layout List
\labelwidthstring 00.00.0000
\family sans
Print\SpecialChar ~
last\SpecialChar ~
page\SpecialChar ~
first
\family default
Najprv vytla<6C><61> posledn<64> str<74>nku, a<> potom ostatn<74>.
\layout List
\labelwidthstring 00.00.0000
\family sans
Print\SpecialChar ~
in\SpecialChar ~
color\SpecialChar ~
if\SpecialChar ~
available
\family default
Farebn<62> tla<6C> (ak je farebn<62> tla<6C>iare<72> samozrejme).
\layout List
\labelwidthstring 00.00.0000
\family sans
Print\SpecialChar ~
in\SpecialChar ~
grayscale
\family default
<20>iernobiela tla<6C>.
\layout List
\labelwidthstring 00.00.0000
\family sans
Number\SpecialChar ~
of\SpecialChar ~
copies
\family default
Po<50>et k<>pi<70>.
\end_deeper
\layout List
\labelwidthstring 00.00.0000
\family sans
Paper\SpecialChar ~
format
\family default
Nastavenie papiera.
\begin_deeper
\layout List
\labelwidthstring 00.00.0000
\family sans
Portrait
\family default
Portr<74>t -- papier na v<><76>ku.
\layout List
\labelwidthstring 00.00.0000
\family sans
Landscape
\family default
Krajinka -- papier na <20><>rku.
\layout Standard
<EFBFBD>alej je nastavenie ve<76>kosti papiera.
Mo<4D>nosti s<>:
\family sans
A4 (210 x 298 mm)
\family default
,
\family sans
B5
\family default
,
\family sans
Letter (8 x 11 in)
\family default
,
\family sans
Legal
\family default
,
\family sans
Executive
\family default
.
\end_deeper
\layout Standard
Tla<EFBFBD> m<><6D>e zabra<72> trochu viac <20>asu, preto<74>e LaTeX,
\family typewriter
dvips
\family default
a ak nem<65>te PostScriptov<6F> tla<6C>iare<72> tak aj
\family typewriter
ghostscript
\family default
musia v<><76> dokument spracova<76>.
\layout Section
Zop<EFBFBD>r slov o typografii.
\layout Subsection
Spojovn<EFBFBD>k a rozde<64>ovanie
\layout Standard
\begin_inset LatexCommand \label{sec: hyphens}
\end_inset
V LyXe m<> znak
\begin_inset Quotes gld
\end_inset
-
\begin_inset Quotes grd
\end_inset
tri r<>zne d<><64>ky, <20>asto naz<61>van<61>
\emph on
spojovn<EFBFBD>k
\emph toggle
,
\emph on
en poml<6D>ka
\emph toggle
a
\emph on
em poml<6D>ka
\emph toggle
:
\layout Enumerate
spojovn<EFBFBD>k
\hfill
-
\hfill
vytvoren<EFBFBD> s
\begin_inset Quotes gld
\end_inset
\family typewriter
-
\family default
\begin_inset Quotes grd
\end_inset
\layout Enumerate
en poml<6D>ka
\hfill
--
\hfill
vytvoren<EFBFBD> s
\begin_inset Quotes gld
\end_inset
\family typewriter
-
\begin_inset ERT
status Collapsed
\layout Standard
\backslash
/
\end_inset
-
\family default
\begin_inset Quotes grd
\end_inset
\layout Enumerate
em poml<6D>ka
\hfill
---
\hfill
vytvoren<EFBFBD> s
\begin_inset Quotes gld
\end_inset
\family typewriter
-
\begin_inset ERT
status Collapsed
\layout Standard
\backslash
/
\end_inset
-
\begin_inset ERT
status Collapsed
\layout Standard
\backslash
/
\end_inset
-
\family default
\begin_inset Quotes grd
\end_inset
\layout Enumerate
znamienko m<>nus
\hfill
\begin_inset Formula $-$
\end_inset
\hfill
\begin_inset Quotes gld
\end_inset
\family typewriter
-
\family default
\begin_inset Quotes grd
\end_inset
v matematickom re<72>ime
\layout Standard
Vytv<EFBFBD>rate ich viacn<63>sobn<62>m pou<6F>it<69>m
\begin_inset Quotes gld
\end_inset
-
\begin_inset Quotes grd
\end_inset
za sebou.
Vo fin<69>lnom v<>stupe ich LyX automaticky konvertuje na pr<70>slu<6C>ne dlh<6C> poml<6D>ku.
\layout Standard
Tieto tri typy poml<6D>iek sa odli<6C>uj<75> od znamienka m<>nus, ktor<6F> je v matematickom
re<72>ime a m<> svoju vlastn<74> d<><64>ku.
Tu s<> pr<70>klady pou<6F>itia
\begin_inset Quotes gld
\end_inset
-
\begin_inset Quotes grd
\end_inset
:
\layout Enumerate
roz-de-le-n<> slo-vo
\hfill
(
\emph on
spojovn<EFBFBD>k
\emph toggle
)
\layout Enumerate
Od A--Z
\hfill
(
\emph on
en poml<6D>ka
\emph toggle
)
\layout Enumerate
Oh --- to je ale poml<6D>ka.
\hfill
(
\emph on
em poml<6D>ka
\emph toggle
)
\layout Enumerate
\begin_inset Formula $x^{2}-y^{2}=z^{2}$
\end_inset
\hfill
(
\emph on
znamienko m<>nus
\emph toggle
)
\layout Standard
T<EFBFBD>, ktor<6F> <20><>taj<61> tento dokument v LyXe nevidia <20>iadny rozdiel.
Ale vo v<>stupe rozdiel uvid<69>te.
\layout Standard
E<EFBFBD>te posledn<64> pozn<7A>mka o rozde<64>ovan<61> slov --- LyX automaticky rozdel<65> slovo
a vlo<6C><6F> do<64> spojovn<76>k v anglickom texte.
(V skuto<74>nosti to rob<6F> LaTeX, a tie<69> rozdel<65> slov<6F> v niektor<6F>ch in<69>ch jazykoch.)
Slov<6F> v<>ak bud<75> rozdelen<65> len vo fin<69>lnom v<>stupe.
\layout Standard
Ak z nejak<61>ho d<>vodu LaTeX nem<65><6D>e slovo rozdeli<6C> spr<70>vne, m<><6D>ete ru<72>ne nastavi<76>
rozde<64>ovacie body.
Rob<6F> sa to pr<70>kazom
\family sans
Bod rozdelenia
\family default
z menu
\family sans
Vlo<EFBFBD>i<EFBFBD>-><3E>peci<63>lny znak
\family default
.
Tieto body rozdelenia s<> len n<>vrhy pre LaTeX.
Ak rozdelenie nie je potrebn<62>, LaTeX ich bude ignorova<76>.
\layout Subsection
Interpunk<EFBFBD>n<EFBFBD> znamienka
\layout Subsubsection
Skratky a konce viet
\layout Standard
\begin_inset LatexCommand \label{sec: skratky}
\end_inset
Ke<EFBFBD> LyX zavol<6F> LaTeX, aby vytvoril fin<69>lny dokument, LaTeX automaticky rozli<6C>uje
medzi slovami, vetami a skratkami.
LaTeX potom prid<69>
\begin_inset Quotes gld
\end_inset
pr<EFBFBD>slu<EFBFBD>n<EFBFBD> mno<6E>stvo medzery
\begin_inset Quotes grd
\end_inset
: za vetou (medzi bodkou a nasleduj<75>cim slovom) je medzera o nie<69>o v<><76><EFBFBD>ia.
V skratk<74>ch m<> medzera za bodkou rovnak<61> ve<76>kos<6F> ako medzera medzi slovami.
\layout Standard
Nane<EFBFBD><EFBFBD>astie, algoritmus ktor<6F> zis<69>uje <20>o je skratka a <20>o veta je jednoduch<63>.
Ak je
\begin_inset Quotes gld
\end_inset
.
\begin_inset Quotes grd
\end_inset
za mal<61>m p<>smenom, ide o koniec vety, ak je za ve<76>k<EFBFBD>m p<>smenom, jedn<64> sa
o skratku.
\layout Standard
Tu je nieko<6B>ko pr<70>kladov
\emph on
spr<EFBFBD>vnych
\emph toggle
skratiek a koncov viet:
\layout Itemize
J.
Nov<6F>kov<6F>
\layout Itemize
Netr<EFBFBD>pte sa.
Bu<42>te <20><>astn<74>.
\layout Standard
\SpecialChar \ldots{}
a tu je pr<70>klad, kedy algoritmus zlyh<79>:
\layout Itemize
napr.
sem je pr<70>li<6C> ve<76>k<EFBFBD> medzera!
\layout Itemize
Toto je p<>n M.
Je v poriadku.
\layout Standard
Rozdiel uvid<69>te a<> ke<6B> si pozriete v<>stup.
\layout Standard
Na opravenie tohto probl<62>mu urobje jedno z nasleduj<75>ceho:
\layout Enumerate
Za skratkou s mal<61>m p<>smenom pou<6F>ite
\family sans
Chr<EFBFBD>nen<EFBFBD> medzeru
\family default
(pozri sekciu
\begin_inset LatexCommand \ref{sec: chmedzera-zlomriadku-hciara}
\end_inset
).
\layout Enumerate
Pou<EFBFBD>ite pr<70>kaz
\family sans
Bodka na konci vety
\family default
z podmenu
\family sans
<EFBFBD>peci<EFBFBD>lne znaky
\family default
z menu
\family sans
Vlo<EFBFBD>i<EFBFBD>
\family default
.
Toto urob<6F> za bodkou medzeru, ktor<6F> sa pou<6F><75>va na oddelenie viet.
Funkcia m<> skratku
\family sans
C-bodka
\family default
.
\layout Standard
S opravami na<6E>e pr<70>klady vyzeraj<61> takto:
\layout Itemize
napr.\SpecialChar ~
sem je pr<70>li<6C> ve<76>k<EFBFBD> medzera!
\layout Itemize
Toto je p<>n M\SpecialChar \@.
Je v poriadku.
\layout Subsubsection
<EFBFBD>vodzovky
\layout Standard
\begin_inset LatexCommand \label{sec: uvodzovky}
\end_inset
LyX oby<62>ajne rob<6F> <20>vodzovky spr<70>vne.
Zvlṻ pou<6F>ije otv<74>raciu <20>vodzovku a zvlṻ ukon<6F>ovaciu.
napr<70>klad
\begin_inset Quotes gld
\end_inset
<EFBFBD>vodn<EFBFBD> ukon<6F>ovacia
\begin_inset Quotes grd
\end_inset
.
Toto generuje kl<6B>vesov<6F> znak ".
\layout Standard
Spr<EFBFBD>vanie sa znaku " m<><6D>ete zmeni<6E> v okienku
\family sans
Konfigurova<EFBFBD> <20>vodzovky
\family default
, ktor<6F> zobraz<61>te pr<70>kazom
\family sans
Rozlo<EFBFBD>enie-><3E>vodzovky
\family default
.
Z rozba<62>ovacieho menu si vyberte typ <20>vodzoviek a taktie<69> ozna<6E>te <20>i maj<61>
by<62> jednoduch<63> (
\begin_inset Quotes gls
\end_inset
\begin_inset Quotes grs
\end_inset
), alebo dvojit<69> (
\begin_inset Quotes gld
\end_inset
\begin_inset Quotes grd
\end_inset
).
\layout Standard
Tu s<> pr<70>klady mo<6D>nost<73>:
\layout List
\labelwidthstring 00.00.0000
\begin_inset Quotes eld
\end_inset
Text
\begin_inset Quotes erd
\end_inset
Pou<6F>ite tieto <20>vodzovky
\begin_inset Quotes eld
\end_inset
dvojit<EFBFBD>
\begin_inset Quotes erd
\end_inset
alebo
\begin_inset Quotes els
\end_inset
jednoduch<EFBFBD>
\begin_inset Quotes ers
\end_inset
\layout List
\labelwidthstring 00.00.0000
\begin_inset Quotes sld
\end_inset
Text
\begin_inset Quotes srd
\end_inset
Pou<6F>ite tieto <20>vodzovky
\begin_inset Quotes sld
\end_inset
dvojit<EFBFBD>
\begin_inset Quotes srd
\end_inset
alebo
\begin_inset Quotes sls
\end_inset
jednoduch<EFBFBD>
\begin_inset Quotes srs
\end_inset
\layout List
\labelwidthstring 00.00.0000
\begin_inset Quotes gld
\end_inset
Text
\begin_inset Quotes grd
\end_inset
Pou<6F>ite tieto <20>vodzovky
\begin_inset Quotes gld
\end_inset
dvojit<EFBFBD>
\begin_inset Quotes grd
\end_inset
alebo
\begin_inset Quotes gls
\end_inset
jednoduch<EFBFBD>
\begin_inset Quotes grs
\end_inset
\layout List
\labelwidthstring 00.00.0000
\begin_inset Quotes pld
\end_inset
Text
\begin_inset Quotes prd
\end_inset
Pou<6F>ite tieto <20>vodzovky
\begin_inset Quotes pld
\end_inset
dvojit<EFBFBD>
\begin_inset Quotes prd
\end_inset
alebo
\begin_inset Quotes pls
\end_inset
jednoduch<EFBFBD>
\begin_inset Quotes prs
\end_inset
\layout List
\labelwidthstring 00.00.0000
\begin_inset Quotes fld
\end_inset
Text
\begin_inset Quotes frd
\end_inset
Pou<6F>ite tieto <20>vodzovky
\begin_inset Quotes fld
\end_inset
dvojit<EFBFBD>
\begin_inset Quotes frd
\end_inset
alebo
\begin_inset Quotes fls
\end_inset
jednoduch<EFBFBD>
\begin_inset Quotes frs
\end_inset
\layout List
\labelwidthstring 00.00.0000
\begin_inset Quotes ald
\end_inset
Text
\begin_inset Quotes ard
\end_inset
Pou<6F>ite tieto <20>vodzovky
\begin_inset Quotes ald
\end_inset
dvojit<EFBFBD>
\begin_inset Quotes ard
\end_inset
alebo
\begin_inset Quotes als
\end_inset
jednoduch<EFBFBD>
\begin_inset Quotes ars
\end_inset
\layout Subsection
Ligat<EFBFBD>ry
\layout Standard
\begin_inset LatexCommand \label{sec: ligatury}
\end_inset
Je be<62>nou s<>dzacou praktikou zoskupova<76> ur<75>it<69> p<>smen<65> a tla<6C>i<EFBFBD> ich ako
jeden znak.
Tieto skupiny s<> zn<7A>me ako
\emph on
ligat<EFBFBD>ry
\emph toggle
.
Preto<74>e LaTeX o nich vie, v<><76> dokument ich bude obsahova<76>.
Tu s<> mo<6D>n<EFBFBD> ligat<61>ry:
\layout Itemize
ff
\layout Itemize
fi
\layout Itemize
fl
\layout Itemize
ffi
\layout Itemize
ffl
\layout Standard
Zatia<EFBFBD><EFBFBD>o v jednom slove m<><6D>e ligat<61>ra vyzera<72> v poriadku, napr.\SpecialChar ~
\begin_inset Quotes gld
\end_inset
graffiti
\begin_inset Quotes grd
\end_inset
, v zlo<6C>en<65>ch slov<6F>ch, napr.\SpecialChar ~
\begin_inset Quotes gld
\end_inset
cufflink
\begin_inset Quotes grd
\end_inset
alebo nemeck<63>
\begin_inset Quotes gld
\end_inset
Dorffest
\begin_inset Quotes grd
\end_inset
, vyzer<65> zle.
Aby ste ligat<61>ru
\begin_inset Quotes gld
\end_inset
rozbili
\begin_inset Quotes grd
\end_inset
, pou<6F>ite LaTeXov<6F> pr<70>kaz
\begin_inset Quotes gld
\end_inset
\family typewriter
\backslash
/
\family default
\begin_inset Quotes grd
\end_inset
medzi pr<70>slu<6C>n<EFBFBD>mi p<>smenami.
(Pou<6F>ite
\family sans
M-c\SpecialChar ~
t
\family default
, alebo tla<6C><61>tko ozna<6E>en<65> TeX, aby ste text ozna<6E>ili ako LaTeXov<6F> pr<70>kaz.
Pozri sekciu
\begin_inset LatexCommand \ref{sec: latexcodes}
\end_inset
.) Toto zmen<65>
\begin_inset Quotes gld
\end_inset
cufflink
\begin_inset Quotes grd
\end_inset
na
\begin_inset Quotes gld
\end_inset
cuf
\begin_inset ERT
status Collapsed
\layout Standard
\backslash
/
\end_inset
flink
\begin_inset Quotes grd
\end_inset
a
\begin_inset Quotes gld
\end_inset
Dorffest
\begin_inset Quotes grd
\end_inset
na
\begin_inset Quotes gld
\end_inset
Dorf
\begin_inset ERT
status Collapsed
\layout Standard
\backslash
/
\end_inset
fest
\begin_inset Quotes grd
\end_inset
.
\layout Subsection
Vdovy a siroty
\layout Standard
\begin_inset LatexCommand \label{sec: vdovy}
\end_inset
V star<61><72>ch <20>asoch textov<6F>ch procesorov boli zlomy str<74>n v<>dy tam, kde dan<61>
strana kon<6F>ila.
nez<65>le<6C>alo na tom, <20>o bolo <20>alej v texte.
Mohli ste vidie<69> vytla<6C>en<65> dokumenty, kde boli nadpisy sekci<63> na samom
spodku strany, samotn<74> prv<72> riadok odseku na konci strany, alebo posledn<64>
riadok na za<7A>iatku novej strany.
Tieto k<>sky textu s<> zn<7A>me ako
\emph on
vdovy
\emph toggle
a
\emph on
siroty
\emph toggle
.
\layout Standard
LyX sa m<><6D>e vyvarova<76> zalomeniu strany za nadpisom.
Toto je <20>as<61> v<>hod prostred<65> odsekov.
Ale <20>o s vdovami a sirovami, ke<6B> zlom strany nech<63> jedin<69> riadok odseku
samostatn<74> na vrchu alebo spodku strany? V LaTeXu s<> zabudovan<61> pravidl<64>
na l<>manie str<74>n, ktor<6F> zabr<62><72>uj<75> vznikom vdov a sir<69>t.
Toto je v<>hoda LyXu, <20>e pou<6F><75>va LaTeX ako svoj backend.
\layout Standard
Nebudeme sa zaobera<72> ako sa TeX a LaTeX rozhoduj<75> o zalamovan<61> str<74>n, alebo
ako by sme mohli zmeni<6E> toto spr<70>vanie.
Niektor<6F> knihy o LaTeXu, spomenut<75> v literat<61>re (ako napr<70>klad
\begin_inset LatexCommand \cite{latexcompanion}
\end_inset
alebo
\begin_inset LatexCommand \cite{latexguide}
\end_inset
) obsahuj<75> viac inform<72>ci<63>.
Av<41>ak takmer nikdy sa nebudete musie<69> s t<>mto tr<74>pi<70>.
\layout Chapter
Insety: tabu<62>ky, obr<62>zky, pozn<7A>mky
\layout Section
Pozn<EFBFBD>mky pod <20>iarou
\layout Standard
Na rozdiel od in<69>ch programov, LyX na zobrazenie pozn<7A>mok pou<6F><75>va zatv<74>ra\SpecialChar \-
te<EFBFBD>\SpecialChar \-
n<EFBFBD>
insety, namiesto ich zobrazovania na spodu obrazovky, alebo niekde inde
v texte.
Ke<4B> vlo<6C><6F>te pozn<7A>mku pod <20>iarou -- samozrejme pr<70>kazom
\family sans
Pozn<EFBFBD>mka pod <20>iarou
\family default
z menu
\family sans
Vlo<EFBFBD>i<EFBFBD>
\family default
-- najprv v texte uvid<69>te <20>erven<65> obd<62><64>nik ozna<6E>en<65>
\begin_inset Quotes gld
\end_inset
foot
\begin_inset Quotes grd
\end_inset
.
Toto je reprezent<6E>cia va<76>ej pozn<7A>mky v LyXe.
Do tohto obd<62><64>nika vlo<6C><6F>te svoj text.
Ke<4B> kliknete na <20>t<EFBFBD>tku
\begin_inset Quotes gld
\end_inset
foot
\begin_inset Quotes grd
\end_inset
, obd<62><64>nik sa zavrie.
V bud<75>cnosti pozn<7A>mku spr<70>stupnike kliknut<75>m na <20>ervenom slove
\begin_inset Quotes gld
\end_inset
\family sans
foot
\family default
\begin_inset Quotes grd
\end_inset
nap<61>sanom horn<72>m indexom v texte na mieste pozn<7A>mky.
Po kliknut<75> sa pozn<7A>mka znovu otvor<6F>.
\begin_inset Foot
collapsed true
\layout Standard
Aby ste zavreli t<>to pozn<7A>mku pod <20>iarou, klknite na <20>t<EFBFBD>tku v<>avo.
\end_inset
V LyXe nebudete vidie<69> <20>iadne <20><>sla.
O toto sa nemus<75>te nijak stara<72>, preto<74>e pri spracov<6F>van<61> dokumentu LyX
pozn<7A>mky o<><6F>sluje a tie<69> ich umiestni na spodok pr<70>slu<6C>nej strany.
Ak chcete u<> nap<61>san<61> text premeni<6E> na pozn<7A>mku, jednoducho ho ozna<6E>te
a kliknite na tla<6C><61>tko pozn<7A>mky pod <20>iarou (tla<6C><61>tko zobrazuj<75>ce text a
<20><>pku, ukazuj<75>cu na spodok tohto textu).
\layout Standard
<EFBFBD>o LyX e<>te nem<65><6D>e robi<62> je stara<72> sa o zvl<76><6C>tne s<>dzanie pozn<7A>mok -- <20><>slovanie
znovu od 1 v ka<6B>dej sekcii v triede dokumentu
\begin_inset Quotes gld
\end_inset
\family typewriter
article
\family default
\begin_inset Quotes grd
\end_inset
, alebo zmena sp<73>sobu <20><>slovania.
Na toto budete musie<69> vlo<6C>i<EFBFBD> pr<70>kazy LaTeXu, ako s<> pop<6F>san<61> v manu<6E>le
\emph on
<EFBFBD>al<EFBFBD>ie mo<6D>nosti edit<69>cie
\emph toggle
(
\emph on
Advanced Editing Tools
\emph toggle
) v sekcii
\emph on
Triky s pozn<7A>mkami pod <20>iarou a na okraji
\emph toggle
(
\emph on
Tricks for Footnotes and Marginpars
\emph toggle
).
\layout Description
Pozn<EFBFBD>mka: Inset v LaTeXu a LyXe nie je jednoduch<63> odsek ako v oby<62>ajn<6A>ch
textov<6F>ch procesoroch.
Je to komplexn<78> textov<6F> <20>trukt<6B>ra, ktor<6F> m<><6D>e obsahova<76> v<>etko okrem insetov.
To znamen<65>, <20>e v insete m<><6D>te pou<6F><75>va<76> aj obr<62>zky a tabu<62>ky.
\newline
Ak pou<6F><75>vate kontrolu pravopisu, zapam<61>tajte si, <20>e insety
\emph on
musia by<62>
\emph toggle
otvoren<65> aby boli skontrolovan<61>.
Na otvorenie a zatvorenie
\emph on
v<EFBFBD>etk<EFBFBD>ch
\emph toggle
poz\SpecialChar \-
n<EFBFBD>\SpecialChar \-
mok sl<73><6C>i pr<70>kaz
\family sans
Otvori<EFBFBD> (Zatvori<72>) v<>etky pozn<7A>mky pod <20>iarou/na okraji
\family default
z menu
\family sans
Upravi<EFBFBD>->Insety
\family default
.
\layout Section
Pozn<EFBFBD>mky na okraji
\layout Standard
Pozn<EFBFBD>mky na okraji v LyXe vyzeraj<61> a spr<70>vaj<61> sa rovnako ako pozn<7A>mky pod
<20>iarou.
Ak vlo<6C><6F>te pozn<7A>mku, pr<70>kazom
\family sans
Pozn<EFBFBD>mka na okraji
\family default
v menu
\family sans
Vlo<EFBFBD>i<EFBFBD>
\family default
, alebo tla<6C><61>tkom na li<6C>te n<>strojov (zobrazuje text na okraji so <20><>pkou
ukazuj<75>cou na<6E>), v texte sa objav<61> <20>erven<65> obd<62><64>nik so <20>t<EFBFBD>tkom
\begin_inset Quotes gld
\end_inset
margin
\begin_inset Quotes grd
\end_inset
.
\begin_inset Marginal
collapsed true
\layout Standard
Toto je poz\SpecialChar \-
n<EFBFBD>m\SpecialChar \-
ka na o\SpecialChar \-
kra\SpecialChar \-
ji.
\end_inset
Kliknut<75>m na <20>t<EFBFBD>tok pozn<7A>mku uzavriete a pred riadkom, ktor<6F> pozn<7A>mku obsahuje
sa zobraz<61> v<>kri<72>n<EFBFBD>k.
Pozn<7A>mku znovu spr<70>stupn<70>te kliknut<75>m na slovo
\begin_inset Quotes gld
\end_inset
\family sans
margin
\family default
\begin_inset Quotes grd
\end_inset
, nap<61>san<61>m ako <20>erven<65> horn<72> index v texte.
LyX <20>tandardne pou<6F><75>va 1,9 cm (0,75 palcov) ako <20><>rku okraja, kde s<> nap<61>san<61>
pozn<7A>mky.
Toto mo<6D>no nie je <20>o by ste chceli, ale podobne ako s pozn<7A>mkami pod <20>iarou
LyX e<>te nedok<6F><6B>e robi<62> to, <20>o pon<6F>ka LaTeX.
Pre pr<70>slu<6C>n<EFBFBD> pr<70>kazy sa pozrite do nejakej knihy o LaTeXu.
\layout Section
Obr<EFBFBD>zky a importovan<61> grafika
\layout Standard
\begin_inset LatexCommand \label{sec: obrazky}
\end_inset
<EFBFBD>iadny syst<73>m pr<70>pravy dokumentov nie je <20>pln<6C> bez schopnosti importova<76>
do dokumentu grafiku.
V LyXe sa to naz<61>va obr<62>zok.
LyX dobre podporuje obr<62>zky form<72>tu Encapsulated PostScript, pri<72>om vyu<79><75>va
\family typewriter
ghostview
\family default
na vygenerovanie obr<62>zkov na obrazovku a LaTeXov<6F> pr<70>kaz
\family typewriter
\backslash
epsfig
\family default
na vlo<6C>enie obr<62>zkov do fin<69>lneho dokumentu.
\layout Standard
Obr<EFBFBD>zky, o ktor<6F>ch hovor<6F>me v tejto <20>asti, nemaj<61> <20>iadny popis a v dokumente
sa objavia tam, kde ich umiestn<74>te.
\layout Standard
Umiestnenie obr<62>zku do dokumentu je roben<65> v dvoch krokoch: najprv poviete
LyXu <20>e chcete obr<62>zok a potom obr<62>zok otvor<6F>te a po\SpecialChar \-
vie\SpecialChar \-
te o <20>om LyXu detaily.
Na vlo<6C>enie obr<62>zku kliknite na posledn<64> tla<6C><61>tko na li<6C>te, alebo vyberte
pr<70>kaz
\family sans
Obr<EFBFBD>zok
\family default
z menu
\family sans
Vlo<EFBFBD>i<EFBFBD>
\family default
.
\layout Standard
Zobraz<EFBFBD> sa v<>m okienko s dvoma mo<6D>nos<6F>ami:
\layout List
\labelwidthstring 00.00.0000
\family sans
Encapsulated\SpecialChar ~
PostScript:
\family default
Toto obr<62>zok vlo<6C><6F> norm<72>lne.
Obr<62>zok bude umiestnen<65> samostatne medzi ridkami, ako tento:
\layout Standard
\added_space_top 0.3cm \added_space_bottom 0.3cm \align center
\begin_inset Graphics
filename mobius.eps
display color
rotateOrigin center
\end_inset
\layout List
\labelwidthstring 00.00.0000
\family sans
Vlo<EFBFBD>en<EFBFBD>\SpecialChar ~
EPS:
\family default
Toto je tie<69> na PostScriptov<6F> obr<62>zky, ale tieto sa spr<70>vaj<61> odli<6C>ne.
S<> vlo<6C>en<65> priamo do textu, ako napr<70>klad tento:
\begin_inset Graphics
filename mobius.eps
display color
width 1in
height 0.2in
rotateOrigin center
\end_inset
\layout Standard
Druh<EFBFBD>m krokom manipul<75>cie s obr<62>zkom je kliknutie na obr<62>zku <20>av<61>m tla<6C><61>tkom.
Zobraz<61> sa v<>m dial<61>gov<6F> okno, kde si ur<75><72>te n<>zov s<>boru a niektor<6F> <20>al<61>ie
mo<6D>nosti.
\layout Standard
Jednotliv<EFBFBD> parametre si preberieme jeden po druhom:
\layout List
\labelwidthstring 00.00.0000
\family sans
EPS\SpecialChar ~
obr<EFBFBD>zok:
\family default
Toto je n<>zov s<>boru a je to samovysvet<65>uj<75>ce.
Tla<6C><61>tko
\family sans
Pre\SpecialChar \-
ch<EFBFBD>\SpecialChar \-
dza<EFBFBD>
\family default
v<>m umo<6D>n<EFBFBD> pohybova<76> sa v hierarchii s<>borov graficky a u<>ah<61><68> v<>m v<>ber
s<>boru.
\layout List
\labelwidthstring 00.00.0000
<EFBFBD><EFBFBD>rka: Umo<6D>n<EFBFBD> v<>m nastavi<76> si <20><>rku obr<62>zku.
\begin_inset Quotes gld
\end_inset
\family sans
Norm<EFBFBD>lna
\family default
\begin_inset Quotes grd
\end_inset
ur<75>uje skuto<74>n<EFBFBD> <20><>rku, ktor<6F> je ulo<6C>en<65> v EPS s<>bore.
Av<41>ak m<><6D>ete si ju zmeni<6E> vybrat<61>m niektorej z volieb
\begin_inset Quotes gld
\end_inset
\family sans
cm
\family default
\begin_inset Quotes grd
\end_inset
,
\begin_inset Quotes gld
\end_inset
\family sans
palce
\family default
\begin_inset Quotes grd
\end_inset
,
\begin_inset Quotes gld
\end_inset
\family sans
%\SpecialChar ~
str<EFBFBD>nky
\family default
\begin_inset Quotes grd
\end_inset
alebo
\begin_inset Quotes gld
\end_inset
\family sans
%\SpecialChar ~
st<EFBFBD>pca
\family default
\begin_inset Quotes grd
\end_inset
a n<>sledn<64>m zadan<61>m hodnoty do po<70>a pod nimi.
\layout List
\labelwidthstring 00.00.0000
\family sans
V<EFBFBD><EFBFBD>ka:
\family default
Je podobn<62> mo<6D>nosti
\family sans
<EFBFBD><EFBFBD>rka
\family default
.
V<>imnite si, <20>e ak ur<75><72>te len jednu z t<>chto mo<6D>nost<73> (<28><>rku alebo v<><76>ku)
a druh<75> mo<6D>nos<6F> bude nastaven<65> na
\begin_inset Quotes gld
\end_inset
\family sans
Norm<EFBFBD>lna
\family default
\begin_inset Quotes grd
\end_inset
, potom pomer v<><76>ky a <20><>rky bude zachovan<61> ako v origin<69>li.
\layout List
\labelwidthstring 00.00.0000
\family sans
Zobrazi<EFBFBD>:
\family default
Tu nastav<61>te, ako bude dan<61> obr<62>zok zobrazen<65> v LyXe (nem<65> to vplyv na
to, ako bude obr<62>zok vyzera<72> vo v<>stupnom dokumente, len na va<76>ej obrazovke).
Mo<4D>nos<6F>
\family sans
Nezobrazi<EFBFBD> tento obr<62>zok
\family default
m<><6D>e ur<75>chli<6C> LyX.
Ten jednoducho namiesto obr<62>zku zobraz<61> pr<70>zdny obd<62><64>nik.
\layout List
\labelwidthstring 00.00.0000
\family sans
Nastavenie:
\family default
Obsahuje dve mo<6D>nosti.
Zobrazi<7A> or<6F>movanie zobraz<61> v LyXe okolo obr<62>zku r<>m (nem<65> to efekt na
v<>sledn<64> dokument).
Prep<65>na<6E>
\family sans
Robi<EFBFBD> prepo<70>ty
\family default
rob<6F> nie<69>o z<>zra<72>n<EFBFBD>.
Som si t<>m ist<73>.
Ale nem<65>m ani <20>ajn <20>o to je.
\layout List
\labelwidthstring 00.00.0000
\family sans
Oto<EFBFBD>enie:
\family default
Do po<70>a
\family sans
Uhol
\family default
zad<61>te uhol v stup<75>och, o ko<6B>ko bude obr<62>zok oto<74>en<65> (ot<6F><74>a sa proti smeru
hodinov<6F>ch ru<72>i<EFBFBD>iek).
\layout List
\labelwidthstring 00.00.0000
\family sans
Na\SpecialChar ~
cel<EFBFBD>\SpecialChar ~
obrazovku\SpecialChar ~
preview:
\family default
Toto tal<61><6C>tko jednoducho zavol<6F> ghostview a obr<62>zok zobraz<61> v samostatnom
okne.
\begin_inset Foot
collapsed true
\layout Standard
\emph on
Pozn.
prekl.:
\emph toggle
V dial<61>govom okne s<> e<>te dve vo<76>by: prep<65>na<6E>
\family sans
Podobr<EFBFBD>zok
\family default
a textov<6F> pole
\family sans
Nadpis
\family default
.
Nepodarilo sa mi zisti<74> na <20>o sl<73><6C>ia.
\end_inset
\layout Subsection
Insety s obr<62>zkami
\layout Subsubsection
Pou<EFBFBD><EFBFBD>vanie insetov s obr<62>zkami
\layout Standard
\begin_inset LatexCommand \label{sec: insetobrazok}
\end_inset
Probl<EFBFBD>m s vkladan<61>m obr<62>zkov priamo do textu je, <20>e m<><6D>u spravi<76> str<74>nkovanie
ve<76>mi neohraban<61>.
Preto mo<6D>no d<>te prednos<6F> Insetom s obr<62>zkom, ktor<6F> LyX (LaTeX) vo<76>ne umiestnia
v dokumente tam, kde najlep<65>ie padn<64>.
Okrem toho v<>m LyX umo<6D><6F>uje automatizova<76> zoznam t<>chto obr<62>zkov a k obr<62>zkom
m<><6D>ete da<64> popis, pou<6F>it<69>m prostredia
\family sans
Caption
\family default
, ktor<6F> je vysvetlen<65> v sekcii
\begin_inset LatexCommand \ref{sec: captionlayout}
\end_inset
.
\layout Standard
Inset vlo<6C><6F>te pr<70>kazom
\family sans
Inset s obr<62>zkom
\family default
z menu
\family sans
Vlo<EFBFBD>i<EFBFBD>->Insety
\family default
.
Zobraz<61> sa v<>m inset (<28>erven<65> obd<62><64>nik) bez obr<62>zku.
Pou<6F>it<69>m tla<6C><61>tka na vlo<6C>enie obr<62>zku potom do neho vlo<6C><6F>te skuto<74>n<EFBFBD> obr<62>zok.
Ak m<>te dvojst<73>pcov<6F> dokument, pr<70>kazom
\family sans
Vlo<EFBFBD>i<EFBFBD> <20>irok<6F> inset s obr<62>zkom
\family default
z<>skate inset, ktor<6F> sa rozp<7A>na cez <20><>rku str<74>nky.
\begin_inset Float figure
placement htbp
wide false
collapsed false
\layout Caption
\begin_inset LatexCommand \label{fig: escher}
\end_inset
Prv<EFBFBD> inset s obr<62>zkom.
\layout Standard
\align center
\begin_inset Graphics
filename escher-lsd.eps
display color
rotateOrigin center
\end_inset
\end_inset
\begin_inset Float figure
placement htbp
wide false
collapsed false
\layout Standard
\align center
\begin_inset Graphics
filename platypus.eps
display color
width 80text%
rotateOrigin center
\end_inset
\layout Caption
\begin_inset LatexCommand \label{fig: kill-plat}
\end_inset
Druh<EFBFBD> inset s obr<62>zkom.
\end_inset
Vyzer<EFBFBD> to jednoducho, ale medzi umiestnen<65>m popisu je jemn<6D> rozdiel.
Ak d<>vate prednos<6F> popisu obr<62>zku pod samotn<74>m obr<62>zkom, potom obr<62>zok
vlo<6C>te, ke<6B> je kurzor na samom za<7A>iatku popisu (alebo m<><6D>te popis zmaza<7A>
a vytvori<72> ho nesk<73>r vybrat<61>m prostredia
\family sans
Caption
\family default
potom, <20>o bol obr<62>zok vlo<6C>en<65>).
Toto sme pou<6F>ili pre obr<62>zok
\begin_inset LatexCommand \ref{fig: kill-plat}
\end_inset
.
Ak pri vkladan<61> obr<62>zku je kurzor na konci popisu, potom bude obr<62>zok vlo<6C>en<65>
za popisok, tak ako je to v pr<70>pade obr<62>zku
\begin_inset LatexCommand \ref{fig: escher}
\end_inset
.
Najlep<65>ie je pou<6F><75>va<76> len jeden obr<62>zok v insete.
Toto dovo<76>uje LyXu (v skuto<74>nosti LaTeXu) najlep<65>ie umiestni<6E> ka<6B>d<EFBFBD> obr<62>zok.
\layout Standard
Tieto obr<62>zky tie<69> ukazuj<75> pou<6F>itie n<>vestia a referencie na<6E> (pozri sekciu
\begin_inset LatexCommand \ref{sec: crossref}
\end_inset
).
Pou<6F>itie n<>vest<73> a krosreferenci<63> je zvlṻ d<>le<6C>it<69> v pr<70>pade insetov
s obr<62>zkami.
Mali by ste sa vyvarova<76> referenci<63>m ako
\begin_inset Quotes gld
\end_inset
obr<EFBFBD>zok hore
\begin_inset Quotes grd
\end_inset
, preto<74>e LaTeX va<76>e obr<62>zky vo fin<69>lnom dokumente m<><6D>e premiestni<6E> (potom
ten obr<62>zok nemus<75> by<62> hore).
Ak nie je mo<6D>n<EFBFBD> obr<62>zky umiestni<6E> na rovnak<61> stranu ako text, ktor<6F> sa
na ne odkazuje, potom bud<75> umiestnen<65> na samostatn<74> str<74>nku.
Celkov<6F> efekt je oby<62>ajne celkom dobr<62>.
\layout Standard
\family sans
Inset\SpecialChar ~
s\SpecialChar ~
obr<EFBFBD>zkom
\family default
a
\family sans
<EFBFBD>irok<EFBFBD>\SpecialChar ~
inset\SpecialChar ~
s\SpecialChar ~
obr<EFBFBD>zkom
\family default
maj<61> e<>te dve <20>rty.
Obr<62>zok je automatick<63> umiestnen<65> do
\family sans
Zoznamu obr<62>zkov
\family default
(ako je to pop<6F>san<61> v sekcii
\begin_inset LatexCommand \ref{sec: zoznam}
\end_inset
).
Tento zoznam m<><6D>ete vlo<6C>i<EFBFBD> do svojho dokumentu.
Druhou <20>rtou je, <20>e (ako v<>etky insety) m<><6D>u by<62> uzatvoren<65>, alebo otvoren<65>.
\layout Subsubsection
Umiestnenie insetov
\layout Standard
\begin_inset LatexCommand \label{sec: umiestnenie-insetov}
\end_inset
Cel<EFBFBD> my<6D>lienka insetov s obr<62>zkom (tie<69> aj insetov s tabu<62>kou) je umo<6D>ni<6E>
LyXu, aby obr<62>zky (tabu<62>ky) na str<74>nky umiest<73>oval konzistentn<74>m, rozumn<6D>m
sp<73>sobom.
Toto by bolo neu<65>ito<74>n<EFBFBD>, keby ste ten
\begin_inset Quotes gld
\end_inset
rozumn<EFBFBD> sp<73>sob
\begin_inset Quotes grd
\end_inset
nemohli nejako ovl<76>da<64>.
LyX m<> <20>tyri r<>zne miesta, kde sa pok<6F>si dan<61> obr<62>zok vlo<6C>i<EFBFBD>:
\layout Description
Here\SpecialChar ~
(sem): LyX sa inset pok<6F>si vlo<6C>i<EFBFBD> na rovnak<61> miesto v texte, ako ste
ho umiestnili vy.
\begin_deeper
\layout Standard
Ak na to nie je dostatok miesta, LyX sk<73>si jednu z <20>al<61><6C>ch troch mo<6D>nost<73>.
\end_deeper
\layout Description
Top\SpecialChar ~
(hore): LyX sa pok<6F>si umiestni<6E> inset na vrchu aktu<74>lnej str<74>nky.
Ak sa obr<62>zok nezmest<73> na aktu<74>lnu str<74>nku, bude umiestnen<65> na nasleduj<75>cej.
\layout Description
Bottom\SpecialChar ~
(dolu): LyX sa pok<6F>si umiestni<6E> inset naspodu danej str<74>nky.
Ak je tam m<>lo miesta, bude na nasleduj<75>cej str<74>nke.
\layout Description
Page\SpecialChar ~
(na\SpecialChar ~
str<EFBFBD>nke): LyX sa pok<6F>si vlo<6C>i<EFBFBD> inset na samostatn<74> str<74>nku.
\layout Standard
Toto m<><6D>ete <20>pecifikova<76> v okne
\family sans
Rozlo<EFBFBD>nie dokumentu
\family default
.
Je tam textov<6F> pole, nazvan<61>
\family sans
Umiestnenie insetov
\family default
, ktor<6F> ovl<76>da glob<6F>lne umiestnenie insetov.
\layout Standard
Cel<EFBFBD> to funguje tak, <20>e do tohto po<70>a m<><6D>te da<64> <20>ubovo<76>n<EFBFBD> kombin<69>ciu <20>tyroch
znakov, ktor<6F> popisuj<75> jednotliv<69> typy umiestnenia:
\layout Itemize
\family sans
h
\family default
pre
\emph on
here
\layout Itemize
\family sans
t
\family default
pre
\emph on
top
\layout Itemize
\family sans
b
\family default
pre
\emph on
bottom
\layout Itemize
\family sans
p
\family default
pre
\emph on
page
\layout Standard
Poradie ur<75>uje, ktor<6F> zo sp<73>sobov LyX vysk<73><6B>a ako prv<72>.
Ak neuspeje, vysk<73><6B>a dal<61><6C> a tak <20>alej.
Tu je zop<6F>r pr<70>kaldov:
\layout Enumerate
\family sans
hpb
\begin_deeper
\layout Standard
Pok<EFBFBD>si sa umiestni<6E> obr<62>zok/tabu<62>ku na svoju aktu<74>lnu poz<6F>ciu.
Ak to nejde, d<> ich na spodok str<74>nky a ak zlyh<79> aj to, umiestni ich na
samostatn<74> str<74>nku.
\end_deeper
\layout Enumerate
\family sans
tp
\begin_deeper
\layout Standard
Umiestni obr<62>zok/tabu<62>ku na vrchol str<74>nky.
Ak je pr<70>li<6C> dlh<6C>/<2F>, umiestn<74> ho na oddelen<65> str<74>nku.
\end_deeper
\layout Enumerate
\family sans
p
\begin_deeper
\layout Standard
V<EFBFBD>dy umiestni obr<62>zky a tabu<62>ky na samostatn<74> str<74>nky.
\end_deeper
\layout Standard
E<EFBFBD>te posledn<64> pozn<7A>mka:
\family sans
Umiestnenie insetov
\family default
ovl<76>da poz<6F>ciu
\emph on
aj
\emph toggle
tabuliek
\emph on
aj
\emph toggle
obr<62>zkov.
\layout Subsection
\family typewriter
XFig
\family default
a LyX
\layout Standard
Be<EFBFBD>nou ot<6F>zkou b<>va:
\begin_inset Quotes gld
\end_inset
Ako by som si mohol vytvori<72> obr<62>zok.
\begin_inset Quotes grd
\end_inset
Na<4E><61>astie je odpove<76> zahrnut<75> vo v<><76><EFBFBD>ine distrib<69>ci<63> Linuxu a/alebo LaTeXu.
\family typewriter
XFig
\family default
je mocn<63> a ve<76>mi doporu<72>ovan<61> kresliaci n<>stroj.
Ak chcete vlo<6C>i<EFBFBD> obr<62>zky vytvoren<65> s
\family typewriter
XFigom
\family default
, je na to nieko<6B>ko sp<73>sobov.
Doporu<72>ujeme nasleduj<75>ci:
\layout Enumerate
Obr<EFBFBD>zok exportujete ako Encapsulated PostScript.
Takto m<><6D>e by<62> ve<76>mi jednoducho vlo<6C>en<65> do LyXu, ako je to pop<6F>san<61> v predch<63>dz
aj<EFBFBD>cej <20>asti.
V<>hodou tohto je, <20>e m<>te k dispoz<6F>cii cel<65> silu PostScriptu.
To znamen<65> Bezierove krivky, farby, v<>etky hr<68>bky <20>iar a ve<76>a <20>al<61>ieho.
Ak ste do svojho obr<62>zku vlo<6C>ili text, bude vytla<6C>en<65> PostScriptov<6F>mi p<>smami.
S obr<62>zkom m<><6D>ete manipulova<76> ako s <20>ubovo<76>n<EFBFBD>m in<69>m EPS obr<62>zkom, ako je
to pop<6F>san<61> vy<76><79>ie.
\newline
Jedinou nev<65>hodou je, <20>e nem<65><6D>ete priamo vytv<74>ra<72> vzorce, ako to o<>ak<61>va
PostScript.
Ak potrebujete vzorce alebo jednoduch<63> exponenty, dopo\SpecialChar \-
ru\SpecialChar \-
<EFBFBD>u\SpecialChar \-
je\SpecialChar \-
me nasleduj<75>ci
sp<73>sob.
\layout Enumerate
Obr<EFBFBD>zok exportujte ako LaTeX.
Toto sa d<> tie<69> jednoducho vlo<6C>i<EFBFBD> do LyX s tou v<>hodou, <20>e m<><6D>te pou<6F><75>va<76>
v<>etky pr<70>kazy LaTeXu v r<>mci textu v
\family typewriter
XFig
\family default
.
K<>li tomu mus<75>te v XFig nastavi<76> pre text
\emph on
special flag
\emph toggle
.
Toto je nastaven<65> automaticky, ak
\family typewriter
XFig
\family default
spust<73>te ako
\family typewriter
xfig\SpecialChar ~
-specialtext
\family default
.
Ak je to uroben<65>, a tie<69> ste vybrali LaTeX font, jednoducho m<><6D>ete v
\family typewriter
XFigu
\family default
nap<61>sa<73>
\begin_inset Quotes gld
\end_inset
$H_2$
\begin_inset Quotes grd
\end_inset
.
Ak tento obr<62>zok exportujete ako LaTeX a vlo<6C><6F>te do LyXu pr<70>kazom
\family typewriter
\backslash
input
\family default
, text sa objav<61> ako
\begin_inset Quotes gld
\end_inset
\begin_inset Formula $H_{2}$
\end_inset
\begin_inset Quotes grd
\end_inset
.
\newline
Nev<EFBFBD>hodou je, <20>e grafick<63> sila LaTeXu nie je tak<61> ve<76>k<EFBFBD> ako sila PostScriptu.
Preto na zlo<6C>itej<65>ie obr<62>zky doporu<72>ujeme tret<65> sp<73>sob.
\layout Enumerate
Obr<EFBFBD>zok exportuje ako kombinovan<61> LaTeX/PostScript.
Potom
\family typewriter
XFig
\family default
(v skuto<74>nosti
\family typewriter
transfig
\family default
) vygeneruje dva s<>bory:
\begin_deeper
\layout Enumerate
PostScriptov<EFBFBD> <20>as<61>
\family typewriter
xxx.ps_tex
\family default
, ktor<6F> obsahuje v<>etku grafiku,
\layout Enumerate
LaTeXov<EFBFBD> <20>as<61>
\family typewriter
xxx.ps_tex_t
\family default
, ktor<6F> obsahuje v<>etok text a odkaz na PostScriptov<6F> <20>as<61>.
\end_deeper
\layout Standard
Potom mus<75>te LaTeXov<6F> <20>as<61> vlo<6C>i<EFBFBD> pr<70>kazom
\family typewriter
\backslash
input\SpecialChar ~
xxx.ps_tex_t
\family default
.
Toto tie<69> automaticky vlo<6C><6F> PostScriptov<6F> <20>as<61>.
\begin_inset Foot
collapsed true
\layout Standard
Ak dostanete chybu ako
\begin_inset Quotes gld
\end_inset
unknown graphics extension ps_tex
\begin_inset Quotes grd
\end_inset
, budete musie<69> t<>to pr<70>ponu zadeklarova<76>.
Mysl<73>m si, <20>e toto je chyba transfigu, ktor<6F> sa vyskytla v LaTeX2e.
Jednoducho pridajte riadok
\layout Standard
\backslash
@namedef{Gin@rule@ps_tex}#1{{eps}{ps_tex}{#1}}
\layout Standard
do s<>boru
\family typewriter
/usr/lib/texmf/tex/latex/graphics/dvips.def
\family default
.
Potom pridajte
\family typewriter
ps_tex
\family default
k pr<70>pon<6F>m:
\layout Standard
\backslash
def
\backslash
Gin@extension{eps, ps, ps_tex, eps.gz, ps.gz, eps=2EZ}
\layout Standard
Toto by malo cel<65> vec vyrie<69>i<EFBFBD>.
Alternat<61>vou je, <20>e PostScriptov<6F> <20>as<61> exportujete ako
\family typewriter
xxx.eps
\family default
a LaTeXov<6F> <20>as<61>
\family typewriter
xxx.ps_tex_t
\family default
manu<6E>lne zmen<65>te.
Ale toto je otravn<76>.
\end_inset
Takto m<>te pln<6C> silu LaTeXu aj PostScriptu, okrem mo<6D>nosti obr<62>zok po vytvoren<65>
zv<7A><76><EFBFBD>ova<76>.
Tak<61>e ak chcete obr<62>zok, ktor<6F> budete zm<7A><6D><EFBFBD>ova<76>/zmen<65>ova<76>, jedinou mo<6D>nos<6F>ou
je PostScripto<74> form<72>t.
<20>al<61>ou malou v<>hodou nacha<68> LaTeX vys<79>dza<7A> text je, <20>e p<>smo pri obr<62>zkoch
bude rovnak<61> ako p<>smo oby<62>ajn<6A>ho textu, <20>o vyzer<65> tro<72>ku kraj<61>ie.
\layout Section
Tabu<EFBFBD>ky
\layout Standard
\begin_inset LatexCommand \label{sec: tabulky}
\end_inset
LyX m<> mo<6D>nos<6F> vytv<74>ra<72> a editova<76> WYSIWYM tabu<62>ky.
LaTeX dok<6F><6B>e s tabu<62>kami urobi<62> ove<76>a viac vec<65>, ako je v s<><73>asnosti mo<6D>n<EFBFBD>
v LyXe, tak<61>e ak to <20>o tu bude pop<6F>san<61> v<>m nesta<74><61>, mali by ste sa poobzera<72>
po nejakej dobrej knihe o LaTeXu.
\layout Standard
Tabu<EFBFBD>ku m<><6D>ete vlo<6C>i<EFBFBD> bu<62> tla<6C><61>tkom na n<>strojovej li<6C>te, alebo pr<70>kazom
\family sans
Tabu<EFBFBD>ka
\family default
z menu
\family sans
Vlo<EFBFBD>i<EFBFBD>
\family default
.
Objav<61> sa okienko, kde zad<61>te po<70>et riadkov a st<73>pcov.
<20>tandardn<64> tabu<62>ka m<> <20>iary na hornej a <20>avej strane ka<6B>dej bunky, <20>iaru
na pravej strane posledn<64>ho st<73>pca a <20>iaru na spodnej strane posledn<64>ho
riadku, tvoriace r<>m tabu<62>ky.
<20>alej aj najvy<76><79><EFBFBD> riadok m<> <20>iaru na spodnom okraji, <20>o sp<73>sobuje <20>e riadok
je oddelen<65> od zvy<76>ku tabu<62>ky.
Tu je pr<70>klad:
\layout Standard
\added_space_top 0.3cm \added_space_bottom 0.3cm \align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="4">
<features>
<column alignment="center" valignment="top" leftline="true" width="0pt">
<column alignment="center" valignment="top" leftline="true" width="0pt">
<column alignment="center" valignment="top" leftline="true" width="0pt">
<column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
12
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
45
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
98
\end_inset
</cell>
</row>
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
A
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
B
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
multi
\end_inset
</cell>
<cell multicolumn="2" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
C
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\layout Subsection
Menu na manipul<75>ciu s tabu<62>kou
\layout Standard
Tabu<EFBFBD>ku si m<><6D>ete prisp<73>sobova<76> kliknut<75>m na nej prav<61>m tla<6C><61>tkom, <20><>m sa
zobraz<61> menu, kde m<>te nasleduj<75>ce mo<6D>nosti:
\layout Itemize
Prid<EFBFBD>vanie/ru<72>enie <20>iar okolo riadkov alebo st<73>pcov.
Ak niektor<6F> <20>iaru zru<72><75>te <20>plne, v LyXe sa v<>m zobraz<61> preru<72>ovan<61> <20>iara,
av<61>ak vo v<>stube nebude <20>iadna.
Ak nastav<61>te spodn<64> <20>iaru niektor<6F>ho riadku a horn<72> <20>iaru riadku pod n<>m,
potom bud<75> tieto riadky oddelen<65> malou medzerou, ako je to vidno na najvy<76><79>om
riadku tabu<62>ky v pr<70>klade.
To ist<73> m<><6D>ete urobi<62> vo vertik<69>lnom smere, ak nastav<61>te prav<61> <20>iaru nejak<61>mu
st<73>pcu a <20>av<61> <20>iaru st<73>pcu vpravo od neho.
\layout Itemize
Zarovnanie textu v st<73>pci.
\layout Itemize
Prid<EFBFBD>vanie riadkov a st<73>pcov.
\layout Itemize
Vymazanie riadkov, st<73>pcov alebo celej tabu<62>ky.
\layout Itemize
Multist<EFBFBD>pec (viac st<73>pcov).
\layout Itemize
Nastavenie pevnej <20><>rky pre st<73>pec.
\layout Itemize
Mo<EFBFBD>nosti pre dlh<6C> tabu<62>ky -- toto je u<>ito<74>n<EFBFBD>, ak va<76>a tabu<62>ka je dlh<6C>ia
ako str<74>nka.
Potom je tabu<62>ka na konci str<74>nku rozdelen<65> a pokra<72>uje na <20>al<61>ej str<74>nke.
\layout Itemize
Rot<EFBFBD>cia celej tabu<62>ky alebo danej bunky o 90 stup<75>ov.
\layout Standard
Toto menu sa nach<63>dza aj v hlavnom menu.
Sk<53>ste
\family sans
Upravi<EFBFBD>->Tabu<62>ka
\family default
, ak je kurzor umiestnen<65> v tabu<62>ke.
\layout Standard
V<EFBFBD><EFBFBD><EFBFBD>ina z t<>chto mo<6D>nost<73> tie<69> funguje aj na v<>ber.
Znamen<65> to, <20>e ak vyberiete viac buniek, riadkov alebo st<73>pcov (v<>dy vyber<65>te
bunky, ale ako bud<75> interpretovan<61> z<>le<6C><65> na akcii), pr<70>kaz sa vykon<6F> na
va<76>om v<>bere.
\layout Standard
Ak prid<69>vate riadok, potom bude pridan<61>
\emph on
pod
\emph toggle
riadok, ktor<6F> obsahuje kurzor.
Podobne pridan<61> st<73>pec je pridan<61>
\emph on
vpravo
\emph toggle
od st<73>pca, ktor<6F> obsahuje kurzor.
Takto je dos<6F> <20>a<EFBFBD>k<EFBFBD> prida<64> st<73>pec na za<7A>iatok tabu<62>ky bez mno<6E>stva kop<6F>rovania
a vkladania.
Mazanie riadka alebo st<73>pcca je v<>dy aplikovan<61> na riadok, alebo st<73>pec,
ktor<6F> obsahuje kurzor.
\layout Standard
\begin_inset Quotes gld
\end_inset
Viac st<73>pcov
\begin_inset Quotes grd
\end_inset
spoj<6F> dve (alebo viac) susedn<64>ch buniek v danom riadku.
Napr<70>klad v tabu<62>ke hore v riadku
\begin_inset Quotes gld
\end_inset
B
\begin_inset Quotes grd
\end_inset
je pr<70>kaz
\begin_inset Quotes gld
\end_inset
viac st<73>pcov
\begin_inset Quotes grd
\end_inset
aplikovan<61> na st<73>pce ozna<6E>an<61>
\begin_inset Quotes gld
\end_inset
45
\begin_inset Quotes grd
\end_inset
a
\begin_inset Quotes gld
\end_inset
98
\begin_inset Quotes grd
\end_inset
.
Najprv vyberiete bunky, ktor<6F> chcete spoji<6A> a potom z menu vykon<6F>te pr<70>kaz
\family sans
Viac\SpecialChar ~
st<EFBFBD>pcov
\family default
.
\layout Standard
Viac st<73>pcov m<><6D>ete pou<6F>i<EFBFBD> ak potrebujete samostatn<74> bunku zvlṻ naform<72>tova<76>.
Tu je toho pr<70>klad:
\layout Standard
\added_space_top 0.3cm \added_space_bottom 0.3cm \align center
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="3">
<features>
<column alignment="left" valignment="top" leftline="true" rightline="true" width="0pt">
<column alignment="right" valignment="top" leftline="true" width="0pt">
<column alignment="right" valignment="top" leftline="true" rightline="true" width="0pt">
<row topline="true" bottomline="true">
<cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\series bold
*
\end_inset
</cell>
<cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\series bold
x
\end_inset
</cell>
<cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\series bold
y
\end_inset
</cell>
</row>
<row topline="true" bottomline="true">
<cell multicolumn="1" alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\series bold
point a & b
\end_inset
</cell>
<cell alignment="right" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
103
\end_inset
</cell>
<cell alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
9
\end_inset
</cell>
</row>
<row>
<cell multicolumn="1" alignment="left" valignment="top" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\series bold
point b & a
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
599
\end_inset
</cell>
<cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
340
\end_inset
</cell>
</row>
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\series bold
point abc
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
1009
\end_inset
</cell>
<cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
52
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\series bold
point abcd
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
96
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
11
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\layout Standard
Vid<EFBFBD>te tabu<62>ku, kde prv<72> riadok je zarovnan<61> doprostred, zatia<69><61>o prv<72> st<73>pec
je zarovnan<61> v<>avo a ostatok vpravo.
Tie<69> boli odstr<74>nen<65> spodn<64> a horn<72> <20>iara dvoch buniek.
\layout Standard
Ak chcete, aby mal st<73>pec pevn<76> <20><>rku, zadajte ju do okienka
\family sans
<EFBFBD><EFBFBD>rka st<73>pca
\family default
, ktor<6F> zobraz<61>te kliknut<75>m na tla<6C><61>tko na paneli n<>strojov tabu<62>ky, zobrazuj<75>ce
obojstrann<6E> <20><>pku medzi dvoma <20>iarami.
\layout Standard
Ak je va<76>a tabu<62>ka prive<76>k<EFBFBD> na to aby sa zmestila na <20><>rku strany nastavenej
na v<><76>ku, m<><6D>ete ju oto<74>i<EFBFBD> o 90 stup<75>ov a tabu<62>ka sa v dokumente zobraz<61>
oto<74>en<65>.
Tie<69> m<><6D>te rotova<76> jednotliv<69> bunky, aby ste z<>skali v horizont<6E>lnom smere
viac miesta.
Pozrite sa na nasleduj<75>ci pr<70>klad, aby ste videli na <20>o to m<><6D>ete pou<6F>i<EFBFBD>.
\layout Standard
Na rot<6F>ciu buniek sl<73><6C>i tla<6C><61>tko na li<6C>te, cel<65> tabu<62>ku oto<74><6F>te nastaven<65>m
vo<76>by v rozba<62>ovacom menu na za<7A>iatku li<6C>ty n<>strojov pre tabu<62>ku.
\family sans
Portr<EFBFBD>t
\family default
je norm<72>lna tabu<62>ka,
\family sans
Krajinka
\family default
je tabu<62>ka oto<74>en<65>,
\family sans
Dlh<EFBFBD>
\family default
je <20>peci<63>lne nastavenie pre dlh<6C> tabu<62>ky, ktor<6F> sa nezmestia na str<74>nku.
\layout Standard
\emph on
Pozn<EFBFBD>mka:
\emph toggle
T<>to rot<6F>cia tabu<62>ky/buniek sa
\emph on
nezobraz<EFBFBD>
\emph toggle
na obrazovke, ale
\emph on
len
\emph toggle
v PostScriptovom v<>stupe.
Tak<61>e ak si to chcete pozrie<69>, mus<75>te si da<64> zobrazi<7A> PostScript, preto<74>e
v
\family sans
DVI
\family default
to nebute fungova<76>.
\layout Standard
\added_space_top 0.3cm \added_space_bottom 0.3cm \align center
\begin_inset Tabular
<lyxtabular version="3" rows="6" columns="12">
<features>
<column alignment="left" valignment="top" leftline="true" rightline="true" width="0pt">
<column alignment="center" valignment="top" leftline="true" width="0pt">
<column alignment="center" valignment="top" leftline="true" width="0pt">
<column alignment="center" valignment="top" leftline="true" width="0pt">
<column alignment="center" valignment="top" leftline="true" width="0pt">
<column alignment="center" valignment="top" leftline="true" width="0pt">
<column alignment="center" valignment="top" leftline="true" width="0pt">
<column alignment="center" valignment="top" leftline="true" width="0pt">
<column alignment="center" valignment="top" leftline="true" width="0pt">
<column alignment="center" valignment="top" leftline="true" width="0pt">
<column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
<column alignment="right" valignment="top" leftline="true" rightline="true" width="0pt">
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
Popis
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rotate="true" usebox="none">
\begin_inset Text
\layout Standard
Pr<EFBFBD>znak 1
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rotate="true" usebox="none">
\begin_inset Text
\layout Standard
Pr<EFBFBD>znak 2
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rotate="true" usebox="none">
\begin_inset Text
\layout Standard
Pr<EFBFBD>znak 3
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rotate="true" usebox="none">
\begin_inset Text
\layout Standard
Pr<EFBFBD>znak 4
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rotate="true" usebox="none">
\begin_inset Text
\layout Standard
Pr<EFBFBD>znak 5
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rotate="true" usebox="none">
\begin_inset Text
\layout Standard
Pr<EFBFBD>znak 6
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rotate="true" usebox="none">
\begin_inset Text
\layout Standard
Pr<EFBFBD>znak 7
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rotate="true" usebox="none">
\begin_inset Text
\layout Standard
Pr<EFBFBD>znak 8
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rotate="true" usebox="none">
\begin_inset Text
\layout Standard
Pr<EFBFBD>znak 9
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" rotate="true" usebox="none">
\begin_inset Text
\layout Standard
Pr<EFBFBD>znak 10
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
Suma
\end_inset
</cell>
</row>
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
Popis\SpecialChar ~
1
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
*
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
*
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
*
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
*
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
*
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
*
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
*
\end_inset
</cell>
<cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
7
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
Popis\SpecialChar ~
2
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
*
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
*
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
*
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
*
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
*
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
*
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
*
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
*
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
*
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
9
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
Popis\SpecialChar ~
3
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
*
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
*
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
*
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
*
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
*
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
*
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
*
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
*
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
8
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
Popis\SpecialChar ~
4
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
*
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
*
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
*
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
*
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
*
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
*
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
6
\end_inset
</cell>
</row>
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
Suma
\end_inset
</cell>
<cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell multicolumn="2" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell multicolumn="2" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell multicolumn="2" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell multicolumn="2" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell multicolumn="2" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell multicolumn="2" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell multicolumn="2" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell multicolumn="2" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell multicolumn="2" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
30
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\layout Standard
Ako v tomto pr<70>klade vid<69>te, text v prvom riadku by sa nezmestil na <20><>rku
str<74>nky, ak by nebol rotovan<61>.
\layout Subsection
<EFBFBD>o m<><6D>e by<62> v tabu<62>ke umiestnen<65>?
\layout Standard
Do bunky v tabu<62>ke m<><6D>e by<62> vlo<6C>en<65>ch ve<76>a objektov.
<20>ubovo<76>n<EFBFBD> jednoduch<63> riadok textu, matematick<63> vzorec, alebo obr<62>zok, ale
aj v<>etky tri veci s<><73>asne v jednej bunke.
M<><4D>u by<62> menen<65> tvary a ve<76>kosti p<>siem.
Av<41>ak do tabu<62>ky nem<65><6D>ete vlo<6C>i<EFBFBD> in<69> tabu<62>ku, ani zvl<76><6C>tne prostredia (ako
napr<70>klad
\family sans
Section*
\family default
, at<61>.), preto<74>e LaTeX sa pok<6F>si cel<65> tabu<62>ku da<64> do tohto prostredia ako
odsek.
V<>sledok tohoto je nepredv<64>date<74>n<EFBFBD>.
\layout Subsection
Vystrihovanie a vkladanie a tabu<62>ky
\layout Standard
Vystrihovanie a vkladanie medzi tabu<62>kami pracuje dos<6F> dobre.
Vystrihn<68><6E> a vlo<6C>i<EFBFBD> m<><6D>ete viac ako jeden riadok.
Ozna<6E>ovanie pomocou my<6D>i alebo kurzorov<6F>mi kl<6B>vesami a kl<6B>vesy
\family sans
Shift
\family default
funguje ako oby<62>ajne.
Hodnoty v druhej tabu<62>ke boli zkop<6F>rovan<61> z prvej a do druhej vlo<6C>en<65>.
\layout Standard
\added_space_top 0.3cm \added_space_bottom 0.3cm \align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
<features>
<column alignment="center" valignment="top" leftline="true" width="0pt">
<column alignment="center" valignment="top" leftline="true" width="0pt">
<column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
1
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
2
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
3
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
4
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
5
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
6
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
7
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
8
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
9
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\layout Standard
\added_space_top 0.3cm \added_space_bottom 0.3cm \align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="3">
<features>
<column alignment="center" valignment="top" leftline="true" width="0pt">
<column alignment="center" valignment="top" leftline="true" width="0pt">
<column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
1
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
2
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
3
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
4
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
5
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
6
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
7
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\layout Standard
Vystrihovanie a vkladanie m<><6D>e ma<6D> ne<6E>iad<61>ci v<>sledok, ak cie<69>ov<6F> tabu<62>ka
m<> in<69> po<70>et st<73>pcov ako zdrojov<6F>.
\layout Standard
Aby ste mohli skop<6F>rova<76>/vystrihn<68><6E> a potom vlo<6C>i<EFBFBD>
\emph on
cel<EFBFBD>
\emph toggle
tabu<62>ku, budete musie<69> pou<6F>i<EFBFBD> mal<61> trik.
\emph on
Pred
\emph toggle
a
\emph on
za
\emph toggle
tabu<62>kou mus<75> by<62> odsek.
To znamen<65>, <20>e ak tabu<62>ka je prv<72> a/alebo posled<65> vec vo va<76>om dokumente,
budete musie<69> okolo nej vytvori<72> odseky! Teraz ozna<6E>te cel<65> tabu<62>ku tak,
<20>e za<7A>nete za posledn<64>m znakom odseku pred tabu<62>kou a skon<6F><6E>te pred prv<72>m
znakom odseku za tabu<62>kou.
Potom skop<6F>rujete/vystrihnete cel<65> tabu<62>ku vr<76>tane <20>trukt<6B>ry a nie len
jej obsah.
\layout Subsection
Viacriadkov<EFBFBD> text v bunke
\layout Standard
V tabu<62>ke je mo<6D>n<EFBFBD> ma<6D> viacriadkov<6F> text, ale nie <20>plne pod<6F>a predst<73>v WYSIWYM.
Na dosiahnutie tohto je nieko<6B>ko met<65>d:
\layout Enumerate
Zadefinujte si pevn<76> <20><>rku st<73>pca.
Potom ke<6B> v<><76> text presiahne t<>to <20><>rku, automaticky sa rozdel<65> na viac
riadkov a bunka sa vertik<69>lne zv<7A><76><EFBFBD><EFBFBD>.
\layout Enumerate
Odstr<EFBFBD><EFBFBD>te <20>iary medzi dvoma alebo viacer<65>mi susedn<64>mi riadkami (bunkami).
Toto d<>va len pribli<6C>n<EFBFBD> viacriadkov<6F> text v bunke.
\begin_deeper
\layout Standard
Tu je pr<70>klad:
\layout Standard
\added_space_top 0.3cm \added_space_bottom 0.3cm \align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="3">
<features>
<column alignment="center" valignment="top" leftline="true" width="0pt">
<column alignment="block" valignment="top" leftline="true" width="6.5cm">
<column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
1
\end_inset
</cell>
<cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
2
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
3
\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
4
\end_inset
</cell>
<cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
Toto je viacriadkov<6F> text v tabu<62>ke.
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
5
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
6
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
Toto je dlh<6C>.
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
7
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
8
\lang english
\end_inset
</cell>
<cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
Toto je viacriadkov<6F> text v tabu<62>ke.
Toto je dlh<6C>.A e<>te dlh<6C>ie.
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
9
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\layout Standard
Vid<EFBFBD>te, <20>e viacriadkov<6F> text sa v LyXe nezobraz<61> spr<70>vne, ale vo v<>stupe
bude dobr<62>.
Ak s<> riadky ve<76>mi dlh<6C>, m<><6D>ete stla<6C>i<EFBFBD>
\family sans
C-Enter
\family default
a z<>skate nov<6F> riadok v tej istej bunke, kde m<><6D>ete pokra<72>ova<76> v p<>san<61>.
V<>stup
\emph on
NEBUDE
\emph toggle
re<72>pektova<76> tieto zlomy riadkov, ale cel<65> text bude pova<76>ova<76> za jeden
riadok a zalom<6F> ho pod<6F>a <20><>rky st<73>pca.
\end_deeper
\layout Standard
<EFBFBD>alej je tu probl<62>m s textom v bunke, ktor<6F> je dlh<6C> a nezmest<73> sa na <20><>rku
str<74>nky a tabu<62>ka
\begin_inset Quotes gld
\end_inset
prete<EFBFBD>ie
\begin_inset Quotes grd
\end_inset
za prav<61> okraj.
Podobne aj inset s dlhou tabu<62>kou sa nerozdel<65> na spodu str<74>nky, tak<61>e
m<><6D>e zasahova<76> pod doln<6C> okraj.
Na vyrie<69>enie t<>chto probl<62>mov m<>te tieto mo<6D>nosti:
\layout Enumerate
Tabu<EFBFBD>ku rozde<64>te na dve men<65>ie.
\layout Enumerate
Nastavte tabu<62>ku na dlh<6C> (rozba<62>ovac<61>m menu na za<7A>iatku panelu n<>strojov
tabu<62>ky).
Toto automaticky rozde<64>uje tabu<62>ku na viac str<74>nok ak je pr<70>li<6C> dlh<6C>.
Ke<4B> nastav<61>te dlh<6C> tabu<62>ku, automaticky sa spr<70>stupn<70> menu mo<6D>nost<73> pre
tak<61>to tabu<62>ku (rozba<62>ovacie menu vpravo na li<6C>te pre tabu<62>ku).
Tu si m<><6D>ete nastavi<76>:
\begin_deeper
\layout Enumerate
\family sans
Norm<EFBFBD>lne:
\family default
<20>iadna vo<76>ba nie je na danom riadku nastaven<65>.
\layout Enumerate
\family sans
Prv<EFBFBD>\SpecialChar ~
hlavi<EFBFBD>ka:
\family default
Aktu<74>lny riadok a v<>etky riadky nad n<>m ktor<6F> nemaj<61> definovan<61> <20>iadnu
<20>peci<63>lnu vo<76>bu s<> nastaven<65> ako hlavi<76>kov<6F> riadky prvej str<74>nky dlhej
tabu<62>ky.
\layout Enumerate
\family sans
Hlavi<EFBFBD>ka:
\family default
Aktu<74>lny riadok a v<>etky riadky nad n<>m ktor<6F> nemaj<61> definovan<61> <20>iadnu
<20>peci<63>lnu vo<76>bu s<> nastaven<65> ako hlavi<76>kov<6F> riadky v<>etk<74>ch str<74>nok dlhej
tabu<62>ky, okrem prvej str<74>nky, ak je definovan<61>
\family sans
Prv<EFBFBD>\SpecialChar ~
hlavi<EFBFBD>ka
\family default
.
\layout Enumerate
\family sans
P<EFBFBD>tka:
\family default
Aktu<74>lny riadok a v<>etky riadky nad n<>m ktor<6F> nemaj<61> definovan<61> <20>iadnu
<20>peci<63>lnu vo<76>bu s<> nastaven<65> ako p<>tkov<6F> riadky v<>etk<74>ch str<74>nok dlhej
tabu<62>ky, okrem poslednej str<74>nky, ak je definovan<61>
\family sans
Posledn<EFBFBD>\SpecialChar ~
p<EFBFBD>tka
\family default
.
\layout Enumerate
\family sans
Posledn<EFBFBD>\SpecialChar ~
p<EFBFBD>tka:
\family default
Aktu<74>lny riadok a v<>etky riadky nad n<>m ktor<6F> nemaj<61> definovan<61> <20>iadnu
<20>peci<63>lnu vo<76>bu s<> nastaven<65> ako p<>tkov<6F> riadky poslednej str<74>nky dlhej
tabu<62>ky.
\layout Enumerate
\family sans
Nova\SpecialChar ~
str<EFBFBD>nka:
\family default
Toto sprav<61> zlom tabu<62>ky na riadku, kde je t<>to vo<76>ba nastaven<65>.
\end_deeper
\layout Enumerate
Tabu<EFBFBD>ka tie<69> m<><6D>e by<62> vlo<6C>en<65> v insete, ako je to pop<6F>san<61> ni<6E><69>ie, <20>o umo<6D>n<EFBFBD>
TeXu umiestni<6E> ju tak dobre, ako to len bude mo<6D>n<EFBFBD>.
\layout List
\labelwidthstring 00.00.0000
Pozn<EFBFBD>mka:
\family sans
Dlh<EFBFBD> tabu<62>ky
\family default
a
\family sans
rot<EFBFBD>cia
\family default
tabu<62>ky/bunky pou<6F><75>vaj<61> <20>peci<63>lne LaTeXov<6F> bal<61>ky, tak<61>e by ste si mali
pozrie<69>
\emph on
Konfigur<EFBFBD>ciu LaTeX-u
\emph toggle
v menu
\family sans
Pomocn<EFBFBD>k
\family default
, <20>i v<><76> syst<73>m toto podporuje.
\layout List
\labelwidthstring 00.00.0000
\emph on
Pozn.\SpecialChar ~
prekl.:
\emph toggle
Hlavi<76>ky a
\emph on
aj
\emph toggle
p<>tky je najlep<65>ie definova<76> na za<7A>iatku tabu<62>ky.
Pozor si dajte na <20>iary v tabu<62>ke.
Posledn<64> riadok hlavi<76>ky alebo p<>tky (aj prvej a poslednej)
\emph on
nesmie
\emph toggle
ma<6D> nastaven<65> <20>iaru zdola, ale nmiesto toho nastavte riadku pod n<>m <20>iaru
zhora.
In<49><6E> vo v<>stupe bud<75> posledn<64> riadky p<>tiek oddelen<65> od tabu<62>ky (ako keby
<20>iary medzi bunkami boli nastaven<65> aj zhora aj zdola) a hlavi<76>ka nebude
ma<6D> navrchu <20>iadnu <20>iaru.
\layout Subsection
Insety s tabu<62>kou
\layout Standard
\begin_inset LatexCommand \label{sec: tabulkainset}
\end_inset
Ak jednoducho tabu<62>ku vlo<6C><6F>te pomocou tla<6C><61>tka na li<6C>te, alebo pr<70>kazom
\family sans
Tabu<EFBFBD>ka
\family default
z menu
\family sans
Vlo<EFBFBD>i<EFBFBD>
\family default
, tabu<62>ka bude umiestnen<65> presne tam, kde sa nach<63>dzal kurzor, zobrazen<65>
na samostatnom riadku a vycentrovan<61>.
Pou<6F>it<69>m pr<70>kazov
\family sans
Inset s tabu<62>kou
\family default
alebo
\family sans
<EFBFBD>irok<EFBFBD> inset s tabu<62>kou
\family default
z menu
\family sans
Vlo<EFBFBD>i<EFBFBD>->Insety
\family default
, umo<6D>n<EFBFBD>te LaTeXu umiestni<6E> tabu<62>ku tam, kde sa najlep<65>ie hod<6F>, namiesto
toho, kde presne ste ju vlo<6C>ili vy.
Umiest<73>ovanie insetov s tabu<62>kou je podobn<62> ako umiet<65>ovanie insetov s
obr<62>zkom (pozri sekciu
\begin_inset LatexCommand \ref{sec: insetobrazok}
\end_inset
), ktor<6F> je pop<6F>san<61> v sekcii
\begin_inset LatexCommand \ref{sec: umiestnenie-insetov}
\end_inset
.
Tabu<62>ka
\begin_inset LatexCommand \ref{tab: inset_s_tabulkou}
\end_inset
je pr<70>klad insetu s tabu<62>kou, ktor<6F> je v LyXe vlo<6C>en<65> na konci tohto odseku.
Podobne ako pri insetoch s obr<62>zkom,
\family sans
<EFBFBD>irok<EFBFBD> inset s tabu<62>kou
\family default
je <20>irok<6F> verzia insetu, ktor<6F> sa rozprestiera cez oba st<73>pce v dvojst<73>pcovom
dokumente.
\begin_inset Float table
placement htbp
wide false
collapsed false
\layout Caption
\begin_inset LatexCommand \label{tab: inset_s_tabulkou}
\end_inset
Inset s tabu<62>kou.
\layout Standard
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
<features>
<column alignment="center" valignment="top" leftline="true" width="0pt">
<column alignment="center" valignment="top" leftline="true" width="0pt">
<column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
1
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
2
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
3
\end_inset
</cell>
</row>
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
Janko
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
Marienka
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
Ferko
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\begin_inset Formula $\int x^{2}dx$
\end_inset
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\begin_inset Formula $\left[\begin{array}{cc}
a & b\\
c & d\end{array}\right]$
\end_inset
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\begin_inset Formula $1+1=2$
\end_inset
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\end_inset
\layout Subsubsection
Popisy tabuliek
\layout Standard
Ke<EFBFBD> vytvor<6F>te inset s tabu<62>kou, prv<72> vec, ktor<6F> zbad<61>te je v<>zva na popis
tabu<62>ky.
Na samotn<74> vytvorenie tabu<62>ky norm<72>lne vlo<6C>te tabu<62>ku (tla<6C><61>tkom na paneli
n<>strojov) ke<6B> je kurzor v insete.
M<><4D>ete si ur<75>i<EFBFBD> <20>i bude popis nad, alebo pod tabu<62>kou.
Ak popis nap<61><70>ete okam<61>ite za slovo
\begin_inset Quotes gld
\end_inset
\series bold
Table:
\series default
\begin_inset Quotes grd
\end_inset
v insete a tabu<62>ku vlo<6C>ite a<> za t<>mto popisom, bude popis nad tabu<62>kou,
ako v pr<70>pade tabu<62>ky
\begin_inset LatexCommand \ref{tab: inset_s_tabulkou}
\end_inset
.
Ak ste popis e<>te nenap<61>sali a vlo<6C>ili ste rovno tabu<62>ku, potom bude popis
pod tabu<62>kou, ako v pr<70>pade tabu<62>ky
\begin_inset LatexCommand \ref{tab: tabinset-popis_pod}
\end_inset
.
\begin_inset Float table
placement htbp
wide false
collapsed false
\layout Standard
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
<features>
<column alignment="center" valignment="top" leftline="true" width="0pt">
<column alignment="center" valignment="top" leftline="true" width="0pt">
<column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
1
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
2
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
3
\end_inset
</cell>
</row>
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
4
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
5
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
6
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
7
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
8
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
9
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\layout Caption
\begin_inset LatexCommand \label{tab: tabinset-popis_pod}
\end_inset
Druh<EFBFBD> inset s tabu<62>kou, s popisom dole.
\end_inset
M<EFBFBD><EFBFBD>ete vytvori<72> aj tabu<62>ku bez popisu, vytvoren<65>m oby<62>ajnej tabu<62>ky (nie
insetu s tabu<62>kou), ozna<6E>en<65>m celej tabu<62>ky a potom vybrat<61>m pr<70>kazu
\family sans
Vlo<EFBFBD>i<EFBFBD>->Insety->Inset s tabu<62>kou
\family default
.
\begin_inset Foot
collapsed true
\layout Standard
\emph on
Pozn.
prekl.:
\emph toggle
D<> sa to urobi<62> jednoducho aj tak, <20>e priamo vlo<6C><6F>te inset s tabu<62>kou,
prostredie odseku pre popis tabu<62>ky nastav<61>te z p<>vodn<64>ho
\family sans
Caption
\family default
na
\family sans
Standard
\family default
, <20><>m tento popis zmizne a vytvor<6F>te si tabu<62>ku.
Ak v bud<75>cnosti budete tabu<62>ku chcie<69> pop<6F>sa<73>, jednoducho v insete vytvor<6F>te
odsek s prostred<65>m
\family sans
Caption
\family default
.
\end_inset
Pr<50>kladom je tabu<62>ka
\begin_inset LatexCommand \ref{tab: tabinset-bez_popisu}
\end_inset
.
\begin_inset Float table
placement htbp
wide false
collapsed false
\layout Standard
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
<features>
<column alignment="center" valignment="top" leftline="true" width="0pt">
<column alignment="center" valignment="top" leftline="true" width="0pt">
<column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
1
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
2
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
3
\end_inset
</cell>
</row>
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
4
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
5
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
6
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
7
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
8
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
9
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\layout Standard
\begin_inset LatexCommand \label{tab: tabinset-bez_popisu}
\end_inset
\end_inset
Preto<74>e nem<65> popis, nebude o<><6F>slovan<61>, aj ke<6B> je o<><6F>slovan<61> referencia
na <20>u
\begin_inset Foot
collapsed true
\layout Standard
\emph on
Pozn.
prekl.:
\emph toggle
<20><>slo, ktor<6F> referencia zobraz<61> je <20><>slo sekcie v ktorej je vlo<6C>en<65> dan<61>
tabu<62>ka.
\end_inset
.
Nie je mo<6D>n<EFBFBD> pop<6F>sa<73> tabu<62>ku, ak t<>to nie je vlo<6C>en<65> v insete.
V<>imnite si, <20>e popisovanie tabuliek ich automaticky <20><>sluje, a odkazy
(sekcia
\begin_inset LatexCommand \ref{sec: crossref}
\end_inset
) na ne toto <20><>slo vo v<>stupe zobrazia.
\layout Subsubsection
Umiestnenie insetov
\layout Standard
Technika umiest<73>ovania insetov s tabu<62>kou je rovnak<61> ako pri insetoch s
obr<62>zk\SpecialChar \-
om.
Pre<72><65>tajte si sekciu
\begin_inset LatexCommand \ref{sec: umiestnenie-insetov}
\end_inset
.
\layout Section
Obsah a <20>al<61>ie zoznamy
\layout Standard
\begin_inset LatexCommand \label{sec: obsah}
\end_inset
Jednou z naozaj pekn<6B>ch vlastnost<73> LaTeXu je <20>ahkos<6F>, s ktorou v<>m umo<6D>n<EFBFBD>
vytv<74>ra<72> r<>zne
\begin_inset Quotes gld
\end_inset
zoznamy
\begin_inset Quotes grd
\end_inset
, ako napr<70>klad obsah.
V<>etko <20>o mus<75>te urobi<62> je pou<6F><75>va<76> ur<75>it<69> prostredia a vlo<6C>i<EFBFBD> referenciu
na miesto, kde sa m<> zoznam objavi<76>.
\layout Standard
Ak ste pou<6F><75>vate<74> LaTeXu, alebo ste pou<6F><75>vali star<61>iu verziu LyXu, potom
si mo<6D>no spom<6F>nate, <20>e ste museli LaTeX spusti<74> viackr<6B>t, aby veci fungovali
spr<70>vne.
Na<4E><61>astie toto je u<> minulos<6F>ou.
LyX sa s<>m postar<61> o to, aby bol LaTeX spusten<65> pr<70>slu<6C>n<EFBFBD> po<70>et kr<6B>t, aby
sa zoznamy spr<70>vne objavili vo v<>stupe.
\layout Subsection
Obsah
\layout Standard
Aby ste z<>skali obsah, mus<75>te spravi<76> 4 veci:
\layout Enumerate
Pou<EFBFBD>i<EFBFBD> triedu dokumentu, ktor<6F> obsah podporuje (v<>etko okrem
\family typewriter
Letter
\family default
).
\layout Enumerate
Pou<EFBFBD><EFBFBD>va<EFBFBD> prostredia odsekov, ktor<6F> obsah vytv<74>raj<61>:
\family sans
Chapter
\family default
, (
\family sans
Sub
\family default
\SpecialChar \ldots{}
)
\family sans
Section
\family default
, (
\family sans
Sub
\family default
\SpecialChar \ldots{}
)
\family sans
Paragraph
\family default
.
Prostredia s *, ako napr<70>klad
\family sans
Section*
\family default
, sa v obsahu
\emph on
nezobrazia
\emph toggle
.
\layout Enumerate
Uistite sa, <20>e
\family sans
H<EFBFBD>bka <20><>slovania odsekov
\family default
a
\family sans
H<EFBFBD>bka obsahu
\family default
v okne
\family sans
Rozlo<EFBFBD>enie dokumentu
\family default
s<> nastaven<65> na spr<70>vne hodnoty.
Napr<70>klad, ak v obsahu chcete len kapitoly a sekcie, potom hodnotu nastavte
na 1.
\layout Enumerate
Vlo<EFBFBD>te obsah na miesto, kde ho chcete.
Urob<6F>te to pr<70>kazom
\family sans
Obsah
\family default
v menu
\family sans
Vlo<EFBFBD>i<EFBFBD>->Zoznamy a obsah
\family default
.
\layout Standard
Je e<>te jedna vec, ktor<6F> s obsahom m<><6D>ete robi<62>.
Nez<65>le<6C><65> na tom, <20>i ste vo svojom texte obsh vytvorili alebo nie, pr<70>kazom
\family sans
<EFBFBD>trukt<EFBFBD>ra dokumentu
\family default
z menu
\family sans
Rozlo<EFBFBD>enie
\family default
zobraz<61>te okno s obsahom, ktor<6F> v<>m umo<6D>n<EFBFBD> navig<69>ciu v texte.
\layout Subsection
Zoznam obr<62>zkov, tabuliek a algoritmov
\layout Standard
\begin_inset LatexCommand \label{sec: zoznam}
\end_inset
Zoznam obr<62>zkov (ZO), zoznam tabuliek (ZT) a zoznam algoritmov (ZA) s<> ve<76>mi
podobn<62> obsahu.
Medzi nimi je len nieko<6B>ko drobn<62>ch odli<6C>nost<73>.
Nasleduj<75>ci popis je pre zoznam obr<62>zkov, ale plat<61> aj pre ZT a ZA.
\layout Enumerate
Ak chcete aby sa v<><76> obr<62>zok objavil v zozname,
\emph on
mus<EFBFBD>te
\emph toggle
pou<6F><75>va<76> insety s obr<62>zkom (
\family sans
Vlo<EFBFBD>i<EFBFBD>->Insety->Inset s obr<62>zkom
\family default
).
\layout Enumerate
Na mieste, kde zoznam chcete, zadajte pr<70>kaz na vlo<6C>enie zoznamu --
\family sans
Vlo<EFBFBD>i<EFBFBD>->Zoznamy a obsah->Zoznam obr<62>zkov
\family default
.
\layout Enumerate
\emph on
Pozn<EFBFBD>mka autorov: pozorn<72> <20>itate<74> si ur<75>ite v<>imol, <20>e v tejto U<><55>vate<74>skej
pr<70>ru<72>ke nie je <20>iadna zmienka o algoritmoch.
Je to preto, lebo toto je nov<6F> vlastnos<6F>, ktor<6F> e<>te nebola zdokumentovan<61>
- jml.
\layout Chapter
Matematick<EFBFBD> vzorce
\layout Section
Z<EFBFBD>klady editovania matematiky
\layout Standard
Editovanie matematick<63>ch v<>razov v LyXe je teraz takmer <20>plne WYSIWYM.
Toto je nie<69>o, <20>oho sa ve<76>a star<61>ch pou<6F><75>vate<74>ov TeXu ob<6F>va.
Maj<61> radi, ak m<><6D>u pou<6F>i<EFBFBD> kl<6B>vesnicu na vlo<6C>enie nie<69>oho ako
\family typewriter
$
\backslash
alpha$
\family default
(toto v be<62>nom TeXu znamen<65>
\begin_inset Formula $\alpha$
\end_inset
vo fin<69>lnom dokumente), preto<74>e veria, <20>e je to r<>chlej<65>ie ako bl<62>denie
cez menu symbolov.
Toto je posudok od jedn<64>ho z t<>ch star<61><72>ch pou<6F><75>vate<74>ov,
\noun on
Davida Johnsona
\noun toggle
.
\layout Quotation
Nakoniec som sa presved<65>il, <20>e matematick<63> editor je spr<70>vna cesta, ke<6B>
som zistil <20>e a<> na nejak<61> detaily ho m<><6D>em pou<6F><75>va<76> rovnak<61>m sp<73>sobom,
ako som bol zvyknut<75> v TeXu.
Napr<70>klad tento symbol
\begin_inset Formula $\alpha$
\end_inset
som vytvoril tak, <20>e som stla<6C>il
\family sans
M-c\SpecialChar ~
m
\family default
, aby som zapol matematick<63> re<72>im, potom nap<61>sal
\family typewriter
\backslash
alpha
\family default
, stla<6C>il
\family sans
Medzeru
\family default
a
\family sans
Esc
\family default
.
Akon<6F>hle som stla<6C>il t<> medzeru, symbol
\begin_inset Formula $\alpha$
\end_inset
sa objavil na obrazovke.
\layout Standard
Kl<EFBFBD>vesov<EFBFBD> skratka
\family sans
M-c\SpecialChar ~
m
\family default
zap<61>na matematick<63> re<72>im,
\family typewriter
\backslash
alpha
\family default
je samozrejme <20>tandardn<64> TeX k<>d, a
\family sans
Esc
\family default
ukon<6F>uje matematick<63> re<72>im.
Dosta<74> sa do matematick<63>ho re<72>imu je tro<72>ku pomal<61>ie ako v <20>tandardnom
TeXu (najmenej pre tento m<>d), ale m<> to svoje v<>hody:
\layout Itemize
M<EFBFBD>te okam<61>it<69> vizu<7A>lnu spr<70>vu o tom, <20>e v<><76> TeX je spr<70>vny.
\layout Itemize
Na obrazovke m<>te skuto<74>n<EFBFBD> matematick<63> v<>razy, spr<70>vne zobrazen<65>, aby ste
mali istotu <20>e va<76>a matematika je spr<70>vna (aspo<70> <20>o sa t<>ka toho ako je
nap<61>san<61>).
\layout Itemize
O v<>etok ten nov<6F> zm<7A>tok okolo LaTeXov<6F>ch <20>peci<63>lnych prostrediach sa star<61>
LyX a nie vy.
\layout Itemize
U<EFBFBD> nemus<75>te v k<>de h<>ada<64> ch<63>bajuc<75>
\family sans
$
\family default
alebo nadbyto<74>n<EFBFBD>
\family sans
}
\family default
.
\layout Itemize
Ak si nepam<61>t<EFBFBD>te LaTeXov<6F> meno ur<75>it<69>ho symbolu, ako napr<70>klad
\begin_inset Formula $\wp$
\end_inset
, m<><6D>ete ho s<>js<6A> v menu.
\layout Standard
-- tieto v<>hody znamenaj<61>, <20>e p<>sanie matematky v LyXe je r<>chlej<65>ie ako
v <20>istom LaTeXu.
\layout Subsection
Vyvolanie matematick<63>ho editora
\layout Standard
Je nieko<6B>ko sp<73>sobov ako vyvola<6C> matematick<63> editor.
M<><4D>ete klikn<6B><6E> na tla\SpecialChar \-
<EFBFBD><EFBFBD>t\SpecialChar \-
ko, na ktorom je
\begin_inset Formula $\frac{a+b}{c}$
\end_inset
.
Toto v<>m otvor<6F> mal<61> modr<64> obd<62><64>nik or<6F>movan<61> r<><72>ov<6F>m obd<62><64>nikom.
To modr<64> je poz<6F>cia matematick<63>ho kurzoa a to r<><72>ov<6F> indikuje matematick<63>
re<72>im.
Tie<69> m<><6D>ete pou<6F>i<EFBFBD> kl<6B>vesov<6F> skratku
\family sans
M-c\SpecialChar ~
m
\family default
, alebo
\family sans
C-m
\family default
.
Vyvolanie matematick<63>ho re<72>imu jedn<64>m z t<>chto sp<73>sobov spust<73>
\begin_inset Quotes gld
\end_inset
riadkov<EFBFBD>
\begin_inset Quotes grd
\end_inset
matematiku.
Ak nechcete v<>raz vlo<6C>i<EFBFBD> priamo do textu, kliknite na tla<6C><61>tko
\family sans
Rovnica
\family default
(zobrazuje modr<64> <20>tvor<6F>ek, ktor<6F> m<> dve <20>iary nad aj pod sebou).
\layout Standard
Ak pou<6F><75>vate matematick<63> re<72>im na nap<61>sanie jednoduch<63>ch gr<67>ckych p<>smen
(napr.
\begin_inset Formula $\alpha$
\end_inset
), je na to <20>peci<63>lna skratka.
Jednoducho stla<6C>te
\family sans
M-m\SpecialChar ~
g\SpecialChar ~
a
\family default
pre
\begin_inset Formula $\alpha$
\end_inset
,
\family sans
M-m\SpecialChar ~
g\SpecialChar ~
b
\family default
pre
\begin_inset Formula $\beta$
\end_inset
, at<61>.
\begin_inset Foot
collapsed true
\layout Standard
\emph on
Pozn.
prekl.:
\emph toggle
Tieto skratky nane<6E><65>astie zase nefunguj<75>, preto<74>e skratka
\family sans
M-m
\family default
otvor<6F> menu
\family sans
Mo<EFBFBD>nosti
\family default
.
\end_inset
\layout Standard
Taktie<EFBFBD> ak kliknete na <20>ubovo<76>n<EFBFBD> tla<6C><61>tko na paneli n<>strojov matematiky,
automaticky sa vyvol<6F> editor.
\layout Subsection
Navig<EFBFBD>cia v rovnici
\layout Standard
Editor automaticky aktivujete kliknut<75>m na rovnicu (hocikde v modrom texte).
Kurzor sa umiestn<74> na miesto kde ste klikli.
V rovnici sa najlep<65>ie pohybuje pomocou kurzorov<6F>ch <20><>piek.
Miesto, kde sa d<> nie<69>o v rovnici nap<61>sa<73> je indikovan<61> mal<61>m modr<64>m obd<62><64>nikom.
\layout Standard
Kurzorov<EFBFBD> <20><>pky sa m<><6D>u pou<6F><75>va<76> na navig<69>ciu v texte v <20>ubovo<76>nej matematickej
<20>trukt<6B>re.
Ak ste na kraji v<>razu a stla<6C><61>te <20><>pku smerom von, kurzor z v<>razu
\begin_inset Quotes gld
\end_inset
vysko<EFBFBD><EFBFBD>
\begin_inset Quotes grd
\end_inset
.
Stla<6C>en<65>m
\family sans
Medzery
\family default
ukon<6F><6E>te zlomok, alebo in<69> matematick<63> <20>trukt<6B>ru (napr.
odmocnina
\begin_inset Formula $\sqrt{2}$
\end_inset
, z<>tvorky
\begin_inset Formula $\left(f\right)$
\end_inset
, alebo maticu
\begin_inset Formula $\left(\begin{array}{cc}
1 & 2\\
3 & 4\end{array}\right)$
\end_inset
), pri<72>om kurzor zostane vo v<>raze.
Stla<6C>en<65>m
\family sans
Esc
\family default
vysko<6B><6F>te z v<>razu a kurzor sa umiestni za dan<61> v<>raz.
Ak ste na konci v<>razu a stla<6C><61>te
\family sans
Medzeru
\family default
, tie<69> z v<>razu vysko<6B><6F>te, ale za n<>m sa automaticky vlo<6C><6F> medzera.
\family sans
Tab
\family default
sa pou<6F><75>va na pohyb v nejakej matematickej <20>trukt<6B>re, napr<70>klad na pohyb
po <20>lenoch matice, alebo na pohyb v multiriadkovom v<>raze.
\layout Standard
\family sans
Medzera
\family default
nevklad<61> medzeru, ale ako sme u<> povedali, ukon<6F>uje nejak<61> matematick<63>
<20>trukt<6B>ru.
Preto si mus<75>te d<>va<76> pozor a stl<74><6C>a<EFBFBD> ju len vtedy, ke<6B> to potrebujete.
Napr<70>klad ak chcete
\begin_inset Formula $\sqrt{2x+1}$
\end_inset
, pod odmocninu nap<61><70>te
\begin_inset Quotes gld
\end_inset
\family typewriter
2x+1
\family default
\begin_inset Quotes grd
\end_inset
a
\emph on
nie
\emph toggle
\begin_inset Quotes gld
\end_inset
\family typewriter
2x + 1
\family default
\begin_inset Quotes grd
\end_inset
, preto<74>e potom by pod odmocninou bolo len
\begin_inset Formula $2x$
\end_inset
a v<>raz by vyzeral
\begin_inset Formula $\sqrt{2x}+$
\end_inset
a stla<6C>en<65>m medzery za znamienkom
\begin_inset Quotes gld
\end_inset
+
\begin_inset Quotes grd
\end_inset
vysko<6B><6F>te z v<>razu.
\layout Standard
Ke<EFBFBD> hovor<6F>me o kl<6B>vese
\family sans
Medzera
\family default
, mo<6D>no budete chcie<69> vytvori<72> pr<70>zdne mies\SpecialChar \-
ta, okrem medzerovania ktor<6F>
<20>tandardne poskytuje LaTeX.
Neodpor<6F><72>ame to, lebo to odporuje <20>t<EFBFBD>lu WYSIWYM, av<61>ak s<> situ<74>cie kedy
to m<><6D>ete potrebova<76>.
Ak tak chcete, stla<6C>e
\family sans
C-Medzera
\family default
.
Vytvor<6F>te mal<61> medzeru, ktor<6F> sa zobraz<61> ako mal<61> <20>erven<65> podtr<74><72>tko:
\begin_inset Formula $a\, b$
\end_inset
.
<20>al<61><6C>m trikom je zmenenie ve<76>kosti tejto mezery.
\emph on
Predt<EFBFBD>m
\emph toggle
ako pohnete kurzorom po tom <20>o stla<6C><61>te
\family sans
C-Medzera
\family default
, ak znova stla<6C><61>te
\family sans
Medzeru
\family default
, zmen<65>te jej ve<76>kos<6F>.
T<>to ve<76>kos<6F> sa men<65> cez nieko<6B>ko ve<76>kost<73>.
Posled<65> je zobrazen<65> modro a je to negat<61>vna medzera.
Tu je pr<70>klad:
\begin_inset Formula $a\quad b$
\end_inset
,
\begin_inset Formula $a\! b$
\end_inset
.
\layout Standard
Ak<EFBFBD>ko<EFBFBD>vek matematick<63> <20>trukt<6B>ru m<><6D>ete nacha<68> vyplnen<65> len <20>iasto<74>ne, ako
napr<70>klad t<>to maticu:
\layout Standard
\begin_inset Formula \[
\left(\begin{array}{ccc}
\lambda_{1}\\
& \ddots\\
& & \lambda_{n}\end{array}\right)\]
\end_inset
\layout Standard
Ak v<>ak nech<63>te <20>iasto<74>ne vyplnen<65> zlomok, alebo pr<70>zdny index, v<>sledok
bude nepredv<64>date<74>n<EFBFBD>.
In<49><6E> to v<><76><EFBFBD>ine objektov nevad<61>.
\layout Subsection
Ozna<EFBFBD>ovanie textu
\layout Standard
Text vo v<>raze m<><6D>ete ozna<6E>i<EFBFBD> dvoma sp<73>sobmi.
Umiestni<6E> kurzor na okraj ozna<6E>ovan<61>ho textu a stla<6C>enie
\family sans
Shift-<2D><>pka
\family default
.
Text bude zv<7A>raznen<65> ako pri ozna<6E>ovan<61> norm<72>lneho textu.
Podobne m<><6D>ete be<62>n<EFBFBD>m sp<73>sobom ozna<6E>i<EFBFBD> text my<6D>ou.
Potom m<><6D>ete text kop<6F>rova<76>, alebo vystrihn<68><6E> a m<><6D>ete ho vlo<6C>i<EFBFBD> do <20>ubovo<76>n<EFBFBD>ho
matematick<63>ho insetu (nie mimo LyXu, alebo do <20>ist<73>ho textu v LyXe).
Text ozna<6E>en<65> v LyXe mimo matematick<63>ho v<>razu nem<65><6D>te do v<>razu vlo<6C>i<EFBFBD>
(zatia<69>).
\layout Subsection
Exponenty a indexy
\layout Standard
Na pridanie exponentu a indexu m<><6D>ete pou<6F>i<EFBFBD> tla<6C><61>tka na paneli matematick<63>ch
n<>strojov, ale ove<76>a r<>chlej<65>ie je pou<6F>itie <20>tandardnej met<65>dy TeXu.
Ak chcete nap<61>sa<73>
\begin_inset Formula $x^{2}$
\end_inset
, v matematickom v<>raze nap<61><70>te
\family typewriter
x^2
\family default
a potom
\family sans
Medzeru
\family default
.
Medzera na konci umiestni kurzor sp<73><70> na z<>kladn<64> riadok.
Ak nap<61><70>ete
\family typewriter
x^2y
\family default
dostanete
\begin_inset Formula $x^{2y}$
\end_inset
.
Ak chcete
\begin_inset Formula $x^{2}y$
\end_inset
, nap<61><70>te
\family typewriter
x^2
\family default
,
\family sans
Medzera
\family default
a potom
\family typewriter
y
\family default
.
Indexy s<> podobn<62>, teda aby ste dostali
\begin_inset Formula $a_{1}$
\end_inset
, nap<61><70>te (v\SpecialChar ~
matematickom v<>raze)
\family typewriter
a_1
\family default
a potom
\family sans
Medzeru
\family default
.
\begin_inset Foot
collapsed true
\layout Standard
\emph on
Pozn.
prekl.:
\emph toggle
V matematike mi nefungovala slovensk<73> kl<6B>vesnica (v<>hodou bolo, <20>e som
si nemusel prep<65>na<6E> na anglick<63>, ke<6B> som chcel nap<61>sa<73>
\family typewriter
^
\family default
).
\end_inset
\layout Subsection
Zlomky
\layout Standard
Zlomok vytvor<6F>te pr<70>kazom
\family typewriter
\backslash
frac
\family default
(vo v<>raze), alebo pou<6F>it<69>m tla<6C><61>tka
\family sans
Zlomok
\family default
.
Zobraz<61> sa v<>m pr<70>zdny zlomok, s dvoma <20>tvor<6F>ekmi, do ktor<6F>ch m<><6D>ete nie<69>o
vlo<6C>i<EFBFBD>.
Kurzor sa automaticky nastav<61> do <20>itate<74>a zlomku.
Aby ste sa presunuli do menovate<74>a, jednoducho stla<6C>te
\family sans
<EFBFBD><EFBFBD>pku nadol
\family default
.
Pre pohyb nasp<73><70> hore stla<6C>te
\family sans
<EFBFBD><EFBFBD>pku nahor
\family default
.
Do zlomku m<><6D>e by<62> vlo<6C>en<65> <20>ubovo<76>n<EFBFBD> matematick<63> <20>trukt<6B>ra, ako to ukazuje
tento pr<70>klad:
\layout Standard
\begin_inset Formula \[
\left[\frac{1}{\left(\begin{array}{cc}
2 & 3\\
4 & 5\end{array}\right)}\right]\]
\end_inset
\layout Subsection
Sumy a integr<67>ly
\layout Standard
Znamienka sumy
\begin_inset Formula $\sum$
\end_inset
a integr<67>lu
\begin_inset Formula $\int$
\end_inset
maj<61> <20>asto nap<61>san<61> hranice, ktor<6F> s<> v LyXe (a v TeXu) umiestnen<65> ako
horn<72> a doln<6C> index.
Hranice sumy v riadku bud<75> na strane, ako sem
\begin_inset Formula $\sum_{n=0}^{\infty}\frac{1}{n!}=e$
\end_inset
, inak bud<75> nad a pod symbolom:
\layout Standard
\begin_inset Formula \[
\sum_{n=1}^{\infty}\frac{x^{n}}{n}=\ln\left(\frac{1}{1-x}\right)\]
\end_inset
\layout Standard
Av<EFBFBD>ak integr<67>l v<>dy hranice zobraz<61> na strane (nie nad znaminkom a pod n<>m):
\begin_inset Formula $\int_{0}^{x}f(t)dt=F(x)$
\end_inset
, rovnako aj:
\layout Standard
\begin_inset Formula \[
\int_{-\infty}^{\infty}\frac{dx}{1+x^{2}}=\pi\]
\end_inset
\layout Standard
V druhom pr<70>pade oba symboly automaticky zmenia svoju ve<76>kos<6F>.
V tomto pr<70>pade tie<69> m<><6D>e by<62> zmenen<65> umiestnenie hran<61>c (priamo nad alebo
pod, alebo posum doprava od znaku).
Urob<6F>te tak umiestnen<65>m kurzoru pred znak a stla<6C><61>te
\family sans
A-m l
\family default
.
Ak<41> zmena sa presne udeje z<>le<6C><65> na znaku.
Ur<55>it<69> <20>al<61>ie matematick<63> v<>razy tie<69> maj<61> t<>to vlastnos<6F>, ako napr<70>klad:
\layout Standard
\begin_inset Formula \[
\lim_{x\rightarrow\infty}f(x)\]
\end_inset
\layout Standard
V riadkovom v<>raze to bude zobrazen<65> na strane:
\begin_inset Formula $\lim_{x\rightarrow\infty}f(x)$
\end_inset
.
\begin_inset Formula $\lim$
\end_inset
nap<61>san<61> <20>erven<65>m p<>smom m<> zvl<76><6C>tne ur<75>enie.
V LaTeXu je pova<76>ovan<61> za <20>peci<63>lny objekt a preto tak pracuje s doln<6C>m
indexom.
V LyXe ju dostanete nap<61>san<61>m
\family typewriter
\backslash
lim
\family default
v matematickom v<>raze, alebo vybran<61>m funkcie z menu funkci<63> na mate\SpecialChar \-
ma\SpecialChar \-
tickom
paneli n<>strojov.
<20>al<61>ie <20>peci<63>lne slovo je napr.
\begin_inset Formula $\sin$
\end_inset
a v<><76><EFBFBD>ina trigonometrick<63>ch funkci<63>, pop<6F>san<61>ch ni<6E><69>ie v sekcii
\begin_inset LatexCommand \ref{sec: mat-fcie}
\end_inset
.
\layout Subsection
Panel matematick<63>ch n<>strojov
\layout Standard
\begin_inset LatexCommand \label{sec: mat-panel}
\end_inset
Tento panel obsahuje zoznam matematick<63>ch symbolov a <20>trukt<6B>r.
Umo<6D><6F>uje v<>m r<>chly pr<70>stup k menej trivi<76>lnym vlastnostiam matematiky.
\layout Standard
Prv<EFBFBD> dve tla<6C><61>tka s<> druh<75> odmocnina
\begin_inset Formula $\sqrt{2}$
\end_inset
a zlomok
\begin_inset Formula $\frac{1}{2}$
\end_inset
.
<20>alej nasleduj<75> tla<6C><61>tka pre sumu, integr<67>l, exponent a index.
Siedmym tla<6C><61>tkom v porad<61> je odde<64>ova<76> (z<>tvorky), ktor<6F>m si m<><6D>ete vybra<72>
<20>av<61> a prav<61> odde<64>ova<76>:
\begin_inset Formula $\left\{ 3\right\rangle $
\end_inset
.
Ich ve<76>kos<6F> bude automaticky prisp<73>soben<65> tomu, <20>o je v nich uzatvoren<65>.
<20>al<61>ou ikonou s<> dekor<6F>cie, ktor<6F> umo<6D><6F>uj<75> nad alebo pod matematick<63> v<>raz
umiestni<6E> <20>iaru, vlnovku, <20><>pku alebo z<>tvorku:
\begin_inset Formula $\underbrace{\widehat{V}}$
\end_inset
.
Toto sa tie<69> prisp<73>sobuje danej matematickej <20>trukt<6B>re.
<20>alej nasleduje tla<6C><61>tko pre medzerovanie, ktor<6F> v<>m umo<6D>n<EFBFBD> vlo<6C>i<EFBFBD> chr<68>nen<65>
medzeru danej d<><64>ky:
\begin_inset Formula $2\qquad3$
\end_inset
.
<20>al<61><6C>m tla<6C><61>tkom vlo<6C><6F>te do v<>razu maticu zadan<61>ch rozmerov a takisto si
m<><6D>ete nastavi<76> zarovnanie
\begin_inset Formula $\left(\begin{array}{ccc}
1 & 2 & 3\\
45 & 67 & 89\end{array}\right)$
\end_inset
.
Z<>tvorky okolo matice s<> pridan<61> tla<6C><61>tkom
\family sans
Odde<EFBFBD>ova<EFBFBD>
\family default
.
Kliknut<75>m na <20>al<61>ie tla<6C><61>tko (ke<6B> ste v <20>istom texte) vytvor<6F>te nov<6F> oblas<61>
na zadanie matematick<63>ho v<>razu.
Ta je vytvoren<65> na novom riadku a vycentrovan<61>:
\begin_inset Formula \[
1+2=3\]
\end_inset
Ak na toto tla<6C><61>tko kliknete ke<6B> ste v nejakom matematickom v<>raze, prepnete
tento v<>raz do riadkov<6F>ho m<>du, alebo naopak.
\layout Standard
<EFBFBD>alej s<> na paneli tla<6C><61>tka obsahuj<75>ce matematick<63> symboly.
\layout Subsection
<EFBFBD>al<EFBFBD>ie matematick<63> symboly
\layout Standard
<EFBFBD>al<EFBFBD>ie matematick<63> symboly s<> rozdelen<65> do nieko<6B>k<EFBFBD>ch kateg<65>ri<72> a to: Gr<47>cke
znaky --
\begin_inset Formula $\Gamma\rho\epsilon\epsilon\kappa$
\end_inset
, oper<65>tory --
\begin_inset Formula $\pm\times$
\end_inset
, rel<65>cie --
\begin_inset Formula $\leq\cong$
\end_inset
, <20><>pky --
\begin_inset Formula $\uparrow\Leftrightarrow$
\end_inset
, symboly premenlivej ve<76>kosti --
\begin_inset Formula $\sum\int$
\end_inset
a kateg<65>ria r<>zne --
\begin_inset Formula $\infty\spadesuit$
\end_inset
.
Ak pozn<7A>te <20>tandardn<64> makro LaTeXu pre nejak<61> symbol, tieto menu nemus<75>te
pou<6F><75>va<76>, ale pom<6F><6D>u v<>m pri t<>ch symboloch, ktor<6F>ch men<65> ste zabudli.
Ak chcete nap<61>sa<73> symbol ktor<6F>ho LaTeXov<6F> makro pozn<7A>te, v<>etko <20>o mus<75>te
urobi<62> je nap<61>sa<73> ho, vr<76>tane <20>vodn<64>ho
\family typewriter
\backslash
\family default
, tak ako keby ste to p<>sali v <20>istom LaTeXu, ako napr<70>klad
\family typewriter
\backslash
alpha
\family default
.
Dan<61> znak bude automaticky konvertovan<61> na skuto<74>n<EFBFBD> symbol hne<6E> ako stla<6C><61>te
medzeru, alebo in<69> ne-alfabetick<63> znak.
Text, ktor<6F> takto p<><70>ete sa zobraz<61> <20>erven<65>m p<>smom (<28>odn<64>
\family typewriter
\backslash
\family default
sa nezobrazuje), ale zmen<65> sa na modr<64> symbol ktor<6F> v<>m vizu<7A>lne povie,
<20>e LyX rozumie tomu, <20>o ste chceli.
Ak matematick<63> editor nie je schopn<70> rozpozna<6E> a skonvertova<76> symbol ktor<6F>
ste nap<61>sali, zostane nap<61>san<61> <20>erven<65>m p<>smom (toto sa naz<61>ma
\emph on
makro m<>d)
\emph toggle
.
\layout Standard
V LyXe zatia<69> nem<65><6D>u by<62> zobrazen<65> v <20>t<EFBFBD>le WYSIWYM v<>etky znaky dostupn<70>
v LaTeXu.
Ak sk<73>site nap<61>sa<73> symbol, ktor<6F>ho LaTeXov<6F> meno pozn<7A>te, napr.
\family typewriter
\backslash
oint
\family default
pre
\begin_inset Formula $\oint$
\end_inset
, ke<6B> skon<6F><6E>te p<>sanie toho textu a stla<6C><61>te
\family sans
Medzeru
\family default
(alebo <20><>slo, alebo in<69> ne<6E>tandardn<64> znak), ak LyX m<><6D>e, zobraz<61> symbol
ktor<6F>ho makro ste nap<61>sali.
Ak to LyX nem<65><6D>e, nech<63> makro nap<61>san<61> <20>erven<65>m p<>smom, ako napr<70>klad
\begin_inset Formula $A\hookrightarrow B$
\end_inset
.
Ak dan<61> makro LaTeX pozn<7A>, vytla<6C><61> ho spr<70>vne.
Niektor<6F> symboly pr<70>stupn<70> cez tla<6C><61>tka na paneli sa zobrazia t<>mto sp<73>sobom.
Toto v<>m tie<69> umo<6D><6F>uje definova<76> si svoje vlastn<74> makr<6B> (dan<61> textov<6F> re<72>azec
vlo<6C>te do preambuly (pozri sekciu
\begin_inset LatexCommand \ref{sec: preambula}
\end_inset
)).
Napr<70>klad re<72>azec:
\layout LyX-Code
\backslash
newcommand{
\backslash
a}{
\backslash
alpha}
\layout Standard
v preambule v<>m dovol<6F> v matematike pou<6F>i<EFBFBD>
\family typewriter
\backslash
a
\family default
namiesto
\family typewriter
\backslash
alpha
\family default
na vytvorenie symbolu
\begin_inset Formula $\alpha$
\end_inset
.
Av<41>ak dajte si pozor na to, <20>e LyX sa neuist<73>, <20>i je tak<61>to makro pr<70>pustn<74>
a ak nebude, pri vytv<74>ran<61> v<>stupu dostanete chybu LaTeXu.
Pre detaily si pre<72><65>tajte sekciu
\begin_inset LatexCommand \ref{sec: latexcodes}
\end_inset
.
\layout Subsection
Matematick<EFBFBD> funkcie
\layout Standard
\begin_inset LatexCommand \label{sec: mat-fcie}
\end_inset
Predposledn<EFBFBD> tla<6C><61>tko na paneli matematick<63>ch n<>strojov v<>m umo<6D><6F>uje vklada<64>
r<>zne matematick<63> funkcie, ako napr<70>klad
\begin_inset Formula $\sin$
\end_inset
,
\begin_inset Formula $\cos$
\end_inset
, at<61>.\SpecialChar ~
(vo v<>raze ich m<><6D>ete vlo<6C>i<EFBFBD> nap<61>san<61>m
\family typewriter
\backslash
sin
\family default
,
\family typewriter
\backslash
cos
\family default
at<61>.).
<20>tandardn<64> matematick<63> prax je, <20>e funkcie ktor<6F> s<> menami, ako napr<70>klad
\begin_inset Formula $\sin$
\end_inset
by nemali by<62> nap<61>san<61> kurz<72>vou.
Ak by ste jednoducho nap<61>sali
\begin_inset Formula $sin$
\end_inset
, bolo by to samozrejme kurz<72>vou nap<61>san<61>.
Av<41>ak toto m<> e<>te jednu vlastnos<6F>, ktor<6F> sa prejav<61> vo v<>stupe.
Napr<70>klad vo v<>raze
\begin_inset Formula $\sin t$
\end_inset
bude vo v<>stupe mal<61> medzera medzi p<>smenami n a t.
Pre slov<6F>, ktor<6F> znamenaj<61> zlo<6C>itej<65>ie matematick<63> objekty, ako napr<70>klad
\begin_inset Formula $\lim$
\end_inset
, makro men<65> sp<73>sob umiest<73>ovania doln<6C>ho indexu.
Ak ide o riadkov<6F> v<>raz, bude to vyzera<72> takto:
\begin_inset Formula $\lim_{x\rightarrow0}f(x)=L$
\end_inset
, inak to bude tak<61>to:
\begin_inset Formula \[
\lim_{x\rightarrow0}f(x)=L\]
\end_inset
Tieto dva v<>razy boli nap<61>san<61> rovnako, ale pou<6F>itie makra
\family typewriter
\backslash
lim
\family default
ovplyv<79>uje zobrazenie (ovplyvnen<65> je riakov<6F> verzia, k<>li medzer<65>m medzi
riadkami).
\layout Subsection
Viac symbolov
\layout Standard
S<EFBFBD> neja<6A> matematick<63> symboly, ktor<6F> nie s<> pr<70>stupn<70> z <20>ist<73>ho LaTeXu (alebo
z LyXu), ale v s<>dzan<61> matematiky s<> dos<6F> be<62>n<EFBFBD>, ako napr<70>klad p<>smo old-German
Fraktur a <20>tylizovan<61> p<>smo
\begin_inset Quotes gld
\end_inset
blackboard bold
\begin_inset Quotes grd
\end_inset
be<62>ne pou<6F><75>van<61> na zobrazenie komplexn<78>ch alebo cel<65>ch <20><>sel.
V okne
\family sans
Rozlo<EFBFBD>enie dokumentu
\family default
je prep<65>na<6E>
\family sans
Pou<EFBFBD>i<EFBFBD> AMS matematiku
\family default
.
Ke<4B> je aktivovan<61>, s<> dostupn<70> v<>etky AMS-LaTeX symboly a prostredia.
Ak tieto bal<61>ky aktivujete cez preambulu, dostanete sa do probl<62>mov, preto<74>e
LyX si s<>m definuje niektor<6F> z makier pou<6F>it<69>ch v t<>chto bal<61>koch.
Rozlo<6C>enie AMS vklad<61> tieto bal<61>ky automaticky.
\layout Subsection
Akcenty
\layout Standard
V matematickom re<72>ime m<><6D>ete vklada<64> znaky s akcentom rovnako ako v texte.
M<><4D>e to z<>visie<69> na va<76>ej kl<6B>vesnici.
Rovnako m<><6D>ete pou<6F>i<EFBFBD> makr<6B> TeXu.
To znamen<65>, <20>e ak chcete v matematickom re<72>ime vlo<6C>i<EFBFBD>
\begin_inset Formula $\hat{a}$
\end_inset
, nap<61><70>te
\family typewriter
\backslash
hat
\family default
,
\family sans
medzera
\family default
,
\begin_inset Quotes gld
\end_inset
\family typewriter
a
\family default
\begin_inset Quotes grd
\end_inset
.
V nasleduj<75>cej tabu<62>ke s<> ekvivalenty pre n<>zvy akcentov v textovom a matematic
kom re<72>ime:
\layout Standard
\added_space_top 0.3cm \added_space_bottom 0.3cm \align center
\begin_inset Tabular
<lyxtabular version="3" rows="11" columns="3">
<features>
<column alignment="center" valignment="top" leftline="true" width="0pt">
<column alignment="center" valignment="top" leftline="true" width="0pt">
<column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
text
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
matematika
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
pr<EFBFBD>klad
\end_inset
</cell>
</row>
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
circumflex
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
hat
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\begin_inset Formula $\hat{a}$
\end_inset
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
grave
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
grave
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\begin_inset Formula $\grave{a}$
\end_inset
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
acute
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
acute
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\begin_inset Formula $\acute{a}$
\end_inset
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
umlaut
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
ddot
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\begin_inset Formula $\ddot{a}$
\end_inset
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
tilde
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
tilde
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\begin_inset Formula $\tilde{a}$
\end_inset
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
dot
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
dot
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\begin_inset Formula $\dot{a}$
\end_inset
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
breve
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
breve
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\begin_inset Formula $\breve{a}$
\end_inset
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
caron
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
check
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\begin_inset Formula $\check{a}$
\end_inset
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
macron
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
bar
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\begin_inset Formula $\bar{a}$
\end_inset
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
---
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
vec
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\begin_inset Formula $\vec{a}$
\end_inset
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\layout Section
Z<EFBFBD>tvorky
\layout Standard
V LyXe je dostupn<70>ch nieko<6B>ko druhov z<>tvoriek.
Pre niektor<6F> pr<70>pady by malo posta<74>ova<76> pou<6F>itie kl<6B>vesov
\family typewriter
()[]{}|
\backslash
<>
\family default
.
Ale ak chcete uz<75>tvorkova<76> ve<76>k<EFBFBD> <20>trukt<6B>ru, ako napr<70>klad matica, alebo
ak m<>te nieko<6B>ko <20>rovn<76> z<>tvoriek, je vhodnej<65>ie pou<6F><75>va<76> tla<6C><61>tko
\family sans
Odde<EFBFBD>ova<EFBFBD>
\family default
na paneli matematick<63>ch n<>strojov (pozri sekciu
\begin_inset LatexCommand \ref{sec: mat-panel}
\end_inset
).
Napr<70>klad t<>mto sp<73>sobom urob<6F>te z<>tvorky okolo <20>tandard\SpecialChar \-
nej matice:
\begin_inset Formula \[
\left(\begin{array}{cc}
1 & 2\\
3 & 4\end{array}\right)\]
\end_inset
A lep<65>ie zvidite<74>n<EFBFBD>te <20>rovne z<>tvoriek v takomto hnusobstve:
\begin_inset Formula \[
\frac{1}{\left(1+\left(\frac{1}{1+\left(\frac{1}{1+x}\right)}\right)\right)}\]
\end_inset
alebo:
\begin_inset Formula \[
f\left(g\left(h\left(k\left(l\left(x\right)\right)\right)\right)\right)\]
\end_inset
Z<EFBFBD>tvorky z okna Odde<64>ova<76> sa svojou ve<76>kos<6F>ou automaticky prisp<73>sobia tomu,
<20>o je v nich uzatvoren<65> (v <20>istom LaTeXu je to uroben<65> cez
\family typewriter
\backslash
left( blah
\backslash
right)
\family default
).
\layout Standard
Z<EFBFBD>tvorky vyberiete tak, <20>e pomocou prep<65>na<6E>a vyberiete <20>i chcete nastavi<76>
prav<61> alebo <20>av<61> z<>tvorku a potom kliknete na z<>tvorke, ktor<6F> chcete.
Ak chcete, aby na niektorej strane nebola z<>tvorka, kliknite na pr<70>zdne
tla<6C><61>tko.
V LyXe sa to zobraz<61> ako <20>iarkovan<61> <20>iara, ale nevytla<6C><61> sa ni<6E>.
\layout Standard
Ak sa do matematick<63>ho v<>razu rozhodnete vlo<6C>i<EFBFBD> z<>tvorky (alebo in<69> matematick<63>
<20>trukt<6B>ru, ako napr<70>klad odmocninu) okolo nejakej matematickej <20>trukt<6B>ry,
ozna<6E>te dan<61> <20>trukt<6B>ru, ktor<6F> m<> by<62> umiestnen<65> v z<>tvorke (stla<6C>en<65>m kl<6B>vesy
\family sans
Shift
\family default
a pohybom kurzoru <20><>pkami).
Potom vyberte pr<70>slu<6C>n<EFBFBD> prav<61> a <20>av<61> z<>tvorku a kliknite na tla<6C><61>tko
\family sans
Pou<EFBFBD>i<EFBFBD>
\family default
alebo
\family sans
OK
\family default
.
Okolo danej <20>trukt<6B>ry bud<75> vytvoren<65> z<>tvorky.
\layout Section
Polia a viacriadkov<6F> rovnice
\layout Standard
Polia, ako napr<70>klad matice, sa do LyXu vkladaj<61> jednoducho.
Sta<74><61> klikn<6B><6E> na tla<6C><61>tko
\family sans
Matica
\family default
na paneli matematick<63>ch n<>strojov, ktor<6F> v<>m zobraz<61> okno kde si zad<61>te
po<70>et riadkov a st<73>pcov matice.
Tu je pr<70>klad:
\begin_inset Formula \[
\left(\begin{array}{ccc}
1 & 2 & 3\\
4 & 5 & 6\\
7 & 8 & 9\end{array}\right)\]
\end_inset
Z<EFBFBD>tvorky nie s<> automatick<63>, ale m<><6D>ete ich prida<64> tla<6C><61>tkom
\family sans
Odde<EFBFBD>ova<EFBFBD>
\family default
.
Spo\SpecialChar \-
me<EFBFBD>\SpecialChar \-
te si, <20>e to m<><6D>ete urobi<62> aj potom <20>o maticu nap<61><70>ete (jej ozna<6E>en<65>m
a n<>sledn<64>m aplikovan<61>m z<>tvoriek).
Ke<4B> vytv<74>rate maticu, m<><6D>ete sa rozhodn<64><6E>, <20>i st<73>pce (alebo niektor<6F> z
nich) bud<75> zarovnan<61> napravo, na<6E>avo, alebo vycentrovna<6E>.
Toto sa ur<75>uje textov<6F>m po<70>om, v ktorom je <20>tadardne nap<61>san<61>
\family typewriter
ccc
\family default
.
Mali by ste by<62> opatrn<72> pri rozhodovan<61> sa ko<6B>ko st<73>pcov a radkov bude
ma<6D> va<76>a matica.
Riadky do matice m<><6D>ete prida<64> kl<6B>vesou
\family sans
C-Enter
\family default
ke<6B> ste v danej matici a zru<72>i<EFBFBD> ich kl<6B>vesami
\family sans
A-e k
\family default
.
Zatia<69> nie je mo<6D>n<EFBFBD> prid<69>va<76> alebo ru<72>i<EFBFBD> st<73>pce.
Tu je <20>al<61><6C> pr<70>klad, s r<>znym zarovnan<61>m st<73>pcov:
\begin_inset Foot
collapsed true
\layout Standard
\emph on
Pozn.
prekl.:
\emph toggle
Ako som u<> spomenul, v matematike mi nefunguje diakritika, tak<61>e si to
nev<65><76>majte.
\end_inset
\begin_inset Formula \[
\begin{array}{lcr}
stlpec & stlpec & tento\\
zarovnany & je & je\, zarovnany\\
nalavo & vycentrovany & doprava\end{array}\]
\end_inset
V matematickom re<72>ime LaTeXu s<> aj <20>al<61>ie polia, <20>iasto<74>ne s vlo<6C>en<65>mi bal<61>kmi
AMS-LaTeX.
Napr<70>klad
\family typewriter
\backslash
cases
\family default
.
V LyXe zatia<69> nie s<> podporovan<61> (prostredie
\family typewriter
\backslash
cases
\family default
je podporovan<61> vo v<>vojovej verzii LyXu).
Av<41>ak tak<61>to <20>trukt<6B>ru je mo<6D>n<EFBFBD> vytvori<72> pomocou matice (<28>o aj v skuto<74>nosti
\family typewriter
\backslash
cases
\family default
rob<6F>).
Tu je pr<70>klad:
\begin_inset Formula \[
f(x)=\left\{ \begin{array}{cl}
\frac{1}{q}, & \mathrm{ak}\, x=\frac{p}{q}\\
0, & \mathrm{ak}\, x\,\mathrm{je}\,\mathrm{iracionalne}\end{array}\right.\]
\end_inset
Najprv sme vytvorili z<>tvorky (prav<61> je pr<70>zdna), potom do nich vlo<6C>ili
maticu
\begin_inset Formula $2\times2$
\end_inset
, so zarovnan<61>m oboch st<73>pcov na<6E>avo.
P<>smo Roman bude vysvetlen<65> nesk<73>r.
\layout Standard
Viacriadkov<EFBFBD> rovnice sa v LyXe tie<69> vytv<74>raj<61> ve<76>mi jednoducho.
Rovnicu nesmiete p<>sa<73> v riadkovom re<72>ime.
Teda kliknete na tla<6C><61>tko
\family sans
Rovnica
\family default
na paneli, <20>o automaticky zapne
\family typewriter
eqnarray
\family default
form<72>t (form<72>t LaTeXu pre viacriadkov<6F> rovnice).
Potom vo v<>raze stla<6C>te
\family sans
C-Enter
\family default
.
Ak chcete viacriadkov<6F> rovnicu, najlep<65>ie je prida<64> nov<6F> riadok (
\family sans
C-Enter
\family default
) okam<61>ite na za<7A>iatku.
Ka<4B>d<EFBFBD> riadok je potom rozdelen<65> na tri oblasti, v ktor<6F>ch sa m<><6D>ete pohybova<76>
my<6D>ou, <20><>pkami, alebo tabul<75>torom.
Tu je pr<70>klad:
\begin_inset Formula \begin{eqnarray*}
3 & = & 1+2\\
4+5 & = & 9\end{eqnarray*}
\end_inset
U<EFBFBD> existuj<75>cu rovnicu m<><6D>ete zmeni<6E> ne viacriadkov<6F> stla<6C>en<65>m
\family sans
C-Enter
\family default
ak je kurzor umiestnen<65> hocikde v origin<69>lnej rovnici.
Av<41>ak LyX sa nepok<6F>si rozdeli<6C> rovnicu na tri <20>asti, ale v<>etko vlo<6C><6F> do
<20>avej <20>asti riadku.
Ak chcete zmeni<6E> zarovnanie rovnice, umiestnite kurzor na miesto, kde chcete
ma<6D> prostredn<64> <20>as<61> riadku a stla<6C>te
\family sans
C-Tab
\family default
.
Ak bude kurzor umiestnen<65> niekde v <20>avej <20>asti, potom t<> <20>as<61>, ktor<6F> je
od kurzora napravo sa presunie do prostrednej <20>asti a to <20>o bolo v prostriedku
sa presunie na za<7A>iatok pravej <20>asti.
Ak je kurzor v prostrednej <20>asti, potom v<>etko napravo od neho sa presunie
na za<7A>iatok pravej <20>asti.
Do prostrednej <20>asti by ste nemali d<>va<76> ve<76>k<EFBFBD> <20>trukt<6B>ru, ako napr<70>klad
zlomky, preto<74>e LaTeX ich vys<79>dza tak, <20>e ich zmen<65><6E>.
\layout Standard
Riadok vo viacriadkovom v<>raze m<><6D>ete vymaza<7A> pou<6F>it<69>m
\family sans
A-e k
\family default
, ak m<>te kurzor nastaven<65> na danom riadku.
Nov<6F> riadok prid<69>te
\family sans
C-Enter
\family default
.
\layout Section
<EFBFBD><EFBFBD>slovanie rovn<76>c
\layout Standard
\begin_inset LatexCommand \label{sec: mat-label}
\end_inset
<EFBFBD><EFBFBD>slovanie rovn<76>c je v LyXe ve<76>mi jednoduch<63>.
V<>etko, <20>o mus<75>te urobi<62>, ak chcete zmeni<6E> rovnicu ako napr<70>klad:
\begin_inset Formula \[
1+2=3\]
\end_inset
na <20><>slovan<61> rovnicu:
\begin_inset Formula \begin{equation}
1+2=3\label{mathed:prva_rovnica}\end{equation}
\end_inset
je vybra<72> pr<70>kaz
\family sans
N<EFBFBD>vestie
\family default
z menu
\family sans
Vlo<EFBFBD>i<EFBFBD>
\family default
.
Otvor<6F> sa v<>m okienko, do ktor<6F>ho zad<61>te re<72>azec.
Nemus<75>te zad<61>va<76> <20><>slo, preto<74>e o pre<72><65>slovanie rovn<76>c sa star<61> LaTeX.
Vo v<>stupe sa toto n<>vestie nezobraz<61>.
Namiesto neho tam bude pr<70>slu<6C>n<EFBFBD> <20><>slo rovnice.
N<>vestia sa pou<6F><75>vaj<61> interne na krosreferencie.
<20><>slova\SpecialChar \-
nie rovnice m<><6D>ete zapn<70><6E> bez toho, aby ste vlo<6C>ili nejak<61> n<>vestie.
Do minibuffera (Riadok pod hlavn<76>m oknom LyXu, ktor<6F> oby<62>ajne zobrazuje
inform<72>cie o dokumente.
Ke<4B> na<6E> kliknete, jeho obsah sa zma<6D>e
\begin_inset Foot
collapsed true
\layout Standard
\emph on
Pozn.
prekl.:
\emph toggle
Obsah minibuffera som musel vymaz<61>va<76> ru<72>ne.
Ale inak to funguje.
\end_inset
a vy m<><6D>ete nap<61>sa<73> nejak<61> pr<70>kaz.) nap<61><70>te pr<70>kaz
\family typewriter
math-number
\family default
.
Kurzor mus<75> by<62> umiestnen<65> v rovnici.
Pr<50>klad:
\begin_inset Formula \begin{equation}
1+1=2\end{equation}
\end_inset
Tento pr<70>kaz je prep<65>na<6E>.
Ak ho zad<61>te znovu, <20><>slovanie danej rovnice bude zru<72>en<65>.
\begin_inset Foot
collapsed true
\layout Standard
\emph on
Pozn.
prekl.:
\emph toggle
Jedine tak<61>mto sp<73>sobom som dok<6F>zal zru<72>i<EFBFBD> <20><>slovanie rovnice (aj ke<6B> m<>
n<>vestie).
\end_inset
Na rovnicu s n<>vest<73>m (nie t<>, ktor<6F> je len o<><6F>slovan<61>) sa m<><6D>ete odkazova<76>
krosreferenciou (pr<70>kaz
\family sans
Krosreferencia
\family default
z menu
\family sans
Vlo<EFBFBD>i<EFBFBD>
\family default
).
Toto je odkaz na rovnicu
\begin_inset LatexCommand \ref{mathed:prva_rovnica}
\end_inset
.
V n<>vestiach by ste
\emph on
nemali
\emph toggle
pou<6F><75>va<76> medzery, preto<74>e v<>m to m<><6D>e sp<73>sobi<62> probl<62>my.
Je to chyba LyXu, ktor<6F> ale m<><6D>e by<62> odstr<74>nen<65>.
\layout Standard
<EFBFBD>tandardom pre <20><>slovanie (aj vkladanie n<>vest<73>) viac-riadkov<6F>ch rovn<76>c
je, <20>e ka<6B>d<EFBFBD> riadok je <20><>slovan<61> samostatne.
Ke<4B> raz vlo<6C><6F>te na nejak<61> riadok n<>vestie aby bol o<><6F>slovan<61>, automaticky
bud<75> o<><6F>slovan<61> v<>etky nasleduj<75>ce riadky (bude im pridan<61> n<>vestie
\begin_inset Quotes gld
\end_inset
#
\begin_inset Quotes grd
\end_inset
).
Toto n<>vestie si m<><6D>ete zmeni<6E>, aby ste sa mohli na dan<61> riadok odkazova<76>.
\begin_inset Formula \begin{eqnarray}
1 & = & 4-3\label{mathed:druha_rovnica}\\
2 & = & 7-5\\
1 & = & e^{2\pi i}\\
16 & = & 2\,(mod\,7)\label{mathed:tertia_rovnica}\end{eqnarray}
\end_inset
V<EFBFBD>imnite si, <20>e prv<72> rovnica m<> n<>vestie (
\begin_inset LatexCommand \ref{mathed:druha_rovnica}
\end_inset
), druh<75> a tretia s<> <20><>slovan<61> ale bez n<>vestia a posled<65> m<> zase n<>vestie
(
\begin_inset LatexCommand \ref{mathed:tertia_rovnica}
\end_inset
).
\begin_inset Foot
collapsed true
\layout Standard
\emph on
Pozn.
prekl.:
\emph toggle
Tretia rovnica nemala ma<6D> ani n<>vestie ani nemala by<62> o<><6F>slovan<61>.
Ke<4B> som v<>ak v minibufferi zadal
\family typewriter
math-number
\family default
, zru<72>il mi <20><>slovanie na v<>etk<74>ch <20>tyroch rovniciach.
\end_inset
\layout Section
U<EFBFBD><EFBFBD>vate<EFBFBD>sky definovan<61> makr<6B> v matematic\SpecialChar \-
kom re<72>ime
\layout Standard
LyX vo verzii 0.12 dovo<76>uje u<><75>vate<74>ovi definova<76> si makr<6B>.
U<><55>vate<74>sky definovan<61> makro nie je <20>erven<65> n<>zov, ktor<6F> LyX nepozn<7A> a
preto ho nevie nakresli<6C> (v minulosti naz<61>van<61> makro re<72>im, teraz jednoducho
TeX re<72>im).
Tla<6C><61>tko defin<69>cie makra sa na obrazovke zobraz<61> ako <20>ed<65> obd<62><64>nik, s n<>zvom
makra nap<61>san<61>m modrou farbou (farba matematiky).
Ale ak na<6E> kliknete, zobraz<61> sa ako norm<72>lny matematick<63> obd<62><64>nik, ktor<6F>
m<><6D>ete editova<76>.
Vysk<73><6B>ajte si to:
\begin_inset FormulaMacro
\newcommand{\makro}{a+b}
\end_inset
\layout Standard
Ak chcete toto makro pou<6F>i<EFBFBD> v in<69>ch rovniciach, sta<74><61> nap<61>sa<73> jeho meno
v TeX re<72>ime, v tomto pr<70>pade
\family typewriter
\backslash
makro
\family default
, a ono sa automaticky expanduje:
\begin_inset Formula $c=\makro$
\end_inset
.
Ako si m<><6D>ete overi<72>, kurzor sa do makra ned<65> umiestni<6E>.
Cel<65> makro vystupuje ako jedin<69> znak a vygenerovan<61> TeX k<>d tohto v<>razu
je
\family typewriter
c =
\backslash
makro
\family default
.
\layout Standard
Av<EFBFBD>ak do niektor<6F>ch makier m<><6D>ete kurzor umiestni<6E>.
Do t<>ch, ktor<6F> maj<61>
\emph on
argumenty
\emph toggle
.
V defin<69>cii makra argument vyzer<65> ako
\family typewriter
#
\family default
nsledovan<61> <20><>slom argumentu:
\begin_inset FormulaMacro
\newcommand{\makrosarg}[1]{2+\sqrt{#1}}
\end_inset
\layout Standard
Ke<EFBFBD> sa toto makro expanduje, bude v <20>om oby<62>ajn<6A> pr<70>zdny modr<64> obd<62><64>nik,
ktor<6F> indikuje, <20>e do<64>ho m<><6D>ete nie<69>o vlo<6C>i<EFBFBD>:
\family typewriter
\backslash
makrosarg =
\family default
\begin_inset Formula $\makrosarg{}$
\end_inset
.
Pr<50>klad:
\begin_inset Formula $b=\makrosarg{x-2}$
\end_inset
.
\layout Standard
Pri exporte do LaTeXu vytvoria defin<69>cie makier pr<70>kaz
\family typewriter
\backslash
newcommand
\family default
.
\layout Subsection
N<EFBFBD>vod na pou<6F><75>vanie makier
\layout Subsubsection
Ako ich vytvori<72>
\layout Standard
Ak chcete vytvori<72> makro, do minibuffera nap<61><70>te pr<70>kaz:
\layout Standard
\family typewriter
math-macro <n<>zov makra> [po<70>et argumentov]
\layout Standard
Napr<EFBFBD>klad
\family typewriter
\backslash
makro
\family default
bolo vytvoren<65> ako
\begin_inset Quotes gld
\end_inset
\family typewriter
math-macro makro
\family default
\begin_inset Quotes grd
\end_inset
a
\family typewriter
\backslash
makrosarg
\family default
bolo vytvoren<65> ako
\begin_inset Quotes gld
\end_inset
\family typewriter
math-macro makrosarg 1
\family default
\begin_inset Quotes grd
\end_inset
.
\layout Standard
Ak chcete vlo<6C>i<EFBFBD> zna<6E>ku argumentu (len v obd<62><64>niku defin<69>cie makra), pou<6F>ite
pr<70>kaz:
\layout Standard
\family typewriter
math-macro-arg <<3C><>slo>
\layout Standard
Zna<EFBFBD>ka argumentu
\family typewriter
\backslash
makrosarg
\family default
bola vlo<6C>en<65> ako
\begin_inset Quotes gld
\end_inset
\family typewriter
math-macro-arg 1
\family default
\begin_inset Quotes grd
\end_inset
.
\layout Standard
V makre nem<65><6D>ete pou<6F>i<EFBFBD> viac ako 9 argumentov, <20><>slovan<61>ch od 1 po 9.
V defin<69>cii makra sa m<><6D>e argument opakova<76>, ale samozrejme zadan<61> bude
len raz.
<20><>slo argumentu nem<65><6D>e by<62> v<><76><EFBFBD>ie ako po<70>et argumentov, ktor<6F> bol pre dan<61>
makro definovan<61>.
\layout Subsubsection
Ako sa pohybova<76>
\layout Description
Pomocou\SpecialChar ~
kurzorov<EFBFBD>ch\SpecialChar ~
kl<EFBFBD>ves: Ak vs<76>pite do makra, kurzor sa umiestni do prv<72>ho
argumentu.
Na <20>al<61><6C> argument sa presuniete kl<6B>vesou
\family sans
TAB
\family default
.
Zapam<61>tajte si, <20>e ak stla<6C><61>te
\family sans
Medzeru
\family default
, kurzor sa umiestni von za makro.
\layout Description
Pomocou\SpecialChar ~
my<EFBFBD>i: Ako oby<62>ajne, kliknut<75>m na dan<61> pol<6F><6C>ko argumentu.
\layout Standard
V s<><73>asnosti si u<><75>vate<74> m<><6D>e definova<76> len pr<70>kazov<6F> makr<6B>, ale vn<76>torne
je mo<6D>n<EFBFBD> definova<76> si aj makr<6B> prostredia.
\layout Standard
Je nieko<6B>ko preddefinovan<61>ch makier, ktor<6F> hlavne umo<6D><6F>uj<75> u<><75>vate<74>om AMS-LaTeXu
pou<6F><75>va<76> AMS makr<6B> v zmysle WYSIWYM, ako napr<70>klad
\family typewriter
\backslash
cases
\family default
a
\family typewriter
\backslash
binom
\family default
.
(
\emph on
Pozn<EFBFBD>mka:
\family typewriter
\backslash
cases
\family default
v s<><73>asnosti nie je povolen<65>, preto<74>e po nejakom zjednodu<64>en<65> a zdokonalen<65>
makra, jedin<69> platn<74> argumenty s<> pododseky (subparagraphs).
Tabul<75>tory (tabs) ani nov<6F> riadky (newlines) nie s<> pr<70>pustn<74>.
\emph toggle
)
\layout Section
Dola<EFBFBD>ovanie
\layout Subsection
P<EFBFBD>smo
\layout Standard
V matematickom re<72>ime m<><6D>ete pou<6F><75>va<76> nieko<6B>ko druhov p<>sma, ale (zatia<69>)
je nutn<74> meni<6E> ich pomocou kl<6B>vesov<6F>ch skratiek.
Nezobrazia sa presne WYSIWYM a niektor<6F> sa WYSIWYM nezobrazia v<>bec.
<20>tandardn<64> p<>smo pre text je <20><>km<6B>,
\begin_inset Formula $text$
\end_inset
, ale pre <20><>sla je <20>tandardn<64> p<>smo R<>mske.
Ak chcete v mate\SpecialChar \-
ma\SpecialChar \-
tike nap<61>sa<73> text r<>mskym p<>smom, stla<6C>te
\family sans
M-c\SpecialChar ~
r
\family default
:
\begin_inset Formula $\mathrm{text}$
\end_inset
.
Ak chcete tu<74>n<EFBFBD>,
\begin_inset Formula $\mathbf{text}$
\end_inset
, stla<6C>te
\family sans
M-c\SpecialChar ~
b
\family default
.
Ak chcete kaligrafick<63> p<>smo pre ve<76>k<EFBFBD> p<>smen<65> (na obrazovke to vyzer<65>
ako <20>ikm<6B> Helvetica, ale vo v<>stupe je to kraj<61>ie), stla<6C>te
\family sans
M-c\SpecialChar ~
\family default
e:
\begin_inset Formula $\mathcal{TEXT}$
\end_inset
.
Tu je tabu<62>ka v<>etk<74>ch podporovan<61>ch p<>siem:
\begin_inset Foot
collapsed true
\layout Standard
\emph on
Pozn.
prekl.:
\emph toggle
Skratka M-c\SpecialChar ~
i nefunguje.
Druh<75> st<73>pec je p<>san<61> anglick<63>mi ekvivalentami, preto<74>e v matematike nefunguje
diakritika (u<> som sa o tom mysl<73>m zmie<69>oval).
In<49><6E>, ke<6B> chcete v matematike zmeni<6E> p<>smo, nejde to tak ako v norm<72>lnom
texte, <20>e si ozna<6E><61>te nie<69>o <20>o u<> m<>te nap<61>san<61> a potom stla<6C><61>te pr<70>slu<6C>n<EFBFBD>
kombin<69>ciu kl<6B>ves, ale najprv treba stla<6C>i<EFBFBD> dan<61> kl<6B>vesov<6F> skratku a potom
p<>sa<73>.
\end_inset
\layout Standard
\added_space_top 0.3cm \added_space_bottom 0.3cm \align center
\begin_inset Tabular
<lyxtabular version="3" rows="6" columns="3">
<features>
<column alignment="center" valignment="top" leftline="true" width="0pt">
<column alignment="center" valignment="top" leftline="true" width="0pt">
<column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
Textov<EFBFBD> re<72>im
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
Matematika
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
Kl<EFBFBD>vesov<EFBFBD> skratka v matematike
\end_inset
</cell>
</row>
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\series bold
Tu<EFBFBD>n<EFBFBD>
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\begin_inset Formula $\mathbf{Bold}$
\end_inset
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
M-C\SpecialChar ~
b
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\emph on
Zv<EFBFBD>raznen<EFBFBD>
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\emph toggle
\begin_inset Formula $\mathcal{CALLIGRAPHIC}$
\end_inset
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
\emph toggle
M-c\SpecialChar ~
e
\family default
alebo
\family sans
M-c\SpecialChar ~
i
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\emph toggle
---------
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\emph toggle
\begin_inset Formula $\mathrm{Roman}$
\end_inset
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
\emph toggle
M-c\SpecialChar ~
r
\family default
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\family typewriter
\emph toggle
P<EFBFBD>sac<EFBFBD> stroj
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\emph toggle
\begin_inset Formula $\mathtt{Typewriter}$
\end_inset
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
\emph toggle
M-c\SpecialChar ~
p
\end_inset
</cell>
</row>
<row bottomline="true">
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\emph toggle
<EFBFBD>tandardn<EFBFBD>
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\emph toggle
\begin_inset Formula $Default$
\end_inset
\end_inset
</cell>
<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\family sans
\emph toggle
M-c\SpecialChar ~
Medzera
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\layout Standard
Matematick<EFBFBD> re<72>im nepodporuje v<>etky znaky vo v<>etk<74>ch p<>smach a v t<>chto
<20>t<EFBFBD>loch p<>siem bud<75> podporovan<61> iba p<>smen<65>, v pr<70>pade kaligrafick<63>ho textu
len ve<76>k<EFBFBD> p<>smen<65>.
\layout Standard
Je mo<6D>n<EFBFBD> (v AMS-LaTeXu) urobi<62> v matematike tu<74>n<EFBFBD> p<>sma a symboly (nie <20>ikm<6B>).
Av<41>ak LyX toto nepodporuje WYSIWYM\SpecialChar \@.
Vytla<6C><61> sa to v<>ak spr<70>vne.
Aby ste nap<61>sali tu<74>n<EFBFBD> symbol, napr<70>klad tu<74>n<EFBFBD>
\begin_inset Formula $\alpha$
\end_inset
, v matematike nap<61><70>te
\family typewriter
\backslash
boldsymbol{
\backslash
alpha}
\family default
.
Ukon<6F>uj<75>ca zlo<6C>en<65> z<>tvorka sa objav<61> ihne<6E> ako nap<61><70>ete prv<72> z<>tvorku.
Toto funguje pre v<>etky symboly a <20><>sla.
Tie<69> je mo<6D>n<EFBFBD> p<>sa<73> p<>smom Fraktur (tradi<64>n<EFBFBD> nemeck<63>), ke<6B> nap<61><70>ete napr<70>klad
\family typewriter
\backslash
mathfrak{g}
\family default
, pre Fraktur
\family typewriter
\begin_inset Formula $g$
\end_inset
\family default
, alebo p<>smom
\begin_inset Quotes gld
\end_inset
blackboard-bold
\begin_inset Quotes grd
\end_inset
, ve<76>k<EFBFBD> p<>smen<65> s dvojitou <20>iarou s pr<70>kazom
\family typewriter
\backslash
mathbb{R}
\family default
.
Tieto symboly sa (zatia<69>) v LyXe nezobrazia WYSIWYM a mus<75> by<62> pou<6F>it<69>
bal<61>k AMS-LaTeX (vr<76>tane
\family typewriter
amsfonts
\family default
).
Pridanie t<>chto bal<61>kov je z<>le<6C>itos<6F> nastavenia vlastnost<73> dokumentu (
\family sans
Rozlo<EFBFBD>enie->Dokumnet
\family default
).
Je tam prep<65>na<6E> nazvan<61>
\family sans
Pou<EFBFBD>i<EFBFBD> AMS matematiku
\family default
.
Ke<4B> je aktivovan<61>, s<> dostupn<70> v<>etky AMS-LaTeX symboly a prostredia.
\layout Standard
V tejto pr<70>ru<72>ke neud<75>vame pr<70>klady t<>chto p<>siem, aby ju bolo mo<6D>n<EFBFBD> prezrie<69>
a vytla<6C>i<EFBFBD> aj bez t<>chto bal<61>kov, ktor<6F> niektor<6F> <20>udia nemusia ma<6D> nain\SpecialChar \-
<EFBFBD>ta\SpecialChar \-
lo\SpecialChar \-
van
<EFBFBD>.
\layout Subsection
Ve<EFBFBD>kosti p<>siem
\layout Standard
V matematike s<> <20>tyri (relat<61>vne) ve<76>kosti (alebo
\begin_inset Quotes gld
\end_inset
<EFBFBD>t<EFBFBD>ly
\begin_inset Quotes grd
\end_inset
) p<>siem, ktor<6F> sa automaticky vyberaj<61> vo v<><76><EFBFBD>ine situ<74>ci<63>.
Ich n<>zvy s<>
\emph on
textstyle
\emph toggle
,
\emph on
displaystyle
\emph toggle
,
\emph on
scriptstype
\emph toggle
a
\emph on
scriptscriptstyle
\emph toggle
.
Pre v<><76><EFBFBD>inu znakov je textstyle a displaystyle rovnak<61> ve<76>kos<6F>, ale zlomky,
horn<72> a doln<6C> indexy a ur<75>it<69> <20>al<61>ie efekty s<> v displaystyle vys<79>dzan<61>
v<><76><EFBFBD>ie, alebo umiestnen<65> inak.
Okrem niektor<6F>ch oper<65>torov, ktor<6F> sa sami prisp<73>sobuj<75> r<>znym situ<74>ci<63>m,
v<>etok text bude vys<79>dzan<61> v t<>chto r<>znych ve<76>kostiach tak, ako LaTeX
uzn<7A> za vhodn<64>.
Toto si m<><6D>ete prestavi<76> pr<70>kazom
\family typewriter
math-size
\family default
v minibufferi.
Napr<70>klad zlomok
\begin_inset Formula $\frac{1}{2}$
\end_inset
m<><6D>ete vys<79>dza<7A> norm<72>lne (textstyle), alebo ho m<><6D>ete urobi<62> v<><76><EFBFBD><EFBFBD>, <20>o
tie<69> zmen<65> riadkovanie, v <20>t<EFBFBD>le displaystyle, ak v minibufferi nap<61><70>ete
\family typewriter
math-size displaystyle
\family default
, ke<6B> kurzor je nastaven<65> na hlavnom riadku rovnice:
\begin_inset Formula ${\displaystyle \frac{1}{2}}$
\end_inset
.
Bu<42>te opatrn<72>, preto<74>e ak kurzor bude nad alebo pod zlomkovou <20>iarou, potom
bude zv<7A><76>sen<65> len to <20><>slo:
\begin_inset Formula $\frac{1}{2}$
\end_inset
! Toto odr<64><72>a LaTeXov<6F>
\begin_inset Quotes gld
\end_inset
ne<EFBFBD>myseln<EFBFBD> vlastnos<6F>
\begin_inset Quotes grd
\end_inset
\emph default
\begin_inset Foot
collapsed true
\layout Standard
V podstate chybu.
\end_inset
, nie LyXov<6F>.
Tieto zmeny ve<76>kost<73> p<>sma nie s<> v LyXe tak<61> zrejm<6A> ako bud<75> vo v<>stupe.
Tu je pr<70>klad textu nap<61>san<61>ho v r<>znych <20>t<EFBFBD>loch:
\begin_inset Formula ${\displaystyle displaystyle}$
\end_inset
,
\begin_inset Formula ${\textstyle textstyle}$
\end_inset
,
\begin_inset Formula ${\scriptstyle scriptstyle}$
\end_inset
,
\begin_inset Formula ${\scriptscriptstyle scriptscriptstyle}$
\end_inset
.
\layout Standard
V<EFBFBD>etky tieto matematick<63> ve<76>kosti p<>siem s<> relat<61>vne, to znamen<65>, <20>e ak
je matematick<63> v<>raz a okolit<69> text vys<79>dzan<61> ur<75>itou ve<76>kos<6F>ou p<>sma,
potom bud<75> v<>etky tieto matematick<63> ve<76>kosti upraven<65>.
Podobne, ak sa zmen<65> z<>kladn<64> ve<76>kos<6F> p<>sma dokumentu, bud<75> upraven<65> v<>etky
p<>sma.
\layout Standard
\size largest
Tu je odsek vo ve<76>kosti p<>sma
\begin_inset Quotes gld
\end_inset
Najv<EFBFBD><EFBFBD><EFBFBD>ie
\begin_inset Quotes grd
\end_inset
, so symbolom:
\begin_inset Formula $\alpha$
\end_inset
.
\layout Standard
Toto tie<69> plat<61> pre matematick<63> p<>sma v n<>zvoch sekci<63> at<61>.
\layout Chapter
<EFBFBD>al<EFBFBD>ie n<>stroje
\layout Section
Krosreferencie
\layout Standard
\begin_inset LatexCommand \label{sec: crossref}
\end_inset
T<EFBFBD> z v<>s, ktor<6F> tento manu<6E>l <20><>taj<61> priamo v LyXe, vidia na za<7A>iatku tohto
odseku <20>ed<65> obd<62><64>nik s textom.
To je
\family sans
n<EFBFBD>vestie
\family default
.
Aby sme sa spr<70>vne vyjadrili, je to polovica krosreferencie.
Druh<75> polovica je
\family sans
referencia
\family default
, a vyzer<65> takto:
\begin_inset LatexCommand \ref{sec: crossref}
\end_inset
.
T<> <20>o <20><>taj<61> tento manu<6E>l v LyXe zasa vidia <20>ed<65> obd<62><64>nik s textom.
T<>, ktor<6F> <20><>taj<61> vytla<6C>en<65> manu<6E>l vidia <20><>slo --- v tomto pr<70>pade <20><>slo
tejto sekcie.
Tie<69> je <20>al<61>ia mo<6D>nos<6F> krosreferencie:
\begin_inset LatexCommand \pageref{sec: crossref}
\end_inset
.
Toto je <20><>slo strany, obsahuj<75>cej dan<61> n<>vestie.
A na toto sl<73><6C>ia krosreferencie: dovo<76>uj<75> v<>m odkazova<76> sa na in<69> <20>asti
v<><76>ho dokumentu.
Nemus<75>te si pam<61>ta<74>, ak<61> <20><>slo m<> ktor<6F> sekcia --- o to sa postar<61> LyX!
V<>etko <20>o potrebujete urobi<62> je pou<6F>i<EFBFBD>
\family sans
n<EFBFBD>vestie
\family default
na ozna<6E>enie sekcie, obr<62>zku, tabu<62>ky, rovnice, at<61>.
a potom sa na<6E> odk<64>za<7A>
\family sans
referenciou
\family default
.
\layout Standard
N<EFBFBD>vestie vlo<6C><6F>te pr<70>kazom
\family sans
N<EFBFBD>vestie
\family default
, z menu
\family sans
Vlo<EFBFBD>i<EFBFBD>
\family default
.
Zobraz<61> sa v<>m okienko, kde zad<61>te v<><76> popis.
N<>vestia, ktor<6F> ste vytvorili nem<65><6D>ete zmeni<6E> (aspo<70> zatia<69> nie).
Budete musie<69> zmaza<7A> star<61> n<>vestie, vytvori<72> nov<6F> a zmaza<7A> v<>etky referencie
na star<61> n<>vestie a vlo<6C>i<EFBFBD> nov<6F> referencie.
Je to dos<6F>
\begin_inset Quotes gld
\end_inset
bolestiv<EFBFBD>
\begin_inset Quotes grd
\end_inset
, tak<61>e bu<62>te opatrn<72> pri vyberan<61> n<>zvov n<>vest<73>.
\layout Standard
Referenciu vlo<6C><6F>te pr<70>kazom
\family sans
Krosreferencia
\family default
takisto z menu
\family sans
Vlo<EFBFBD>i<EFBFBD>
\family default
.
Zobraz<61> sa v<>m okno
\family sans
Vlo<EFBFBD>i<EFBFBD> krosreferenciu
\family default
so zoznamom n<>vest<73> a nejak<61>mi tla<6C><61>tkami.
Dvojkliknut<75>m na niektor<6F> n<>vestie vlo<6C><6F>te do textu na miesto kurzora referenci
u na dan<61> n<>vestie.
Na mieste referencie bude vo vytla<6C>enom dokumente <20><>slo sekcie, kde sa
nach<63>dza n<>vestie (to ist<73> rob<6F> tla<6C><61>tko
\family sans
Vlo<EFBFBD>i<EFBFBD> referenciu)
\family default
.
Tla<6C><61>tko
\family sans
Vlo<EFBFBD>i<EFBFBD> <20><>slo strany
\family default
vlo<6C><6F> referenciu tak, <20>e vo vytla<6C>enom dokumente bude na jej mieste <20><>slo
strany, na ktorej sa dan<61> n<>vestie nach<63>dza.
\family sans
<EFBFBD>s<EFBFBD> na referenciu
\family default
v<>s v dokumente presunie na zadan<61> referenciu.
Je to vhodn<64> na r<>chly presun v dokumente.
Tla<6C><61>tkom
\family sans
Aktualizova<EFBFBD>
\family default
aktualizujete zoznam n<>vest<73>.
Pou<6F>ite ho v pr<70>pade, <20>e okno
\family sans
Vlo<EFBFBD>i<EFBFBD> referenciu
\family default
nech<63>te st<73>le otvoren<65> a pri editovan<61> dokumentu prid<69>te nejak<61> nov<6F> n<>vestia.
Je to nutn<74>, lebo inak by ste tieto nov<6F> n<>vestia v zozname nemali.
\family sans
Zavrie<EFBFBD>
\family default
samozrejme uzavrie okno.
\layout Standard
Ak z nejak<61>ho in<69>ho dokumentu vlo<6C><6F>te text, ktor<6F> obsahuje n<>vestia a referencie
, alebo ak zru<72><75>te nejak<61> n<>vestie vo va<76>om dokumente, na ktor<6F> sa odkazuje
referencia, LaTeX v<>m ozn<7A>mi chybu:
\layout Quote
\family typewriter
LaTeX Warning: Reference X on page Y undefined on input line Z.
\newline
LaTeX Warning: There were undefined references.
\layout Standard
Vo v<>stupe bud<75> namiesto referencie dva ot<6F>zniky.
\layout Standard
Referencie vytla<6C>ia <20><>slo najbli<6C><69>ej sekcie, v ktorej sa nach<63>dza n<>vestie.
Tak<61>e ak chcete pou<6F>i<EFBFBD> n<>vestie na kapitolu (
\family sans
Chapter
\family default
), ale okam<61>ite za n<>zvom kapitoly nasleduje n<>zov sekcie (
\family sans
Section
\family default
), n<>vestie mus<75>te vlo<6C>i<EFBFBD>
\emph on
do
\emph toggle
prostredia
\family sans
Chapter
\family default
.
Nez<65>le<6C><65> na tom kde, a v LyXe to m<><6D>e vyzera<72> blbo, ale mus<75>te to urobi<62>.
To ist<73> plat<61> pre n<>zvy sekci<63> na ni<6E><69><EFBFBD>ch <20>rovniach.
Ak za n<>zvom sekcie nasleduje <20>ist<73> text, potom m<><6D>ete n<>vestie vlo<6C>i<EFBFBD>
kdeko<6B>vek do tohto textu.
\layout Standard
Taktie<EFBFBD> norm<72>lne referencie --- referencie, ktor<6F> sa odkazuj<75> na <20><>slo sekcie
--- d<>vaj<61> zmysel len v <20><>slovan<61>ch n<>zvoch sekci<63>, <20><>slovan<61>ch insetoch
s tabu<62>kou a obr<62>zkom.
Ak pou<6F>ijete n<>vestie v ne<6E><65>slovanej sekcii, tabu<62>ke, at<61>., potom by ste
sa na<6E> mali odkazova<76> len referenciami na <20><>slo strany.
Inak bude <20><>slo referencie nespr<70>vne (pravdepodobne to bude <20><>slo najbli<6C><69>ej
<20><>slovanej sekcie).
Ak chcete vedie<69> detaily o <20><>slovan<61> a popisovan<61> obr<62>zkov, tabuliek a
rovn<76>c, pozrite si sekcie
\begin_inset LatexCommand \ref{sec: insetobrazok}
\end_inset
,
\begin_inset LatexCommand \ref{sec: tabulkainset}
\end_inset
a
\begin_inset LatexCommand \ref{sec: mat-label}
\end_inset
.
\layout Section
Manu<EFBFBD>lne dola<6C>ovanie
\layout Subsection
Extra horizont<6E>lna medzera
\layout Standard
\begin_inset LatexCommand \label{sec: hmedzera}
\end_inset
\family sans
HFill
\family default
(horizont<6E>lna v<>pl<70>) je <20>peci<63>lna vlastnos<6F> LyXu pre prid<69>vanie medzier
jednotn<74>m sp<73>sobom.
\family sans
HFill
\family default
je v skuto<74>nosti medzera s premenlivou ve<76>kos<6F>ou, ktorej ve<76>kos<6F> sa v<>dy
prisp<73>sobuje zost<73>vaj<61>cemu priestoru medzi <20>av<61>m a prav<61>m okrajom.Ak je
a riadku viac ako jeden
\family sans
HFill
\family default
, potom dostupn<70> priestor rozdelia medzi seba rovnak<61>m dielom.
\layout Standard
Pozn<EFBFBD>mka: Ak vlo<6C><6F>te
\family sans
HFill
\family default
na za<7A>iatok riadku a tento nie je prv<72>m riadkom v odseku, LyX ho bude ignorova<76>.
Toto chr<68>ni
\family sans
HFill
\family default
pred n<>hodn<64>m zalomen<65>m sa na nov<6F> riadok.
\layout Standard
HFill vlo<6C><6F>te pr<70>kazom
\family sans
Vlo<EFBFBD>i<EFBFBD>-><3E>peci<63>lny znak->HFill
\family default
.
M<>me tu zop<6F>r pr<70>\SpecialChar \-
kla\SpecialChar \-
dov, <20>o m<><6D>ete s
\family sans
HFill
\family default
om robi<62>:
\layout Quote
Toto je na <20>avej strane.
\hfill
Toto je na pravej.
\layout Quote
Na<EFBFBD>avo
\hfill
V prostriedku
\hfill
Napravo
\layout Quote
Na<EFBFBD>avo
\hfill
1/3 v<>avo
\hfill
\hfill
Napravo
\layout Standard
To bol pr<70>kald v prostred<65>
\family sans
Quote
\family default
.
Tu:
\hfill
:je jeden v <20>tandardnom odseku.
Vo vytla<6C>enej forme to nemus<75> by<62> o<>ividn<64>, ale
\family sans
HFill
\family default
sa nach<63>dza medzi dvoma
\begin_inset Quotes gld
\end_inset
:
\begin_inset Quotes grd
\end_inset
.
\layout Standard
Pam<EFBFBD>t<EFBFBD>te si, <20>e sme povedali, <20>e HFill v<>dy vyp<79><70>a ost<73>vaj<61>ci priestor medzi
okrajmi? Na jednom riadku m<><6D>e by<62> viac ako jeden p<>r okrajov.
Tu je pr<70>klad s prostred<65>m
\family sans
List
\family default
.
\layout List
\labelwidthstring MMMMMMMM
jeden
\hfill
dva :tri
\hfill
<EFBFBD>tyri
\hfill
p<EFBFBD><EFBFBD>
\hfill
<EFBFBD>es<EFBFBD>
\layout Standard
Dvojbodka ozna<6E>uje za<7A>iatok polo<6C>ky.
(V skuto<74>nosti je v popise polo<6C>ky z prostred<65>
\family sans
List
\family default
\begin_inset Quotes gld
\end_inset
skryt<EFBFBD>
\begin_inset Quotes grd
\end_inset
\family sans
HFill
\family default
.
Je vlo<6C>en<65> na koniec popisu automaticky.) Podobne sa HFilly spr<70>vaj<61> v in<69>ch
\begin_inset Quotes gld
\end_inset
multiokrajov<EFBFBD>ch
\begin_inset Quotes grd
\end_inset
situ<74>ci<63>ch, ako napr<70>klad v dvojst<73>pcovom re<72>ime.
\layout Subsection
Extra vertik<69>lna medzera
\layout Standard
\begin_inset LatexCommand \label{sec: vertmedzera}
\end_inset
Na pridanie vertik<69>lnej medzery nad, alebo pod odsek, pou<6F>ite okno
\family sans
Prostredie odstavca
\family default
(
\family sans
Rozlo<EFBFBD>enie->Odstavec
\family default
).
\layout Standard
Nebudeme ukazova<76> pr<70>klady
\family sans
VFill
\family default
u, preto<74>e je to pl<70>tvanie papierom.
Funguje rovnako ako
\family sans
HFill
\family default
: zvy<76>ok str<74>nky zapln<6C> pr<70>zdnymi medzerami.
Ak je na str<74>nke viac
\family sans
VFill
\family default
ov, vo<76>n<EFBFBD> priestor si rozelia medzi seba rovnako.
Preto ich m<><6D>ete pou<6F>i<EFBFBD> na vycentrovanie textu na str<74>nke, alebo dokonca
umiestni<6E> text dole v 2/3 str<74>nky alebo 1/4 at<61>.
\layout Subsection
Zmena zarovnania odseku
\layout Standard
V okne Prostredie odstavca m<><6D>ete zmeni<6E> zarovnanie odseku.
Na v<>ber m<>te <20>tyri mo<6D>nosti:
\layout Itemize
\family sans
Vpravo
\layout Itemize
\family sans
V<EFBFBD>avo
\layout Itemize
\family sans
Blok
\layout Itemize
\family sans
Na stred
\layout Standard
Vo v<><76><EFBFBD>ine pr<70>padov je <20>tandardn<64> zarovnanie do bloku, v ktorom je medzera
medzi slovami premenliv<69> a ka<6B>d<EFBFBD> riadok odseku vyp<79><70>a priestor medzi <20>av<61>m
a prav<61>m okrajom.
<20>al<61>ie tri mo<6D>nosti by mali by<62> samovysvet<65>uj<75>ce a vyzeraj<61> takto:
\layout Standard
\align right
Tento odsek je zarovnan<61> doprava.
\layout Standard
\align center
Tento je vycentrovan<61>.
\layout Standard
\align left
Tento je zarovnan<61> do<64>ava.
\layout Standard
V niektor<6F>ch prostrediach odsekov je <20>tandardne nastaven<65> in<69> zarovnanie
ako
\family sans
blok
\family default
.
\layout Subsection
Pevn<EFBFBD> zlomy str<74>n
\layout Standard
\begin_inset LatexCommand \label{sec: zlomstrany}
\end_inset
Ak sa v<>m nep<65><70>i sp<73>sob, ktor<6F>m LaTeX zalamuje str<74>nky v<><76>ho dokumentu,
m<><6D>ete ho prin<69>ti<74> zalomi<6D> stranu tam, kde to chcete vy.
V v<>eobecnosti toto
\emph on
nebude
\emph toggle
potrebn<62>, preto<74>e LaTeX je v zalamovan<61> str<74>n dobr<62>, ako sme sa zmienili
v sekcii
\begin_inset LatexCommand \ref{sec: vdovy}
\end_inset
.
\layout Standard
Tak<EFBFBD>e vo v<>eobecnosti nie je potrebn<62> pou<6F><75>va<76> mo<6D>nos<6F> pop<6F>san<61> ni<6E><69>ie a
\emph on
d<EFBFBD>razne
\emph toggle
v<>m doporu<72>ujeme
\emph on
nepou<EFBFBD><EFBFBD>va<EFBFBD>
\emph toggle
ju dovtedy, k<>m text nebude skuto<74>ne
\emph on
hotov<EFBFBD>
\emph toggle
a k<>m ste si nepozreli n<>h<EFBFBD>ad dokumentu, <20>i
\emph on
skuto<EFBFBD>ne
\emph toggle
mus<75>te meni<6E> zlomy str<74>n.
\emph on
Len
\emph toggle
v tom pr<70>pade m<><6D>ete pou<6F>i<EFBFBD> pevn<76> zlom riadku nad alebo pod odsekom, ktor<6F>
nastav<61>te v okne
\family sans
Prostredie odstavca
\family default
(
\family sans
Zalom.
str<74>nky
\family default
: nad, pod).
\layout Standard
Mohli by ste pou<6F>i<EFBFBD> zlom strany na to, aby ste mali obr<62>zok, alebo tabu<62>ku
na vrchu str<74>nky.
Ale robi<62> to takto je zl<7A> sp<73>sob.
LyX v<>m umo<6D><6F>uje automaticky umiest<73>ova<76> obr<62>zky a tabu<62>ky na vrchu str<74>nky
(alebo na spodu, alebo na vlastnej str<74>nke), pri<72>om v<>s nemus<75> tr<74>pi<70> to,
<20>o je pred alebo za va<76><61>m obr<62>zkom alebo tabu<62>kou.
Viac sa dozviete v sekci<63>ch
\begin_inset LatexCommand \ref{sec: obrazky}
\end_inset
a
\begin_inset LatexCommand \ref{sec: tabulky}
\end_inset
a tie<69> si pre<72><65>tajte o
\family sans
insetoch
\family default
.
\layout Subsection
<EFBFBD>al<EFBFBD>ie n<>stroje
\layout Standard
\begin_inset LatexCommand \label{sec: chmedzera-zlomriadku-hciara}
\end_inset
T<EFBFBD>to sekcia stru<72>ne popisuje ako m<><6D>u by<62> niektor<6F> vlastnosti zn<7A>me u<><75>vate<74>ovi
LaTeXu vygenerovan<61> LyXom.
\layout Itemize
Chr<EFBFBD>nen<EFBFBD> medzera: Pou<6F><75>va sa na ozn<7A>menie LyXu (a LaTeXu), aby na danom
mieste nezalamoval riadok.
M<><4D>e to by<62> nutn<74>, aby ste sa vyhli nechcen<65>m zlomom riadku, ako napr<70>kald
v tomto pr<70>pade:
\begin_deeper
\layout Quote
Dobr<EFBFBD> dokument<6E>cia by nemala v<><76>i<EFBFBD> viac ako 1
\newline
kg.
\layout Standard
Oby<EFBFBD>ajne by bolo dobr<62> medzi
\begin_inset Quotes gld
\end_inset
1
\begin_inset Quotes grd
\end_inset
a
\begin_inset Quotes gld
\end_inset
kg
\begin_inset Quotes grd
\end_inset
vlo<6C>i<EFBFBD> chr<68>nen<65> medzeru.
Urob<6F>te to pr<70>kazom
\family sans
Vlo<EFBFBD>i<EFBFBD>-><3E>peci<63>lny znak->Chr<68>nen<65> medzera
\family default
, alebo
\family sans
C-Medzera
\family default
.
\end_deeper
\layout Itemize
Zlom riadku: Zlom riadku m<><6D>ete vlo<6C>i<EFBFBD> pr<70>kazom
\family sans
Vlo<EFBFBD>i<EFBFBD>-><3E>peci<63>lny znak->Zalomenie riadku
\family default
, alebo skratkou
\family sans
C-Enter
\family default
.
Av<41>ak nemali by ste to pou<6F><75>va<76> na opravu LaTeXov<6F>ch zlomov riadkov, preto<74>e
ten je v zalamovan<61> riadkov ve<76>mi dobr<62>\SpecialChar \ldots{}
(pozri sekciu
\begin_inset LatexCommand \ref{sec: zlomstrany}
\end_inset
).
Je v<>ak nieko<6B>ko situ<74>ci<63>, ke<6B> je potrebn<62> akt<6B>vne vklada<64> zlomy riadkov,
napr<70>kald pri p<>san<61> b<>sne, alebo adresy (pozri sekcie
\begin_inset LatexCommand \ref{sec: quote}
\end_inset
,
\begin_inset LatexCommand \ref{sec: verse}
\end_inset
a
\begin_inset LatexCommand \ref{sec: adresa_pouzitie}
\end_inset
).
\layout Itemize
\line_bottom
Horizont<EFBFBD>lna <20>iara nad, alebo pod odsekom: m<><6D>e to by<62> u<>ito<74>n<EFBFBD> pre nadpisy.
Dostanete ich nastaven<65>m v okne
\family sans
Prostredie odstavca
\family default
.
Tu:
\begin_deeper
\layout Standard
je pr<70>kald.
\end_deeper
\layout Section
Kontrola pravopisu
\layout Standard
\begin_inset LatexCommand \label{sec: kontrola-pravopisu}
\end_inset
Samotn<EFBFBD> LyX nem<65> zabudovan<61> kontrolu pravopisu.
Na kontrolu pravopisu pou<6F><75>va extern<72> program
\family typewriter
ispell
\family default
.
\layout Standard
Pre in<69>tal<61>ciu programu a kde n<>js<6A> slovn<76>ky si pozrite dokument<6E>ciu k programu
\family typewriter
ispell
\family default
, ktor<6F> je v jeho distrib<69>cii.
Po in<69>tal<61>cii programu m<><6D>ete pou<6F><75>va<76> polo<6C>ku
\family sans
Kontrola pravopisu
\family default
z menu
\family sans
Upravi<EFBFBD>
\family default
.
(Uistite sa, <20>e bin<69>rka
\family typewriter
ispell
\family default
je niekde vo va<76>ej ceste
\family typewriter
PATH
\family default
.
Ak m<>te verziu
\family typewriter
4.*
\family default
tohto programu, bolo by lep<65>ie, keby ste ju nahradili aktu<74>lnou verziou
\family typewriter
3.1.20
\family default
.
Verzia
\family typewriter
4
\family default
bola kr<6B>tko-<2D>ij<69>cou GNU verziou a mala ve<76>a probl<62>mov.)
\layout Standard
Ak chcete za<7A>a<EFBFBD> kontrolova<76> pravopis, vyberte pr<70>kaz
\family sans
Kontrola pravopisu
\family default
z menu
\family sans
Upravi<EFBFBD>
\family default
.
Kontrola za<7A>ne od aktu<74>lnej poz<6F>cie kurzora.
Zobraz<61> sa v<>m okno
\family sans
Kontrola pravopisu
\family default
.
V textovom poli
\family sans
Nezn<EFBFBD>my:
\family default
zobraz<61>
\family typewriter
ispell
\family default
nespr<70>vne (alebo nezn<7A>me) slovo.
V <20>al<61>om poli
\family sans
Zameni<EFBFBD>:
\family default
m<><6D>ete nap<61>sa<73> slovo, ktor<6F>m sa m<> nespr<70>vne slovo nahradi<64>.
V<>dy, ke<6B>
\family typewriter
ispell
\family default
n<>jde nezn<7A>me slovo, toto je zv<7A>raznen<65> (ozna<6E>en<65>) a dokuemnt sa nastav<61>
tak, aby bolo dan<61> slovo vidite<74>n<EFBFBD>.
V okne kontroly je tie<69> zoznam
\family sans
Alternat<EFBFBD>vy:
\family default
, ktor<6F> zobrazuje mo<6D>n<EFBFBD> alternat<61>vy nezn<7A>meho slova, ak
\family typewriter
ispell
\family default
nejak<61> n<>jde.
Kliknut<75>m na niektor<6F> z nich ju skop<6F>rujete do po<70>a
\family sans
Zameni<EFBFBD>:
\family default
, dvojkliknut<75>m priamo dan<61> slovo nahrad<61>te.
Tla<6C><61>tka v okne
\family sans
Kontrola pravopisu
\family default
s<> celkom samovysvet<65>uj<75>ce:
\layout Description
\family sans
Za<EFBFBD>a<EFBFBD>\SpecialChar ~
kontrolu\SpecialChar ~
pravopisu
\family default
za<7A>ne kontrolova<76> dokument od miesta, kde sa aktu<74>lne nach<63>dza kurzor.
\layout Description
\family sans
Vlo<EFBFBD>i<EFBFBD>\SpecialChar ~
do\SpecialChar ~
osobn<EFBFBD>ho\SpecialChar ~
slovn<EFBFBD>ka
\family default
vlo<6C><6F> slovo do slovn<76>ka programu ispell, tak<61>e toto slovo bude v bud<75>cnosti
rozpozn<7A>van<61>.
\layout Description
\family sans
Akceptova<EFBFBD>\SpecialChar ~
slovo\SpecialChar ~
(do<64>asne)
\family default
dan<61> slovo, ktor<6F> ispell na<6E>iel ako nezn<7A>me bude akceptovan<61> pre zvy<76>ok
kontroly pravopisu, ale nebude pridan<61> do slovn<76>ka.
\layout Description
\family sans
Ignorova<EFBFBD>\SpecialChar ~
slovo
\family default
nezmen<65> slovo zachyten<65>
\family typewriter
ispell
\family default
om, ale slovo bude op<6F><70> zachy\SpecialChar \-
ten<EFBFBD>, ak sa v dokumente vyskytne nesk<73>r.
\layout Description
\family sans
Zameni<EFBFBD>\SpecialChar ~
slovo
\family default
zamen<65> n<>jden<65> slovo t<>m, <20>o ste nap<61>sali do textov<6F>ho po<70>a
\family sans
Zameni<EFBFBD>:
\family default
.
\layout Description
\family sans
Ukon<EFBFBD>i<EFBFBD>\SpecialChar ~
kontrolu\SpecialChar ~
pravopisu
\family default
zastav<61> vykon<6F>vanie programu
\family typewriter
ispell
\family default
, ale neuzavrie okno kontroly pravopisu.
V<>imnite si, <20>e kontrolu pravopisu m<><6D>ete ukon<6F>i<EFBFBD> hocikedy, nielen pri
n<>jden<65> nezn<7A>meho slova.
\layout Description
\family sans
Parametre\SpecialChar ~
kontroly\SpecialChar ~
pravopisu
\family default
otvor<6F> <20>al<61>ie okno, kde si m<><6D>ete nastavi<76> niektor<6F> mo<6D>nosti
\family typewriter
ispell
\family default
u.
\layout Description
\family sans
Zavrie<EFBFBD>\SpecialChar ~
kontrolu\SpecialChar ~
pravopisu
\family default
urob<6F> presne to, <20>o o<>ak<61>vate.
\layout Standard
Nakoniec je tam e<>te teplomer, ktor<6F> v<>s informuje o postupe kontroly.
\layout Description
Pozn<EFBFBD>mka: Ak chcete kontrolova<76> pravopis v pozn<7A>mkach pod <20>iarou, na okraji,
alebo v popisoch insetov s tabu<62>kami alebo obr<62>zkami,
\emph on
mus<EFBFBD>te
\emph toggle
ich ma<6D> otvoren<65>.
Jednoducho sa to d<> urobi<62> v menu
\family sans
Upravi<EFBFBD>->Insety->Otvori<72> v<>etky\SpecialChar \ldots{}
\layout Subsection
Parametre kontroly pravopisu
\layout Standard
\begin_inset LatexCommand \label{sec: pravopis_param}
\end_inset
V okne parametre kontroly pravopisu sa daj<61> nastavi<76> nasleduj<75>ce mo<6D>nosti
(toto okno je tie<69> dostupn<70> z menu
\family sans
Mo<EFBFBD>nosti
\family default
):
\layout Subsubsection
Slovn<EFBFBD>k
\layout Standard
<EFBFBD>andardne je s<>bor so slovn<76>kom vybran<61> pod<6F>a jazyka dokumentu, ktor<6F> kontroluje
te.
Ten sa nastavuje v okne
\family sans
Rozlo<EFBFBD>enie dokumentu
\family default
.
Ak nem<65>te slovn<76>k pre dan<61> jazyk,
\family typewriter
ispell
\family default
skon<6F><6E> okam<61>ite po spusten<65> kontroly pravopisu.
Na <20>tandardnom chybovom v<>stupe sa v<>m zobraz<61> hl<68><6C>ka typu:
\layout Quote
\family typewriter
Can't find file /usr/lib/ispell/xyz.hash
\layout Standard
a taktie<69> LyX v<>m zobraz<61> spr<70>vu, ktor<6F> v<>s informuje o chybe.
V takom pr<70>pade m<><6D>ete <20>pecifikova<76> in<69> s<>bor so slovn<76>kom v textovom poli
\family sans
Pou<EFBFBD>i<EFBFBD> alternat<61>vny jazyk
\family default
, alebo zmeni<6E> jazyk dokumentu.
\layout Standard
<EFBFBD>al<EFBFBD><EFBFBD>m rie<69>en<65>m je vytvori<72> link z povedzme
\family typewriter
deutch.(aff/hash)
\family default
na
\family typewriter
german.(aff/hash)
\family default
, alebo in<69> s<>bor so slovn<76>kom va<76>eho jazyka.
To k<>li tomu, preto<74>e ispell slovn<76>ky maj<61> norm<72>lne n<>zvy v nat<61>vnom jazyku
(
\begin_inset Quotes gld
\end_inset
deutch
\begin_inset Quotes grd
\end_inset
), zatia<69><61>o
\family typewriter
ispell
\family default
, ak je spusten<65> z LyXu, h<>ad<61> anglick<63> n<>zvy mien, ktor<6F> sa pou<6F><75>vaj<61> v
LaTeXovom bal<61>ku babel (
\begin_inset Quotes gld
\end_inset
german
\begin_inset Quotes grd
\end_inset
).
\layout Standard
Do probl<62>mov sa tie<69> m<><6D>ete dosta<74>, ak k<>dovanie p<>sma nie je spr<70>vne pre
dan<61> jazyk.
Ak pou<6F><75>vate jazyk s k<>dovan<61>m latin1 a k<>dovanie v rozlo<6C>en<65> dokumentu
nastav<61>te na latin1 (alebo nejak<61> in<69> ako
\family sans
default
\family default
), tak<61>to mo<6D>nos<6F> mus<75>te ma<6D> aj v jazykovom slovn<76>ku.
Ak v<><76> slovn<76>k nepodporuje k<>dovanie ktor<6F> ste vybrali, na <20>tandardnom
chybovom v<>stupe sa v<>m zobraz<61> chyba:
\layout Standard
\family typewriter
ispell: unrecognized formatter type 'latin1'
\layout Standard
Kontrola pravopisu v<>m ohl<68>si chybu, <20>e nemohla spusti<74>
\family typewriter
ispell
\family default
a vy m<>te pravdepodobne probl<62>m so slovn<76>kom.
\layout Standard
Na vyrie<69>enie tohto probl<62>mu m<>te <20>tyri mo<6D>nosti.
Najjednoduch<63>ou je sk<73>si<73> zapn<70><6E> vo<76>bu
\family sans
Vstupn<EFBFBD> k<>dovanie pre ispell
\family default
v okne nastavenia kontroly pravopisu.
Ak to nepom<6F><6D>e, pred kontrolou pravopisu m<><6D>ete nastavi<76> k<>dovanie v rozlo<6C>en<65>
dokumentu na
\family sans
default
\family default
(toto je pravdepodobne otravn<76>).
Tre<72>ou mo<6D>nos<6F>ou je prida<64> vo<76>bu latin1 do s<>boru v<><76>ho slovn<76>ka
\family typewriter
\emph on
<
\family default
jazyk
\family typewriter
>
\emph toggle
.aff
\family default
a slovn<76>k prekompilova<76> (<28>o pravdepodobne nebude <20>ahk<68>, ak ste v<>etko nain<69>talo\SpecialChar \-
va\SpecialChar \-
li s nejakou distrib<69>ciou a nem<65>te adres<65>r jazykov v zdroj<6F>koch
\family typewriter
ispell
\family default
u).
Pre<72><65>tajte si dokument<6E>siu k
\family typewriter
ispell
\family default
u.
<20>tvrt<72>m sp<73>sobom je posla<6C> spr<70>vu spr<70>vcovi bal<61>ka, alebo e<>te ep<65>ie spr<70>vcovi
s<>boru slovn<76>ka a po<70>iada<64> ho o vyrie<69>enie v<><76>ho probl<62>mu.
\layout Subsubsection
Osobn<EFBFBD> slovn<76>k
\layout Standard
Ak slovo nebolo n<>jden<65> v hlavnom slovn<76>ku,
\family typewriter
ispell
\family default
pou<6F><75>va osobn<62> slovn<76>k, do ktor<6F>ho m<><6D>ete ulo<6C>i<EFBFBD> slov<6F>, aby ich bolo mo<6D>n<EFBFBD>
v bud<75>cnosti kontrolova<76>.
N<>zov tohto s<>boru oby<62>ajne je
\family typewriter
$HOME/.ispell_
\family default
\emph on
dictionary
\emph toggle
, kde
\emph on
dictionary
\emph toggle
je n<>zov glob<6F>lneho pu<70><75>vaneho slovn<76>ku.
S<>bor (pre <20>tandardn<64> slovn<76>k) je oby<62>ajne nazvan<61> jednoducho
\family typewriter
$HOME/.ispell_words
\family default
.
Ak chcete pou<6F><75>va<76> in<69> s<>bor ako svoj osobn<62> slovn<76>k, m<><6D>ete to nastavi<76>
v parametroch kontroly pravopisu.
Adres<65>r, kde
\family typewriter
ispell
\family default
uklad<61> v<><76> osobn<62> slovn<76>k je v<><76> domovsk<73> adres<65>r a nie adres<65>r kde editujete
dokument.
Ak zad<61>te n<>zov s<>boru, ktor<6F> neexistuje, na <20>tandardnom chybovom v<>stupe
sa v<>m zobraz<61> chybov<6F> hl<68><6C>ka, ktor<6F> ale m<><6D>ete ignorova<76>, preto<74>e
\family typewriter
ispell
\family default
na konci kontroly pravopisu s<>bor vytvor<6F>.
\layout Subsubsection
<EFBFBD>al<EFBFBD>ie mo<6D>nosti
\layout Standard
V okne nastavenia kontroly pravopisu si m<><6D>ete nastavi<76> e<>te nieko<6B>ko mo<6D>nost<73>:
\layout Itemize
\family sans
Akceptova<EFBFBD> spojen<65> slov<6F> ako spr<70>vne
\family default
\newline
Spojen<EFBFBD> slov<6F> sa nebud<75> pova<76>ova<76> za chyby.
\layout Itemize
\family sans
Pou<EFBFBD>i<EFBFBD> alternat<61>vny osobn<62> slovn<76>k
\family default
\newline
Tu zad<61>te n<>zov svojho osobn<62>ho slovn<76>ka.
\layout Itemize
\family sans
Extra <20>peci<63>lne znaky povolen<65> v slov<6F>ch
\family default
\newline
Norm<EFBFBD>lne by to nemalo by<62> potrebn<62>.
\layout Subsection
Probl<EFBFBD>my
\layout Standard
Ak nem<65><6D>ete skontrolova<76> medzin<69>rodn<64> znaky, sk<73>ste zapn<70><6E> prep<65>na<6E>
\family sans
Vstupn<EFBFBD> k<>dovanie pre ispell
\family default
.
\layout Section
Medzin<EFBFBD>rodn<EFBFBD> podpora
\layout Standard
T<EFBFBD>to sekcia popisuje ako pou<6F><75>va<76> LyX s in<69>mi jazykmi.
LyX je <20>tandardne nakonfigurovan<61> tak, <20>e podporuje anglizk<7A> jazyk na US
kl<6B>vesnici so <20>tandardnou US ve<76>kos<6F>ou papiera a kontrolou pravopisu nastavenou
na US angli<6C>tinu.
Niektor<6F> alebo v<>etky z t<>chto nastaven<65> m<><6D>ete zmeni<6E> a zmeny m<><6D>u plati<74>
len na aktu<74>lne sedenie, alebo ich m<><6D>ete pou<6F><75>va<76> ako nov<6F> <20>tandardn<64>
konfigur<75>ciu.
\layout Standard
Ak m<>te kl<6B>vesnicu prisp<73>soben<65> jazyku ktor<6F> pou<6F><75>vate (napr<70>klad nemeck<63>
kl<6B>vesnicu na p<>sanie po nemecky) a m<>te spr<70>vne nakonfigurovan<61> prostredie
X Window, v<>etko <20>o potrebujete urobi<62> pre LyX je poveda<64> mu svoj jazyk,
k<>dovanie znakov a po<70>adovan<61> ve<76>kos<6F> papiera.
Pre viac inform<72>ci<63> si pozrite sekciu
\begin_inset LatexCommand \ref{sec: jazyk}
\end_inset
.
\layout Standard
Mo<EFBFBD>no by ste chceli zmeni<6E> mapovanie niektor<6F>ch kl<6B>vesov, alebo vytvori<72>
si <20>plne odli<6C>n<EFBFBD> mapovanie.
Napr<70>klad norm<72>lne p<><70>ete v talian<61>ite na americkej kl<6B>vesnici ale pr<70>le<6C>itostn
e chcete vlo<6C>i<EFBFBD> cit<69>ty po nemecky.
V takomto pr<70>pade si m<><6D>ete vytvori<72> svoje vlastn<74> mapovanie kl<6B>vesnice,
alebo modifikova<76> existuj<75>ce, aby podporovalo znaky, ktor<6F> chcete.
\layout Standard
Detaily a tom ako si prisp<73>sobi<62> LyX svojmu jazyku je cesta za hranicami
tohto manu<6E>lu.
Nemus<75>te si zmeni<6E> len kl<6B>vesnicu.
Zmeni<6E> m<><6D>ete menu, n<>zvy tla<6C><61>tok at<61>., aby boli vo va<76>om rodnom jazyku.
Ak sa chcete nau<61>i<EFBFBD> viac o p<>san<61> m<>p pre kl<6B>vesnicu a prisp<73>soben<65> LyXu
svojmu rodn<64>mu jazyku, pre<72><65>tajte si manu<6E>l
\emph on
Prisp<EFBFBD>sobenie
\emph toggle
.
\layout Subsection
\family sans
Rozlo<EFBFBD>enie Dokumentu
\layout Standard
\begin_inset LatexCommand \label{sec: jazyk}
\end_inset
V okne
\family sans
Rozlo<EFBFBD>enie dokumentu
\family default
si m<><6D>ete okrem in<69>ch vec<65> nastavi<76> jazyk a k<>dovanie znakov pre v<><76> jazyk.
\layout Standard
Svoj jazyk si vyberiete kliknut<75>m na rozba<62>ovacie menu Jazyk.
<20>tandardn<64> je americk<63> angli<6C>tina.
\begin_inset Foot
collapsed true
\layout Standard
Ak vyberiete in<69> jazyk ako
\family sans
default
\family default
, automaticky sa LaTeXu prid<69> podpora Babel.
Ak Babel nem<65>te nain<69>talovan<61>, pozrite sa po in<69>ch distrib<69>ciach LaTeXu.
\end_inset
\layout Standard
Menu K<>dovanie v<>m dovo<76>uje vybra<72> si k<>dovanie znakov, ktor<6F> chcete pou<6F>i<EFBFBD>.
<20>tandardn<64> (
\family sans
default
\family default
) je
\family typewriter
ASCII
\family default
k<>dovanie, ktor<6F> je posta<74>uj<75>ce pre angli<6C>tinu.
Vylep<65>en<65>
\family typewriter
ASCII
\family default
k<>dovanie je k<>dovanie
\family typewriter
Latin1
\family default
, ktor<6F> zah<61><68>a znaky vy<76>adovan<61> niektor<6F>mi jazykmi z<>padnej Eur<75>py.
Tretia mo<6D>nos<6F>,
\family typewriter
Latin2
\family default
, je s podporou jazykov v<>chodnej Eur<75>py.
Vyberte si teda to, ktor<6F> v<>m vyhovuje.
(Pre k<>dovanie znkov si pozrite sekciu
\begin_inset LatexCommand \ref{sec: klavtab}
\end_inset
.)
\layout Subsection
\family sans
Parametre kl<6B>vesnice
\layout Standard
\begin_inset LatexCommand \label{sec: optkey}
\end_inset
Dial<EFBFBD>g
\family sans
Mo<EFBFBD>nosti->Kl<4B>vesnica
\family default
v<>m dovo<76>uje vybra<72> si mapovanie kl<6B>vesnice.
M<>\SpecialChar \-
<EFBFBD>ete si vybra<72> prim<69>rny a sekund<6E>rny jazyk a potom ozna<6E>i<EFBFBD>, ktor<6F> chcete
pou<6F><75>va<76>.
\layout Standard
V <20>asti
\family sans
Jazyk
\family default
si vyberte
\family sans
Prim<EFBFBD>rny
\family default
a
\family sans
Sekund<EFBFBD>rny
\family default
jazyk.
Potom si v <20>asti
\family sans
Mapovanie
\family default
nastavte <20>i chcete pou<6F>i<EFBFBD> mapovanie pre prim<69>rny alebo sekund<6E>rny jazyk,
alebo nastavte
\family sans
<EFBFBD>iadne mapovanie
\family default
, ak alternat<61>vne mapovania nechcete pou<6F><75>va<76>.
\layout Standard
V textovom poli
\family sans
Znakov<EFBFBD> sada
\family default
si m<><6D>ete nastavi<76> snakov<6F> sadu, ak v<><76> jazyk pou<6F><75>va viac ako jednu.
Napr<70>klad gr<67><72>tina pou<6F><75>va dve a u<><75>vate<74> tu m<><6D>e zada<64>
\family typewriter
iso-8859-7
\family default
.
Potom bude nastaven<65> pr<70>slu<6C>n<EFBFBD> mapovanie.
\layout Standard
V<EFBFBD>imnite si, <20>e pri v<>bere jazykov m<>te aj mo<6D>nos<6F>
\family sans
In<EFBFBD>
\family default
.
Toto m<><6D>ete pou<6F>i<EFBFBD>, ak chcete vybra<72> u<><75>vate<74>sk<73> mapovanie, ktor<6F> ste si
vytvorili.
Napr<70>klad distrib<69>cia LyXu poskytuje mapovanie
\family typewriter
american-2
\family default
, v adres<65>ri
\family typewriter
$LYX_DIR/kbd
\family default
.
Toto mapovanie podporuje niektor<6F> znaky in<69>ch jazykov.
Aby ste ho mohli pou<6F><75>va<76>, ako prim<69>rny jazyk vyberte
\family sans
In<EFBFBD>
\family default
a nap<61><70>te meno mapy kl<6B>vesnice (
\family typewriter
american-2
\family default
) a kliknite na OK.
\layout Chapter
LyX a LaTeX
\layout Section
Ako LyX pou<6F><75>va LaTeX
\layout Standard
\begin_inset LatexCommand \label{sec: lyxalatex}
\end_inset
T<EFBFBD>to kapitola je aj pre TeX-nikov aj pre LaTeX-chtiv<69>ch.
Vysvetl<74>me v nej ako LyX a LaTeX spolupracuj<75> aby vyprodukovali vytla<6C>ite<74>n<EFBFBD>
v<>stup.
Toto je jedin<69> miesto v hociktorom z manu<6E>lov, kde predpoklad<61>me, <20>e viete
nie<69>o o LaTeXu.
\layout Standard
Kedysi sme LyX nazvali
\begin_inset Quotes gld
\end_inset
WYSIWYM frontendom k LaTeXu
\begin_inset Quotes grd
\end_inset
, ale to u<> nie je pravda.
S<> aj in<69> frontendy k LaTeXu.
Tie s<> jednoducho editory, so schopnos<6F>ou spusti<74> LaTeX a ozna<6E>i<EFBFBD> v<>etky
chyby v s<>bore, ktor<6F> editujete.
Aj ke<6B> LyX
\emph on
je
\emph toggle
editor a
\emph on
sp<EFBFBD><EFBFBD><EFBFBD>a
\emph toggle
LaTeX a tie<69> ozna<6E>uje chyby v s<>bore, dok<6F><6B>e toho e<>te ove<76>a, ove<76>a viac.
V<>aka konceptu WYSIWYM
\emph default
\begin_inset Foot
collapsed true
\layout Standard
What You See Is What You Mean (To <20>o vid<69><64>, je to <20>o mysl<73><6C>)
\end_inset
, nepotrebujete LaTeX aby ste mohli efekt<6B>vne LyX vyu<79><75>va<76>.
LyX tie<69> LaTeXu prid<69>va p<>r roz<6F><7A>ren<65>.
\begin_inset Foot
collapsed true
\layout Standard
V<EFBFBD>vojov<EFBFBD> t<>m to urobil k<>li k<>du.
Nov<6F> makr<6B> umo<6D><6F>uj<75> LyXu jednoduch<63>ie vyprodukova<76> LaTeXov<6F> k<>d a uisti<74>
sa, <20>e v<>stupn<70> k<>d je spr<70>vny.
Ni<4E>, s <20><>m by ste si vy ako u<><75>vate<74> mali l<>ma<6D> hlavu.
\end_inset
Niekedy vysk<73><6B>ajte pr<70>kaz
\family sans
ako\SpecialChar ~
LaTeX
\family default
z menu
\family sans
S<EFBFBD>bor->Export
\family default
a potom si pozrite preambulu v<>stupn<70>ho
\family typewriter
.tex
\family default
s<>boru.
V<>imnete si rozli<6C>n<EFBFBD> nov<6F> makr<6B>, <20>peci<63>lne definovan<61> LyXom.
\begin_inset Foot
collapsed true
\layout Standard
Trochu hist<73>rie: kedysi v<>etky tieto makr<6B> boli s<>bore
\family typewriter
lyx.sty
\family default
.
T<>m sa rozhodol, <20>e s<>bory
\family typewriter
.tex
\family default
generovan<61> LyXom by mali by<62> prenosnej<65>ie.
Tak<61>e teraz s<> makr<6B> v preambule.
\end_inset
Av<41>ak vo<76>i u<><75>vate<74>ovi je toto v<>etko transparentn<74>.
\layout Standard
Je p<><70> pr<70>kazov, ktor<6F> automaticky spustia LaTeX.
S<> to:
\layout Itemize
\family sans
Zobrazi<EFBFBD>\SpecialChar ~
DVI
\layout Itemize
\family sans
Zobrazi<EFBFBD>\SpecialChar ~
PostScript
\layout Itemize
\family sans
Aktualizova<EFBFBD>\SpecialChar ~
DVI
\layout Itemize
\family sans
Aktualizova<EFBFBD>\SpecialChar ~
PostScript
\layout Itemize
\family sans
Tla<EFBFBD>i<EFBFBD>
\layout Standard
V<EFBFBD>etky sa nach<63>dzaj<61> v menu S<>bor.
LaTeX bude spusten<65> len vtedy, ak sa dokument zmenil od posledn<64>ho spustenia
LaTeXu.
\layout Standard
Ak LaTeX spust<73>te na s<>bor ktor<6F> pr<70>ve editujete, LyX vykon<6F> tieto kroky:
\layout Enumerate
Skonvertuje dokument do LaTeXu a s<>bor ulo<6C><6F> s pr<70>ponou
\family typewriter
.tex.
\layout Enumerate
Spust<EFBFBD> LaTeX na
\family typewriter
.tex
\family default
s<>bor (mo<6D>no nieko<6B>ko kr<6B>t).
\layout Enumerate
Ak sa vyskytn<74> nejak<61> chyby, v dokumente ich ozna<6E><61>.
\layout Standard
Ak bol LaTeX spusten<65> pr<70>kazom
\family sans
Zobrazi<EFBFBD>\SpecialChar ~
DVI
\family default
, potom spust<73>
\family typewriter
xdvi
\family default
na zobrazenie
\family typewriter
dvi
\family default
s<>boru.
Ak ste pou<6F>ili
\family sans
Zobrazi<EFBFBD>\SpecialChar ~
PostScript
\family default
alebo
\family sans
Tla<EFBFBD>i<EFBFBD>
\family default
, LyX vykon<6F> e<>te dva kroky:
\layout Itemize
Skonvertuje DVI do PostScriptu pomocou
\family typewriter
dvips
\family default
:
\begin_deeper
\layout Itemize
Pre
\family sans
Zobrazi<EFBFBD>\SpecialChar ~
PostScript
\family default
bude pr<70>pona v<>stupn<70>ho s<>boru
\family typewriter
.ps_tmp
\layout Itemize
Pre
\family sans
Tla<EFBFBD>i<EFBFBD>
\family default
bude pr<70>pona
\family typewriter
.ps
\end_deeper
\layout Itemize
Spust<EFBFBD>
\family typewriter
ghostview
\family default
alebo po<70>le PostScriptov<6F> s<>bor na tla<6C>iare<72>.
\layout Section
\begin_inset Quotes gld
\end_inset
Pomoc! LyX vygeneroval ne<6E><65>tate<74>n<EFBFBD>
\family typewriter
.tex
\family default
s<>bor.
\begin_inset Quotes grd
\end_inset
\layout Standard
Zaryt<EFBFBD> pou<6F><75>vatelia LaTeXu bud<75> kri<72>a<EFBFBD> a do noci zav<61>ja<6A> a potom LyX vyhl<68>sia
za neu<65>ito<74>n<EFBFBD>, jednoducho preto, lebo ne<6E><65>tali manu<6E>l.
\begin_inset Foot
collapsed true
\layout Standard
\emph on
Pozn.
prekl.:
\emph toggle
V origin<69>li bolo nap<61>sane
\begin_inset Quotes gld
\end_inset
\SpecialChar \ldots{}
didn't RTFM
\begin_inset Quotes grd
\end_inset
, kde RTFM sa mi zd<7A> <20>e znamen<65> Read The Fucking Manual :-).
\end_inset
\layout Standard
Uvedieme to na spr<70>vnu mieru.
LyX produkuje dva typy LaTeXov<6F>ch s<>borov.
Jeden je <20>udsky-<2D>itate<74>n<EFBFBD> a druh<75> <20>itate<74>n<EFBFBD> pre LyX.
V<>dy, ke<6B> LyX spust<73> LaTeX, produkuje LaTeXov<6F> s<>bor, v ktorom m<><6D>e jednoducho
h<>ada<64> chyby.
V<>sledn<64>
\family typewriter
.tex
\family default
s<>bor nie je <20>udsky-<2D>itate<74>n<EFBFBD>.
Nikdy sa ho nepok<6F><6B>ajte <20><>ta<74>.
Ak chcete .tex s<>bor, ktor<6F> chcete posla<6C> kolegovi, dokument exportujte
\family sans
ako\SpecialChar ~
LaTeX
\family default
z menu s<>bor.
\layout Standard
Povieme to e<>te raz, pre t<>ch, ktor<6F> ch<63>pu pomal<61>ie:
\layout Quote
Ak chcete
\family typewriter
.tex
\family default
s<>bor, ktor<6F> m<><6D>te posla<6C> kolegovi, vyberte pr<70>kaz
\family sans
S<EFBFBD>bor->Export->ako\SpecialChar ~
LaTeX
\family default
.
\layout Section
Preklad LaTeXov<6F>ch s<>borov do LyXu
\layout Standard
Ve<EFBFBD>a zo za<7A>iato<74>n<EFBFBD>kov v LyXe je u<> zozn<7A>men<65> s LaTeXom.
Oby<62>ajne sa p<>taj<61>, <20>i je mo<6D>n<EFBFBD> prelo<6C>i<EFBFBD> LaTeXov<6F> s<>bor do LyXu.
Odpove<76> je
\begin_inset Quotes gld
\end_inset
niektor<EFBFBD> druhy
\begin_inset Quotes grd
\end_inset
.
Preklada<64> LaTeXu do LyXu nazvan<61> reLyX sa vyv<79>ja, ktor<6F> skonvertuje LaTeX
s<>bor do LyXu, pri<72>om nezn<7A>me pr<70>kazy a prostredia nech<63> v prostred<65> LaTeX.
Preklada<64> a in<69>trukcie ako ho pou<6F><75>va<76> n<>jdete v distrib<69>cii LyXu pod adres<65>rom
\family typewriter
development/reLyX
\family default
.
Aj ke<6B> je st<73>le nov<6F> a m<> chyby, ve<76>mi r<>chlo sa vyv<79>ja, a m<><6D>e v<>m u<>etri<72>
ve<76>a pr<70>ce.
\layout Standard
Nov<EFBFBD> verzie LyXu bud<75> schopn<70> <20><>ta<74> (takmer) oby<62>ajn<6A> star<61> LaTeX.
Av<41>ak dovtedy v<>m <20>as u<>etr<74> reLyX.
\layout Standard
Ak nem<65><6D>ete reLyX prin<69>ti<74> pacova<76>, alebo chcete do LyX s<>boru vlo<6C>i<EFBFBD> len
<20>as<61> LaTeXov<6F>ho k<>du, pozrite si sekciu
\begin_inset LatexCommand \ref{sec: latexcodes}
\end_inset
.
\layout Section
Vkladanie LaTeXov<6F>ho k<>du do dokumentov LyXu
\layout Standard
\begin_inset LatexCommand \label{sec: latexcodes}
\end_inset
Toto je dos<6F> d<>le<6C>it<69> vec: Do LyXov<6F>ho dokumentu m<><6D>ete v<>dy vlo<6C>i<EFBFBD> LaTeXov<6F>
k<>d.
LyX jednoducho nem<65><6D>e a pravdepodobne ani nikdy nebude m<>c<EFBFBD> zobrazi<7A> v<>etky
mo<6D>n<EFBFBD> LaTeXov<6F> kon<6F>trukcie.
Ak potrebujete vlo<6C>i<EFBFBD> pr<70>kaz LaTeXu do svojho dokumentu, m<>te dve mo<6D>nosti:
\layout Description
Inline: Hocikedy a hocikde ozna<6E>te blok textu ako LaTeX.
\begin_deeper
\layout Itemize
S<EFBFBD> tri sp<73>soby pre tento pr<70>kaz:
\begin_deeper
\layout Itemize
Menu:
\family sans
Rozlo<EFBFBD>enie-><3E>t<EFBFBD>l\SpecialChar ~
TeX
\layout Itemize
Tla<EFBFBD><EFBFBD>tkom na li<6C>te: Tla<6C><61>tko s <20>erven<65>m slovom
\begin_inset Quotes gld
\end_inset
TeX
\begin_inset Quotes grd
\end_inset
\layout Itemize
Kl<EFBFBD>vesov<EFBFBD> skratka:
\family sans
M-c\SpecialChar ~
t
\layout Standard
Funguje to ako <20>t<EFBFBD>l znaku.
<20>t<EFBFBD>l TeX m<><6D>ete vyp<79>na<6E> a zap<61>na<6E>.
Ak je zapnut<75>, v<>etko <20>o nap<61><70>ete bude v re<72>ime TeX.
\end_deeper
\layout Itemize
Je to najlep<65>ie pre kr<6B>tke k<>sky LaTeXov<6F>ho k<>du.
\begin_deeper
\layout Standard
S pou<6F>it<69>m <20>t<EFBFBD>lu TeX sme sa u<> stretli v sekci<63>ch
\begin_inset LatexCommand \ref{sec: skratky}
\end_inset
a
\begin_inset LatexCommand \ref{sec: ligatury}
\end_inset
.
\end_deeper
\end_deeper
\layout Description
Prostredie\SpecialChar ~
\family sans
LaTeX
\family default
: S t<>mto sme sa u<> tie<69> stretli v sekcii
\begin_inset LatexCommand \ref{sec: LaTeXlayout}
\end_inset
.
\begin_deeper
\layout Itemize
Prostredie odseku
\family sans
LaTeX
\family default
je ur<75>en<65> pre ve<76>k<EFBFBD> bloky LaTeXov<6F>ho k<>du.
Jeho pou<6F>itie je celkom jednoduch<63>, ak dodr<64><72>te p<>r r<>d:
\begin_deeper
\layout Itemize
Riadky zalamujte
\family sans
C-Enter
\family default
.
Samotn<74>
\family sans
Enter
\family default
nastav<61> prostredie na
\family sans
Standard
\family default
.
\layout Itemize
Riadky neza<7A><61>najte
\family sans
Medzerou
\family default
.
LyX m<> chybu, ktor<6F> sa na tak<61>chto riadkoch prejav<61>.
(Viem <20>e to znamen<65>, <20>e nem<65><6D>ete svoj LaTeX k<>d odsadzova<76>, aby vyzeral
pekne.)
\layout Itemize
Prostredie
\family sans
LaTeX
\family default
\emph on
m<EFBFBD><EFBFBD>ete
\emph toggle
vn<76>ra<72> do in<69>ch prostred<65>.
Napr<70>klad predpokladajme, <20>e chcete urobi<62> toto:
\begin_deeper
\layout LyX-Code
\backslash
begin{itemize}
\newline
\backslash
item .....
\newline
.
\newline
.
\newline
.
\newline
%V<><56> LaTeXov<6F> k<>d, aby nie<69>o urobil
\newline
%
\newline
.
\newline
.
\newline
.
\newline
\backslash
end{itemize}
\end_deeper
\layout Standard
Rovnak<EFBFBD> vec dosiahnete, ak prostredie
\family sans
LaTeX
\family default
vnor<6F>te do prostredia
\family sans
Itemize
\family default
.
\end_deeper
\layout Itemize
Tu je pr<70>klad k<>du v prostred<65> LaTeX.
K<>d vyzer<65> takto:
\begin_deeper
\layout LyX-Code
\backslash
begin{tabular}{ll}
\newline
\backslash
begin{minipage}{5cm}
\newline
Toto je pr<70>kald prostredia minipage.
\newline
Do neho m<><6D>ete vlo<6C>i<EFBFBD> takmer v<>etko,
\newline
dokonca aj (nepl<70>vaj<61>ce) obr<62>zky a tabu<62>ky.
\newline
\backslash
end{minipage}
\newline
%
\newline
\backslash
begin{minipage}{5cm}
\newline
\backslash
begin{verbatim}
\newline
\backslash
begin{minipage}{5cm}
\newline
Toto ...
\newline
\backslash
end{minipage}
\newline
\backslash
end{verbatim}
\newline
\backslash
end{minipage}
\newline
\backslash
end{tabular}
\layout Standard
Teraz nasleduje to ist<73> v prostred<65> LaTeX.
T<> z v<>s, ktor<6F> <20><>taj<61> tento dokument online, bud<75> vidie<69> len <20>erven<65> text.
T<>, ktor<6F> <20><>taj<61> vytla<6C>en<65> verziu dokumentu uvidia kone<6E>n<EFBFBD> v<>sledok:
\layout Standard
\begin_inset ERT
status Collapsed
\layout Standard
\backslash
begin{tabular}{ll}
\newline
\backslash
begin{minipage}{5cm}
\newline
Toto je pr<70>kald prostredia minipage. Do neho m<><6D>ete vlo<6C>i<EFBFBD> takmer v<>etko, dokonca aj (nepl<70>vaj<61>ce) obr<62>zky a tabu<62>ky.
\newline
\backslash
end{minipage}
\newline
%
\newline
\backslash
begin{minipage}{5cm}
\newline
\backslash
begin{verbatim}
\newline
\backslash
begin{minipage}{5cm}
\newline
Toto ...
\newline
\backslash
end{minipage}
\newline
\backslash
end{verbatim}
\newline
\backslash
end{minipage}
\newline
\backslash
end{tabular}
\end_inset
\end_deeper
\end_deeper
\layout Standard
Okrem t<>chto dvoch met<65>d m<><6D>ete e<>te vytvori<72> samostatn<74> s<>bor, ktor<6F> bude
obsahova<76> zlo<6C>it<69> LaTeXov<6F> <20>trukt<6B>ru.
Potom m<><6D>ete pou<6F>i<EFBFBD> <20>t<EFBFBD>l TeX alebo prostredie LaTeX a do dokumentu vlo<6C>i<EFBFBD>
LaTeXov<6F> pr<70>kaz
\begin_inset Quotes gld
\end_inset
\family typewriter
\backslash
input{m<>js<6A>bor}
\family default
\begin_inset Quotes grd
\end_inset
.
LaTeX potom do v<><76>ho dokumentu vlo<6C><6F> s<>bor
\begin_inset Quotes gld
\end_inset
\family typewriter
m<EFBFBD>js<EFBFBD>bor.tex
\family default
\begin_inset Quotes grd
\end_inset
(v<>imnite si pr<70>ponu
\begin_inset Quotes gld
\end_inset
\family typewriter
.tex
\family default
\begin_inset Quotes grd
\end_inset
.
Toto doporu<72>ujeme pou<6F><75>va<76> len ke<6B> viete, <20>e dan<61>
\family typewriter
.tex
\family default
s<>bor pracuje spr<70>vne.
Inak si sp<73>sob<6F>te vygenerovanie mnoh<6F>ch LaTeXov<6F>ch ch<63>b.
\layout Standard
Nakoniec e<>te p<>r pozn<7A>mok:
\layout Itemize
V LyXe sa LaTeXov<6F> k<>d zobrazuje
\emph on
<EFBFBD>erven<EFBFBD>m
\emph toggle
p<>smom.
\layout Itemize
LyX nekontroluje, <20>i je v<><76> LaTeXov<6F> k<>d spr<70>vny.
\layout Itemize
Vyvarujte sa znovu-vynach<63>dzaniu kolesa.
\layout Standard
Posledn<EFBFBD> pozn<7A>mka sa t<>ka dvoch vec<65>.
Poprv<72>, LyX m<> v sebe zabudovan<61>ch dos<6F> vec<65> a <20>al<61>ie sa prid<69>vaj<61>.
V manu<6E>loch sa uistite, <20>e LyX nem<65> tak<61> a tak<61> vec e<>te predt<64>m, ne<6E> za<7A>nete
p<>sa<73> k<>d LaTeXu.
Podruh<75>, existuje ve<76>a LaTeXov<6F>ch bal<61>kov, ktor<6F> robia r<>zne veci, od popisov,
cez ob<6F>lky a<> po viac-str<74>nkov<6F> tabu<62>ky.
\layout Standard
Ak potrebujete vo svojom dokumente urobi<62> nie<69>o divok<6F>, tak si ako asistenta
zaobstarajte dobr<62> knihu o LaTeXu.
Niektor<6F> s<> spomenut<75> v literat<61>re tohto manu<6E>lu.
\layout Standard
Niektor<EFBFBD> pr<70>kazy LaTeXu musia by<62> umiestnen<65> pred za<7A>iatkom aktu<74>lneho textu.
Tie patria do preambuly, o ktorej je p<>san<61> v <20>al<61>ej sekcii.
\layout Section
LyX a LaTeX preambula
\layout Subsection
O LaTeX preambule
\layout Standard
\begin_inset LatexCommand \label{sec: preambula}
\end_inset
Ak u<> pozn<7A>te LaTeX, tak v<>m netreba vysvet<65>ova<76> na<6E>o je dobr<62> preambula.
Ak nie, nasleduj<75>ca <20>as<61> v<>m d<> zop<6F>r n<>vrhov --- znovu doporu<72>ujeme aby
ste si pre podrobnej<65>ie inform<72>cie pozreli nejak<61> knihu o LaTeXu.
V ka<6B>dom pr<70>pade by ste si mali pre<72><65>ta<74> toto, preto<74>e vysvet<65>ujeme <20>o
m<><6D>ete robi<62> a <20>o nemus<75>te v LaTeX preambule v dokumente LyXu.
\layout Standard
LaTeX preambula je na samom za<7A>iatku dokumentu,
\emph on
pred
\emph toggle
textom.
Sl<53><6C>i na:
\layout Itemize
Deklaruje triedu dokumentu.
LyX toto rob<6F> za v<>s.
\begin_deeper
\layout Standard
Ak ste len
\begin_inset Quotes gld
\end_inset
sviato<EFBFBD>n<EFBFBD>
\begin_inset Quotes grd
\end_inset
pou<6F><75>vate<74> LaTeXu a m<>te nejak<61> u<><75>vate<74>sk<73> triedy, ktor<6F> chcete pou<6F>i<EFBFBD>,
pozrite sa do manu<6E>lu
\emph on
Prisp<EFBFBD>sobenie
\emph toggle
.
\end_deeper
\layout Itemize
Deklaruje pou<6F>itie bal<61>kov.
LaTeXov<6F> bal<61>ky poskytuj<75> <20>peci<63>lne pr<70>kazy, ktor<6F> s<> v dokumente pou<6F>ite<74>n<EFBFBD>,
len ak bol dan<61> bal<61>k deklarovan<61> v preambule.
Napr<70>klad bal<61>k
\family typewriter
indentfirst
\family default
prin<69>ti v<>etky odseky by<62> odsa\SpecialChar \-
den<EFBFBD>.
S<> <20>al<61>ie bal<61>ky na popisky, ob<6F>lky, okraje at<61>.
\layout Itemize
Nastavuje po<70><6F>tadl<64>, premenn<6E>, d<><64>ky a <20><>rky.
Je nieko<6B>ko LaTeXov<6F>ch po<70><6F>tadiel a premenn<6E>ch, ktor<6F>
\emph on
musia
\emph toggle
by<62> nastaven<65> glob<6F>lne v preambule, aby mali po<70>adovan<61> efekt.
(Tie<69> s<> aj premenn<6E>, ktor<6F> m<><6D>ete nastavova<76> a nulova<76> priamo v dokumente.)
Okraje s<> dobr<62>m pr<70>kladom toho, <20>o mus<75> by<62> nastaven<65> v preambule.
<20>al<61><6C>m pr<70>kladom je form<72>t popiskov zoznamov.
V skuto<74>nosti tieto m<><6D>te nastavi<76> hocikde, ale najlep<65>ie je urobi<62> to
raz, v preambule.
\layout Itemize
Deklar<EFBFBD>ciu u<><75>vate<74>sky definovan<61>ch pr<70>kazov (pomocou
\family typewriter
\backslash
newcommand
\family default
alebo
\family typewriter
\backslash
renewcommand
\family default
), hlavne skratiek pre LaTeXov<6F> pr<70>kazy, ktor<6F> sa v dokumente vyskytuj<75>
ve<76>mi <20>asto.
Aj ke<6B> je preambula dobr<62>m miestom na deklar<61>ciu tak<61>chto pr<70>kazov,
\emph on
m<EFBFBD><EFBFBD>u
\emph toggle
by<62> deklarovan<61> hocikde (Samozrejme pred miestom, kde s<> po prv<72> kr<6B>t pou<6F>it<69>.)
\layout Standard
LyX prid<69>va do preambuly
\family typewriter
.tex
\family default
s<>boru ktor<6F> vyprodukuje svoje vlastn<74> defin<69>cie.
Takto sa LaTeXov<6F> s<>bory vygenerovan<61> LyXom st<73>vaj<61> prenosn<73>.
\layout Subsection
Zmena preambuly
\layout Standard
Pr<EFBFBD>kazy, ktor<6F> do preambuly vklad<61> LyX s<> fixn<78>: vy ich nem<65><6D>ete zmeni<6E>.
Av<41>ak do preambuly m<><6D>ete prida<64> svoje vlastn<74> veci.
D<> sa to urobi<62> dvoma sp<73>sobmi:
\layout Enumerate
Z menu
\family sans
Rozlo<EFBFBD>enie
\family default
vyberte pr<70>kaz
\family sans
LaTeX\SpecialChar ~
preambula
\family default
.
Otvor<6F> sa v<>m okno, do ktor<6F>ho m<><6D>ete nap<61>sa<73> svoje ob<6F><62>ben<65> pr<70>kazy.
\begin_deeper
\layout Standard
Editovacie spr<70>vanie sa tohto okna je z<>visl<73> na toolkite, tak<61>e neo<65>ak<61>vajte,
<20>e v <20>om bud<75> fungova<76> LyXov<6F> skratky.
\end_deeper
\layout Enumerate
Nastavte toto vo svojej <20>tandardnej <20>abl<62>ne (pozri
\begin_inset LatexCommand \ref{sec: nastavenie}
\end_inset
), tak<61>e toto bude <20>tandardn<64> preambula pre ka<6B>d<EFBFBD> s<>bor, ktor<6F> vytvor<6F>te.
\layout Standard
V<EFBFBD>etko, <20>o je v
\family sans
LaTeX\SpecialChar ~
preambule
\family default
LyX prid<69> do svojej vlastnej vstavanej preambuly.
Predt<64>m, ne<6E> do preambuly nie<69>o prid<69>te, mali by ste sa uisti<74>, <20>i LyX
nepodporuje to, <20>o chcete urobi<62> (pam<61>t<EFBFBD>te si na to <20>o sme povedali o znovu-vyn
<EFBFBD>jden<EFBFBD> kolesa?).
Tie<69>
\emph on
sa uistite, <20>e k<>d va<76>ej preambuly je spr<70>vny
\emph toggle
.
LyX to nekontroluje.
\layout Subsection
Pr<EFBFBD>klady
\layout Standard
Tu je p<>r pr<70>kladov toho, <20>o m<><6D>ete do preambuly prida<64> a <20>o to rob<6F>:
\layout Subsubsection
Pr<EFBFBD>klad <20>.
1: Posunutie
\layout Standard
V LaTeXu s<> dve premenn<6E>, ktor<6F> ovl<76>daj<61>poz<6F>ciu str<74>nky:
\family typewriter
\backslash
hoffset
\family default
(horizont<6E>lne posunutie) a
\family typewriter
\backslash
voffset
\family default
(vertik<69>lne posunutie).
\layout Standard
<EFBFBD>tandardn<EFBFBD> hodnoty pre
\family typewriter
\backslash
hoffset
\family default
a
\family typewriter
\backslash
voffset
\family default
s<> 0 pt, tzn., <20>e str<74>nka nie je posunut<75>.
\layout Standard
Nane<EFBFBD><EFBFBD>astie, niektor<6F> DVI ovl<76>da<64>e v<>dy str<74>nku posun<75>.
Nevieme pre<72>o, alebo pre<72>o tak<61>to spr<70>vanie e<>te nebolo odstr<74>nen<65>.
Tu v<>m m<><6D>u pom<6F>c<EFBFBD> tieto dve premenn<6E>.
Predpokladajme, <20>e v<><76> <20>av<61> a horn<72> okraj s<> v<>dy o 0,5 cm v<><76><EFBFBD>ie.
Do preambuly m<><6D>te prida<64> toto:
\layout LyX-Code
\backslash
setlength{
\backslash
hoffset}{-0.5 cm}
\layout LyX-Code
\backslash
setlength{
\backslash
voffset}{-0.5 cm}
\layout Standard
\SpecialChar \ldots{}
a va<76>e okraje bud<75> teraz spr<70>vne.
\layout Subsubsection
Pr<EFBFBD>klad <20>.
2: <20>t<EFBFBD>tky
\layout Standard
Ke<EFBFBD> hovor<6F>me o <20>t<EFBFBD>tkoch, predpokladajme, <20>e chcete vytla<6C>i<EFBFBD> p<>r adresn<73>ch
<20>t<EFBFBD>tkov.
Na <20>t<EFBFBD>tky existuej pekn<6B> bal<61>k, nazvan<61>
\family typewriter
labels.sty
\family default
.
V<><56> syst<73>m ho nemus<75> ma<6D> <20>tandardne nain<69>talovan<61>.
Toto si mus<75>te zisti<74>.
Tie<69> by ste si k tomu bal<61>ku mali pre<72><65>ta<74> dokument<6E>ciu.
My to za v<>s neurob<6F>me.
Ale preto<74>e toto je pr<70>klad, uk<75><6B>eme v<>m ako tento bal<61>k pou<6F>i<EFBFBD>.
\layout Standard
Najprv sa uistite, <20>e m<>te nastaven<65> triedu dokumentu
\family sans
article
\family default
.
Teraz do preambuly vlo<6C>te nasleduj<75>ce riadky:
\layout LyX-Code
\backslash
usepackage{labels}
\layout LyX-Code
\backslash
LabelCols=3
\layout LyX-Code
\backslash
LabelRows=7
\layout LyX-Code
\backslash
LeftBorder=8mm
\layout LyX-Code
\backslash
RightBorder=8mm
\layout LyX-Code
\backslash
TopBorder=9mm
\layout LyX-Code
\backslash
BottomBorder=2mm
\layout Standard
Teraz ste pripraven<65> tla<6C>i<EFBFBD> <20>t<EFBFBD>tky, ale okolo ka<6B>d<EFBFBD>ho textu <20>t<EFBFBD>tku budete
musie<69> vlo<6C>i<EFBFBD> LaTeXov<6F> pr<70>kazy
\family typewriter
\backslash
begin{labels}
\family default
a
\family typewriter
\backslash
end{labels}
\family default
.
Toto a <20>la<6C>ie vlastnosti
\family typewriter
labels.sty
\family default
s<> pop<6F>san<61> v dokument<6E>cii tohto bal<61>ka.
\layout Standard
Niekedy mo<6D>no niekdo nap<61><70>e rozlo<6C>enie LyXu aby tento bal<61>k podporoval priamo.
Mo<4D>no ten niekto ste pr<70>ve vy.
\layout Subsubsection
Pr<EFBFBD>klad <20>.
3: Odsadenie odsekov
\layout Standard
Ameri<EFBFBD>ania s<> zvyknut<75> odsadzova<76> prv<72> riadok
\emph on
ka<EFBFBD>d<EFBFBD>ho
\emph toggle
odseku.
Samozrejme, <20>e toto nie je <20>tandardn<64> typografick<63> spr<70>vanie.
V knih<69>ch s<> typicky odsaden<65> prv<72> riadky len t<>ch odsekov,
\emph on
pred
\emph toggle
ktor<6F>mi u<> nejak<61> odsek je.
My<4D>lienka odsadzovania prv<72>ho riadku odseku je, <20>e m<> oddeli<6C> susediace
odseky od seba.
Ak neexistuje predch<63>dzaj<61>ci odsek, napr<70>klad je tam obr<62>zok, alebo je
to prv<72> odsek sekcie, potom nie je <20>iadne odsadenie.
\layout Standard
Ak ste v<>ak typick<63> ameri<72>an, tak<61>mito vecami sa nezaober<65>te: chcete svoje
odsadenie! Do preambuly pridajte toto:
\layout LyX-Code
\backslash
usepackage{indentfirst}
\layout Standard
Ak nem<65>te nejak<61> divn<76> distrib<69>cie TeXu, tento bal<61>k budete ma<6D> a v<>etky
va<76>e odseky bud<75> ma<6D> odsadenie, ak<61> si zasl<73><6C>ia.
\layout Subsubsection
Pr<EFBFBD>klad <20>.
4: <20><>slovanie v prostred<65> odseku
\family sans
Enumerate
\layout Standard
<EFBFBD>tandardn<EFBFBD> <20><>slovanie pre prostredie
\family sans
Enumerate
\family default
za<7A><61>na arabsk<73>mi <20><>slami a kon<6F><6E> ve<76>k<EFBFBD>mi p<>smenami.
Predpokladajme, <20>e chcete in<69> sch<63>mu <20><>slovania.
Ako sme s<><73>bili, teraz uk<75><6B>eme, ako to urobi<62>.
\layout Standard
Tu je r<>chly pr<70>klad ako zmeni<6E> sch<63>mu <20><>slovania:
\layout LyX-Code
\backslash
renewcommand{
\backslash
labelnumi}{
\backslash
Roman{enumi}.}
\layout LyX-Code
\backslash
renewcommand{
\backslash
labelnumii}{
\backslash
Alph{enumii}.}
\layout LyX-Code
\backslash
renewcommand{
\backslash
labelnumiii}{
\backslash
arabic{enumiii}.}
\layout LyX-Code
\backslash
renewcommand{
\backslash
labelnumiv}{
\backslash
alph{enumiv}.)}
\layout Standard
\SpecialChar \ldots{}
ktor<EFBFBD> zmen<65> <20><>slovanie na ve<76>k<EFBFBD> r<>mske <20><>sla, ve<76>k<EFBFBD> p<>smen<65>, arabsk<73> <20><>sla
a mal<61> p<>smen<65> (
\begin_inset Quotes gld
\end_inset
I.
\begin_inset Quotes grd
\end_inset
,
\begin_inset Quotes gld
\end_inset
A.
\begin_inset Quotes grd
\end_inset
,
\begin_inset Quotes gld
\end_inset
1.
\begin_inset Quotes grd
\end_inset
,
\begin_inset Quotes gld
\end_inset
a.)
\begin_inset Quotes grd
\end_inset
).
\layout Standard
Ako z pr<70>kladu vidno, pre ka<6B>d<EFBFBD> <20>rove<76> vnorenia je pr<70>kaz
\family typewriter
\backslash
labelnumi
\family default
\SpecialChar \ldots{}
\family typewriter
\backslash
labelnumiv
\family default
a tie<69> po<70><6F>tadlo
\family typewriter
enumi
\family default
\SpecialChar \ldots{}
\family typewriter
enumiv
\family default
.
Tie<69> je p<><70> pr<70>kazov pre
\begin_inset Quotes gld
\end_inset
vy\SpecialChar \-
tla\SpecialChar \-
<EFBFBD>enie <20><>sla
\begin_inset Quotes grd
\end_inset
:
\family typewriter
\backslash
arabic{}
\family default
,
\family typewriter
\backslash
roman{}
\family default
,
\family typewriter
\backslash
Roman{}
\family default
,
\family typewriter
\backslash
alph{}
\family default
a
\family typewriter
\backslash
Alph{}
\family default
,z ktor<6F>ch ka<6B>d<EFBFBD> m<> jedno po<70><6F>tadlo ako argument.
Pred a za toto m<><6D>ete prid<69>va<76> znaky, ale nie je d<>vod d<>va<76> tam medzery.
\layout Standard
Takto m<><6D>ete robi<62> ve<76>mi pestr<74> veci.
Napr<70>klad:
\layout LyX-Code
\backslash
renewcommand{
\backslash
labelnumi}{
\backslash
#
\backslash
Alph{enumi}
\backslash
#}
\layout LyX-Code
\backslash
renewcommand{
\backslash
labelnumii}{
\backslash
Alph{enumi}.
\backslash
arabic{enumii}}
\layout LyX-Code
\backslash
renewcommand{
\backslash
labelnumiii}{
\backslash
alph{enumiii}+}
\layout LyX-Code
\backslash
renewcommand{
\backslash
labelnumiv}{(
\backslash
roman{enumiv})}
\layout Standard
vyprodukuje tak<61>to <20><>slovaciu sch<63>mu: (
\begin_inset Quotes gld
\end_inset
#A#
\begin_inset Quotes grd
\end_inset
,
\begin_inset Quotes gld
\end_inset
A.1
\begin_inset Quotes grd
\end_inset
,
\begin_inset Quotes gld
\end_inset
a+
\begin_inset Quotes grd
\end_inset
,
\begin_inset Quotes gld
\end_inset
(i)
\begin_inset Quotes grd
\end_inset
).
\layout Standard
Ako v<>etky pr<70>kazy preambuly, <20>iadny z nich sa neprejav<61> v LyXe, ktor<6F> je
iba WYSIWYM, ale vo fin<69>lnom v<>stupe bud<75>.
Je len na v<>s, aby ste sa uistili, <20>e k<>d preambuly m<> <20>iadan<61> efekt.
\layout Subsubsection
Pr<EFBFBD>klad <20>.
5: Tento dokument
\layout Standard
M<EFBFBD><EFBFBD>ete si pozrie<69> preambulu tohto dokumentu, k<>li n<>padom nejak<61>ch v<>hod,
ktor<6F> m<><6D>ete urobi<62>.
\layout Section
Chyby LyXu a LaTeXu
\layout Standard
Ke<EFBFBD> LyX vol<6F> LaTeX, povie mu, aby ignoroval v<>etky chyby a pokra<72>oval v
pr<70>ci.
Potom od LaTeXu vyu<79><75>va log-s<>bor.
Ako sme sa u<> sk<73>r zmienili, LyX generuje dva druhy
\family typewriter
.tex
\family default
s<>borov, z ktor<6F>ch sa jeden pou<6F><75>va na lokalizovanie ch<63>b v dokumente.
Ak sa niekde vyskytne chyba, LyX na to miesto vlo<6C><6F> zna<6E>ku so slovom
\begin_inset Quotes gld
\end_inset
Chyba
\begin_inset Quotes grd
\end_inset
.
\begin_inset Foot
collapsed true
\layout Standard
Pr<EFBFBD>le<EFBFBD>itostne sa LyX netraf<61> presne na miesto, kde sa chyba vyskytla.
Typicky sa to st<73>va pri tabu<62>k<EFBFBD>ch, obr<62>zkoch, matematike a preambule.
\end_inset
Tie<69> zobraz<61> hl<68><6C>ku, ktor<6F> v<>s upozor<6F>uje na fakt, <20>e sa vyskytli nejak<61>
chyby.
\layout Standard
Medzi chybami sa m<><6D>ete pohybova<76> pr<70>kazom
\family sans
<EFBFBD>s<EFBFBD>\SpecialChar ~
na\SpecialChar ~
chybu
\family default
z menu
\family sans
Upravi<EFBFBD>
\family default
.
Kliknut<75>m na zna<6E>ku chyby otvor<6F>te okno, kde si pre<72><65>tate chybov<6F> hl<68>senie,
ktor<6F> vyprodukoval LaTeX.
\layout Standard
Niektor<EFBFBD> <20>udia si radi pozr<7A> priamo log-s<>bor, pr<70>stupn<70> pr<70>kazom
\family sans
Pozrie<EFBFBD> LaTeX log s<>bor
\family default
z menu
\family sans
Upravi<EFBFBD>
\family default
.
V <20>om sa nach<63>dzaj<61> niektor<6F> be<62>n<EFBFBD> chybov<6F> hl<68>senia a varovania.
Tie si pop<6F><70>eme na tomto mieste.
Pre <20>pln<6C> zoznam by ste sa mali pozrie<69> do nejakej dobrej knihy o LaTeXu.
\layout Itemize
\begin_inset Quotes gld
\end_inset
\family typewriter
LaTeX Warning:
\family default
\begin_inset Quotes grd
\end_inset
\begin_deeper
\layout Standard
V<EFBFBD>etko, <20>o za<7A><61>na t<>mito slovami je varovn<76> hl<68><6C>ka.
Tak<61>to hl<68>senie m<><6D>ete dosta<74>, ak ste pridali alebo zmenili krosreferencie
alebo polo<6C>ky literat<61>ry a LaTeX v<>m oznamuje, <20>e by ste ho mali spusti<74>
znovu.
\layout Standard
Toto m<><6D>ete ignorova<76>.
\end_deeper
\layout Itemize
\begin_inset Quotes gld
\end_inset
\family typewriter
LaTeX Font Warning:
\family default
\begin_inset Quotes grd
\end_inset
\begin_deeper
\layout Standard
<EFBFBD>al<EFBFBD>ia varovn<76> hl<68><6C>ka, tentoraz o p<>sme, ktor<6F> LaTeX nemohol n<>js<6A>.
Zvy<76>ok hl<68>senia <20>asto hovor<6F> o p<>sme, ktor<6F> LaTeX pou<6F>il ako n<>hradu.
\layout Standard
Toto m<><6D>ete bezpe<70>ne ignorova<76>.
\end_deeper
\layout Itemize
\begin_inset Quotes gld
\end_inset
\family typewriter
Overfull
\backslash
hbox
\family default
\begin_inset Quotes grd
\end_inset
\begin_deeper
\layout Standard
LaTeX miluje toto hl<68>senie.
Je to varovanie o riadkoch, ktor<6F> s<> pr<70>li<6C> dlh<6C> a prekra<72>uj<75> prav<61> hranicu.
Takmer v<>dy je to vo v<>stupe nev<65>imnute<74>n<EFBFBD>, Alebo do prav<61>ho okraja zasahuje
len jeden alebo dva znaky.
LaTeX vygeneruje najmenej jedno tak<61>to hl<68>senie pre ka<6B>d<EFBFBD> dokument, ktor<6F>
nap<61><70>ete.
\layout Standard
T<EFBFBD>to blb<6C> hl<68><6C>ku m<><6D>ete ignorova<76>.
Ak je nejak<61> probl<62>m s nie<69>im <20>o je pr<70>li<6C> <20>irok<6F>, povedia v<>m to va<76>e
o<>i.
Len sa pozrite na v<>stup.
\end_deeper
\layout Itemize
\begin_inset Quotes gld
\end_inset
\family typewriter
Underfull
\backslash
hbox
\family default
\begin_inset Quotes grd
\end_inset
\begin_deeper
\layout Standard
Nie je tak<61> be<62>n<EFBFBD>, ako predch<63>dzaj<61>ce varovanie.
LaTeX asi rad<61>ej tla<6C><61> riadky, ktor<6F> s<> trochu <20>irok<6F> ako riadky, ktor<6F>
s<> trochu <20>zke.
Nevieme pre<72>o je to tak.
\layout Standard
Toto tie<69> m<><6D>ete ignorova<76>.
\end_deeper
\layout Itemize
\begin_inset Quotes gld
\end_inset
\family typewriter
Overfull
\backslash
vbox
\family default
\begin_inset Quotes grd
\end_inset
a
\begin_inset Quotes gld
\end_inset
\family typewriter
Underfull
\backslash
vbox
\family default
\begin_inset Quotes grd
\end_inset
\begin_deeper
\layout Standard
Varovania o probl<62>moch so zalamovan<61>m str<74>nky.
Znova, pozrite si v<>stup.
Va<56>e o<>i v<>m povedia kde je chyba.
\end_deeper
\layout Itemize
\begin_inset Quotes gld
\end_inset
\family typewriter
LaTeX Error: File 'Xxxx' not found
\family default
\begin_inset Quotes grd
\end_inset
\begin_deeper
\layout Standard
S<EFBFBD>bor
\begin_inset Quotes gld
\end_inset
Xxxx
\begin_inset Quotes grd
\end_inset
nie je v syst<73>me nain<69>talovan<61>.
Toto sa oby<62>ajne vyskytne, ak nejak<61> bal<61>k, ktor<6F> potrebuje v<><76> dokument
nie je nain<69>talovan<61>.
Ak ste ni<6E> nepridali do preambuly a nepou<6F>ili ste pr<70>kaz
\family typewriter
\backslash
usepackage{}
\family default
, potom ch<63>ba jeden z bal<61>kov, ktor<6F> sa pok<6F>sil natiahn<68><6E> LaTeX.
Zoznam bal<61>kov, ktor<6F> pozn<7A> LyX si pre<72><65>tate pr<70>kazom
\family sans
Konfigur<EFBFBD>cia\SpecialChar ~
LaTeX-u
\family default
z menu
\family sans
Pomocn<EFBFBD>k
\family default
.
Tento zoznam je aktalizovan<61> v<>dy, ke<6B> LyX prekonfigurujete.
(pr<70>kaz
\family sans
Prekonfigurova<EFBFBD>
\family default
z menu
\family sans
Mo<EFBFBD>nosti)
\family default
.
Tento zoznam v<>m povie, ktor<6F> bal<61>ky boli detegovan<61> a <20>o robia.
\layout Standard
Ak ste pou<6F>ili
\family typewriter
\backslash
usepackage{}
\family default
, a bal<61>k nie je nain<69>talovan<61>, potom si ho budete musie<69> doin<69>talova<76> sami.
\end_deeper
\layout Itemize
\begin_inset Quotes gld
\end_inset
\family typewriter
LaTeX Error: Unknown option
\family default
\begin_inset Quotes grd
\end_inset
\begin_deeper
\layout Standard
Chybov<EFBFBD> hl<68>senia za<7A>inaj<61>ce takto v<>m hovoria, <20>e ste <20>pecifikovali zl<7A>
alebo nedefinovan<61> vo<76>bu pre bal<61>k.
Pozrite si dokument<6E>ciu k bal<61>ku.
\end_deeper
\layout Itemize
\begin_inset Quotes gld
\end_inset
\family typewriter
Undefined control sequence
\family default
\begin_inset Quotes grd
\end_inset
\begin_deeper
\layout Standard
Ak ste do dokumentu vlo<6C>ili k<>d LaTeXu a urobili ste v <20>om nejak<61> chybu,
dostanete toto hl<68>senie.
Napr<70>klad ste mohli zabudn<64><6E> natiahn<68><6E> nejak<61> bal<61>k.
V ka<6B>dom pr<70>pade toto hl<68>senie oby<62>ajne znamen<65>, <20>e ste pou<6F>ili nedefinovan<61>
pr<70>kaz.
\end_deeper
\layout Standard
S<EFBFBD> aj <20>al<61>ie chybov<6F> a varovn<76> hl<68>senia.
Niektor<6F> s<> samovysvet<65>uj<75>ce (pre znal<61>ch angli<6C>tiny).
To s<> oby<62>ajne hl<68>senia LaTeXu.
In<49> s<> akoby
\begin_inset Quotes gld
\end_inset
kryptovan<EFBFBD>
\begin_inset Quotes grd
\end_inset
.
To s<> hl<68>senia TeXu a my skuto<74>ne nevieme <20>o znamenaj<61>, alebo ako ich rozl<7A><6C>ti<74>.
\layout Standard
Je v<>eobecn<63> postupnos<6F>, <20>o by ste mali urobi<62>, ak dostanete chybov<6F> hl<68>senie:
\layout Enumerate
Pozrite si k<>d LaTeXu k<>li typografick<63>m chyb<79>m.
\layout Enumerate
Ak <20>iadne nie s<>, skontrolujte si, <20>i ste pr<70>kaz(y) pou<6F>ili spr<70>vne.
\layout Enumerate
Ak dostanete chybov<6F> zna<6E>ky na vrchole dokumentu, znamen<65> to, <20>e chyby s<>
v preambule.
Skontrolujte si ju.
\layout Enumerate
Ak ste ni<6E> nepridali do preambuly a do dokumentu ste nevlo<6C>ili <20>iaden LaTeX
k<>d, hlavn<76>m podozriv<69>m sa st<73>va sama distrib<69>cia LaTeXu.
Skontrolujte si ch<63>baj<61>ce bal<61>ky a doin<69>talujte ich.
\layout Enumerate
OK, nech<63>ba <20>iadny bal<61>k.
Nepou<6F>ili ste n<>hodov niektor<6F> z vec<65> na dola<6C>ovanie dokumentu? Zvlṻ
nepou<6F>ili ste ich zle, ako napr<70>klad ma\SpecialChar \-
nu\SpecialChar \-
<EFBFBD>l\SpecialChar \-
ne vlo<6C>enie nieko<6B>k<EFBFBD>ch
\family sans
Chr<EFBFBD>nen<EFBFBD>ch medzier
\family default
,
\family sans
Zlomov riadkov
\family default
a
\family sans
Zlomov str<74>n
\family default
? Nepok<6F>sili ste sa upravi<76> nie<69>o pomocov t<>chto vec<65> namiesto pou<6F>itia
pr<70>slu<6C>n<EFBFBD>ho prostredia odseku?
\layout Enumerate
V poriadku, ni<6E> z tohoto ste nerobili.
Nepok<6F>sili ste sa urobi<62> nejak<61> vrtoch? Vlo<6C>ili ste nie<69>o do tabu<62>ky alebo
rovnice, ako napr<70>klad vkladanie obr<62>zku do bunky v tabu<62>ke?
\layout Enumerate
Neprehnali ste to s vn<76>ran<61>m? LyX (zatia<69>) nekontroluje, <20>i ste neprekro<72>ili
limity vn<76>rania.
Ak ste n<>hodov prostredia vnorili a<> na sedemn<6D>stu <20>rove<76>, m<>te probl<62>m.
\layout Enumerate
Nedostali ste <20>iadne chybov<6F> hl<68>senie, ale v<><76> v<>stup vyzer<65> zle.
Ak m<>te obr<62>zok, alebo tabu<62>ku, ktor<6F> je pr<70>li<6C> <20>irok<6F> alebo dlh<6C> na str<74>nku,
mus<75>te:
\begin_deeper
\layout Enumerate
zmen<EFBFBD>i<EFBFBD> obr<62>zok, aby sa na str<74>nku zmestil.
\layout Enumerate
oreza<EFBFBD> tabu<62>ku, aby sa na str<74>nku zmestila.
\layout Standard
Ak je z v<>stupom e<>te nie<69>o zl<7A> a vy ste nerobili <20>iadne v<>strelky ani ste
ni<6E> manu<6E>lne nedola<6C>ovali, nevieme v <20>om je chyba.
\end_deeper
\layout Standard
Ak toto v<>etko nepom<6F><6D>e --- nu<6E>,
\emph on
mo<EFBFBD>no
\emph toggle
ste na<6E>li chybu v LyXe\SpecialChar \ldots{}
\layout Chapter
Z<EFBFBD>sluhy
\layout Standard
Je ve<76>a r<>k.
ktor<6F> prispeli do n<><6E>ho
\begin_inset Quotes gld
\end_inset
hrnca
\begin_inset Quotes grd
\end_inset
s dokument<6E>ciou.
\layout Standard
Najprv by sme chceli vzda<64> hold t<>m, ktor<6F> boli pred nami.
Dali n<>m z<>klad nad ktor<6F>m sme vybudovali nov<6F> manu<6E>ly a niektor<6F> na<6E>alej
poskytuj<75> inform<72>cie:
\layout Itemize
\noun on
Matthias Ettrich
\noun toggle
nap<61>sal origin<69>l dokument<6E>cie, z ktor<6F>ho bol vytvoren<65> tento manu<6E>l a tie<69>
ak<61>si
\begin_inset Quotes gld
\end_inset
predvoj
\begin_inset Quotes grd
\end_inset
k tomuto manu<6E>lu (alebo
\begin_inset Quotes gld
\end_inset
LyX Manifesto
\begin_inset Quotes grd
\end_inset
, ako to volaj<61> niektor<6F> z n<>s).
\begin_deeper
\layout Itemize
\noun on
Lars Gullik Bj<42>nnes
\noun toggle
nap<61>sal nieko<6B>ko minidokumentov, vr<76>tane niektor<6F>ch inform<72>ci<63> o medzin<69>rodnej
podpore LyXu.
\layout Itemize
\noun on
Ivan Schretet
\noun toggle
tie<69> nap<61>sal minidokument o medzin<69>rodnej podpore, zvlṻ o medzin<69>rodn<64>ch
map<61>ch kl<6B>vesnice a prisp<73>soben<65>.
\layout Itemize
\noun on
Pascal Andr<64>
\noun toggle
p<>vodne zdokumentoval LinuxDoc SGML rozhranie.
\layout Itemize
\noun on
Alejandro Aguilar Sierra
\noun toggle
p<>vodne zdokumentoval matematick<63> m<>d a poskytol z<>znamy pre matematick<63>
funkcie v
\family typewriter
Reference.lyx
\family default
.
\layout Itemize
Zvl<EFBFBD><EFBFBD>tne po<70>akovanie LyX T<>mu
\begin_inset LatexCommand \cite{lyxcredit}
\end_inset
za pomoc a odpovede na ot<6F>zky.
\end_deeper
\layout Standard
<EFBFBD>alej je <20>as po<70>akova<76> sa Dokumenta<74>n<EFBFBD>mu t<>mu LyXu, v<>etk<74>m <20>u<EFBFBD>om, ktor<6F>
pomohli prep<65>sa<73> star<61> dokument<6E>ciu do novej formy, ktor<6F> m<> po verzii
0.10:
\layout Itemize
\noun on
David Johnson
\noun toggle
:
\begin_deeper
\layout Itemize
Prispievate<EFBFBD> do <20>KO (FAQ) a
\family typewriter
HowDoI-.lyx
\layout Itemize
V<EFBFBD>eobecn<EFBFBD> pomoc pri editovan<61>.
\layout Itemize
Dokument<EFBFBD>cia
\begin_deeper
\layout Itemize
matematick<EFBFBD>ho re<72>imu
\layout Itemize
tabuliek
\layout Itemize
kontroly pravopisu
\layout Standard
\SpecialChar \ldots{}
v
\family typewriter
UserGuide.lyx
\end_deeper
\end_deeper
\layout Itemize
\noun on
Rich Fields
\noun toggle
:
\begin_deeper
\layout Itemize
Hlavn<EFBFBD> prispievate<74> do
\family typewriter
Reference.lyx
\layout Itemize
Dokument<EFBFBD>cia z<>kladn<64>ho prostredia LyXu v
\family typewriter
UserGuide.lyx
\end_deeper
\layout Itemize
\noun on
Paul Evans
\noun toggle
:
\begin_deeper
\layout Itemize
Spr<EFBFBD>vca <20>KO (FAQ) a
\family typewriter
HowDoI-.lyx
\layout Itemize
Dokument<EFBFBD>cia LinuxDoc v
\family typewriter
UserGuide.lyx
\end_deeper
\layout Itemize
\noun on
Paul Russel
\noun toggle
:
\begin_deeper
\layout Itemize
Dokument<EFBFBD>cia obr<62>zkov a importovanej grafiky v
\family typewriter
UserGuide.lyx
\end_deeper
\layout Itemize
\noun on
John Raithel
\noun toggle
:
\begin_deeper
\layout Itemize
Dokument<EFBFBD>cia medzin<69>rodn<64>ch vlastnost<73> v
\family typewriter
UserGuide.lyx
\end_deeper
\layout Itemize
\noun on
Robin Socha
\noun toggle
:
\begin_deeper
\layout Itemize
Dokument<EFBFBD>cia
\begin_deeper
\layout Itemize
pozn<EFBFBD>mok pod <20>iarou
\layout Itemize
pozn<EFBFBD>mok na okraji
\layout Itemize
obsahu
\layout Itemize
krosreferenci<EFBFBD>
\layout Standard
\SpecialChar \ldots{}
v
\family typewriter
UserGuide.lyx
\end_deeper
\end_deeper
\layout Itemize
\noun on
Amir Karger
\noun toggle
:
\begin_deeper
\layout Itemize
Hlavn<EFBFBD> prispievate<74> do
\family typewriter
Tutorial.lyx
\end_deeper
\layout Itemize
\noun on
Matthias Zenker
\noun toggle
:
\begin_deeper
\layout Itemize
Dokument<EFBFBD>cia
\begin_deeper
\layout Itemize
ru<EFBFBD>n<EFBFBD>ho dola<6C>ovania
\layout Itemize
pou<EFBFBD><EFBFBD>vania LaTeXu z LyXu
\layout Standard
\SpecialChar \ldots{}
v
\family typewriter
UserGuide.lyx
\end_deeper
\end_deeper
\layout Itemize
\noun on
John Weiss
\noun toggle
:
\begin_deeper
\layout Itemize
V<EFBFBD>eobecn<EFBFBD> organiz<69>cia a form<72>t dokumentov.
\layout Itemize
Dokument<EFBFBD>cia
\begin_deeper
\layout Itemize
Nastavenia LyXu
\layout Itemize
prostred<EFBFBD> odsekov, rozlo<6C>enia dokumentu, vn<76>rania, typografick<63>xh pozn<7A>mok,
p<>siem
\layout Standard
\SpecialChar \ldots{}
s nejak<61>mi drobn<62>mi zmenami v <20>vodnej sekcii v
\family typewriter
UserGuide.lyx
\family default
od
\noun on
Matthiasa Ettricha
\noun toggle
.
\layout Itemize
Tie<EFBFBD> je zodpovedn<64> za Predstavenie v
\family typewriter
Tutorial.lyx
\layout Itemize
Editor dokument<6E>ci<63> (od 6/96 -- jese<73> 1997)
\end_deeper
\end_deeper
\layout Standard
Po jeseni 1997 prevzal spr<70>vu nad dokument<6E>ciou LyX T<>m ako celok.
\layout Bibliography
\bibitem {lyxcredit}
The LyX source tree.
File: CREDITS.
\layout Bibliography
\bibitem {latexbook}
Leslie Lamport,
\emph on
LaTeX: A Document Preparation System
\emph toggle
.
Addison-Wesley, second edition, 1994
\layout Bibliography
\bibitem {latexcompanion}
Michel Goossens, Frank Mittelbach and Alexander Samarin:
\emph on
The LaTeX Companion
\emph toggle
.
Addison-Wesley, 1994
\layout Bibliography
\bibitem {latexguide}
A Guide to LaTeX2e, Kopka and Daly.
\layout Bibliography
\bibitem {texbook}
Donald E.
Knuth,
\emph on
The TeXbook
\the_end