Changes

Jump to navigation Jump to search
172 bytes added ,  08:29, 2 July 2022
m
Text replacement - "pragma-ade.com" to "pragma-ade.nl"
< [[Structurals|Text formatting]] | [[Structurals]] >__NOTOC__= Many possibilities for tables typesetting =
ConTeXt has a whole bunch of possibilities to typeset tables. Not each provides everything [[#Features|Features]] you may need.
[[Floating_Objects|Floating objects]] enable to place and number tables, like graphics.
 
{{TwoColumnsUnderLevel1
|
== Recommended ==
* [[Tabulate]] (tabulation, '''recommended for simple requirements''')
* [[TABLE]] (natural tables, HTML tables, '''recommended''')
* [[xtables]] (extreme tables – mostly compatible to natural tables, better for page breaking)
* framed tables (for simple tables that span hundreds of pages)
|Older ones:== Deprecated ==
* [[Table]] (TaBlE, '''deprecated''')
* [[Tables]] (multipage TaBlE, '''deprecated''')
 
== Experimental ==
* [[Linetable]] ("new" multipage tables, '''experimental''' and probably obsolete)
}}
 
Note that you can use natural and extreme tables with the old Table/Tabulate syntax. (To make this even more confusing...)
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:
* [[M-database|database]] module and its [http://dl.contextgarden.net/myway/csv.pdf manual].
* [[wikitableWikitable]], a TABLE wrapper that uses MediaWiki syntax
* [http://tug.org/TUGboat/Articles/tb28-3/tb90mahajan.pdf ConTeXt basics for users: Table macros] and [http://www.tug.org/TUGboat/Articles/tb29-1/tb91mahajan.pdf Table macros II] by Aditya Mahajan (2007 and 2008).
== Features ==
<table style="border:1px solid #DDDDDD; width:100%" align="left" valign="top">
<tr style="background-color:#DDDDDD" align="left" valign="top">
<tr align="left" valign="top">
<th style="background-color:#DDDDDD">horizonal lines</th>
<td><{{cmd>|HL</cmd>}}</td><td><{{cmd>|HL</cmd>}}</td>
<td><texcode>
\setupTABLE
<tr align="left" valign="top" style="background-color:#EEEEEE;">
<th style="background-color:#DDDDDD">vertical lines</th>
<td><{{cmd>|VL</cmd>}}</td><td><{{cmd>|VL</cmd>}}</td>
<td><texcode>
\setupTABLE
<th style="background-color:#DDDDDD">automatic fitting to given table width</th>
<td>no</td>
<td><{{cmd>|SetTableToWidth</cmd>}}</td>
<td>
<texcode>
<td>[[manual:mp-cb-en.pdf|ms-cb-en.pdf]], [[source:tabl-tab.mkii|tabl-tab.mkii]]</td>
<td>[[manual:enattab.pdf|enattab.pdf]], [http://dl.contextgarden.net/myway/NaturalTables.pdf NaturalTables.pdf], [[source:tabl-ntb.mkii|tabl-ntb.mkii]] / [[source:tabl-ntb.mkiv|tabl-ntb.mkiv]]</td>
<td>[http://www.pragma-ade.comnl/general/manuals/xtables-mkiv.pdf xtables-mkiv.pdf], [[source:tabl-xtb.lua|tabl-xtb.lua]]</td>
<td>[[source:tabl-ltb.mkii|tabl-ltb.mkii]] / [[source:tabl-ltb.mkiv|tabl-ltb.mkiv]]</td>
<td>?</td>
</tr>
</table>
 
[[Category:Tables]]

Navigation menu