Difference between revisions of "Tables Overview"
Jump to navigation
Jump to search
m (arrgh, typo) |
(link to changed source files (mkii, mkiv split)) |
||
Line 139: | Line 139: | ||
<tr align="left" valign="top" style="background-color:#EEEEEE;"> | <tr align="left" valign="top" style="background-color:#EEEEEE;"> | ||
<th style="background-color:#DDDDDD">documentation (except wiki)</th> | <th style="background-color:#DDDDDD">documentation (except wiki)</th> | ||
− | <td>[[manual:cont-eni.pdf|cont-eni.pdf]], [[source: | + | <td>[[manual:cont-eni.pdf|cont-eni.pdf]], [[source:tabl-tbl.mkii|tabl-tbl.mkii]], [http://www.ntg.nl/maps/pdf/22_28.pdf MAPS article]</td> |
− | <td>[[manual:mp-cb-en.pdf|ms-cb-en.pdf]], [[source: | + | <td>[[manual:mp-cb-en.pdf|ms-cb-en.pdf]], [[source:tabl-tab.mkii|tabl-tab.mkii]]</td> |
− | <td>[[source: | + | <td>[[source:tabl-tab.mkii|tabl-tab.mkii]]</td> |
− | <td>[[manual:enattab.pdf|enattab.pdf]], [http://dl.contextgarden.net/myway/NaturalTables.pdf NaturalTables.pdf], [[source: | + | <td>[[manual:enattab.pdf|enattab.pdf]], [http://dl.contextgarden.net/myway/NaturalTables.pdf NaturalTables.pdf], [[source:tabl-ntb.mkii|tabl-ntb.mkii]]</td> |
− | <td>[[source: | + | <td>[[source:tabl-ltb.mkii|tabl-ltb.mkii]]</td> |
</tr></table> | </tr></table> | ||
[[Category:Tables]] | [[Category:Tables]] |
Revision as of 16:07, 23 August 2010
< 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)
If you have simple tables with lots of contents, and you're tired of typing \bTR\bTD
s or \NC\NR
s, you can also have a look at
- database module and its manual.
- wikitable, a TABLE wrapper that uses MediaWiki syntax
- ConTeXt basics for users: Table macros and Table macros II by Aditya Mahajan (2007 and 2008).
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 | \setuptabulate[header=repeat] \starttabulatehead ... \stoptabulatehead |
no | \setuptables [split=repeat] \starttablehead ... \stoptablehead |
\bTABLE [split=repeat] \bTABLEhead ... \eTABLEhead |
yes |
repeated footer | \setuptabulate[footer=repeat] \starttabulatetail ... \stoptabulatetail |
no | \setuptables [split=repeat] \starttabletail ... \stoptabletail |
no | yes |
automatic fitting to given table width | no | \SetTableToWidth | \SetTableToWidth |
\setupTABLE [option=stretch, textwidth=10cm] |
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 |
there may be problems in width and height calculation and perhaps the multipage features | still experimental, nearly no documentation |
documentation (except wiki) | cont-eni.pdf, tabl-tbl.mkii, MAPS article | ms-cb-en.pdf, tabl-tab.mkii | tabl-tab.mkii | enattab.pdf, NaturalTables.pdf, tabl-ntb.mkii | tabl-ltb.mkii |