[NTG-context] Styling of naturaltable headings

Wolfgang Schuster schuster.wolfgang at googlemail.com
Thu Mar 15 16:18:22 CET 2012


Am 15.03.2012 um 15:59 schrieb Steffen Fritzsche:

> Am 15.03.2012 um 15:36 schrieb Wolfgang Schuster:
>> Don’t use \bTH when you use put the header in a \bTABLEhead … \eTABLEhead block because the \bTH command applies a format the the cells, when you use \bTD instead no formatting is applied and the \setupTABLE setting is used.
> 
> Thanks Wolfgang, this gives me the desired result.
> 
> I used TH because the wiki states on should use TH not TC when inside a TABLEhead, see
> 
> http://wiki.contextgarden.net/TABLE#Multipage_TABLEs
> 
> However, I wasn't aware that one might use TD inside a TABLEhead.

The \bTH command is only a modified version of \bTD which uses
a different color and style for the content and disables the aligncharacter
option (which can be used to align numbers on “.” or “,” etc.).

The style and color of \bTH can be changed with the “headstyle” and
“headcolor” keys but for long tables with \bTABLEhead etc. \bTD with
a special setting for the header does the same.

Wolfgang



More information about the ntg-context mailing list