* Rows or columns on top in TABLE @ 2006-03-24 22:42 Johan Sandblom 2006-03-26 20:41 ` Peter Rolf 0 siblings, 1 reply; 3+ messages in thread From: Johan Sandblom @ 2006-03-24 22:42 UTC (permalink / raw) 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? 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Rows or columns on top in TABLE 2006-03-24 22:42 Rows or columns on top in TABLE Johan Sandblom @ 2006-03-26 20:41 ` Peter Rolf 2006-03-26 23:23 ` Johan Sandblom 0 siblings, 1 reply; 3+ messages in thread From: Peter Rolf @ 2006-03-26 20:41 UTC (permalink / raw) 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 > > ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Rows or columns on top in TABLE 2006-03-26 20:41 ` Peter Rolf @ 2006-03-26 23:23 ` Johan Sandblom 0 siblings, 0 replies; 3+ messages in thread From: Johan Sandblom @ 2006-03-26 23:23 UTC (permalink / raw) Cc: mailing list for ConTeXt users Perfect! I was sure I had tried that. I was locked into a vague hypothesis concerning drawfill and filldraw operations, when I really ought to have looked at the source. Thank you, Johan 2006/3/26, Peter Rolf <indiego@gmx.net>: > 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 > > > > > > -- 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-03-26 23:23 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2006-03-24 22:42 Rows or columns on top in TABLE Johan Sandblom 2006-03-26 20:41 ` Peter Rolf 2006-03-26 23:23 ` Johan Sandblom
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).