From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/49268 Path: news.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: Re: Paragraphs in Layers Date: Thu, 9 Apr 2009 22:33:29 +0200 Message-ID: References: <6e2989c20904091240i4f2b1573q76a2a72d0c53cb45@mail.gmail.com> <101EA219-EFCC-4000-AA0F-8158840B51AE@gmail.com> <6e2989c20904091314p427a8cc7v4217f06fabba4d89@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1239309264 25361 80.91.229.12 (9 Apr 2009 20:34:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Apr 2009 20:34:24 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 09 22:35:43 2009 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 lo.gmane.org with esmtp (Exim 4.50) id 1Ls0yN-0004PR-3W for gctc-ntg-context-518@m.gmane.org; Thu, 09 Apr 2009 22:35:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F12641FBAC; Thu, 9 Apr 2009 22:34:16 +0200 (CEST) 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 31998-02; Thu, 9 Apr 2009 22:33:42 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F14DD1FB60; Thu, 9 Apr 2009 22:33:41 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4350E1FB60 for ; Thu, 9 Apr 2009 22:33:40 +0200 (CEST) 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 32026-02 for ; Thu, 9 Apr 2009 22:33:32 +0200 (CEST) Original-Received: from filter2-nij.mf.surf.net (filter2-nij.mf.surf.net [195.169.124.153]) by ronja.ntg.nl (Postfix) with ESMTP id 443881FB5B for ; Thu, 9 Apr 2009 22:33:32 +0200 (CEST) Original-Received: from mail.7values.nl (pluto.digitpaint.nl [83.98.197.3]) by filter2-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n39KXV0p026761 for ; Thu, 9 Apr 2009 22:33:31 +0200 Original-Received: from localhost (dp5.intern.digitpaint.nl [192.168.0.7]) by mail.7values.nl (Postfix) with ESMTP id DBBA27D8E for ; Thu, 9 Apr 2009 22:33:31 +0200 (CEST) Original-Received: from mail.7values.nl ([192.168.0.1]) by localhost (dp5.digitpaint.nl [192.168.0.7]) (amavisd-new, port 10024) with LMTP id TB1ee5wjEByN for ; Thu, 9 Apr 2009 22:33:30 +0200 (CEST) Original-Received: from [192.168.0.17] (a80-126-172-1.adsl.xs4all.nl [80.126.172.1]) by mail.7values.nl (Postfix) with ESMTP id B5D5B7D8D for ; Thu, 9 Apr 2009 22:33:31 +0200 (CEST) In-Reply-To: <6e2989c20904091314p427a8cc7v4217f06fabba4d89@mail.gmail.com> X-Mailer: Apple Mail (2.753.1) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=83.98.197.3; country=NL; region=07; city=Hilversum; latitude=52.2333; longitude=5.1833; http://maps.google.com/maps?q=52.2333,5.1833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 206754943 - ba719ebaae9e - 20090409 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:49268 Archived-At: I do not know what you precisely want to achieve. You need to give dimensions to the framed part of the \setlayerframed. Position the layer with the layer definition. Preset the layer to lefttop and move it with the x and y keys. \definelayer[TicketSummary] [x=\backspace, y=2\topspace, preset=lefttop, repeat=no] \setlayerframed[TicketSummary] [width=\textwidth,height=.5in,align=flushleft]{ \bold{Client Name:} Acme Corporation \\ \bold{Location of Work:} Main warehouse } Willi On Apr 9, 2009, at 10:14 PM, Design Department wrote: > \definelayer[TicketSummary] > [x=\backspace, y=\topspace > width=4in, height=4in, > repeat=no] > \setlayerframed[TicketSummary] > [hoffset=.5\backspace, voffset=2.5in]{ > \bold{Client Name:} \\ > Acme Corporation \\ > \bold{Location of Work:} > Main warehouse > } > > \setupbackgrounds[page][background={TicketSummary}] > > \starttext > Hello world! > \stoptext ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________