Gradient in table header
Is such a thing possible? I'd like to have a gradient changing from blue to white across my table header, spanning all columns. I'll probably be using the TABLE environment. Regards, Felix
On Sat, Mar 5, 2011 at 6:12 PM, Felix Ingram
Is such a thing possible? I'd like to have a gradient changing from blue to white across my table header, spanning all columns. I'll probably be using the TABLE environment. you can also see columns set (search in wiki.contextgarden.net or http://www.pragma-ade.com/general/manuals/columns.pdf )
-- luigi
On 5-3-2011 6:27, luigi scarso wrote:
On Sat, Mar 5, 2011 at 6:12 PM, Felix Ingram
wrote: Is such a thing possible? I'd like to have a gradient changing from blue to white across my table header, spanning all columns. I'll probably be using the TABLE environment. you can also see columns set (search in wiki.contextgarden.net or http://www.pragma-ade.com/general/manuals/columns.pdf )
each table cell can have a background and one can put a gradient in it using an mp graphic ----------------------------------------------------------------- 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 -----------------------------------------------------------------
On 5 March 2011 21:36, Hans Hagen
On 5-3-2011 6:27, luigi scarso wrote:
On Sat, Mar 5, 2011 at 6:12 PM, Felix Ingram
wrote: Is such a thing possible? I'd like to have a gradient changing from blue to white across my table header, spanning all columns. I'll probably be using the TABLE environment.
you can also see columns set (search in wiki.contextgarden.net or http://www.pragma-ade.com/general/manuals/columns.pdf )
each table cell can have a background and one can put a gradient in it using an mp graphic
Okay. I've heard of this Metapost thing. After further investigation it doesn't look as scary as I first thought. I can't seem to find anything saying that gradient fills are supported directly but I've found a few examples of drawing multiple shapes with changing colours which will recreate the effect, so I'll start with those. Many thanks, Felix
Am 2011-03-07 um 10:24 schrieb Felix Ingram:
Okay. I've heard of this Metapost thing. After further investigation it doesn't look as scary as I first thought. I can't seem to find anything saying that gradient fills are supported directly but I've found a few examples of drawing multiple shapes with changing colours which will recreate the effect, so I'll start with those.
Here’s a sample with a gradient: http://www.ntg.nl/pipermail/ntg-context/2010/052370.html Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer)
On 7 March 2011 20:11, Henning Hraban Ramm
Am 2011-03-07 um 10:24 schrieb Felix Ingram:
Okay. I've heard of this Metapost thing. After further investigation it doesn't look as scary as I first thought. I can't seem to find anything saying that gradient fills are supported directly but I've found a few examples of drawing multiple shapes with changing colours which will recreate the effect, so I'll start with those.
Just a quick follow up in case Google points anyone this way: it looks as though the linear_shade function will produce nice looking gradients. Some examples can be found in: http://www.pragma-ade.com/general/manuals/metafun-p.pdf I will post again once(/if) I solve this for tables. Felix
participants (4)
-
Felix Ingram
-
Hans Hagen
-
Henning Hraban Ramm
-
luigi scarso