From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id 4AAC529829 for ; Wed, 31 Jan 2024 19:44:56 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 60A5D483FFB for ; Wed, 31 Jan 2024 19:42:49 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jKxezYi0Ds2S for ; Wed, 31 Jan 2024 19:42:49 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 3BFC9483AB9 for ; Wed, 31 Jan 2024 19:41:49 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 600F4481200 for ; Wed, 31 Jan 2024 19:41:03 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nKK8dczRZ7YH for ; Wed, 31 Jan 2024 19:41:03 +0100 (CET) Received: from ewsoutbound.kpnmail.nl (ewsoutbound.kpnmail.nl [195.121.94.186]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 0D044481080 for ; Wed, 31 Jan 2024 19:41:03 +0100 (CET) X-KPN-MessageId: 4a52c364-c068-11ee-90ec-00505699b430 Received: from smtp.kpnmail.nl (unknown [10.31.155.8]) by ewsoutbound.so.kpn.org (Halon) with ESMTPS id 4a52c364-c068-11ee-90ec-00505699b430; Wed, 31 Jan 2024 19:41:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xs4all.nl; s=xs4all01; h=content-type:from:to:subject:mime-version:date:message-id; bh=+IRolBfrGDnYCORsV7V7kyflOtORx8vS9jLxaRxxWHc=; b=syTT3jk1ccnQUEzf53FGgBVXQAH+ke5/MESV/WRWwFjGX6hERNn9UH7dIuuh2znO7S3WqIfAhY84d em8nU1HyVBkM9USUuAuo3dH40k284fOEC5JfwfDrP77hTgYkYffcv8Jar9jU6NPtfyiLY3IjxAvIAA KhTiVNShE/JDMcC+8M9m5/uDIadCOmhC4KUDr9gNH5vyu3UgFX0JVK88/NQzlWsAh9nUXus6vxy0rG oeFpmMyX0v3DVVOrIO0UbwoMz9tiOJkhmmzbfMBHpc2HmdI4oejuU/hFpAj5ODa3JnMUWz7fVYIrVY T4Ns2g0nw52hNovCOrQSlWbQqbyvJog== X-KPN-MID: 33|GzOUXxexJRXI8jvID7BPBUnMwySNiqVLkS62OcxelKdd1FdgJhtac73xaA3FRv3 pZlLAan662+44yALuCwwR2TQWazGp2eVot88SnFCypSI= X-KPN-VerifiedSender: Yes X-CMASSUN: 33|WLBBBOpT9S1fNl729QnlAjWd/bwqfhciWlg/9Cp9530WSmA4LAb+mIwa4PsWqVg 0to+V2MyKuN7CCAlGRRe7SQ== X-Originating-IP: 213.125.29.162 Received: from [10.100.1.105] (d57d1da2.static.ziggozakelijk.nl [213.125.29.162]) by smtp.xs4all.nl (Halon) with ESMTPSA id 488c9633-c068-11ee-acb0-00505699d6e5; Wed, 31 Jan 2024 19:41:02 +0100 (CET) Message-ID: <4946d34a-c055-423c-9919-afa9fa09608b@xs4all.nl> Date: Wed, 31 Jan 2024 19:41:02 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: ntg-context@ntg.nl References: <20231116135205.4ad27396@homerow> <20240131191549.5d8140f4@homerow> From: Hans Hagen In-Reply-To: <20240131191549.5d8140f4@homerow> Message-ID-Hash: QJSEUFTJFTTF4WRHI376OYQK76KH75MO X-Message-ID-Hash: QJSEUFTJFTTF4WRHI376OYQK76KH75MO X-MailFrom: j.hagen@xs4all.nl X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: textbackground spacing offset List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit On 1/31/2024 7:15 PM, Marco Patzer wrote: > On Thu, 16 Nov 2023 13:52:05 +0100 > Marco Patzer wrote: > >> I'm having problems getting the textbackground spacing offset to work. >> Example: >> >> \setupframedtext >> [offset=overlay, >> width=max, >> depthcorrection=off] >> >> \setuptextbackground >> [location=paragraph, >> %% offset=overlay, %% does nothing >> %% backgroundoffset=overlay, %% does nothing >> %% depthcorrection=off, %% does nothing >> %% topoffset=3mm, %% works, but only for positive values >> background=, >> frame=on] >> >> \starttext >> \startframedtext >> \framed{Foo} >> \stopframedtext >> \starttextbackground >> \framed{Foo} >> \stoptextbackground >> \stoptext >> >> How do it get the same spacing as in the framedtext case? > > Is there a solution to this? Or an explanation why the spacing > differs? these are fundamentally different mechanisms .. you can play with \inframed in the second case ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________