< 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] |
|
vertical lines | no | \VL | \VL | \setupTABLE [leftframe=on] or \setupTABLE [rightframe=on] |
|
multipage | yes | no | yes | split=yes | yes |
repeated header | no | \starttablehead | \bTABLE [split=repeat] \bTABLEhead ... \eTABLEhead |
||
repeated footer | no | \starttabletail | no | ||
automatic fitting to given table width | no | \SetTableToWidth | \SetTableToWidth | no | |
problems | \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 |
||||
documentation | 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 |