% Translation: p�elo�il: jaih
% Checking: 2006-11-10 zyka
\startcomponent ma-cb-cz-units
\project ma-cb
\product ma-cb-cz
\environment ma-cb-env-cz

%\chapter[units]{Units}
\chapter[units]{Jednotky}

%\index{units}
\index{jednotky}
%\index[siunit]{\cap{SI}--unit}
\index[jednotkasi]{jednotka \cap{SI}}
\index{procento}
\index{promile}

\Command{\tex{unit}}
\Command{\tex{permille}}
\Command{\tex{percent}}

%To force yourself to use dimensions and units consistently
%throughout the document you can make your own list with
%units. These are specified in the set up area of your
%input file.
Abychom se p�im�li pou��vat m�ry a~jednotky v~cel�m dokumentu jednotn�,
m��eme vytvo�it vlastn� seznam t�chto jednotek a~um�stit ho do
deklara�n� oblasti (p�ed p��kaz \type{\starttext}) vstupn�ho
souboru.

%In \CONTEXT\ there is an external module available that
%contains almost all \SI||units. When this module is loaded
%with \type{\usemodule[units]} you can call units with:
V~\CONTEXT{}u je dostupn� vn�j�� modul, kter� obsahuje t�m�� 
v�echny jednotky \SI. Pokud se na tento modul odvol�me
p��kazem \type{\usemodule[units]}, m��eme pak pou��vat jednotky
n�sleduj�c�m zp�sobem:

\startbuffer
\Meter \Per \Square \Meter
\Cubic \Meter \Per \Sec
\Square \Milli \Meter \Per \Inch
\Centi \Liter \Per \Sec
\Meter \Inverse \Sec
\Newton \Per \Square \Inch
\Newton \Times \Meter \Per \Square \Sec
\stopbuffer

\typebuffer

%It looks like a lot of typing but it does guarantee a
%consistent use of units. The command \type{\unit} also
%prevents the separation of value and unit at line breaks,
%because a number typeset at the end of a line and the unit
%at the beginning of the next one, is far from perfect.
%These examples come out as:
Trocha v�ce psan� je vyv�ena z�rukou jednotn�ho 
p��stupu v~u��v�n� jednotek. P��kaz \type{\unit} tak�
zaru�uje, �e od sebe nebudou odd�leny hodnota a~jej� jednotka.
Pokud se toti� hodnota nach�z� na konci ��dku a~n�sleduj�c� 
��dek za��n� m�rnou jednotkou, m� to k~dokonalosti daleko. N� p�edchoz�
p��klad se vys�z� takto:

\startnarrower
\startlines
\getbuffer
\stoplines
\stopnarrower

%You can define your own units with:
M��eme tak� nadefinovat sv� vlastn� jednotky:

\starttyping
\unit[Ounce]{oz}{}
\stoptyping

\unit[Ounce]{oz}{}

%Later on in the document you can type \type{15.6 \Ounce}
%that will be displayed as 15.6 \Ounce.
Pozd�ji ve sv�m dokumentu m��eme napsat \type{15.6 \Ounce},
co� bude vys�zeno jako 15.6 \Ounce.

%In order to write \percent\  and \permille\ in a consistent
%way there are two specific commands:
Pro zaps�n� \percent\ a \permille\ jednotn�m zp�sobem
slou�� dva zvl�tn� p��kazy:

\type{\percent} \crlf
\type{\permille}

\stopcomponent
