ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Gradient in table header
@ 2011-03-05 17:12 Felix Ingram
  2011-03-05 17:27 ` luigi scarso
  0 siblings, 1 reply; 6+ messages in thread
From: Felix Ingram @ 2011-03-05 17:12 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Gradient in table header
  2011-03-05 17:12 Gradient in table header Felix Ingram
@ 2011-03-05 17:27 ` luigi scarso
  2011-03-05 21:36   ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: luigi scarso @ 2011-03-05 17:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sat, Mar 5, 2011 at 6:12 PM, Felix Ingram <f.ingram.lists@gmail.com> 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
)

-- 
luigi
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Gradient in table header
  2011-03-05 17:27 ` luigi scarso
@ 2011-03-05 21:36   ` Hans Hagen
  2011-03-07  9:24     ` Felix Ingram
  0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2011-03-05 21:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 5-3-2011 6:27, luigi scarso wrote:
> On Sat, Mar 5, 2011 at 6:12 PM, Felix Ingram<f.ingram.lists@gmail.com>  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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Gradient in table header
  2011-03-05 21:36   ` Hans Hagen
@ 2011-03-07  9:24     ` Felix Ingram
  2011-03-07 20:11       ` Henning Hraban Ramm
  0 siblings, 1 reply; 6+ messages in thread
From: Felix Ingram @ 2011-03-07  9:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 5 March 2011 21:36, Hans Hagen <pragma@wxs.nl> wrote:
> On 5-3-2011 6:27, luigi scarso wrote:
>>
>> On Sat, Mar 5, 2011 at 6:12 PM, Felix Ingram<f.ingram.lists@gmail.com>
>>  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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Gradient in table header
  2011-03-07  9:24     ` Felix Ingram
@ 2011-03-07 20:11       ` Henning Hraban Ramm
  2011-04-01 10:53         ` Felix Ingram
  0 siblings, 1 reply; 6+ messages in thread
From: Henning Hraban Ramm @ 2011-03-07 20:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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)

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Gradient in table header
  2011-03-07 20:11       ` Henning Hraban Ramm
@ 2011-04-01 10:53         ` Felix Ingram
  0 siblings, 0 replies; 6+ messages in thread
From: Felix Ingram @ 2011-04-01 10:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 7 March 2011 20:11, Henning Hraban Ramm <hraban@fiee.net> wrote:
> 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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-04-01 10:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-05 17:12 Gradient in table header Felix Ingram
2011-03-05 17:27 ` luigi scarso
2011-03-05 21:36   ` Hans Hagen
2011-03-07  9:24     ` Felix Ingram
2011-03-07 20:11       ` Henning Hraban Ramm
2011-04-01 10:53         ` Felix Ingram

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).