> Am 23.07.2021 um 17:55 schrieb T. Kurt Bond <tkurtb...@gmail.com>:
> 
> With natural tables I can define a color, tell the table to have to
> use color backgrounds and turn the frame off and get every odd row in
> all my tables will have that color for the background.
> 
> Can I get this same effect with extreme tables?
> 
> My first try with extreme tables looked like this:
> 
> ========== Example 
> ============================================================
> \definecolor[tablebackground][r=.8,g=.8,b=.8]
> \setupxtable[background=color,frame=off]
> \setupxtable[row][odd][backgroundcolor=tablebackground]
> ========== End of Example 
> =====================================================
> 
> That didn't seem to have any effect.

\setupxtables has only a limited set of parameters:
https://wiki.contextgarden.net/Command/setupxtable

> Is there a way to have every odd row of every table in my document
> have color background?

As far as I can see, only via “styles” that you can setup with \definextable:

https://www.pragma-ade.com/general/manuals/xtables-mkiv.pdf


Hraban
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to