Tables Overview

From Wiki
Revision as of 11:27, 6 July 2005 by 194.99.93.243 (talk) (table formatting)
Jump to navigation Jump to search

< 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.

Features

Featuretabulatetable tablesTABLElinetable
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