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 15:36:37 +0100	[thread overview]
Message-ID: <52F07F8A-FC05-45D7-9B22-33F0307C281F@googlemail.com> (raw)
In-Reply-To: <0EC4D3BD-55DF-4F14-B663-6117B1B071B7@uni-ulm.de>


Am 15.03.2012 um 15:25 schrieb Steffen Fritzsche:

> 
> Am 15.03.2012 um 14:49 schrieb Wolfgang Schuster:
>>> Any ideas how I might get an sans serif font in my table heading?
>> 
>> \setupTABLE[header][each][style=sans]
> 
> Thanks for your answer, but this does not work for me. I changed my definition to
> 
> \setupTABLE[frame=off,option=stretch]                                                                
> \setupTABLE[c][each][style=\ss]                                                                      
> \setupTABLE[header][each][style=sans,background=color,backgroundcolor=gray]
> 
> While this gives me a nice gray background, it still uses a serif font. Since the background is applied I guess it somehow drops anything which is defined as style.
> 
> Any other ideas or is this a bug?

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.

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 14:36 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 [this message]
2012-03-15 14:59       ` Steffen Fritzsche
2012-03-15 15:18         ` Wolfgang Schuster

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=52F07F8A-FC05-45D7-9B22-33F0307C281F@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).