Dear Wolfgang, 

Uups, i was too quick, so I will do it better. Many thanks for your tipps. 

Uschi 

-----Ursprüngliche Nachricht-----
Von: Wolfgang Schuster <wolfgang.schuster.li...@gmail.com> 
Gesendet: Mittwoch, 05. März 2025 16:26
An: ntg-context@ntg.nl
Betreff: [NTG-context] Re: Color in a Columntext, how does it work?



Am 05.03.2025 um 15:07 schrieb Ursula Hermann:
> Dear List,
> 
> I have tried an example, where I would like to have sentences in color 
> in a column, but there is something wrong.
> 
> \setuppapersize
>    [A5]
> 
> \starttext
> % hex
> \definecolor=[MediumViolet][h=8F47B3]
> 
> \startcolumns[rule=on,n=2,tolerance=verytolerant,
> foregroundcolor=Mediumviolet]
> Thus, I came to the conclusion that the designer of a new system must 
> not only be the implementer and first ..
> \bf D.E. Knuth}
> \stopcolumns
> 
> \stoptext

1. Use "x" as key to set the color with a hey value, while the "h" key works to 
set the color it is intended for hsv-values.

2. You have to replace "foregroundcolor=..." with "color=...".

3. You have to pass the correct name as argument to the color key but in your 
example you use an uppercase V in \definecolor but a lowercase v in 
\startcolumns.

4. Please test your example before you send them to the list because there is a 
} at the end of the text without a previous {.

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
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
___________________________________________________________________________________
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
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
___________________________________________________________________________________

Reply via email to