Dear List,
My problem is illustrated in the minimal working example below: in a
natural table, I want the odd row to have a background color, and some columns
a rightframe. But it seems the frame is built before the coloring of the
background, and disappears for all odd rows. A way to correct this is is to use
a megative backgroundoffset parameter, but this affects all the side of the
colored background. I have looked for, without success, a « right
backgroundoffset » parameter.
Thanks for any help, Fabrice.
% 8< ————————————————————————
\setupTABLE[c][each][frame=off]
\setupTABLE[row] [odd]
[background=color,backgroundcolor=cyan,backgroundoffset=0.0pt]
\setupTABLE[c][2,4][rightframe=on,framecolor=red]
\bTABLE
\bTR \bTD 1 \eTD \bTD 2 \eTD \bTD 3 \eTD \bTD 4 \eTD \eTR \
bTR \bTD 5 \eTD \bTD 6 \eTD \bTD 7 \eTD \bTD 8 \eTD \eTR
\bTR \bTD 9 \eTD \bTD 10 \eTD \bTD 11 \eTD \bTD 12 \eTD \eTR
\bTR \bTD 13 \eTD \bTD 14 \eTD \bTD 15 \eTD \bTD 16 \eTD \eTR
\bTR \bTD 17 \eTD \bTD 18 \eTD \bTD 19 \eTD \bTD 20 \eTD \eTR
\eTABLE
\stoptext
% 8< ————————————————————————
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________