ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Sietse Brouwer <sbbrouwer@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Table cell spanning multiple columns in tabulate
Date: Tue, 16 Jul 2013 03:50:56 +0200	[thread overview]
Message-ID: <CAF=dkzwM7cTDxcbYy-F6VZFBBp0y7_pk-ZeaueTZAQmmZbJ7fw@mail.gmail.com> (raw)
In-Reply-To: <19E5335B-47C9-4241-9F3F-DBD7117E3525@gmail.com>

Thomas Friedrich wrote:
>> I am switching from texexec to context, and from table to tabulate.
>> Question: What is the equivalent for \use{2}\ReFormat[c]{text} in the
>> \table environment, when you what to do the same in the \tabulate
>> environment? I couldn't find the answer in the context garden.

Wolfgang Schuster wrote:
> The tabulate environment has no support for spanned cells.

The TABLE mechanism does, though, and that is probably the mkiv
standard for writing non-trivial tables. It's a bit more verbose, but
it can do an enormous number of things -- including many things that
the tabulate mechanism can't. Wiki link:
http://wiki.contextgarden.net/TABLE

The equivalent of \use{2}\ReFormat[c]{text} would be this (rest of
table code added to make this example self-contained and compilable):

\bTABLE
  \bTR
    \bTD[nc=2, align=center] text \eTD
  \eTR
  \bTR
    \bTD apples \eTD
    \bTD oranges \eTD
  \eTR
\eTABLE

Hope this help!
Cheers,
Sietse

On 15 July 2013 16:49, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
>
> Am 15.07.2013 um 16:39 schrieb Thomas Friedrich <friedrich@statistik.tu-dortmund.de>:
>
>> Hello ConTeXt users,
>>
>> I am switching from texexec to context, and from table to tabulate.
>> Question: What is the equivalent for \use{2}\ReFormat[c]{text} in the
>> \table environment, when you what to do the same in the \tabulate
>> environment? I couldn't find the answer in the context garden.
>
> The tabulate environment has no support for spanned cells.
>
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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:[~2013-07-16  1:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-15 14:39 Thomas Friedrich
2013-07-15 14:49 ` Wolfgang Schuster
2013-07-16  1:50   ` Sietse Brouwer [this message]
2013-07-16 13:15     ` Thomas Friedrich

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='CAF=dkzwM7cTDxcbYy-F6VZFBBp0y7_pk-ZeaueTZAQmmZbJ7fw@mail.gmail.com' \
    --to=sbbrouwer@gmail.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).