From: Henning Hraban Ramm <hraban@fiee.net>
Subject: layer placement question
Date: Sun, 15 Jan 2006 13:43:36 +0100 [thread overview]
Message-ID: <0DD24521-8CB0-46A2-B7C3-540721F7A5F1@fiee.net> (raw)
In-Reply-To: <09461146-F389-465D-AB0A-40C0E63AA81A@fiee.net>
Another question, regarding layer placement:
\def\bleed{3mm}
\setvalue{LogoHeight}{20mm}
\setvalue{LogoWidth}{60mm}
\setvalue{LogoHOffset}{130mm}
\definelayer[logolayer]
[x=-\bleed, y=-\bleed,
width=\paperwidth, height=\paperheight]
\setlayerframed[logolayer]
[y=-\bleed, x=\dimexpr(\getvalue{LogoHOffset}+\bleed)]
[height=\dimexpr(\getvalue{LogoHeight}+\bleed),
width=\getvalue{LogoWidth},
frame=off, offset=0mm, align=low,
background=color, backgroundcolor=red]{my logo}
I would expect that the x/y coordinates in \setlayer(framed) relate
to the layer's origin (-3, -3) and thus my logo gets placed at (130,
-3).
But in fact it's placed at (133, -3), i.e. x starts at 0 instead of
-3. Why?
Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/
http://contextgarden.net
http://www.cacert.org (I'm an assurer)
next prev parent reply other threads:[~2006-01-15 12:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-14 22:15 layer question Henning Hraban Ramm
2006-01-15 12:43 ` Henning Hraban Ramm [this message]
2006-01-15 18:36 ` layer placement question Hans Hagen
2006-01-15 20:36 ` Henning Hraban Ramm
2006-01-15 22:39 ` 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=0DD24521-8CB0-46A2-B7C3-540721F7A5F1@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).