From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/56439 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Left, right, top, bottom margins in a \framed box Date: Sun, 21 Feb 2010 09:54:28 +0100 Message-ID: <4B80F4C4.1080105@googlemail.com> References: <56B258BE-CEFA-4BCE-963B-EAFF7F7A35FC@mpq.mpg.de> <462D5AD9-3815-4084-B5D4-9DCA7ED8E1C5@googlemail.com> <47284C6A-146C-47F8-8518-17AECD3E48CB@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1266815899 7929 80.91.229.12 (22 Feb 2010 05:18:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 22 Feb 2010 05:18:19 +0000 (UTC) Cc: Hans Hagen To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Feb 21 10:18: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 1Nj7aK-0003pW-53 for gctc-ntg-context-518@m.gmane.org; Sun, 21 Feb 2010 09:54:40 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0BC1FC9CCD; Sun, 21 Feb 2010 09:54:39 +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 p1eSUFyt2iKa; Sun, 21 Feb 2010 09:54:36 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3E291C9CD3; Sun, 21 Feb 2010 09:54:36 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D4FB1C9CD3 for ; Sun, 21 Feb 2010 09:54:34 +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 Kx36LhBbfX4R for ; Sun, 21 Feb 2010 09:54:32 +0100 (CET) Original-Received: from mail-fx0-f209.google.com (mail-fx0-f209.google.com [209.85.220.209]) by balder.ntg.nl (Postfix) with ESMTP id 8F787C9CCD for ; Sun, 21 Feb 2010 09:54:32 +0100 (CET) Original-Received: by fxm1 with SMTP id 1so1723727fxm.15 for ; Sun, 21 Feb 2010 00:54:32 -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:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=BZgeJCspsXDbkuFAAnutFqu+WQR6i1zHaoHwW63Ymmo=; b=QPpRKleTzopuNi24CCNI36H9BY1rygjHw04LA9Nicu9IlJzFskMIFGKYpKyDW5ulZY KOQDunjpWUz1GVwN2PBrZLw/B2SKmIfJkqEGWuhbQwyKWJPZSwh1h1eXTrrQXiA07Y9s Q4UA4M2SRAKzSwfF+WVuiIeGe4Ei1RANSPyCo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=RwQFTw3HxbE7rcuxXXwBwQ0VqNaXfWwB7gg/sD6GUh+/h4fS+vJ8z1CKkGALvvHtKd CYTw10kcLYyqmVDpCobtG666EfHeld10rCAZny7OqqWCeNY1DGmCXkC1btmlcXKiAswg BzJI9WxbBajOrL55HhGCp3LORwn8HvbF8xs54= Original-Received: by 10.223.5.17 with SMTP id 17mr4685942fat.0.1266742472041; Sun, 21 Feb 2010 00:54:32 -0800 (PST) Original-Received: from ?192.168.2.23? (p5B295766.dip.t-dialin.net [91.41.87.102]) by mx.google.com with ESMTPS id 2sm2716237fks.42.2010.02.21.00.54.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 21 Feb 2010 00:54:30 -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: <47284C6A-146C-47F8-8518-17AECD3E48CB@gmail.com> 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:56439 Archived-At: Am 20.02.10 22:15, schrieb Bernhard Rosensteiner: >>> I'm wondering how I can get different margins between the contents of a framed box and its left, right, top or bottom border. Somehow "offset" affects all margins simultaneously >>> >> MkIV only: >> >> (l|r|t|b)offset >> > sorry for opening an old thread but with boffset key setting to a value, nothing happens. (\(l|r|t)offset) works. > pack-rul.mkiv \def\setextraframedoffsets {\boxhasextraoffsetfalse \!!framedloffset\framedparameter\c!loffset \!!framedroffset\framedparameter\c!roffset \!!framedtoffset\framedparameter\c!toffset \!!framedboffset\framedparameter\c!boffset\relax % <-- add \relax here \ifzeropt\!!framedloffset\else \advance\!!framedwidth -\!!framedloffset \boxhasextraoffsettrue \fi \ifzeropt\!!framedroffset\else \advance\!!framedwidth -\!!framedroffset \boxhasextraoffsettrue \fi \ifzeropt\!!framedtoffset\else \advance\!!framedheight-\!!framedtoffset \boxhasextraoffsettrue \fi \ifzeropt\!!framedboffset\else \advance\!!framedheight-\!!framedboffset \boxhasextraoffsettrue \fi} Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________