% Translation: 2006-09-16 Martina Plach�
% Checking:    2006-11-13 zyka
\startcomponent ma-cb-cz-headers
\project ma-cb
\product ma-cb-cz
\environment ma-cb-env-cz

%\chapter{Page headers and footers}
\chapter{Z�hlav� a �pat�}

%\index{page header}
%\index{pagefooter}
\index{z�hlav�}
\index{�pat�}

\Command{\tex{setupfootertexts}}
\Command{\tex{setupheadertexts}}
\Command{\tex{setupheader}}
\Command{\tex{setupfooter}}
\Command{\tex{noheaderandfooterlines}}

%In some cases you want to give your document a page header
%and footer. The commands to do this are:
N�kdy chceme dokument opat�it z�hlav�m a �pat�m. K~tomu se
pou��vaj� n�sleduj�c� p��kazy:

\shortsetup{setupfootertexts}
\shortsetup{setupheadertexts}

%The first bracket pair is used for the location of the
%footer or header (\type{text}, \type{edge} etc). Footer and
%header are placed within the second and third bracket pairs.
%In a double sided document a fourth and fifth bracket
%pair is used for footer and header on the left-hand side
%page and the right-hand side page. In most cases you can omit
%these last two bracket pairs.
Prvn� dvojice z�vorek ud�v�, kam se m� z�hlav� nebo
�pat� um�stit (text, margin=margin�lie, edge=vn�j�� okraj, viz
\at{obr�zek}[fig:pagelayout]). �pat� a~z�hlav� jsou ur�eny druhou
a~t�et� z�vorkou. V~oboustrann�ch dokumentech dod�me �tvrtou a~p�tou
z�vorku pro nastaven� z�hlav�/�pat� lev�ch a~prav�ch 
str�nek odd�len�. Ve v�t�in� p��pad� v�ak m��eme tyto posledn� dv�
z�vorky vynechat.

%\startbuffer
%\setupfootertexts[Manual][section]
%\stopbuffer
%
%\typebuffer

\startbuffer
\setupfootertexts[Manu�l][section]
\stopbuffer

\typebuffer

%In this case the text {\em Manual} will appear in the
%left-hand side corner and the title of the actual section on
%the right-hand side of the page. This footer will change with
%the beginning of a new section.
V~tomto p��pad� se text {\em Manu�l} objev� v~lev�m doln�m rohu
str�nky a~jm�no aktu�ln� kapitoly bude vpravo.

%You can set up the head- and footline with:
%
%\shortsetup{setupheader}
%\shortsetup{setupfooter}

��ru odd�luj�c� z�hlav� a �pat� m��eme nastavit pomoc�:

\shortsetup{setupheader}
\shortsetup{setupfooter}

%If you want to leave out the page header and footer you can
%type:
%
%\starttyping
%\noheaderandfooterlines
%\stoptyping

Pokud chceme z�hlav� a �pat� zcela vypustit, nap��eme:

\starttyping
\noheaderandfooterlines
\stoptyping

\stopcomponent
