Changes

Jump to navigation Jump to search
1,813 bytes added ,  20:08, 15 July 2006
see also [[source:core-ntb.tex|core-ntb.tex]]
 
If you want to <b>split</b> your natural table over several pages, you can
simply do this by adding <tt>\setupTABLE[split=yes]</tt> to your TABLE
definition. An other way is to define it right at the TABLE start
by adding the parameter <tt>[split=yes]</tt> (as in the example).
 
The content of the <b>table head</b>
(all between <tt>\bTABLEhead</tt> and <tt>\eTABLEhead</tt>)
is printed at the beginning of every new page that contains parts of
your multipage table.
In case you want to use different table headers for the beginning of the table and the
following splitted parts you can do this by defining an <b>alternate header</b>.
Just add <tt>\bTABLEnext</tt>...<tt>\eTABLEnext</tt> with the wanted header layout
right after your normal head definition. This defines the alternate (maybe less verbose)
header for all but the first part.
 
The table footer is defined between <tt>\bTABLEfont</tt> and
<tt>\eTABLEfont</tt>.
 
<texcode>
\bTABLE[split=yes]
%
% here starts the definition of the table head
% IMPORTANT: use \eTH ... \eTH to enclose the head cells
%
\bTABLEhead
\bTR
\bTH _your_table_head_ column 1 \eTH
\bTH _your_table_head_ column 2 \eTH
\bTH _your_table_head_ column 3 \eTH
\eTR
\eTABLEhead
%
% the table body (main part)
%
\bTABLEbody
\bTR
\bTC _your_table_body_ row 1, column 1 \eTC
\bTC _your_table_body_ row 1, column 2 \eTC
\bTC _your_table_body_ row 1, column 3 \eTC
\eTR
%...
%... (the rest of your multipage table)
%...
\bTR
\bTC _your_table_body_ row n, column 1 \eTC
\bTC _your_table_body_ row n, column 2 \eTC
\bTC _your_table_body_ row n, column 3 \eTC
\eTR
\eTABLEbody
%
% the table foot
%
\eTABLEfoot
\bTR
\bTC _your_table_foot_ column 1 \eTC
\bTC _your_table_foot_ column 2 \eTC
\bTC _your_table_foot_ column 3 \eTC
\eTR
\eTABLEfoot
%
\eTABLE
 
</texcode>
== Creating tables from CSV data (Comma Separated Values) ==
37

edits

Navigation menu