ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Styling of naturaltable headings
Date: Thu, 15 Mar 2012 16:18:22 +0100	[thread overview]
Message-ID: <966D35A5-FA40-43C0-ABC6-C82B52B63EA1@googlemail.com> (raw)
In-Reply-To: <003A0520-7DC3-4498-BC27-86E97140E744@uni-ulm.de>


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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


      reply	other threads:[~2012-03-15 15:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-15 13:31 Steffen Fritzsche
2012-03-15 13:49 ` Wolfgang Schuster
2012-03-15 14:25   ` Steffen Fritzsche
2012-03-15 14:36     ` Wolfgang Schuster
2012-03-15 14:59       ` Steffen Fritzsche
2012-03-15 15:18         ` Wolfgang Schuster [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=966D35A5-FA40-43C0-ABC6-C82B52B63EA1@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).