From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: A question about layers
Date: Thu, 14 Jul 2011 16:35:19 +0200 [thread overview]
Message-ID: <B4B1B5DE-4AF4-4DC7-BD2D-F5DC2CF8B798@googlemail.com> (raw)
In-Reply-To: <1310653531.1779.7.camel@marcin-laptop>
Am 14.07.2011 um 16:25 schrieb Marcin Borkowski:
> OK,
>
> after a pm from Mojca concerning my previous question I decided to look
> into the "layers" mechanism.
>
> It won't work for me - just nothing shows up.
>
> What am I doing wrong?
>
> Here's a minimal example:
>
> \starttext
> \definelayer[title][x=105mm,y=20mm]
> \setlayer[title]{This is the title.}
> \stoptext
>
> (I'd also like to be able to "anchor" the title so that (105mm,20mm) are
> the coordinates of the center, not the lower-left corner etc. How to do
> that?)
\definelayer[title][x=105mm,y=20mm,preset=middle]
\setupbackgrounds[page][background=title]
\starttext
\setlayer[title]{This is the title.}
…
\stoptext
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2011-07-14 14:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-14 14:25 Marcin Borkowski
2011-07-14 14:29 ` Hans Hagen
2011-07-14 14:35 ` Wolfgang Schuster [this message]
2011-07-14 14:59 ` Marcin Borkowski
2011-07-14 15:03 ` luigi scarso
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=B4B1B5DE-4AF4-4DC7-BD2D-F5DC2CF8B798@googlemail.com \
--to=schuster.wolfgang@googlemail.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).