% Translation: 2006-07-21 V?t Z?ka
% Checking:    2006-11-13 zyka
\startcomponent ma-cb-cz-tables
\project ma-cb
\product ma-cb-cz
\environment ma-cb-env-cz

%\chapter[tables]{Tables}
\chapter[tables]{Tabulky}

%\index{tables}
%\index{floating blocks}
\index{tabulky}
\index{plovouc? objekt}

\Command{\tex{placetable}}
\Command{\tex{setuptables}}
\Command{\tex{starttable}}
\Command{\tex{startcombination}}
\Command{\tex{setupfloats}}
\Command{\tex{setupcaptions}}
\Command{\tex{NR}}
\Command{\tex{FR}}
\Command{\tex{LR}}
\Command{\tex{MR}}
\Command{\tex{SR}}
\Command{\tex{VL}}
\Command{\tex{NC}}
\Command{\tex{HL}}
\Command{\tex{DL}}
\Command{\tex{DC}}
\Command{\tex{DR}}
\Command{\tex{LOW}}
\Command{\tex{TWO}}
\Command{\tex{THREE}}

%% {\em In general, a table consists of columns which may be
%% independently left adjusted, centered, right adjusted, or
%% aligned on decimal points. Headings may be placed over single
%% columns or groups of columns. Table entries may contain
%% equations or several rows of text. Horizontal and vertical
%% lines may be drawn wholly or partially across the table.}
{\em Tabulka se obecn? skl?d? ze sloupc?. Jejich obsah m??e b?t
  zarovn?n vlevo, vpravo, na st?ed ?i k~desetinn? ??rce.
  Z?hlav? m??e zauj?mat jeden nebo v?ce sloupc?. Bu?ky tabulky
  mohou obsahovat rovnice nebo n?kolik ??dk? textu. Horizont?ln? a
  vertik?ln? linky mohou v?st p?es celou tabulku nebo jen p?es jej? ??st.}

%% This is what Michael J. Wichura wrote in the preface of the
%% manual of \TABLE\ (\TABLE\ manual, 1988.). Michael Wichura
%% is also the author of the \TABLE\ macros \CONTEXT\ is
%% relying on when processing tables. A few \CONTEXT\ macros
%% were added to take care of consistent line spacing and to
%% make the interface a little less cryptic.\footnote{\CONTEXT\
%% was developed for non||technical users in the \cap{WYSIWYG}
%% era. Therefore a user friendly interface and easy file and
%% command handling were needed, and cryptic commands,
%% programming and logical reasoning had to be avoided.}
Toto napsal J. Wichura v~p?edmluv? manu?lu o~\TABLE\ (\TABLE\ manual,
1988). Michael Wichura je tak? autorem jedn? ze sady maker \TABLE, kterou
\CONTEXT\ pou??v? k~sazb? tabulek.\footnote{\CONTEXT\ nab?z? je?t? jin?
sady. Velmi zaj?mav? jsou \quote{p?irozen? tabulky}
\type{\bTABLE}. Umo??uj? podobnou syntaxi jako \HTML{} tabulky
s~velkou variabilitou sdru?ov?n? bun?k a bohat?mi grafick?mi
mo?nostmi. ??dkov?n? je v?ak m?n? p?irozen?. Viz
manu?l \from[manual:nattab] a~magaz?n \from[myway:nattab]. Pozn. p?ekl.}

Do~definic \TABLE\ bylo oproti origin?lu p?id?no n?kolik maker
zaji??uj?c?ch konzistentn?j?? ??dkov?n? a bylo
zjednodu?eno u?ivatelsk? rozhran?.\footnote{\CONTEXT\ byl vyvinut
  (tak?) pro u?ivatele bez technick?ho nad?n? v~??e \cap{WYSIWIG}. Proto
  bylo dopln?no p??v?tiv? u?ivatelsk? rozhran? se snadnou manipulac?
  se soubory a byly vypu?t?ny kryptick? p??kazy a programov? i~logick?
  konstrukce.}

%For placing a table the command \type{\placetable} is used
%which is a predefined example of:
%
%\shortsetup{placeblock}
%
%For defining the table you use:
Tabulku um?st?me p??kazem \type{\placetable}. Definujeme ji pomoc?

\shortsetup{starttable}

%The definition of a table could look something like this:
Definice tabulky m??e vypadat n?sledovn?:

%% \startbuffer
%% \placetable[here][tab:ships]{Ships that moored at Hasselt.}
%% \starttable[|c|c|]
%% \HL
%% \NC \bf Year \NC \bf Number of ships \NC\SR
%% \HL
%% \NC 1645     \NC 450                 \NC\FR
%% \NC 1671     \NC 480                 \NC\MR
%% \NC 1676     \NC 500                 \NC\MR
%% \NC 1695     \NC 930                 \NC\LR
%% \HL
%% \stoptable
%% \stopbuffer
\startbuffer
\placetable[here][tab:ships]{Lod? kotv?c? v~Hasseltu.}
\starttable[|c|c|]
\HL
\NC \bf Rok \NC \bf Po?et lod? \NC\SR
\HL
\NC 1645    \NC 450            \NC\FR
\NC 1671    \NC 480            \NC\MR
\NC 1676    \NC 500            \NC\MR
\NC 1695    \NC 930            \NC\LR
\HL
\stoptable
\stopbuffer

\typebuffer

%This table is typeset as \in{table}[tab:ships].
Tato tabulka je vys?zena jako \in{tabulka}[tab:ships].

\getbuffer

%% The first command \type{\placetable} has the same function
%% as \type{\placefigure}. It takes care of spacing before and
%% after the table and numbering. Furthermore the floating
%% mechanism is initialized so the table will be placed at the
%% most optimal location of the page.
Prvn? p??kaz \type{\placetable} m? stejnou funkci jako
\type{\placefigure}. Postar? se o~vertik?ln? odsazen? tabulky
a~o~jej? ??slo. D?le spust? mechanismus um?st?n? plovouc?ho
objektu a ten nalezne optim?ln? polohu tabulky na str?nce.

%% The table entries are placed between the \type{\starttable}
%% $\cdots$ \type{\stoptable} pair. Between the bracket pair
%% your can specify the table format with the column separators
%% \type{|} and the format keys (see
%% \in{table}[tab:formatkeys]).
Polo?ky tabulky se zad?vaj? dovnit? dvojice \type{\starttable} $\cdots$
\type{\stoptable}. Do hranat?ch z?vorek vkl?d?me zna?ky pro
form?tov?n? tabulky, viz \in{tabulku}[tab:formatkeys].

%% \placetable
%%   []
%%   [tab:formatkeys]
%%   {Table format keys.}
%% \starttable[|l|l|]
%% \HL
%% \NC \bf Key     \NC \bf Meaning                                 \NC\SR
%% \HL
%% \NC \type{|}    \NC column separator                            \NC\FR
%% \NC \type{c}    \NC center                                      \NC\MR
%% \NC \type{l}    \NC flush left                                  \NC\MR
%% \NC \type{r}    \NC flush right                                 \NC\MR
%% \NC \type{s<n>} \NC set intercolumn space at value $n = 0, 1,2$ \NC\MR
%% \NC \type{w<>}  \NC set minimum column width at specified value \NC\LR
%% \HL
%% \stoptable
\placetable
  []
  [tab:formatkeys]
  {Zna?ky pro form?tov?n? tabulky.}
\starttable[|l|l|]
\HL
\NC \bf Zna?ka       \NC \bf V?znam                                  \NC\SR
\HL
\NC \type{|}         \NC odd?lova? sloupc?                           \NC\FR
\NC \type{c}         \NC sloupec se zarovn?n?m na st?ed              \NC\MR
\NC \type{l}         \NC sloupec se zarovn?n?m vlevo                 \NC\MR
\NC \type{r}         \NC sloupec se zarovn?n?m vpravo                \NC\MR
\NC \type{s<n>}      \NC mezisloupcov? mezera o~hodnot? $n = 0, 1,2$ \NC\MR
\NC \type{w<rozm?r>} \NC minim?ln? ???ka sloupce o~dan? hodnot?      \NC\LR
\HL
\stoptable

%% In addition to the format keys there are format commands.
%% \in{Table}[tab:formatcommands] shows a few of the essential
%% commands.
Jak jsme ji? vid?li, existuj? krom? form?tovac?ch zna?ek je?t?
form?tovac? p??kazy. Vkl?daj? se p??mo do jednotliv?ch bun?k. Ty
z?kladn? ukazuje \in{tabulka}[tab:formatcommands].

%% \placetable
%%   [here]
%%   [tab:formatcommands]
%%   {\CONTEXT\ table format commands.}
%% {\setuptables[bodyfont=small]
%% \starttable[s1|l|l|l|]
%% \HL
%% \NC \bf Command       \NC
%%     \NC \bf Meaning                                \NC\SR
%% \HL
%% \NC \type{\NR}        \NC next row
%%     \NC make row with no vertical space adjustment \NC\FR
%% \NC \type{\FR}        \NC first row
%%     \NC make row, adjust upper spacing             \NC\MR
%% \NC \type{\LR}        \NC last row
%%     \NC make row, adjust lower spacing             \NC\MR
%% \NC \type{\MR}        \NC mid row
%%     \NC make row, adjust upper and lower spacing   \NC\MR
%% \NC \type{\SR}        \NC separate row
%%     \NC make row, adjust upper and lower spacing   \NC\MR
%% \NC \type{\VL}        \NC vertical line
%%     \NC draw a vertical line, go to next column    \NC\MR
%% \NC \type{\NC}        \NC next column
%%     \NC go to next column                          \NC\MR
%% \NC \type{\HL}        \NC horizontal line
%%     \NC draw a horizontal line                     \NC\MR
%% \NC \type{\DL}        \NC division line$^\star$
%%     \NC draw a division line over the next column  \NC\MR
%% \NC \type{\DL[n]}     \NC division line$^\star$
%%     \NC draw a division line over $n$ columns      \NC\MR
%% \NC \type{\DC}        \NC division column$^\star$
%%     \NC draw a space over the next column          \NC\MR
%% \NC \type{\DR} \NC division row$^\star$
%%     \NC make row, adjust upper and lower spacing   \NC\MR
%% \NC \type{\LOW{text}} \NC ---
%%     \NC lower {\em text}                           \NC\MR
%% \NC \type{\TWO}, \type{\THREE} etc.  \NC ---
%%     \NC use the space of the next {\em two}, {\em three} columns \NC\LR
%% \HL
%% \NC \use3 \JustLeft{$^\star$ \type{\DL, \DC} and \type{\DR}
%%     are used in combination.}                      \NC\FR
%% \stoptable}
\placetable
  [here]
  [tab:formatcommands]
  {P??kazy pro form?tov?n? tabulky.}
{\setuptables[bodyfont=small]
\starttable[s1|l|l|l|l|]
\HL
\NC \bf P??kaz       \NC 
    \NC \bf V?znam                                \NC\SR
\HL
\NC \type{\NR}        \NC dal?? ??dka
    \NC ud?l?j ??dku bez vertik?ln?ho vyrovn?n?    \NC\FR
\NC \type{\FR}        \NC prvn? ??dka
    \NC ud?l?j ??dku s~horn?m vyrovn?n?m           \NC\MR
\NC \type{\LR}        \NC posledn? ??dka
    \NC ud?lej ??dku s~doln?m vyrovn?n?m           \NC\MR
\NC \type{\MR}        \NC prost?edn? ??dka
    \NC ud?lej ??dku s~horn?m i~doln?m vyrovn?n?m  \NC\MR
\NC \type{\SR}        \NC odd?lovac? ??dka
    \NC ud?lej ??dku s~horn?m i~doln?m vyrovn?n?m  \NC\MR
\NC \type{\VL}        \NC svisl? linka
    \NC nakresli svislou linku a~jdi na dal?? sloupec \NC\MR
\NC \type{\NC}        \NC dal?? sloupec
    \NC jsi na dal?? sloupec                       \NC\MR
\NC \type{\HL}        \NC vodorovn? linka
    \NC nakresli vodorovnou linku                  \NC\MR
\NC \type{\DL}        \NC odd?lovac? linka$^\star$
    \NC nakresli linku p?es n?sleduj?c? sloupec    \NC\MR
\NC \type{\DL[n]}     \NC odd?lovac? linka$^\star$
    \NC nakresli od?lovac? linku p?es $n$ sloupc?  \NC\MR
\NC \type{\DC}        \NC odd?lovac? linka$^\star$
    \NC ud?lej mezeru p?es n?sleduj?c? sloupec   \NC\MR
\NC \type{\DR}        \NC odd?lovac? ??dka$^\star$
    \NC ud?lej ??dku s~horn?m i~doln?m vyrovn?n?m  \NC\MR
\NC \type{\LOW{text}} \NC ---
    \NC napi? {\em text\/} n??e                    \NC\MR
\NC \type{\TWO}, \type{\THREE} etc. \NC ---
    \NC ud?lej mezeru p?es {\em dva}, {\em t?i}, \dots sloupce \NC\LR
\HL
\NC \use3 \JustLeft{P??kazy $^\star$ \type{\DL, \DC} a \type{\DR}
    lze kombinovat.}                      \NC\FR
\stoptable}

%% In the examples you have seen so far a number of
%% \CONTEXT\ formatting commands were used. These commands are
%% somewhat longer than the original and less cryptic but they
%% also handle a lot of table typography. In
%% \in{table}[tab:contextformatcommands] an overview of these
%% commands is given.
V~dal??ch p??kladech uvid?me form?tovac? p??kazy \CONTEXT{}u.
Jejich jm?na jsou del?? a m?n? kryptick? a ??d? dal?? form?tovac?
funkce tabulek. V~\in{tabulce}[tab:contextformatcommands] je jejich
p?ehled.

%% \placetable
%%   [here]
%%   [tab:contextformatcommands]
%%   {\CONTEXT\ table format commands.}
%% \starttable[|l|l|]
%% \HL
%% \NC \bf Command               \NC \bf Meaning                            \NC\SR
%% \HL
%% \NC \type{\JustLeft}          \NC flush left and suppress column format  \NC\FR
%% \NC \type{\JustRight}         \NC flush right and suppress column format \NC\MR
%% \NC \type{\JustCenter}        \NC center and suppress column format      \NC\MR
%% \NC \type{\SetTableToWidth{}} \NC specify exact table width              \NC\MR
%% \NC \type{\use{n}}            \NC use the space of the next $n$ columns  \NC\LR
%% \HL
%% \stoptable
\placetable
  [here]
  [tab:contextformatcommands]
  {\CONTEXT{}ov? form?tovac? p??kazy tabulky.}
\starttable[|l|l|]
\HL
\NC \bf P??kaz                \NC \bf V?znam                                    \NC\SR
\HL
\NC \type{\JustLeft}          \NC zarovnej vlevo a ignoruj form?tov?n? sloupce  \NC\FR
\NC \type{\JustRight}         \NC zarovnej vpravo a ignoruj form?tov?n? sloupce \NC\MR
\NC \type{\JustCenter}        \NC vycentruj a ignoruj form?tov?n? sloupce       \NC\MR
\NC \type{\SetTableToWidth{}} \NC nastav pevnou ???ku tabulky                   \NC\MR
\NC \type{\use{n}}            \NC p?esko? p???t?ch $n$ sloupc?                  \NC\LR
\HL
\stoptable

%% The tables below are shown with their sources. You can
%% always read the \TABLE\ manual by M.J. Wichura for more
%% sophisticated examples.
Tabulky uk?zan? d?le jsou uveden? se zdrojov?mi texty. Pro
slo?it?j?? uk?zky si lze tak? p?e??st \TABLE\ manu?l M.\,J.~Wichury.

%% \startbuffer
%% \placetable
%%   [here,force]
%%   [tab:effects of commands]
%%   {Effect of formatting commands.}
%%   {\startcombination[2*1]
%%      {\starttable[|c|c|]
%%       \HL
%%       \VL \bf Year \VL \bf Citizens \VL\SR
%%       \HL
%%       \VL 1675     \VL  ~428        \VL\FR
%%       \VL 1795     \VL  1124        \VL\MR
%%       \VL 1880     \VL  2405        \VL\MR
%%       \VL 1995     \VL  7408        \VL\LR
%%       \HL
%%       \stoptable}{standard}
%%      {\starttable[|c|c|]
%%       \HL
%%       \VL \bf Year \VL \bf Citizens \VL\NR
%%       \HL
%%       \VL 1675     \VL  ~428        \VL\NR
%%       \VL 1795     \VL  1124        \VL\NR
%%       \VL 1880     \VL  2405        \VL\NR
%%       \VL 1995     \VL  7408        \VL\NR
%%       \HL
%%       \stoptable}{only \type{\NR}}
%%    \stopcombination}
%% \stopbuffer
\startbuffer
\placetable
  [here,force]
  [tab:effects of commands]
  {Vliv form?tovac?ch p??kaz?.}
  {\startcombination[2*1]
     {\starttable[|c|c|]
      \HL
      \VL \bf Rok \VL \bf Po?et obyvatel \VL\SR
      \HL
      \VL 1675     \VL  ~428        \VL\FR
      \VL 1795     \VL  1124        \VL\MR
      \VL 1880     \VL  2405        \VL\MR
      \VL 1995     \VL  7408        \VL\LR
      \HL
      \stoptable}{standardn?}
     {\starttable[|c|c|]
      \HL
      \VL \bf Rok \VL \bf Po?et obyvatel \VL\NR
      \HL
      \VL 1675     \VL  ~428        \VL\NR
      \VL 1795     \VL  1124        \VL\NR
      \VL 1880     \VL  2405        \VL\NR
      \VL 1995     \VL  7408        \VL\NR
      \HL
      \stoptable}{pouze \type{\NR}}
   \stopcombination}
\stopbuffer

\typebuffer

%% In the example above the first table \type{\SR}, \type{\FR},
%% \type{\MR} and \type{\LR} are used. These commands take care
%% of line spacing within a table. As you can see below
%% the command \type{\NR} only starts a new row.
Ve v??e uveden?m p??kladu jsou v~prvn? tabulce pou?ity \type{\SR}, \type{\FR},
\type{\MR} a \type{\LR}. Tyto p??kazy se staraj? o~vkl?d?n? mezer
uvnit? tabulky. Jak je vid?t, p??kaz \type{\NR} pouze za??n? novou ??dku.

\getbuffer

%% In the example below column interspacing with the \type{s0}
%% and \type{s1} keys is shown.
V~dal??m p??klad? je uk?z?no vyrovn?n? sloupc? pomoc? zna?ek \type{s0}
a~\type{s1}.

%% \startbuffer[one]
%% \starttable[|c|c|]
%% \HL
%% \VL \bf Year \VL \bf Citizens \VL\SR
%% \HL
%% \VL 1675 \VL  ~428 \VL\FR
%% \VL 1795 \VL  1124 \VL\MR
%% \VL 1880 \VL  2405 \VL\MR
%% \VL 1995 \VL  7408 \VL\LR
%% \HL
%% \stoptable
%% \stopbuffer

%% \startbuffer[two]
%% \starttable[s0 | c | c |]
%% \HL
%% \VL \bf Year \VL \bf Citizens \VL\SR
%% \HL
%% \VL 1675 \VL  ~428 \VL\FR
%% \VL 1795 \VL  1124 \VL\MR
%% \VL 1880 \VL  2405 \VL\MR
%% \VL 1995 \VL  7408 \VL\LR
%% \HL
%% \stoptable
%% \stopbuffer

%% \startbuffer[three]
%% \starttable[| s0 c | c |]
%% \HL
%% \VL \bf Year \VL \bf Citizens \VL\SR
%% \HL
%% \VL 1675 \VL  ~428 \VL\FR
%% \VL 1795 \VL  1124 \VL\MR
%% \VL 1880 \VL  2405 \VL\MR
%% \VL 1995 \VL  7408 \VL\LR
%% \HL
%% \stoptable
%% \stopbuffer

%% \startbuffer[four]
%% \starttable[| c | s0 c |]
%% \HL
%% \VL \bf Year \VL \bf Citizens \VL\SR
%% \HL
%% \VL 1675 \VL  ~428 \VL\FR
%% \VL 1795 \VL  1124 \VL\MR
%% \VL 1880 \VL  2405 \VL\MR
%% \VL 1995 \VL  7408 \VL\LR
%% \HL
%% \stoptable
%% \stopbuffer

%% \startbuffer[five]
%% \starttable[s1 | c | c |]
%% \HL
%% \VL \bf Year \VL \bf Citizens \VL\SR
%% \HL
%% \VL 1675 \VL  ~428 \VL\FR
%% \VL 1795 \VL  1124 \VL\MR
%% \VL 1880 \VL  2405 \VL\MR
%% \VL 1995 \VL  7408 \VL\LR
%% \HL
%% \stoptable
%% \stopbuffer

%% \placetable
%%   [here,force]
%%   [tab:example formatcommands]
%%   {Effect of formatting commands.}
%%   {\startcombination[3*2]
%%     {\getbuffer[one]}   {standard}
%%     {\getbuffer[two]}   {\type{s0}}
%%     {\getbuffer[three]} {\type{s0} in column~1}
%%     {\getbuffer[four]}  {\type{s0} in column~2}
%%     {\getbuffer[five]}  {\type{s1}}
%%     {}                  {}
%%   \stopcombination}
%% \stopbuffer

\startbuffer
\startbuffer[one]
\starttable[|c|c|]
\HL
\VL \bf Rok \VL \bf Obyvatel \VL\SR
\HL
\VL 1675 \VL  ~428 \VL\FR
\VL 1795 \VL  1124 \VL\MR
\VL 1880 \VL  2405 \VL\MR
\VL 1995 \VL  7408 \VL\LR
\HL
\stoptable
\stopbuffer

\startbuffer[two]
\starttable[s0 | c | c |]
\HL
\VL \bf Rok \VL \bf Obyvatel \VL\SR
\HL
\VL 1675 \VL  ~428 \VL\FR
\VL 1795 \VL  1124 \VL\MR
\VL 1880 \VL  2405 \VL\MR
\VL 1995 \VL  7408 \VL\LR
\HL
\stoptable
\stopbuffer

\startbuffer[three]
\starttable[| s0 c | c |]
\HL
\VL \bf Rok \VL \bf Obyvatel \VL\SR
\HL
\VL 1675 \VL  ~428 \VL\FR
\VL 1795 \VL  1124 \VL\MR
\VL 1880 \VL  2405 \VL\MR
\VL 1995 \VL  7408 \VL\LR
\HL
\stoptable
\stopbuffer

\startbuffer[four]
\starttable[| c | s0 c |]
\HL
\VL \bf Rok \VL \bf Obyvatel \VL\SR
\HL
\VL 1675 \VL  ~428 \VL\FR
\VL 1795 \VL  1124 \VL\MR
\VL 1880 \VL  2405 \VL\MR
\VL 1995 \VL  7408 \VL\LR
\HL
\stoptable
\stopbuffer

\startbuffer[five]
\starttable[s1 | c | c |]
\HL
\VL \bf Rok \VL \bf Obyvatel \VL\SR
\HL
\VL 1675 \VL  ~428 \VL\FR
\VL 1795 \VL  1124 \VL\MR
\VL 1880 \VL  2405 \VL\MR
\VL 1995 \VL  7408 \VL\LR
\HL
\stoptable
\stopbuffer

\placetable
  [here,force]
  [tab:example-format-commands]
  {Vliv form?tovac?ch zna?ek.}
  {\startcombination[3*2]
    {\getbuffer[one]}   {standardn?}
    {\getbuffer[two]}   {\type{s0}}
    {\getbuffer[three]} {\type{s0} ve sloupci~1}
    {\getbuffer[four]}  {\type{s0} ve sloupci~2}
    {\getbuffer[five]}  {\type{s1}}
    {}                  {}
  \stopcombination}
\stopbuffer

\typebuffer

%% After processing these tables come out as
%% \in{table}[tab:example formatcommands]. The default table
%% has a column interspacing of \type{s2}.
Po zpracov?n? t?chto p??klad? dostaneme
\in{tabulku}[tab:example-format-commands]. Implicitn? tabulka m?
mezerov?n? sloupc? pomoc? zna?ek \type{s2}.

\getbuffer

%% Columns are often separated with a vertical line $|$ and
%% rows by a horizontal line.
Sloupce b?vaj? ob?as odd?leny svisl?mi linkami $|$ a~??dky
vodorovn?mi.

%% \startbuffer
%% \placetable
%%   [here,force]
%%   [tab:divisions]
%%   {Effect of options.}
%% \starttable[|c|c|c|]
%% \NC Steenwijk  \NC Zwartsluis \NC Hasselt    \NC\SR
%% \DC            \DL            \DC               \DR
%% \NC Zwartsluis \VL Hasselt    \VL Steenwijk  \NC\SR
%% \DC            \DL            \DC               \DR
%% \NC Hasselt    \NC Steenwijk  \NC Zwartsluis \NC\SR
%% \stoptable
%% \stopbuffer
\startbuffer
\placetable
  [here,force]
  [tab:divisions]
  {Vyvol?n? dojmu volby.}
\starttable[|c|c|c|]
\NC Steenwijk  \NC Zwartsluis \NC Hasselt    \NC\SR
\DC            \DL            \DC               \DR
\NC Zwartsluis \VL Hasselt    \VL Steenwijk  \NC\SR
\DC            \DL            \DC               \DR
\NC Hasselt    \NC Steenwijk  \NC Zwartsluis \NC\SR
\stoptable
\stopbuffer

\typebuffer

\getbuffer

%% A more sensible example is given in the
%% \in{table}[tab:example contextcommands].
Prakti?t?j?? p??klad je v~\in{tabulce}[tab:example contextcommands].

%% \startbuffer
%% \placetable
%%   [here,force]
%%   [tab:example contextcommands]
%%   {Effect of \CONTEXT\ formatting commands.}
%% \starttable[|l|c|c|c|c|]
%% \HL
%% \VL \FIVE \JustCenter{City council elections in 1994}    \VL\SR
%% \HL
%% \VL \LOW{Party} \VL \THREE{Districts}   \VL \LOW{Total} \VL\SR
%% \DC             \DL[3]                  \DC                \DR
%% \VL             \VL 1   \VL 2   \VL 3   \VL             \VL\SR
%% \HL
%% \VL PvdA        \VL 351 \VL 433 \VL 459 \VL 1243        \VL\FR
%% \VL CDA         \VL 346 \VL 350 \VL 285 \VL ~981        \VL\MR
%% \VL VVD         \VL 140 \VL 113 \VL 132 \VL ~385        \VL\MR
%% \VL HKV/RPF/SGP \VL 348 \VL 261 \VL 158 \VL ~767        \VL\MR
%% \VL GPV         \VL 117 \VL 192 \VL 291 \VL ~600        \VL\LR
%% \HL
%% \stoptable
%% \stopbuffer
\startbuffer
\placetable
  [here,force]
  [tab:example contextcommands]
  {Vliv form?tovac?ch p??kaz? \CONTEXT{}u.}
\starttable[|l|c|c|c|c|]
\HL
\VL \FIVE \JustCenter{Volby do m?stsk? rady v~roce 1994}    \VL\SR
\HL
\VL \LOW{Strana} \VL \THREE{Okrsky}   \VL \LOW{Celkem}  \VL\SR
\DC             \DL[3]                  \DC                \DR
\VL             \VL 1   \VL 2   \VL 3   \VL             \VL\SR
\HL
\VL PvdA        \VL 351 \VL 433 \VL 459 \VL 1243        \VL\FR
\VL CDA         \VL 346 \VL 350 \VL 285 \VL ~981        \VL\MR
\VL VVD         \VL 140 \VL 113 \VL 132 \VL ~385        \VL\MR
\VL HKV/RPF/SGP \VL 348 \VL 261 \VL 158 \VL ~767        \VL\MR
\VL GPV         \VL 117 \VL 192 \VL 291 \VL ~600        \VL\LR
\HL
\stoptable
\stopbuffer

\typebuffer

%% In the last column a \type{~} is used to simulate a four
%% digit number. The \type{~} has the width of a digit.
V~posledn?m sloupci je znak \type{~} pou?it k~simulaci ?ty?cifern?ho
??sla. Znak \type{~} m? ???ku cifry. 

\getbuffer

%% Sometimes your tables get too big and you want to adjust, for
%% example, the body font or the vertical and/or horizontal spacing
%% around vertical and horizontal lines. This is done by:
N?kdy se n?m tabulka p??li? rozroste. Abychom ji vysadili s~textem,
m??eme nap??klad zmen?it pou?it? p?smo. Pomoc? p??kazu

\shortsetup{setuptables}

to ud?l?me takto:

%% \startbuffer
%% \placetable
%%   [here,force]
%%   [tab:setuptable]
%%   {Use of \type{\setuptables}.}
%% {\startcombination[1*3]
%% {\setuptables[bodyfont=10pt]
%% \starttable[|c|c|c|c|c|c|]
%% \HL
%% \VL \use6 \JustCenter{Decline of wealth in
%%                       Dutch florine (Dfl)} \VL\SR
%% \HL
%% \VL Year \VL 1.000--2.000
%%          \VL 2.000--3.000
%%          \VL 3.000--5.000
%%          \VL 5.000--10.000
%%          \VL   over 10.000 \VL\SR
%% \HL
%% \VL 1675 \VL 22 \VL 7 \VL 5  \VL 4  \VL 5  \VL\FR
%% \VL 1724 \VL ~4 \VL 4 \VL -- \VL 4  \VL 3  \VL\MR
%% \VL 1750 \VL 12 \VL 3 \VL 2  \VL 2  \VL -- \VL\MR
%% \VL 1808 \VL ~9 \VL 2 \VL -- \VL -- \VL -- \VL\LR
%% \HL
%% \stoptable}{\tt bodyfont=10pt}
%% {\setuptables[bodyfont=8pt]
%% \starttable[|c|c|c|c|c|c|]
%% \HL
%% \VL \use6 \JustCenter{Decline of wealth in
%%                       Dutch florine (Dfl)} \VL\SR
%% \HL
%% \VL Year \VL 1.000--2.000
%%          \VL 2.000--3.000
%%          \VL 3.000--5.000
%%          \VL 5.000--10.000
%%          \VL   over 10.000 \VL\SR
%% \HL
%% \VL 1675 \VL 22 \VL 7 \VL 5  \VL 4  \VL 5  \VL\FR
%% \VL 1724 \VL ~4 \VL 4 \VL -- \VL 4  \VL 3  \VL\MR
%% \VL 1750 \VL 12 \VL 3 \VL 2  \VL 2  \VL -- \VL\MR
%% \VL 1808 \VL ~9 \VL 2 \VL -- \VL -- \VL -- \VL\LR
%% \HL
%% \stoptable}{\tt bodyfont=8pt}
%% {\setuptables[bodyfont=6pt,distance=small]
%% \starttable[|c|c|c|c|c|c|]
%% \HL
%% \VL \use6 \JustCenter{Decline of wealth in
%%                       Dutch florine (Dfl)} \VL\SR
%% \HL
%% \VL Year \VL 1.000--2.000
%%          \VL 2.000--3.000
%%          \VL 3.000--5.000
%%          \VL 5.000--10.000
%%          \VL   over 10.000 \VL\SR
%% \HL
%% \VL 1675 \VL 22 \VL 7 \VL 5  \VL 4  \VL 5  \VL\FR
%% \VL 1724 \VL ~4 \VL 4 \VL -- \VL 4  \VL 3  \VL\MR
%% \VL 1750 \VL 12 \VL 3 \VL 2  \VL 2  \VL -- \VL\MR
%% \VL 1808 \VL ~9 \VL 2 \VL -- \VL -- \VL -- \VL\LR
%% \HL
%% \stoptable}{\tt bodyfont=6pt,distance=small}
%% \stopcombination}
%% \stopbuffer
\startbuffer
\placetable
  [here,force]
  [tab:setuptable]
  {Pou?it? \type{\setuptables}.}
{\startcombination[1*3]
{\setuptables[bodyfont=10pt]
\starttable[|c|c|c|c|c|c|]
\HL
\VL \use6
    \JustCenter{Pokles bohatstv? v~holandsk?ch guldenech (Dfl)}
    \VL\SR
\HL
\VL Year \VL 1.000--2.000
         \VL 2.000--3.000
         \VL 3.000--5.000
         \VL 5.000--10.000
         \VL   p?es 10.000 \VL\SR
\HL
\VL 1675 \VL 22 \VL 7 \VL 5  \VL 4  \VL 5  \VL\FR
\VL 1724 \VL ~4 \VL 4 \VL -- \VL 4  \VL 3  \VL\MR
\VL 1750 \VL 12 \VL 3 \VL 2  \VL 2  \VL -- \VL\MR
\VL 1808 \VL ~9 \VL 2 \VL -- \VL -- \VL -- \VL\LR
\HL
\stoptable}{\tt bodyfont=10pt}
{\setuptables[bodyfont=8pt]
\starttable[|c|c|c|c|c|c|]
\HL
\VL \use6
    \JustCenter{Pokles bohatstv? v~holandsk?ch guldenech (Dfl)}
    \VL\SR
\HL
\VL Year \VL 1.000--2.000
         \VL 2.000--3.000
         \VL 3.000--5.000
         \VL 5.000--10.000
         \VL   over 10.000 \VL\SR
\HL
\VL 1675 \VL 22 \VL 7 \VL 5  \VL 4  \VL 5  \VL\FR
\VL 1724 \VL ~4 \VL 4 \VL -- \VL 4  \VL 3  \VL\MR
\VL 1750 \VL 12 \VL 3 \VL 2  \VL 2  \VL -- \VL\MR
\VL 1808 \VL ~9 \VL 2 \VL -- \VL -- \VL -- \VL\LR
\HL
\stoptable}{\tt bodyfont=8pt}
{\setuptables[bodyfont=6pt,distance=small]
\starttable[|c|c|c|c|c|c|]
\HL
\VL \use6
    \JustCenter{Pokles bohatstv? v~holandsk?ch guldenech (Dfl)}
    \VL\SR
\HL
\VL Year \VL 1.000--2.000
         \VL 2.000--3.000
         \VL 3.000--5.000
         \VL 5.000--10.000
         \VL   p?es 10.000 \VL\SR
\HL
\VL 1675 \VL 22 \VL 7 \VL 5  \VL 4  \VL 5  \VL\FR
\VL 1724 \VL ~4 \VL 4 \VL -- \VL 4  \VL 3  \VL\MR
\VL 1750 \VL 12 \VL 3 \VL 2  \VL 2  \VL -- \VL\MR
\VL 1808 \VL ~9 \VL 2 \VL -- \VL -- \VL -- \VL\LR
\HL
\stoptable}{\tt bodyfont=6pt,distance=small}
\stopcombination}
\stopbuffer

\typebuffer

\getbuffer

%% You can also set up the layout of tables with:
Nastavit um?st?n? tabulek m??eme tak? pomoc? ji? zn?m?ho

\shortsetup{setupfloats}

%% You can set up the numbering and the labels with:
??slov?n? a popisky nastav?me p??kazem

\shortsetup{setupcaptions}

%% These  commands are typed in the set up area of your
%% input file and have a global effect on all floating blocks.
Tyto p??kazy pou??v?me v~deklara?n? oblasti na?eho vstupn?ho souboru
a~maj? glob?ln? platnost.

%% \startbuffer
%% \setupfloats[location=left]
%% \setupcaptions[style=boldslanted]

%% \placetable[here][tab:opening hours]{Library opening hours.}
%% \starttable[|l|c|c|]
%% \HL
%% \VL \bf Day   \VL \use2 \bf Opening hours           \VL\SR
%% \HL
%% \VL Monday    \VL 14.00 -- 17.30 \VL 18.30 -- 20.30 \VL\FR
%% \VL Tuesday   \VL                \VL                \VL\MR
%% \VL Wednesday \VL 10.00 -- 12.00 \VL 14.00 -- 17.30 \VL\MR
%% \VL Thursday  \VL 14.00 -- 17.30 \VL 18.30 -- 20.30 \VL\MR
%% \VL Friday    \VL 14.00 -- 17.30 \VL                \VL\MR
%% \VL Saturday  \VL 10.00 -- 12.30 \VL                \VL\LR
%% \HL
%% \stoptable
%% \stopbuffer
\startbuffer
\setupfloats[location=left]
\setupcaptions[style=boldslanted]

\placetable[here][tab:opening hours]{Otev?rac? hodiny knihovny.}
\starttable[|l|c|c|]
\HL
\VL \bf Den   \VL \use2 \bf Otev?rac? hodiny        \VL\SR
\HL
\VL pond?l?   \VL 14.00 -- 17.30 \VL 18.30 -- 20.30 \VL\FR
\VL ?ter?     \VL                \VL                \VL\MR
\VL st?eda    \VL 10.00 -- 12.00 \VL 14.00 -- 17.30 \VL\MR
\VL ?tvrtek   \VL 14.00 -- 17.30 \VL 18.30 -- 20.30 \VL\MR
\VL p?tek     \VL 14.00 -- 17.30 \VL                \VL\MR
\VL sobota    \VL 10.00 -- 12.30 \VL                \VL\LR
\HL
\stoptable
\stopbuffer

\typebuffer

%% The result is displayed in \in{table}[tab:opening hours].
V?sledek zobrazuje \in{tabulka}[tab:opening hours].

\start
\getbuffer
\stop

\stopcomponent
