% Translation: 2006-10-02 V�t Z�ka
% Checking:    2006-11-14 zyka
\startcomponent ma-cb-cz-alignments
\project ma-cb
\product ma-cb-cz
\environment ma-cb-env-cz

%\chapter{Alignment}
\chapter{Zarovn�n�}

%\index{alignment}
\index{zarovn�n�}

\Command{\tex{setupalign}}
\Command{\tex{setup tolerance}}
\Command{\tex{rightaligned}}
\Command{\tex{leftlines}}
\Command{\tex{midaligned}}

%Horizontal and vertical alignment can be set up with:
Horizont�ln� a~vertik�ln� zarovn�n� textu se nastavuje pomoc�

\shortsetup{setupalign}

%Single lines can be aligned with:
Pro zarovn�n� jedn� ��dky sta�� uv�st:

\starttyping
\rightaligned{}
\leftaligned{}
\midaligned{}
\stoptyping

Nap�.

%% \startbuffer
%% \leftaligned  {Hasselt was built on a sandhill.}
%% \midaligned   {Hasselt was built on the crossing of two rivers.}
%% \rightaligned {Hasselt's name stems from hazelwood.}
%% \stopbuffer

\startbuffer
\leftaligned  {Hasselt byl vybudov�n na p�se�n� ho�e.}
\midaligned   {Hasselt byl vybudov�n na soutoku dvou �ek.}
\rightaligned {Hasselt byl pojmenov�n podle d�eva
               stromu ambron� (hazelwood).}
\stopbuffer

\typebuffer

%After processing this would look like:
Po zpracov�n� bude tento p��klad vypadat takto:

\getbuffer

%Alignment of a paragraph is done with:
K~zarovn�n� odstavce se pou�ije:

\shortsetup{startalignment}

%% In case of alignment you can specify a tolerance and the
%% direction (vertical or horizontal). Normally the tolerance
%% is \type{verystrict}. In colums you could specify
%% \type{verytolerant}. The tolerance in this manual is:
Zarovn�n� m��eme up�esnit zad�n�m sm�ru (\type{direction}) a~tolerance
pru�n�ch v�pl�k� (\type{tolerance}). Sm�r m��e b�t
vertik�ln� (\type{vertical}) a~horizont�ln�
(\type{horizontal}). Tolerance je standardn� velmi p��sn�
(\type{verystrict}). P�i sazb� do u���ch sloupc� je u�ite�n� povolit
schov�vav�j�� p��stup k~zalamov�n� odstavce (\type{tolerant} nebo
\type{verytolerant}). Pro sazbu tohoto manu�lu je tolerance nastavena takto:

\starttyping
\setuptolerance[horizontal,verystrict]
\stoptyping

\stopcomponent
