Difference between revisions of "Tables Overview"
Jump to navigation
Jump to search
m (link to the database module) |
(fixed broken links (someone renamed the table pages...)) |
||
Line 3: | Line 3: | ||
ConTeXt has a whole bunch of possibilities to typeset tables. Not each provides everything you may need, and the older ones are deprecated. | 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) | * [[TABLE]] (natural tables, HTML tables) | ||
− | * [[ | + | * [[Linetable]] (new multipage tables) |
If you have simple tables with lots of contents, and you're tired of typing <code>\bTR\bTD</code>s or <code>\NC\NR</code>s, you can also have a look at | If you have simple tables with lots of contents, and you're tired of typing <code>\bTR\bTD</code>s or <code>\NC\NR</code>s, you can also have a look at | ||
Line 15: | Line 15: | ||
<table style="border:1px solid #DDDDDD; width:100%" align="left" valign="top"> | <table style="border:1px solid #DDDDDD; width:100%" align="left" valign="top"> | ||
<tr style="background-color:#DDDDDD" align="left" valign="top"> | <tr style="background-color:#DDDDDD" align="left" valign="top"> | ||
− | <th>Feature</th><th>[[ | + | <th>Feature</th><th>[[Tabulate]]</th><th>[[Table]]</th> |
− | <th>[[ | + | <th>[[Tables]]</th><th>[[TABLE]]</th><th>[[Linetable]]</th> |
</tr> | </tr> | ||
<tr align="left" valign="top"> | <tr align="left" valign="top"> |
Revision as of 19:10, 25 April 2007
< 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
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 | \starttablehead | \bTABLE [split=repeat] \bTABLEhead ... \eTABLEhead |
yes |
repeated footer | \setuptabulate[footer=repeat] \starttabulatetail ... \stoptabulatetail |
no | \starttabletail | 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, core-tbl.tex, MAPS article | ms-cb-en.pdf, core-tab.tex | core-tab.tex | enattab.pdf, NaturalTables.pdf, core-ntb.tex | core-ltb.tex |