ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Santy, Michael" <Michael.Santy@dynetics.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Natural tables, offsets
Date: Fri, 11 Apr 2008 08:24:04 -0500	[thread overview]
Message-ID: <6703815B292B664DBAEC55EE3192386A20C089@poseidon.in.dynetics.com> (raw)
In-Reply-To: <115224fb0804110613r270256b6od788775ce93ca76d@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1729 bytes --]


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


[-- Attachment #1.2: Type: text/html, Size: 3050 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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-04-11 13:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-28 21:02 David
2008-03-29 17:23 ` Wolfgang Schuster
2008-03-30  1:12   ` David
2008-04-11 13:13     ` Wolfgang Schuster
2008-04-11 13:24       ` Santy, Michael [this message]
2008-04-14  6:09         ` Wolfgang Schuster
2008-03-30 17:04   ` Willi Egger
2008-03-31  8:08     ` 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=6703815B292B664DBAEC55EE3192386A20C089@poseidon.in.dynetics.com \
    --to=michael.santy@dynetics.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).