From: Wybo Dekker <wybo@servalys.nl>
Subject: Re: address/text boxes
Date: Tue, 23 Jul 2002 13:16:26 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.4.42.0207231313010.1391-100000@servalys.nl> (raw)
On Fri July 19 2002 22:20, Hans Hagen wrote:
(about address fields for window envelopes)
> If you have a recent version:
>
> \definelayer
> [window]
> [width=\textwidth,height=\textheight]
>
> \setlayerframed
> [window]
> [x=2cm,y=3cm]
> [width=10cm,height=3cm]
> {Name\\Adress\\City}
>
> \flushlayer[window]
I tried this without success in the following:
\setupoutput[pdftex]
\setuppapersize[A4][A4]
\setuppagenumbering[state=stop]
\def\address#1{
\definelayer
[window]
[width=\textwidth,height=\textheight]
\setlayerframed
[window]
[x=12cm,y=3cm]
[align=right,frame=off,width=10cm,height=4cm]
{#1}
\flushlayer[window]
}
\starttext
\address{name\\street\\city}
\stoptext
As a result, the distance to the left adge of the paper is not 12cm,
but 28mm more, and the distance from the top edge is not 3cm, but 65mm
more.
Is there a way to do *absolute* positioning of material on the page?
--
Wybo
next reply other threads:[~2002-07-23 11:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-23 11:16 Wybo Dekker [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-07-19 9:31 Cortjan Koppen
2002-07-19 20:20 ` Hans Hagen
[not found] ` <200207222209.54930.wybo@servalys.nl>
2002-07-23 11:21 ` Hans Hagen
2002-07-23 13:56 ` Wybo Dekker
2002-07-23 14:24 ` Wybo Dekker
2002-07-23 17:04 ` Hans Hagen
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=Pine.LNX.4.42.0207231313010.1391-100000@servalys.nl \
--to=wybo@servalys.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).