ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan BRASLAU <alan.braslau@cea.fr>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: transluency/transparency
Date: Mon, 4 Jun 2012 10:47:29 +0200	[thread overview]
Message-ID: <20120604104729.202ef9e3@sole.extra.cea.fr> (raw)
In-Reply-To: <op.wfdd1odgyxxkfz@pohanka-pc>

On Mon, 4 Jun 2012 10:33:14 +0200
Jan Pohanka <xhpohanka@gmail.com> wrote:

> Hello,
> 
> is it possible to somehow set transluency or transparency of several  
> objects?
> The example should clarify, what I need: I have a template for
> company documents, which has some text, lines and graphics (external
> pdf or png) in its footer. Now I want to make the header be less
> visible than the rest of the page. Surely I can set a color of the
> text to gray and edit the image, but is there some other way?
> 
> best regards
> Jan
> 

See page 204, section 8.5 of the metafun book

loadfigure "gracht.mp" number 1 scaled .5 ;
addto currentpicture also
(currentpicture softened .8)
shifted (bbwidth(currentpicture)+.5cm,0) ;

(this example draws the picture alongside its "softened" copy.)

Alan

___________________________________________________________________________________
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	other threads:[~2012-06-04  8:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-04  8:33 transluency/transparency Jan Pohanka
2012-06-04  8:47 ` Alan BRASLAU [this message]
2012-06-04  9:45   ` transluency/transparency Jan Pohanka
2012-06-04 12:02     ` transluency/transparency Rogers, Michael K
2012-06-04 14:36       ` transluency/transparency Mojca Miklavec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120604104729.202ef9e3@sole.extra.cea.fr \
    --to=alan.braslau@cea.fr \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).