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: span ROWS in \starttables?
Date: Fri, 12 Sep 2008 10:51:58 +0200	[thread overview]
Message-ID: <115224fb0809120151n556aafc6p31c95115596b1076@mail.gmail.com> (raw)
In-Reply-To: <200809121027.34656.alan.braslau@cea.fr>

On Fri, Sep 12, 2008 at 10:27 AM, Alan BRASLAU <alan.braslau@cea.fr> wrote:
> On Friday 12 September 2008 08:34:15 Wolfgang Schuster wrote:
>> On Fri, Sep 12, 2008 at 8:13 AM, Alan BRASLAU <alan.braslau@cea.fr> wrote:
>> >
>> > Is there any mechanism to span ROWS in (\start)tables
>> > similar to column spanning through \use{3}{}?
>> > The aim is to produce a multi-row column entry
>> > as can be done via \bTD[nr=3] in \bTABLE.
>>
>> \NC \use{3} ... \NC ...
>>
>> or
>>
>> \NC \THREE ... \NC ...
>>
>> You can find more information on the wiki page:
>> http://wiki.contextgarden.net/Table
>>
>> Wolfgang
>
> This mechanism spans COLUMNS not rows.

Sorry for this wrong information.

> I would like to produce
> ---------
> |    | b |
> |    |---|
> | A | c |
> |    |---|
> |    | d |
> ---------
> using \starttables,
> as can be done with:
> \setupTABLE[c][1][align=lohi]
> \bTABLE
> \bTR \bTC[nr=3]  A \eTC\bTC b \eTC \eTR
> \bTR \bTC c \eTC \eTR
> \bTR \bTC d \eTC \eTR
> \eTABLE
>
> Note that:
> \starttables[|c|c|]
>  \HL
>  \VL \VL b \VL\AR
>  \DC \DL \DR
>  \VL A \VL c \VL\AR

\VL \smash{\vcenter{\hbox{\definedfont[Serif at 70pt]A}}} \VL c \VL\AR

>  \DC \DL \DR
>  \VL \VL d \VL\LR
>  \HL
> \stoptables
> does not quite do the job,
> since the aim is to put a tall object
> "A" spanning the three rows.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2008-09-12  8:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-11 20:58 width of cell in TABLE Peter Münster
2008-09-12  6:13 ` span ROWS in \starttables? Alan BRASLAU
2008-09-12  6:34   ` Wolfgang Schuster
2008-09-12  8:27     ` Alan BRASLAU
2008-09-12  8:51       ` Wolfgang Schuster [this message]
2008-09-12  9:21         ` Alan BRASLAU
2008-09-12 13:37       ` Aditya Mahajan
2008-09-15 12:49         ` Indexing macros Alan BRASLAU
2008-09-12  6:31 ` width of cell in TABLE 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=115224fb0809120151n556aafc6p31c95115596b1076@mail.gmail.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).