ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Peter Rolf <indiego@gmx.net>
Subject: Re: Rows or columns on top in TABLE
Date: Sun, 26 Mar 2006 22:41:23 +0200	[thread overview]
Message-ID: <4426FC73.6060305@gmx.net> (raw)
In-Reply-To: <97a06f070603241442v7a1a7086k@mail.gmail.com>

Hi Johan,

Johan Sandblom wrote:
> Hello,
> 
> the following creates a table with the even rows gray, but the lines
> between columns is only visible on the rows with no background. Is
> there a way to influence whether the row or column layouts are on top?
> 
None that I know of.

The lines are part of the table cell, which means that a vertical line
between two columns is made of many small line segments. So the line is
printed, when the cell is printed (left to right, top to bottom).
Also when a cell is printed, it overlaps their left and top neighboar
cell a bit. I could imagine some reasons (printing/buggy viewer) for
this, but you better ask Hans.

An easy solution: use leftframe in the next column instead (as they are
not overdrawn) and use rightframe only for the last column.

Greets, Peter


> Regards, Johan
> 
> \bTABLE
> \setupTABLE[frame=off]
> \setupTABLE[c][1,2][rightframe=on]
> \setupTABLE[row][even][background=color, backgroundcolor=gray]
> \bTR\bTD test\eTD\bTD test\eTD\eTR
> \bTR\bTD test\eTD\bTD test\eTD\eTR
> \bTR\bTD test\eTD\bTD test\eTD\eTR
> \eTABLE
> 
> --
> Johan Sandblom  N8, MRC, Karolinska sjh
> t +46851776108  17176 Stockholm
> m +46735521477  Sweden
> "What is wanted is not the will to believe, but the
> will to find out, which is the exact opposite"
> - Bertrand Russell
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
> 
> 

  reply	other threads:[~2006-03-26 20:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-24 22:42 Johan Sandblom
2006-03-26 20:41 ` Peter Rolf [this message]
2006-03-26 23:23   ` Johan Sandblom

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=4426FC73.6060305@gmx.net \
    --to=indiego@gmx.net \
    --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).