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

%\chapter{Outlined text}
\chapter{Or�mov�n� textu}

%\index{outlined text}
\index{or�mov�n� textu}

\Command{\tex{framed}}
\Command{\tex{setupframed}}
\Command{\tex{inframed}}

%You can \inframed{outline} a text with \type{\framed}. The
%command looks like this:
Text m��eme \inframed{or�movat} u�it�m \type{\framed}. 
P��kaz vypad� takto:

\shortsetup{framed}

%The bracket pair is optional and contains the set up
%arameters. The curly braces enclose the text. To be honest,
%the outlined text in the last paragraph was done with
%\type{\inframed}. This command takes care of the interline
%spacing.

Hranat� z�vorky jsou nepovinn� a obsahuj� nastaven� parametr�
or�mov�n�. Slo�en� z�vorky obsahuj� text. Po pravd� �e�eno, or�movan� text
v~posledn�m odstavci byl vytvo�en p��kazem \type{\inframed}, kter�
se postar� i~o~spr�vn� mezery mezi ��dky.

%\startbuffer
%\framed[height=3em,width=fit]{Hasselt needs more space}
%\stopbuffer
%
%\typebuffer

\startbuffer
\framed[height=3em,width=fit]{Hasselt pot�ebuje v�ce prostoru}
\stopbuffer

\typebuffer

%This becomes:
%
%\startbaselinecorrection
%\getbuffer
%\stopbaselinecorrection

Tento z�pis se zobraz� n�sleduj�c�m zp�sobem:

\startbaselinecorrection
\getbuffer
\stopbaselinecorrection

%Some other examples of \type{\framed} and its set up
%parameters are shown below. This time we use the in||line
%alternative \type{\inframed}.
Dal�� p��klady \type{\framed} a~nastaven� jeho parametr� jsou uk�z�ny
d�le. Tentokr�te pou��v�me alternativu \type{\inframed}.

%\startbuffer
%\leftaligned
%  {\inframed[width=fit]{People in Hasselt}}
%\midaligned
%  {\inframed[height=1.5cm,frame=off]{have a}}
%\rightaligned
%  {\inframed[background=screen]{historic background}}
%\stopbuffer
%
%\typebuffer

\startbuffer
\leftaligned
  {\inframed[width=fit]{Historie Hasseltu}}
\midaligned
  {\inframed[height=1.5cm,frame=off]{je}}
\rightaligned
  {\inframed[background=screen]{barvit�.}}
\stopbuffer

\typebuffer

%This leads to:
Takov� z�pis vytvo��:

\start
\setupcolors[state=start]
\getbuffer
\stop

%The \type{\framed} command is very sophisticated and it is
%used in many macros. The command to set up frames is:
P��kaz \type{\framed} je velmi d�mysln� a pou��v� se uvnit� mnoha 
maker. Syntaxe parametr� or�mov�n� je n�sleduj�c�:

\shortsetup{setupframed}

\stopcomponent
