From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55991 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: simple usage of \hpos Date: Sun, 07 Feb 2010 15:56:54 +0100 Message-ID: <4B6ED4B6.30104@googlemail.com> References: <20100206221737.GA697@gaston.couberia.bzh> <4B6E7D0C.7030507@googlemail.com> <20100207122229.GA6516@gaston.couberia.bzh> <4B6EB637.1020301@googlemail.com> <20100207142631.GA9319@gaston.couberia.bzh> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1265554630 32681 80.91.229.12 (7 Feb 2010 14:57:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Feb 2010 14:57:10 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Feb 07 15:57:07 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ne8ZO-0002gD-Og for gctc-ntg-context-518@m.gmane.org; Sun, 07 Feb 2010 15:57:06 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AFE75C9B35; Sun, 7 Feb 2010 15:58:33 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id x3Mk0vZ+Ktoc; Sun, 7 Feb 2010 15:58:29 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C8149C9BC1; Sun, 7 Feb 2010 15:58:29 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D0E66C9BC1 for ; Sun, 7 Feb 2010 15:58:28 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id agc-JBEuGdBt for ; Sun, 7 Feb 2010 15:58:26 +0100 (CET) Original-Received: from mail-fx0-f211.google.com (mail-fx0-f211.google.com [209.85.220.211]) by balder.ntg.nl (Postfix) with ESMTP id 3D940C9B35 for ; Sun, 7 Feb 2010 15:58:26 +0100 (CET) Original-Received: by fxm3 with SMTP id 3so6204353fxm.19 for ; Sun, 07 Feb 2010 06:56:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=bds5gmerk9ZNSKcjNCMlSEcbC//OMOVo+vNJ5VmOIfg=; b=FMCiCLATFarZzpexg5GLGu6wFx8vEAXLJlwF86adPG61QdtsZjdmJbISj0j4lRAiot dtmeVi1cSIOJWWO/oHPkzWumHRvUwLQMixEZ3UC6azKPWpIgHqvcwEw9ulDHEheNhHZO 0uybK0/gAMjaPLPj+V/Q8QqlnZPiCnwWmiqD8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=Jws2i/2iB9JZFQxehgjq5DmCAA9bgiLnqtLpzEXKENwBW9OueB4cruloEruTM70U6C zW8j8wCgvqFhDeI6A6/0Qe8EjoHt1QutxnUdV3tu+sB5xY284lonz+LgDysv51tyrwKv SPg39Vu/wlLkfDQeD7598kCvp0BCWXr8MI7tQ= Original-Received: by 10.223.100.214 with SMTP id z22mr4185712fan.104.1265554618428; Sun, 07 Feb 2010 06:56:58 -0800 (PST) Original-Received: from ?192.168.2.23? (p5B29709B.dip.t-dialin.net [91.41.112.155]) by mx.google.com with ESMTPS id 31sm5158818fkt.1.2010.02.07.06.56.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 07 Feb 2010 06:56:57 -0800 (PST) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 In-Reply-To: <20100207142631.GA9319@gaston.couberia.bzh> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:55991 Archived-At: Am 07.02.10 15:26, schrieb Peter M=FCnster: > \def\doPlaceAtPos[#1]#2#3{% > \getparameters[PAA][dx=3D0pt, dy=3D0pt, #1]% > \setbox\scratchbox\hbox{#3}% > \setlayer[myBG][% > x=3D\the\dimexpr\MPx{#2} - 0.5\wd\scratchbox\relax, > y=3D\the\dimexpr\paperheight-\MPy{#2}-\ht\scratchbox\relax, > dx=3D\PAAdx, dy=3D\PAAdy]{#3}} \def\doPlaceAtPos[#1]#2% {\dowithnextbox {\setlayer [myBG] [x=3D\the\dimexpr\MPx{#2}-\nextboxwd/2\relax, y=3D\the\dimexpr\paperheight-\MPy{#2}-\nextboxht\relax, #1] {\flushnextbox}} \normalhbox} Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________