Re: [NTG-context] Natural tables, offsets

2008-04-13 Thread Wolfgang Schuster
On Fri, Apr 11, 2008 at 3:24 PM, Santy, Michael
<[EMAIL PROTECTED]> wrote:
>
> Wolfgang,
>
> Can you use the leftoffset/rightoffset on individual table cells?

Yes you can.

You could also the offset parameters in \framed and any other command which
use \localframed.

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] Natural tables, offsets

2008-04-11 Thread Santy, Michael

Wolfgang,

Can you use the leftoffset/rightoffset on individual table cells?

Thanks,
Mike

-Original Message-
From: [EMAIL PROTECTED] on behalf of Wolfgang Schuster
Sent: Fri 4/11/2008 8:13 AM
To: mailing list for ConTeXt users
Subject: Re: [NTG-context] Natural tables, offsets
 
On Sun, Mar 30, 2008 at 3:12 AM, David <[EMAIL PROTECTED]> wrote:
>
> On Sat, 29 Mar 2008 18:23:01 +0100, Wolfgang Schuster wrote:
>
> > On Fri, 28 Mar 2008 14:02:55 -0700
> > David <[EMAIL PROTECTED]> wrote:
> >
> >> Hi all
> >>
> >> I'm using the natural table environment, and would like the text in
> >> each cell to have some horizontal offset from the cell boundaries - but
> >> I don't want to change the vertical offset. Is there a way to do this?
> >
> > \starttext
> >
> > \startsetups table:margins
> >
> > \rightskip=1cm\relax
> > \leftskip=1cm\relax
> >
> > \stopsetups
> >
> > \setupTABLE
> >   [setups=table:margins]
> >
> > \bTABLE
> > \bTR
> > \bTD \input ward\par \eTD
> > \bTD \input ward\par \eTD
> > \eTR
> > \bTR
> > \bTD \input ward\par \eTD
> > \bTD \input ward\par \eTD
> > \eTR
> > \eTABLE
> >
> > \stoptext
>

Hi David,

> Thank you, Wolfgang. For my purposes, this setup is perfect.

I updated my extended version of the localframed macros and they
permit you to use

\usemodule[wolf-rul]

\starttext

\setupTABLE[leftoffset=1cm,rightoffset=1cm]

\bTABLE
  \bTR
\bTD \input ward\par \eTD
\bTD \input ward\par \eTD  \eTR
  \bTR
\bTD \input ward\par \eTD
\bTD \input ward\par \eTD
  \eTR
\eTABLE

\stoptext

Greetings

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] Natural tables, offsets

2008-03-31 Thread Wolfgang Schuster
On Sun, Mar 30, 2008 at 7:04 PM, Willi Egger <[EMAIL PROTECTED]> wrote:
> Hi Wolfgang,
>
> Thanks a lot for this solution!

I needed something similiar not so long ago for \framed and used this solution
because it could be easy integrated in a setup command.

Offset parameters for all margins would be the better solution but this
another topic.

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] Natural tables, offsets

2008-03-30 Thread Willi Egger
Hi Wolfgang,

Thanks a lot for this solution!

Willi
On Mar 29, 2008, at 6:23 PM, Wolfgang Schuster wrote:
> On Fri, 28 Mar 2008 14:02:55 -0700
> David <[EMAIL PROTECTED]> wrote:
>
>> Hi all
>>
>> I'm using the natural table environment, and would like the text in
>> each cell to have some horizontal offset from the cell boundaries  
>> - but
>> I don't want to change the vertical offset. Is there a way to do  
>> this?
>
> \starttext
>
> \startsetups table:margins
>
> \rightskip=1cm\relax
> \leftskip=1cm\relax
>
> \stopsetups
>
> \setupTABLE
>   [setups=table:margins]
>
> \bTABLE
> \bTR
> \bTD \input ward\par \eTD
> \bTD \input ward\par \eTD
> \eTR
> \bTR
> \bTD \input ward\par \eTD
> \bTD \input ward\par \eTD
> \eTR
> \eTABLE
>
> \stoptext
>
> 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
> __ 
> _

___
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] Natural tables, offsets

2008-03-29 Thread David
On Sat, 29 Mar 2008 18:23:01 +0100, Wolfgang Schuster wrote:

> On Fri, 28 Mar 2008 14:02:55 -0700
> David <[EMAIL PROTECTED]> wrote:
> 
>> Hi all
>> 
>> I'm using the natural table environment, and would like the text in 
>> each cell to have some horizontal offset from the cell boundaries - but 
>> I don't want to change the vertical offset. Is there a way to do this?
> 
> \starttext
> 
> \startsetups table:margins
> 
> \rightskip=1cm\relax
> \leftskip=1cm\relax
> 
> \stopsetups
> 
> \setupTABLE
>   [setups=table:margins]
> 
> \bTABLE
> \bTR
> \bTD \input ward\par \eTD
> \bTD \input ward\par \eTD
> \eTR
> \bTR
> \bTD \input ward\par \eTD
> \bTD \input ward\par \eTD
> \eTR
> \eTABLE
> 
> \stoptext

_

Thank you, Wolfgang. For my purposes, this setup is perfect.

David
___
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] Natural tables, offsets

2008-03-29 Thread Wolfgang Schuster
On Fri, 28 Mar 2008 14:02:55 -0700
David <[EMAIL PROTECTED]> wrote:

> Hi all
> 
> I'm using the natural table environment, and would like the text in 
> each cell to have some horizontal offset from the cell boundaries - but 
> I don't want to change the vertical offset. Is there a way to do this?

\starttext

\startsetups table:margins

\rightskip=1cm\relax
\leftskip=1cm\relax

\stopsetups

\setupTABLE
  [setups=table:margins]

\bTABLE
\bTR
\bTD \input ward\par \eTD
\bTD \input ward\par \eTD
\eTR
\bTR
\bTD \input ward\par \eTD
\bTD \input ward\par \eTD
\eTR
\eTABLE

\stoptext

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] Natural tables, offsets

2008-03-28 Thread David
Hi all

I'm using the natural table environment, and would like the text in 
each cell to have some horizontal offset from the cell boundaries - but 
I don't want to change the vertical offset. Is there a way to do this?

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