From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25229 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: layer placement question Date: Sun, 15 Jan 2006 23:39:33 +0100 Message-ID: <43CACF25.50002@wxs.nl> References: <09461146-F389-465D-AB0A-40C0E63AA81A@fiee.net> <0DD24521-8CB0-46A2-B7C3-540721F7A5F1@fiee.net> <43CA9646.50303@wxs.nl> <5BAC624E-94F8-4816-B014-362B275390B4@fiee.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1137364777 30174 80.91.229.2 (15 Jan 2006 22:39:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 15 Jan 2006 22:39:37 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Jan 15 23:39:36 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1EyGX9-0005vQ-E7 for gctc-ntg-context-518@m.gmane.org; Sun, 15 Jan 2006 23:39:35 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1A69F1287E; Sun, 15 Jan 2006 23:39:35 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13928-01-3; Sun, 15 Jan 2006 23:39:31 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D57371285D; Sun, 15 Jan 2006 23:39:31 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 821F11285D for ; Sun, 15 Jan 2006 23:39:30 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13928-01-2 for ; Sun, 15 Jan 2006 23:39:29 +0100 (CET) Original-Received: from mail.pragma-ade.net (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by ronja.ntg.nl (Postfix) with SMTP id 87CAB12809 for ; Sun, 15 Jan 2006 23:39:29 +0100 (CET) Original-Received: from [10.100.1.102] (unverified [10.100.1.102]) by controller-1 (SurgeMail 3.5b3) with ESMTP id 765 for ; Sun, 15 Jan 2006 17:50:18 +0300 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <5BAC624E-94F8-4816-B014-362B275390B4@fiee.net> X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:25229 Archived-At: Henning Hraban Ramm wrote: > Am 2006-01-15 um 19:36 schrieb Hans Hagen: > >>> 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? >> >> x and y are unique for each \setlayer, use hoffset/voffset instead > > Thank you, I didn't understand that from the docs. > And in fact not even from your statement. > > Seems like x/y always use the upper left corner of the paper, > while hoffset/voffset use the upper left corner of the layer. no, it depends on the combination of align and corner (in core-box.tex you can see presets being defined, so with preset=rightbottom, x/y start from the rightbottom) > > But if I use \placelayer instead of backgrounds, x/y is relative to > the text area. > Is that intended? (See my mail "layer question".) indeed, put it in a \ruledhbox and you will see (there is \tightlayer and such in order to get different results) Hans