From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 31392 invoked from network); 16 Nov 2023 12:57:39 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 16 Nov 2023 12:57:39 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 48BF8483AD4 for ; Thu, 16 Nov 2023 13:53:53 +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 8nlOLGRUOWyf for ; Thu, 16 Nov 2023 13:53:52 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 85BF4483AD8 for ; Thu, 16 Nov 2023 13:53:03 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 370464838C5 for ; Thu, 16 Nov 2023 13:52:11 +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 ZNxnWLoM1ET2 for ; Thu, 16 Nov 2023 13:52:10 +0100 (CET) Received: from forward100b.mail.yandex.net (forward100b.mail.yandex.net [178.154.239.147]) (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 C9A0C4838A7 for ; Thu, 16 Nov 2023 13:52:10 +0100 (CET) Received: from mail-nwsmtp-smtp-production-main-92.myt.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-92.myt.yp-c.yandex.net [IPv6:2a02:6b8:c12:40a7:0:640:f2f3:0]) by forward100b.mail.yandex.net (Yandex) with ESMTP id 9A8D660B0A for ; Thu, 16 Nov 2023 15:52:09 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-92.myt.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id 7qktOC0OeSw0-4FeWGSlK; Thu, 16 Nov 2023 15:52:08 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=homerow.info; s=mail; t=1700139129; bh=mps/y5c4WUdlBohrR+H+xI8X1lyp0hvhioDfHrPt/FQ=; h=Message-ID:Subject:To:From:Date; b=Lu/rN/CGwUrNDMHTOhXOsO8HhJVMZm3g+DprdzcIVCQWrbO8U//PjHIx5mXqVa+KP tnbBzL1zg0RcO+APau5cIeRxhqaLlNynypCLhZ/cK2zEZn+KKeanzxRECoi+/bR1Pc S4jccdVztaYXWig8vwXzfV/N7WuObX+Q7R5BWqKI= Authentication-Results: mail-nwsmtp-smtp-production-main-92.myt.yp-c.yandex.net; dkim=pass header.i=@homerow.info Date: Thu, 16 Nov 2023 13:52:05 +0100 From: Marco Patzer To: mailing list for ConTeXt users Message-ID: <20231116135205.4ad27396@homerow> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.37; x86_64-pc-linux-gnu) MIME-Version: 1.0 Message-ID-Hash: PJAKOJXTKURRBMIBOPCORVFFZI23KYJ4 X-Message-ID-Hash: PJAKOJXTKURRBMIBOPCORVFFZI23KYJ4 X-MailFrom: lists@homerow.info 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] 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" Content-Transfer-Encoding: 7bit Hi! 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? The textbackground has a small gap between the inner and outer frame at the top and a larger gab at the bottom. I'm not concerned with horizontal spacing here. Marco LMTX 2023.09.04 19:15 ___________________________________________________________________________________ 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 ___________________________________________________________________________________