ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Interfering frames in natural tables
Date: Tue, 22 May 2012 13:58:54 +0200	[thread overview]
Message-ID: <CAG5iGsALAcuT5PxxpX5QcPiUqir0RR4e95mYhTRtQo5=gj2Qrg@mail.gmail.com> (raw)
In-Reply-To: <20120522131757.1556b56d@Zewz>

On Tue, May 22, 2012 at 1:17 PM, Marco <netuse@lavabit.com> wrote:
> Hi,
>
> the frames are interfering in the following example. How to avoid
> the 2pt-2-column bottom rule also be drawn at the top?
>
> \startsetups table
>  \setupTABLE [frame=off]
>  \setupTABLE [row] [first] [topframe=on]
>  \setupTABLE [1]   [first] [bottomframe=on, rulethickness=2pt]
> \stopsetups
>
> \starttext
>  \bTABLE [setups=table]
>    \bTR\bTD[nc=2] Lorem                               \eTD\eTR
>    \bTR\bTD Ipsum  \eTD\bTD Dolor    \eTD\bTD Sit     \eTD\eTR
>    \bTR\bTD aaaaaa \eTD\bTD bbbbbbbb \eTD\bTD ccccccc \eTD\eTR
>    \bTR\bTD dddd   \eTD\bTD eeeeeeee \eTD\bTD fffff   \eTD\eTR
>  \eTABLE
> \stoptext
>
>

Do you mean something like this ?

\startsetups table
 \setupTABLE [frame=off]
 \setupTABLE [r][1] [bottomframe=on]
 \setupTABLE [1]   [1] [bottomframe=on, rulethickness=2pt]
 \setupTABLE [1]   [2] [bottomframe=on, rulethickness=2pt]
 \setupTABLE [c][3] [bottomframe=off]
\stopsetups

\starttext
 \bTABLE [setups=table]
  \bTR\bTD\eTD\bTD\eTD\eTR
   \bTR\bTD[nc=2] Lorem                             \eTD\eTR
   \bTR\bTD Ipsum  \eTD\bTD Dolor    \eTD\bTD Sit     \eTD\eTR
   \bTR\bTD aaaaaa \eTD\bTD bbbbbbbb \eTD\bTD ccccccc \eTD\eTR
   \bTR\bTD dddd   \eTD\bTD eeeeeeee \eTD\bTD fffff   \eTD\eTR
 \eTABLE
\stoptext

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

  parent reply	other threads:[~2012-05-22 11:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-22 11:17 Marco
2012-05-22 11:25 ` Marco
2012-05-22 11:37   ` Sander Maijers
2012-05-22 11:58 ` luigi scarso [this message]
2012-05-22 11:59 ` Marco
2012-05-22 12:00 ` Wolfgang Schuster
2012-05-22 12:15   ` Marco

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='CAG5iGsALAcuT5PxxpX5QcPiUqir0RR4e95mYhTRtQo5=gj2Qrg@mail.gmail.com' \
    --to=luigi.scarso@gmail.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).