Changes

Jump to navigation Jump to search
m
Minor grammatical corrections.
< [[Tables Overview]] | [[Tabulate]] | [[Tables]] >
This is ConTeXts ConTeXt's oldest table module. It uses the same formatting as [[Tabulate]] (see [[Tables Overview]]).
This mode is based on Michael Wichura's TaBlE package for PlainTeXPlain TeX. The official manual for it is commercial (about 40 18 USD), see [http://www.pctex.com/books.html PCTeX] -- but note that the TaBlE manual only talks about the original syntax, which does not use {{cmd|NC}}, {{cmd|HL}} , cum suis.
The only ConTeXt docs are in [[manual:ms-cb-en.pdf|ConTeXt - an excursion]]. There is are also two introductory articles in tugboat TUGboat [http://tug.org/TUGboat/Articles/tb28-3/tb90mahajan.pdf ConTeXt basics for users: Table macros] [http://www.tug.org/TUGboat/Articles/tb29-1/tb91mahajan.pdf Table macros II] by Aditya Mahajan (2007 and 2008).
== Basic Commands ==
The table is defined by the template enclosed in square brackets after {{cmd|starttable}}. The template has the form
<br><tt>|keys for the first column|keys for the second column|...|keys for the last column|</tt>. <br>Please note that each column is surrounded by <tt>|</tt> signs. These are necessary. The formatting keys for each column can be a choice of
{| class="wikitable"
==Column Spans==
It's possible to create columnspans (i.e. , cells that span more than one column) with the command {{cmd|use|{<i>N</i>}}} where ''N'' is the number of columns spanned by the cell. It's often necessary to use {{cmd|ReFormat|[<i>new keys</i>]{}}} to reformat this specific cell according to the ''new keys''.
<!-- It makes no sense to typeset this here. -->
Since the table module has been under [http://www.ntg.nl/pipermail/ntg-context/2010/055004.html reconstruction] this approach works only for MKII. In MKIV one can use
<texcode>
== Booktabs ==
Latex has an excellent package called booktabs for typesetting tables. The main features of that package is that you can have top, mid, and bottom rules of different thickness. It is possible to achieve similar effects using tablestable. For example, to match the default settings of booktabs (Well well almost, this gives a top and bottom rules of 0.09em while booktabs sets it to 0.08em).
<table cols="2"><tr valign="top"><td>
37

edits

Navigation menu