% Translation: jaih
% Checking: 2006-11-10 zyka
\startcomponent ma-cb-cz-itemizations
\project ma-cb
\product ma-cb-cz
\environment ma-cb-env-cz

%\chapter[itemize]{Itemize}
\chapter[itemize]{Odr�ky a~v��ty}

%\index{itemize}
%\index{columns in itemize}
\index{odr�ky}
\index{v��ty}
\index{odr�ky+ve sloupc�ch}

\Command{\tex{startitemize}}
\Command{\tex{setupitemize}}
\Command{\tex{definesymbol}}
\Command{\tex{item}}
\Command{\tex{head}}

%One way of structuring your information is by way of
%enumeration or summing up items. The itemize command looks
%like this:
Jedn�m ze zp�sob�, jak roz�lenit text,
je vyjmenov�n� nebo shrnut� jednotliv�ch polo�ek.
P��kaz pro vytvo�en� seznamu vypad� takto:

\shortsetup{startitemize}

%For example:
P��klad:

%\item Hasselt was founded in the 14th century.
%\item Hasselt is known as a so called Hanze town.
%\item Hasselt's name stems from a tree.

\startbuffer
\startitemize[R,packed,broad]
\item Hasselt byl zalo�en ve 14.stolet�.
\item Hasselt je zn�m� jako tzv. hanzovn� m�sto.
\item Jm�no Hasselt vych�z� z~n�zvu stromu.
\stopitemize
\stopbuffer

\typebuffer

%Within the \type{\startitemize} $\cdots$ \type{\stopitemize}
%pair you start a new item with \type{\item}. The space after
%\type{\item} is required. In the example above \type{R}
%specifies Roman numbering and \type{packed} keeps line
%spacing to a minimum. The parameter \type{broad} takes care
%of vertical spacing after the item separator. The example
%would produce:

Uvnit� dvojice \type{\startitemize} $\cdots$ \type{\stopitemize}
za��n�me ka�dou novou polo�ku p��kazem \type{\item} a~za
\type{\item} nezapome�me na mezeru. V~na�em p��kladu parametr \type{R}
specifikuje ��msk� ��slov�n� a~\type{packed} minim�ln� mezeru mezi ��dky.
Parametr \type{broad} zajist� rozumnou horizont�ln� mezeru mezi
zna�kou a~textem. N� p��klad by vypadal:

\getbuffer

%Itemization is a~two pass job. This means that you have to
%run your file twice for an optimal layout. The bracket pair
%contains information on item seperators and local set up
%variables.

Roz�len�n� textu do polo�ek je dvouf�zov� proces. To znamen�, �e pro z�sk�n�
optim�ln�ho rozlo�en� budete muset sv�j soubor p�ekompilovat dvakr�t. V z�vork�ch
je obsa�ena informace o~symbolu odr�ky a~lok�ln� nastaven� prom�nn�ch.

\placetable
  [here]
  [tab:itemsetup]
  {Nastaven� form�tu odr�ek.}
\starttable[|l|l|]
\HL
%\NC \bf Argument \NC \bf Item separator   \NC\SR
\NC \bf Argument \NC \bf Zna�ka p�ed polo�kou \NC\SR
\HL
\NC 1            \NC $\bullet$            \NC\FR
\NC 2            \NC $-$                  \NC\MR
\NC 3            \NC $\star$              \NC\MR
\NC $\vdots$     \NC $\vdots$             \NC\MR
\NC n            \NC 1 2 3 4 $\cdots$     \NC\MR
\NC a            \NC a b c d $\cdots$     \NC\MR
\NC A            \NC A B C D $\cdots$     \NC\MR
\NC r            \NC i ii iii iv $\cdots$ \NC\MR
\NC R            \NC I II III IV $\cdots$ \NC\LR
\HL
\stoptable

%You can also define your own item separator by means of
%\type{\definesymbol}. For example if you try this:

M��ete tak� nadefinovat svoji vlastn� zna�ku pomoc� p��kazu
\type{\definesymbol}. Vyzkou�ejte nap��klad

%\item Hasselt was built on a riverdune.
%\item Hasselt lies at the crossing of two rivers.

\startbuffer
\definesymbol[5][$\clubsuit$]
\startitemize[5,packed]
\item Hasselt byl zbudov�n na p�se�n�m p�esypu.
\item Hasselt le�� na soutoku dvou �ek.
\stopitemize
\stopbuffer

\typebuffer

%You will get:
Dostanete pak tento v�stup:

\getbuffer

%Sometimes you would like to have headers within an
%enumeration. In that case you should use \type{\head} instead
%of \type{\item}.
N�kdy je pot�eba m�t jednotliv� polo�ky ne��slovan�.
V takov�m p��pad� pou�ijte  m�sto \type{\item} p��kaz \type{\head}.

%Hasselt lies in the province of Overijssel and there are a number of
%customs that are typical of this province.

%\head kraamschudden \hfill (child welcoming)

%      When a child is born the neighbours come to visit the new
%      parents. The women come to admire the baby and the men come to
%      judge the baby (if it is a boy) on other aspects.
%      The neighbours will bring a {\em krentenwegge} along. A
%      krentenwegge is a loaf of currant bread of about 1 \Meter\
%      long. Of course the birth is celebrated with {\em jenever}.

%\head nabuurschap (naberschop) \hfill (neighbourship)


%      Smaller communities used to be very dependent on the
%      cooperation among the members for their well being. Members of
%      the {\em nabuurschap} helped each other in difficult times
%      during harvest times, funerals or any hardship that fell upon
%      the community.


%\head Abraham \& Sarah  \hfill (identical)

%      When people turn 50 in Hasselt it is said that they see Abraham
%      or Sarah. The custom is to give these people a {\em speculaas}
%      Abraham or a Sarah. Speculaas is a kind of hard spiced biscuit.

\startbuffer
Hasselt le�� v~provincii Overijssel, pro kterou je typick�
mno�stv� r�zn�ch zvyklost�.

\startitemize

\head kraamschudden \hfill (v�t�n� novorozen�te)

      Po narozen� d�t�te soused� nav�t�v� novope�en� rodi�e.
      Zat�mco �eny p�ich�zej� d�t� obdivovat, mu�i jej
      (pokud je to chlapec) posoud� v ostatn�ch ohledech.
      Je zvykem, �e s sebou p�in�ej�
      {\em krentenwegge}, co� je asi 1~\Meter\ dlouh�
      hrozinkov� chl�b. Ned�lnou sou��st� oslav narozen� 
      je samoz�ejm� tradi�n� alkoholick� n�poj.

\head nabuurschap (naberschop) \hfill (spole�enstv�)

      Prosperita mal�ch komunit b�vala velmi z�visl� na vz�jemn� pomoci
      jej�ch �len�. Tito �lenov� {\em nabuurschap}� si pom�hali
      v~�as�ch �n�, poh�b� a~v�bec p�i v�ech t�kostech, 
      kter� na komunitu dol�haly.

\head Abraham \& Sarah  \hfill (st���)

      Kdy� lid� v~Hasseltu dos�hnou pades�ti let, ��k� se o~nich, �e
      se v�daj� s~Abrahamem a~S�rou. Je zvykem d�t jim
      tzv. {\em speculaas}, co� je zvl�tn� druh 
      ko�en�n�ch keks�. 
\stopitemize

\stopbuffer

\typebuffer

%The \type{\head} can be set up with \type{\setupitemize}.
%In case of a page breaking a \type{\head} will appear on a
%new page. (The \type {\Meter} command is explained in \in
%{chapter} [units].)
Zp�sob, jak�m se p��kaz \type{\head} vys�z�, m��e b�t 
ovlivn�n pomoc� \type{\setupitemize}. V p��pad� zlomu str�nky,
se \type{\head} objev� v�dy na nov� str�nce. (P��kaz \type {\Meter}
 bude vysv�tlen v~\in{kapitole}[units].)

%The example of old customs will look like this:
P��klad o~star�ch zvyc�ch vypad� takto:

\getbuffer

%The set up parameters of itemize are described in
Parametry pro nastaven� zp�sobu zobrazen� polo�ek jsou uvedeny
v~\in{tabulce}[tab:tablesetup].

\placetable
  [here,force]
  [tab:tablesetup]
  {Parametry pro \type{\startitemize}.}
\starttable[|l|l|]
\HL
%\NC \bf Set up \NC \bf Meaning                                      \NC\SR
\NC \bf Parametr  \NC \bf V�znam                               \NC\SR
\HL
%\NC standard   \NC standard (global) set up                  \NC\FR
%\NC packed     \NC no vertical spacing between items                \NC\MR
%\NC serried    \NC no horizontal spacing between separator and text \NC\MR
%\NC joinedup   \NC no vertical spacing before and after itemize     \NC\MR
%\NC broad      \NC horizontal spacing between separator and text    \NC\MR
%\NC inmargin   \NC place separator in margin                        \NC\MR
%\NC atmargin   \NC place separator on margin                        \NC\MR
%\NC stopper    \NC place full stop after separator                  \NC\MR
%\NC columns    \NC put items in columns                             \NC\MR
%\NC intro      \NC prevent page breaking after introduction line      \NC\MR
%\NC continue   \NC continue numbering or lettering                  \NC\LR
\NC standard   \NC standardn� (globaln�) nastaven�                  \NC\FR
\NC packed     \NC bez vertik�ln� mezery mezi polo�kami             \NC\MR
\NC serried    \NC ��dn� horizont�ln� mezera mezi zna�kou a~textem  \NC\MR
\NC joinedup   \NC ��dn� odsazen� p�ed a~po bloku polo�ek           \NC\MR
\NC broad      \NC horizont�ln� mezera mezi zna�kou a~textem        \NC\MR
\NC inmargin   \NC um�stit zna�ku polo�ek do okraje                 \NC\MR
\NC atmargin   \NC um�stit zna�ku polo�ek k~okraji                  \NC\MR
\NC stopper    \NC um�st� ukon�en� zna�ky (implicitn� '.')          \NC\MR
\NC columns    \NC rozm�st� polo�ky do sloupc�                      \NC\MR
\NC intro      \NC br�n� str�nkov�mu zlomu mezi odr�kami a~jejich uvozuj�c�m odstavcem \NC\MR
\NC continue   \NC pokra�ov�n� v~p�edchoz�m ��slov�n�               \NC\LR
\HL
\stoptable

%You can use the set up parameters in \type{\startitemize},
%but for reasons of consistency you can make them valid for
%the complete document with \type{\setupitemize}.
Zp�sob zobrazen� polo�ek je sice mo�n� m�nit u~ka�d�ho \type{\startitemize},
ale pro zachov�n� jednotn�ho vzhledu je vhodn� jej nastavit
pro cel� dokument pomoc� \type{\setupitemize}.

%The parameter \type{columns} is used in conjunction with
%a number. If you type this:
Parameter \type{columns} se pou��v� spole�n� s~ozna�en�m
po�tu, nap��klad k�d:

\startbuffer
\startitemize[n,columns,four]
\item Achter 't Werk
.
.
\item Justitiebastion
\stopitemize
\stopbuffer

\typebuffer

%You will get:
vys�z�:

\startbuffer
\startitemize[n,columns,four]
\item Achter 't Werk
\item Baangracht
\item Brouwersgracht
\item Eikenlaan
\item Eiland
\item Gasthuisstraat
\item Heerengracht
\item Hofstraat
\item Hoogstraat
\item Julianakade
\item Justitiebastion
\stopitemize
\stopbuffer

\getbuffer

%Sometimes you want to continue the enumeration after a short
%intermezzo. Then you type for example
%\type{\startitemize[continue,columns,three,broad]} and
%numbering will continue in a three column format.
N�kdy chceme po kr�tk� p�est�vce v~��slov�n� polo�ek pokra�ovat.
Pak sta�� napsat nap��klad
\type{\startitemize[continue,columns,three,broad]} a
��slov�n� bude pokra�ovat ve form�tu t�� sloupc�.

\startbuffer
\startitemize[continue, columns, three, broad]
\item Kaai
\item Kalverstraat
\item Kastanjelaan
\item Keppelstraat
\item Markt
\item Meestersteeg
\item Prinsengracht
\item Raamstraat
\item Ridderstraat
\item Rosmolenstraat
\item Royenplein
\item Van Nahuijsweg
\item Vicariehof
\item Vissteeg
\item Watersteeg
\item Wilhelminalaan
\item Ziekenhuisstraat
\stopitemize
\stopbuffer

\getbuffer

%The parameter \type{broad} enlarges the horizontal space
%between item separator and itemtext.
%% VZ: It is already mentioned at beginning of this chapter.
%Parameter \type{broad} zv�t�uje horizont�ln� mezeru
%mezi zna�kou polo�ky a~jej�m textem.

\shortsetup{setupitemize}

%An itemize within an itemize is automatically typeset in a
%correct way. For example if you type:
Vno�en� polo�ky se automaticky vys�zej� spr�vn�. Pokud nap��klad 
nap��ete:


%In the Netherlands the cities can determine the size of a number of
%taxes. So the cost of living can differ from town to town. There are
%differences of up to 50\% in taxes such as:

%\item real estate tax

%      The real estate tax is divided into two components:

%      \item the ownership tax
%      \item the tenant tax
%      If the real estate has no tenant the owner pays both components.
%\item dog licence fee

%      The owner of one or more dogs pays a fee. When a dog has died
%      or been sold the owner has to inform city hall.

\startbuffer
V Nizozem� mohou v��i cel� �ady dan� ur�ovat m�sta, tak�e 
�ivotn� n�klady se m�sto od m�sta li��. Rozd�ly dosahuj�
a� 50\,\% v~dan�ch jako:

\setupitemize[2][width=5em]
\startitemize[n]

\item Da� z~nemovitost�.

      Dan� z~nemovitost� se d�l� do dvou slo�ek:

      \startitemize[a,packed]
      \item da� z~vlastnictv� nemovitosti a
      \item da� z~n�jmu.
      \stopitemize

      Pokud nemovitost nen� v~n�jmu, plat� ob� slo�ky vlastn�k.

\item Poplatek za psa.

      Vlastn�k jednoho nebo v�ce ps� plat� poplatek. Pokud pes zem�e,
      nebo je prod�n, je vlastn�k povinen nahl�sit to na radnici.

\stopitemize
\stopbuffer

\typebuffer

%then the horizontal space between item separator and text at
%the second level is set with
potom horizont�ln� mezeru mezi zna�kou a~textem vno�en� polo�ky
lze nastavit pomoc�:
\type{\setupitemize[2][width=5em]}.

%The example will look like this:
N� p��klad pak bude vypadat takto:

\start
\getbuffer
\stop

\stopcomponent
