ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <hraban@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: top layer / numbered layers?
Date: Fri, 2 Jul 2010 10:35:30 +0200	[thread overview]
Message-ID: <460855A7-B108-4185-8A98-8FF916B3D452@fiee.net> (raw)

While I wait for a solution of the mtxrun error, another question:

I know how to use layers or overlays as backgrounds. How can I get a  
layer *above* the "normal" text plane?

say...

\definelayer[PageTop][x=0mm,y=0mm,width=\paperwidth,height= 
\paperheight,repeat=yes]
\setupforegrounds[page][background=PageTop]

\setlayer[PageTop][hoffset=10mm, voffset=10mm]{%
\externalfigure[koe][with=40mm]}

I just found that \framed knows "foreground=", but as far as I could  
find there's nothing like \setupforegrounds or \setuplayers.

An idea:

It would be nice if we just could use some number defining above or  
below main text like in:

\definelayer[PageTop][x=0mm,y=0mm,width=\paperwidth,height= 
\paperheight,repeat=yes,layer=1]

positive numbers would be above main text, layer=-1 would be below; 0  
is reserved for main text.
This way we could stack layers more easily, similar to z-index in CSS.
What do you think?



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
___________________________________________________________________________________


             reply	other threads:[~2010-07-02  8:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-02  8:35 Henning Hraban Ramm [this message]
2010-07-02  8:42 ` Wolfgang Schuster

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=460855A7-B108-4185-8A98-8FF916B3D452@fiee.net \
    --to=hraban@fiee.net \
    --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).