From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63556 Path: news.gmane.org!not-for-mail From: Peter =?utf-8?Q?M=C3=BCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: Placing boxes anywhere on the page Date: Tue, 16 Nov 2010 21:41:16 +0100 Message-ID: <20101116204116.GA15796@micropit.couberia.bzh> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1289940093 15687 80.91.229.12 (16 Nov 2010 20:41:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 16 Nov 2010 20:41:33 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 16 21:41:28 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 1PISLH-0005yY-Fr for gctc-ntg-context-518@m.gmane.org; Tue, 16 Nov 2010 21:41:27 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 70CC9CA878; Tue, 16 Nov 2010 21:41:26 +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 CtzfeWP9gF0K; Tue, 16 Nov 2010 21:41:22 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 94ABCCA870; Tue, 16 Nov 2010 21:41:22 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CAEECCA870 for ; Tue, 16 Nov 2010 21:41:20 +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 VRJImgS33bCT for ; Tue, 16 Nov 2010 21:41:18 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 8338FCA86C for ; Tue, 16 Nov 2010 21:41:18 +0100 (CET) Original-Received: from smtp21.orange.fr (smtp21.orange.fr [80.12.242.47]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAGKfHH4015607 for ; Tue, 16 Nov 2010 21:41:18 +0100 Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2108.orange.fr (SMTP Server) with ESMTP id 7C09F1C004AE for ; Tue, 16 Nov 2010 21:41:17 +0100 (CET) Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2108.orange.fr (SMTP Server) with ESMTP id 6ED9F1C004AF for ; Tue, 16 Nov 2010 21:41:17 +0100 (CET) Original-Received: from micropit.couberia.bzh (ARennes-555-1-48-126.w90-25.abo.wanadoo.fr [90.25.255.126]) by mwinf2108.orange.fr (SMTP Server) with ESMTP id 418DA1C004AE for ; Tue, 16 Nov 2010 21:41:17 +0100 (CET) X-ME-UUID: 20101116204117268.418DA1C004AE@mwinf2108.orange.fr Original-Received: by micropit.couberia.bzh (Postfix, from userid 1000) id AD812160526; Tue, 16 Nov 2010 21:41:16 +0100 (CET) Mail-Followup-To: mailing list for ConTeXt users Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.12.242.47; country=FR; latitude=46.0000; longitude=2.0000; http://maps.google.com/maps?q=46.0000,2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0bDvUFhPA - 77d6464796b0 - 20101116 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:63556 Archived-At: On Tue, Nov 16 2010, Peter Davis wrote: > Is there a way to place a box at some specified x and y position on the > page, and then typeset one or more paragraphs of text into the box? I guess > I'm thinking of something like LaTeX's minipage, but with the ability to > specify absolute coordinates, rather than just position relative to the > current baseline. Layers or overlays are certainly the right method. But there is also the \position macro: \setupframed[foregroundstyle=\bfc] \setuppositioning[state=overlay, unit=cm, xoffset=0.5\textwidth, yoffset=0.5\textheight] \starttext \startpositioning \position(0,0){\framed{0,0}} \position(-5,-5){\framed{-5,-5}} \position(-5,5){\framed{-5,5}} \position(5,-5){\framed{5,-5}} \position(5,5){\framed{5,5}} \stoppositioning \input tufte \input tufte \input tufte \input tufte \input tufte \stoptext Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___________________________________________________________________________________ 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 ___________________________________________________________________________________