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

\doifmode{bulletin}{\vskip-.5cm} % !!! Typo

%\chapter{Margin texts}
\chapter{Margin�lie}

\doifmode{bulletin}{\vskip-.5cm} % !!! Typo

%\index{margin text}
\index{margin�lie}

\Command{\tex{inmargin}}
\Command{\tex{inleft}}
\Command{\tex{inright}}
\Command{\tex{margintitle}}
\Command{\tex{setupmargin}}

%It is very easy to put text in the margin. You just use
Vlo�it text do {\em margin�lie\/} (okraje str�nky) je velmi snadn�.
Sta�� pou��t \type{\inmargin}.

\shortsetup{inmargin}

%You may remember one of the earlier examples:
P�ipome�me si jeden z~p�edch�zej�c�ch p��klad�:

\typebuffer[marginpicture]

%This would result in a figure in the \pagereference
%[marginpicture]\getbuffer [marginpicture]margin. You
%can imagine that it looks quite nice in some documents. But
%be careful. The margin is rather small so the figure could
%become very marginal.
Tato uk�zka vys�z� obr�zek do
\pagereference[marginpicture]\getbuffer [marginpicture] okraje. Jist�
si um�me p�edstavit, �e v~n�kter�ch dokumentech m��e tento efekt
p�sobit velice dob�e, ale bu�me opatrn�. Okraje jsou v�t�inou 
velmi �zk� a~obr�zky tak budou vskutku okrajov�!

%A few other examples are shown in the text below.
N�kolik dal��ch p��klad� je uk�z�no v~n�sleduj�c�m textu.

%\startbuffer
%The Ridderstraat (Street of knights) \inmargin{Street of\\Knights}
%is an obvious name. In the 14th and 15th centuries, nobles and
%prominent citizens lived in this street. Some of their big houses
%were later turned into poorhouses \inright{poorhouse}and old
%peoples homes.

%Up until \inleft[low]{\tfc 1940}1940 there was a synagog in the
%Ridderstraat. Some 40 Jews gathered there to celebrate their
%sabbath. During the war all Jews were deported to Westerbork and
%then to the extermination camps in Germany and Poland. None of
%the Jewish families returned. The synagog was knocked down in
%1958.
%\stopbuffer

\startbuffer
"Ridderstraat" (Ryt��sk� ulice) je n�zev velmi v�mluvn�.
Ve~14. a~15.stolet� zde bydleli �lechtici a~prominentn� obyvatel�.
Z~n�kter�ch jejich velk�ch dom� se pozd�ji\inright{chudobinec} staly
chudobince a~starobince.

A� do roku \inleft[low]{\tfc 1940}1940 se zde nach�zela synagoga.
Asi 40 �id� se zde sch�zelo ke slaven� sv�ho �abatu. B�hem v�lky
byli v�ichni �id� deportov�ni do Westborku a~pak do koncentra�n�ch
t�bor� v~N�mecku a~Polsku. ��dn� z~�idovsk�ch rodin se ji� 
nevr�tila a~synagoga byla zbo�ena v~roce 1958.
\stopbuffer

\typebuffer

%The commands \type{\inmargin}, \type{\inleft} and
%\type{\inright} all have the same function. In a two sided
%document \type{\inmargin} puts the margin text in the correct
%margin. The \type{\\} is used for line breaking. The example
%above would look like this:
P��kazy \type{\inmargin}, \type{\inleft} a~\type{\inright} 
pln� stejnou funkci. V~oboustrann� ti�t�n�m dokumentu
bude p��kaz \type{\inmargin} s�zet v�dy do spr�vn�ho okraje.
Dvojit� lom�tko \type{\\} zp�sob� zalomen� ��dky. P�edchoz�
p��klad by tedy vypadal takto:

\getbuffer

%You can set up the margin text with:
Nastavit text v~okraji lze pomoc� \type{\setupinmargin}.

\shortsetup{setupinmargin}

\stopcomponent
