ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: ntg-context@ntg.nl
Subject: Re: xtables setup
Date: Sun, 29 Jul 2018 17:30:37 +0200	[thread overview]
Message-ID: <78c493c2-a94f-ed8f-2717-4b6dce604c10@gmx.es> (raw)
In-Reply-To: <7C3908AB-98A8-43E5-8F16-9835DDB498B1@fiee.net>

On 07/29/2018 11:28 AM, Henning Hraban Ramm wrote:
> Hello again,
> I’m trying xtables for the first time.
> 
> Is it possible to setup defined rows/columns like with natural tables, e.g. for a header, like in my example?
> The commented lines below are wrong. Is there another way?

Hi Hraban,

I never used natural tables.

The right approach would be:

    \setupxtable[headtable]
        [bottomframe={\ifnum\currentxtablerow = 6 on\fi},
         topframe={\ifcase\currentxtablerow\or on\or on\else off\fi}]

I hope it helps,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2018-07-29 15:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-29  9:28 Henning Hraban Ramm
2018-07-29 11:19 ` Hans Hagen
2018-07-29 11:32   ` Henning Hraban Ramm
2018-07-29 15:46   ` Pablo Rodriguez
2018-07-29 15:30 ` Pablo Rodriguez [this message]
2018-07-29 15:49   ` Henning Hraban Ramm

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=78c493c2-a94f-ed8f-2717-4b6dce604c10@gmx.es \
    --to=oinos@gmx.es \
    --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).