On 3/20/2013 8:14 AM, Keith J. Schultz wrote:
Hi Hans, All,

I find this nomenclature confusing and a little confusing from a design 
standpoint!

        1)  Color of the text background should be separate from the rest
               of the cell background

        2) the names should reflect to what they apply

That said we should have:
        CTBGC == Cell text background color
        CTC      == Cell text color

        CBGC == Cell background color
                       or
          CC      == Cell color

        CBGCR   == Cell background color in the space right of text
        CBGCM  == Cell background color in space middle of cell( above below 
text)
        CBGCL   == Cell background color in the space right of text

True, these are a lot of options/parameters, yet it offers the most flexibility 
and
a cleaner interface. Furthermore, one can understand the names of the 
parameters.

preamble scanning is already quite tricky and there was already CR CM CL so adding CT was a few lines of extra code

(i will probably make a key/val based variant some day but that is no fun either ... 10 lines of setup per table instead of a one line preeamble)

(and i'm forbidden to fundamentally change an important mechanism like tabulate right now as for sure it will break some things)

Another, advantage is that one could and at a later point a feature for 
inverting the
color of the text according cell color and/or text background color.

regards
        Keith.

Am 19.03.2013 um 23:46 schrieb Sietse Brouwer <sbbrou...@gmail.com>:

i.e. we already had CL CM and CR, so CT is new .. should be wikified.

The wiki [1] describes these \C* commands:

\CR      color is applied to the background of the text and the remaining
space on the right;
\CC      color is applied to the background of the text only;
\CM      color is applied to the background of the text and the remaining
space on both sides;
\CL      color is applied to the background of the text and the remaining
space on the left.

[1] http://wiki.contextgarden.net/Tabulate

What does CT do differently than CC? It's not quite clear from the example.

Cheers,


___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________



--

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to