ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Erik Margraf <erik.margraf@googlemail.com>
To: ntg-context@ntg.nl
Subject: Some question regarding Layers
Date: Thu, 17 Dec 2009 14:05:56 +0100	[thread overview]
Message-ID: <ca5756140912170505y8a9b0c4x9ab56d93092a1843@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 890 bytes --]

Hi all,
i have two questions regarding the use of layers.

 -- Is there an easy way to position a layer in the middle of the page.
    My intent is to position some kind of graphic/picture there.
    I usually try to wrap the picture in a "hbox to \paperwidth {\hfil
\externalfigure{} \hfil} and then
    wrapping the hbox in a vbox
         -- Is there a better way to achieve this?
         -- How to do that with layers?

-- Is it possible to define and position layers in one Macro. I have
something like the following
   in mind (untested):

   \define[1]\MLayer{
      \definelayer[#1]
      \setlayer[#1][state=start]{\externalfigure[#1]}
    }
    My experience so far is, that it's necessary for a layer to appear that
it is listed in "pagebackgrounds"
    ist this true? With this it seems, that a macro like that above is
impossible, true?

thanks in advance for your help

Erik

[-- Attachment #1.2: Type: text/html, Size: 994 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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:[~2009-12-17 13:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-17 13:05 Erik Margraf [this message]
2009-12-17 13:21 ` Wolfgang Schuster
2009-12-17 16:48   ` Contextual spacing Andreas Harder
2009-12-17 17:19     ` Wolfgang Schuster
2009-12-17 23:05       ` Andreas Harder
2009-12-18  5:31         ` Wolfgang Schuster
2009-12-18 12:34           ` Andreas Harder
     [not found]   ` <ca5756140912181256i60f90dbcm8dc864337c659a6b@mail.gmail.com>
2009-12-19 14:36     ` Some question regarding Layers 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=ca5756140912170505y8a9b0c4x9ab56d93092a1843@mail.gmail.com \
    --to=erik.margraf@googlemail.com \
    --cc=erik.margraf@gmail.com \
    --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).