Wolfgang,

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

Thanks,
Mike

-----Original Message-----
From: ntg-context-bounces@ntg.nl 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 <davidandrewrogers@gmail.com> wrote:
>
> On Sat, 29 Mar 2008 18:23:01 +0100, Wolfgang Schuster wrote:
>
> > On Fri, 28 Mar 2008 14:02:55 -0700
> > David <davidandrewrogers@gmail.com> 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