Re: [NTG-context] span ROWS in \starttables?

2008-09-12 Thread Aditya Mahajan
On Fri, 12 Sep 2008, Alan BRASLAU wrote:

> On Friday 12 September 2008 08:34:15 Wolfgang Schuster wrote:
>> On Fri, Sep 12, 2008 at 8:13 AM, Alan BRASLAU <[EMAIL PROTECTED]> 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.
>
> 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
> \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.


You can use \LOW and \LOWER.
See http://www.tug.org/TUGboat/Articles/tb29-1/tb91mahajan.pdf Section 6.


Aditya
___
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
___


Re: [NTG-context] span ROWS in \starttables?

2008-09-12 Thread Alan BRASLAU
On Friday 12 September 2008 10:51:58 Wolfgang Schuster wrote:
>  \VL \smash{\vcenter{\hbox{\definedfont[Serif at 70pt]A}}} \VL c \VL\AR

Ah, TeX magic!
Indeed, I never learned about \smash. Thank you
(added a line to http://wiki.contextgarden.net/Table#Column_Spans)

Alan
___
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
___


Re: [NTG-context] span ROWS in \starttables?

2008-09-12 Thread Wolfgang Schuster
On Fri, Sep 12, 2008 at 10:27 AM, Alan BRASLAU <[EMAIL PROTECTED]> wrote:
> On Friday 12 September 2008 08:34:15 Wolfgang Schuster wrote:
>> On Fri, Sep 12, 2008 at 8:13 AM, Alan BRASLAU <[EMAIL PROTECTED]> 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
___


Re: [NTG-context] span ROWS in \starttables?

2008-09-12 Thread Alan BRASLAU
On Friday 12 September 2008 08:34:15 Wolfgang Schuster wrote:
> On Fri, Sep 12, 2008 at 8:13 AM, Alan BRASLAU <[EMAIL PROTECTED]> 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.

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
 \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.

Alan
___
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
___


Re: [NTG-context] span ROWS in \starttables?

2008-09-11 Thread Wolfgang Schuster
On Fri, Sep 12, 2008 at 8:13 AM, Alan BRASLAU <[EMAIL PROTECTED]> wrote:
> Hello,
>
> 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
___
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
___


[NTG-context] span ROWS in \starttables?

2008-09-11 Thread Alan BRASLAU
Hello,

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.

Thanks

Alan

___
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
___