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 14:49:01 +0100	[thread overview]
Message-ID: <598461F6-486B-4920-B4F3-88C361577BDA@googlemail.com> (raw)
In-Reply-To: <0121964B-8D39-4F3F-B020-9881F399C168@uni-ulm.de>


Am 15.03.2012 um 14:31 schrieb Steffen Fritzsche:

> Hi,
> 
> using the latest beta I have the following problem styling my table headings based on the naturaltables module. My test document looks as follows
> 
> \setupTABLE[frame=off,option=stretch]
> \setupTABLE[c][each][style=\ss]                    % Styling 1
> \setupTABLE[r][first][style={\ss},bottomframe=on]  % Styling 2
> 
> \starttext
> \placetable
> [here][tab:example]
> {A very simple example of a table.}{
> \bTABLE
> \bTABLEhead
>   \bTR
>     \bTH col1 \eTH
>     \bTH col2 \eTH
>   \eTR 
> \eTABLEhead
> \bTABLEbody
>   \bTR
>     \bTC this \eTC
>     \bTC is   \eTC
>   \eTR
>   \bTR
>     \bTC a \eTC
>     \bTC table \eTC
>   \eTR
> \eTABLEbody
> \eTABLE
> }
> \stoptext
> 
> Neither the line marked "Styling 1" nor the line marked "Styling 2" do switch to a sans serif font in the table head. "Styling 1" does this correctly for the table body but not for the head.
> 
> Any ideas how I might get an sans serif font in my table heading?

\setupTABLE[header][each][style=sans]

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 13:49 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 [this message]
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

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=598461F6-486B-4920-B4F3-88C361577BDA@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).