Tables Overview

From ConTeXt wiki
Revision as of 11:32, 6 November 2005 by Mojca Miklavec (talk | contribs) (→‎Features: a comment about setting width and height of cells in natural tables (and some invisible source cosmetics))
Jump to navigationJump 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.


Featuretabulatetable tablesTABLElinetable
horizonal lines \HL \HL \HL
vertical lines no \VL \VL
multipage yes no yes yes, with split=yes or split=repeat yes, even horizontally
repeated header no no \starttablehead
repeated footer no no \starttabletail no yes
automatic fitting to given table width no \SetTableToWidth \SetTableToWidth
problems very limited limited
  \VL SomeText
  \VL SomeText
  \VL \AR}
Problem: top margin on
first page is bigger.
no setup for heights and widths (???)
WRONG! in \setupTABLE or after \bTD you can say [width=5cm,height=3cm] (although there may be some weird cases where this fails from some unknown reason)
still experimental, nearly no documentation
documentation (except wiki) cont-eni.pdf, core-tbl.tex ms-cb-en.pdf, core-tab.tex core-tab.tex enattab.pdf, NaturalTables.pdf, core-ntb.tex core-ltb.tex