[NTG-context] \setupTABLE: framecolor
roma83537 at gmail.com
Sat Mar 25 22:35:01 CET 2023
Thanks for this Hraban. I had come to the conclusion that there was no
possibility of a 'bottomframecolor' option, and as TABLE is one of the
older commands and important for XML, I assume it won't change much
(though the option of different colours for frame sides would be good,
and may not affect TABLE as such since it is \framed we are talking
Bruce's suggestion of a dummy row is a simple one, and it works. But I
will also look at your solution too. Am always keen to have more than
one arrow in the quiver!
On 25/3/23 20:48, Henning Hraban Ramm via ntg-context wrote:
> Am 25.03.23 um 06:45 schrieb jbf via ntg-context:
>> Hi, I am struggling with the last row of a table which, according to
>> its author, should have a black bottomframe, but gray (I am using a
>> defined 'lightgray') for the sides. The first row has a black frame.
>> All intermediate rows have gray.
>> I have no difficulty achieving the first row, and the black
>> bottomframe for the last row, but I have been unable to get the last
>> row sides to be gray. Here is the current setups that I have:
>> \setupTABLE[row] [first] [topframe=on,bottomframe=on,style=bold]
>> \setupTABLE[row] [last] [bottomframe=on,style=normal]
>> My first row is fine and all but the topframe of row 2 is
>> 'lightgray'; all following rows are 'lightgray'. The last row (22)
>> has a black bottomframe, but how could I achieve 'lightgray' for
>> rightframe, leftframe? If I add a new setup e.g.
>> then I lose the bottomframe in black. I have tried all kinds of
>> combinations but unsuccessfully.
> Table cells are based on \framed, and there doesnât seem to be an
> option to have different colors of parts of the frame (e.g.
> You can use a MetaPost graphic as background, like in the âdiagonalâ
> HTH, Hraban
> If your question is of interest to others as well, please add an entry
> to the Wiki!
> maillist : ntg-context at ntg.nl /
> webpageÂ : https://www.pragma-ade.nl / http://context.aanhet.net
> archiveÂ : https://bitbucket.org/phg/context-mirror/commits/
> wikiÂ Â Â Â : https://contextgarden.net
More information about the ntg-context