Difference between revisions of "Tables Overview"
Jump to navigation
Jump to search
(enhanced features table) |
(table formatting) |
||
Line 10: | Line 10: | ||
== Features == | == Features == | ||
− | <table | + | <table style="border:1px solid #DDDDDD; width:100%" align="left" valign="top"> |
− | <tr | + | <tr style="background-color:#DDDDDD" align="left" valign="top"> |
<th>Feature</th><th>[[tabulate]]</th><th>[[table]]</th> | <th>Feature</th><th>[[tabulate]]</th><th>[[table]]</th> | ||
<th>[[tables]]</th><th>[[TABLE]]</th><th>[[linetable]]</th> | <th>[[tables]]</th><th>[[TABLE]]</th><th>[[linetable]]</th> | ||
</tr> | </tr> | ||
<tr align="left" valign="top"> | <tr align="left" valign="top"> | ||
− | <th | + | <th style="background-color:#DDDDDD">horizonal lines</th> |
<td><cmd>HL</cmd></td> | <td><cmd>HL</cmd></td> | ||
<td><cmd>HL</cmd></td> | <td><cmd>HL</cmd></td> | ||
Line 29: | Line 29: | ||
<td>unknown</td> | <td>unknown</td> | ||
</tr> | </tr> | ||
− | <tr align="left" valign="top"> | + | <tr align="left" valign="top" style="background-color:#EEEEEE;"> |
− | <th | + | <th style="background-color:#DDDDDD">vertical lines</th> |
<td>no</td> | <td>no</td> | ||
<td><cmd>VL</cmd></td> | <td><cmd>VL</cmd></td> | ||
Line 44: | Line 44: | ||
</tr> | </tr> | ||
<tr align="left" valign="top"> | <tr align="left" valign="top"> | ||
− | <th | + | <th style="background-color:#DDDDDD">multipage</th> |
<td>yes</td> | <td>yes</td> | ||
<td>no</td> | <td>no</td> | ||
Line 51: | Line 51: | ||
<td>yes, even horizontally</td> | <td>yes, even horizontally</td> | ||
</tr> | </tr> | ||
− | <tr align="left" valign="top"> | + | <tr align="left" valign="top" style="background-color:#EEEEEE;"> |
− | <th | + | <th style="background-color:#DDDDDD">repeated header</th> |
<td>no</td> | <td>no</td> | ||
<td>no</td> | <td>no</td> | ||
Line 66: | Line 66: | ||
</tr> | </tr> | ||
<tr align="left" valign="top"> | <tr align="left" valign="top"> | ||
− | <th | + | <th style="background-color:#DDDDDD">repeated footer</th> |
<td>no</td> | <td>no</td> | ||
<td>no</td> | <td>no</td> | ||
Line 73: | Line 73: | ||
<td>yes</td> | <td>yes</td> | ||
</tr> | </tr> | ||
− | <tr align="left" valign="top"> | + | <tr align="left" valign="top" style="background-color:#EEEEEE;"> |
− | <th | + | <th style="background-color:#DDDDDD">automatic fitting to given table width</th> |
<td>no</td> | <td>no</td> | ||
<td><cmd>SetTableToWidth</cmd></td> | <td><cmd>SetTableToWidth</cmd></td> | ||
Line 82: | Line 82: | ||
</tr> | </tr> | ||
<tr align="left" valign="top"> | <tr align="left" valign="top"> | ||
− | <th | + | <th style="background-color:#DDDDDD">problems</th> |
<td>very limited</td> | <td>very limited</td> | ||
<td>limited</td> | <td>limited</td> | ||
Line 103: | Line 103: | ||
<td>still experimental, nearly no documentation</td> | <td>still experimental, nearly no documentation</td> | ||
</tr> | </tr> | ||
− | <tr align="left" valign="top"> | + | <tr align="left" valign="top" style="background-color:#EEEEEE;"> |
− | <th | + | <th style="background-color:#DDDDDD">documentation (except wiki)</th> |
<td>cont-enp.pdf, core-tbl.tex</td> | <td>cont-enp.pdf, core-tbl.tex</td> | ||
<td>mp-cb-en.pdf, core-tab.tex</td> | <td>mp-cb-en.pdf, core-tab.tex</td> |
Revision as of 11:27, 6 July 2005
< Visuals | Structurals >
ConTeXt has a whole bunch of possibilities to typeset tables. Not each provides everything you may need, and the older ones are deprecated.
- tabulate (tabulation)
- table (TaBlE)
- tables (multipage TaBlE)
- TABLE (natural tables, HTML tables)
- linetable (new multipage tables)
Features
Feature | tabulate | table | tables | TABLE | linetable |
---|---|---|---|---|---|
horizonal lines | \HL | \HL | \HL | \setupTABLE [topframe=on] or \setupTABLE [bottomframe=on] |
unknown |
vertical lines | no | \VL | \VL | \setupTABLE [leftframe=on] or \setupTABLE [rightframe=on] |
unknown |
multipage | yes | no | yes | yes, with split=yes or split=repeat | yes, even horizontally |
repeated header | no | no | \starttablehead | \bTABLE [split=repeat] \bTABLEhead ... \eTABLEhead |
yes |
repeated footer | no | no | \starttabletail | no | yes |
automatic fitting to given table width | no | \SetTableToWidth | \SetTableToWidth | no | unknown |
problems | very limited | limited | \starttext \starttablehead \HL \stoptablehead \starttables[|l|l|] \dorecurse{50}{% \VL SomeText \VL SomeText \VL \AR} \stoptables Problem: top margin on first page is bigger. \stoptext |
no setup for heights and widths | still experimental, nearly no documentation |
documentation (except wiki) | cont-enp.pdf, core-tbl.tex | mp-cb-en.pdf, core-tab.tex | core-tab.tex | enattab.pdf, NaturalTables.pdf, core-ntb.tex | core-ltb.tex |