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 19621 invoked from network); 5 Nov 2023 10:32:08 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 5 Nov 2023 10:32:08 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id D952E48391E for ; Sun, 5 Nov 2023 11:29:10 +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 a9sa4zjWD5iJ for ; Sun, 5 Nov 2023 11:29:10 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 7521D48391F for ; Sun, 5 Nov 2023 11:28:18 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id AD62248386A for ; Sun, 5 Nov 2023 11:27:25 +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 t40l4F7aZ0HQ for ; Sun, 5 Nov 2023 11:27:25 +0100 (CET) Received: from outbound.soverin.net (outbound.soverin.net [185.233.34.146]) (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 4E9FF483869 for ; Sun, 5 Nov 2023 11:27:25 +0100 (CET) Received: from smtp.freedom.nl (c04cst-smtp-frd02.int.sover.in [10.10.4.108]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 4SNVzK1G1mzLX for ; Sun, 5 Nov 2023 10:27:25 +0000 (UTC) Received: from smtp.freedom.nl (smtp.freedom.nl [10.10.4.108]) by freedom.nl (Postfix) with ESMTPSA id 4SNVzJ1lxPz2xWY for ; Sun, 5 Nov 2023 10:27:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freedom.nl; s=default; t=1699180045; bh=45FrE1Zf/MndTFvKFtXNjC2ZYa5uom3Vz1Q/tOY2Tww=; h=Date:Subject:To:References:From:In-Reply-To:From; b=Bl1azX4LzND+o2vr2ARP/CwkhUhHi8Q0A19yORL/eZ/os5478/txgoOBu1/jXjpCM Xacn+tK9zBo+5z6jaZzdNfqTQmOxVCBFo2Mxo+2K+k83AyCV2GKltskOeYE1DTiUPi +a7+BsL50VSQvR40gt+uzqvsSFAH6f8JXMCj6L/E= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freedom.nl; s=default; t=1699180044; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=A7fJSm4kw0qQmvHfMUxE6tSLygekACgF6Tlkg9mIalY=; b=VA6qP8c3H/JPm9k/Uv7Qc6J8DDyV/jWFqHEZjhkeYZSNgl0zRcPB1aIyx9030pqucbec1n ASx1srKG4MVQzKQfyi/JHJ6Z6XgOUPAiZRfmESrXzLamFH1cAGBIo9W63g6uk2vgrFDv9e rHUV2thwmQklTOPNNjAtS+EzADyLTR0= ARC-Authentication-Results: i=1; smtp.freedom.nl; auth=pass smtp.mailfrom=j.hagen@freedom.nl ARC-Seal: i=1; s=default; d=freedom.nl; t=1699180044; a=rsa-sha256; cv=none; b=DFELkcRqBi6gWqiUgytMMM/PXZBeTGSBYtyensnFSVIwyLK9rFQzn6d/xX5PsI1l85Bcmp tQrz977dt5+70DuVi4vVunLiW86Cno5dD4ss659FUJRSX8mYeE1uMwzI4BygG+Jr8JLgO+ gaZ/BCgICBx5In9vRdtlrbrBl3vktks= Message-ID: <9b87a922-853d-4472-83bf-e1406e7c70aa@freedom.nl> Date: Sun, 5 Nov 2023 11:27:22 +0100 MIME-Version: 1.0 To: ntg-context@ntg.nl References: <169916542048.1556.13337400902471361646@cgl.ntg.nl> Content-Language: en-US X-Soverin-Authenticated: true In-Reply-To: <169916542048.1556.13337400902471361646@cgl.ntg.nl> Message-ID-Hash: 27IQ2I4IIYFD4GSJ7IFL2WRBG6NU4WBL X-Message-ID-Hash: 27IQ2I4IIYFD4GSJ7IFL2WRBG6NU4WBL X-MailFrom: j.hagen@freedom.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: How to encircle text? List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Hans Hagen via ntg-context Cc: Hans Hagen Content-Type: text/plain; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit On 11/5/2023 7:23 AM, anton.chigurh@mail.com wrote: > I want to use \bigcirc to encircle text. > Is there a way to do it. if you're wiling to compensate for its depth: \defineoverlay [BigCirc] [{\scale [width=\overlaywidth] {\setbox0\hpack{\bigcirc}\raise\dp0\box0}}] \framed [background=BigCirc, % frame=off, width=3cm, height=3cm] {test} but bigcirc isn't meant for that \startusableMPgraphic{MetaCirc} draw fullcircle xyscaled (OverlayWidth-OverlayLineWidth,OverlayHeight-OverlayLineWidth) withpen pencircle scaled OverlayLineWidth withcolor OverlayColor ; \stopusableMPgraphic \defineoverlay[MetaCirc][\useMPgraphic{MetaCirc}] \framed [background=MetaCirc, backgroundcolor=red, frame=off, rulethickness=1pt] {test} \framed [background=MetaCirc, backgroundcolor=blue, rulethickness=.5pt] {test} is more flexibel in the end Hans ----------------------------------------------------------------- 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 ___________________________________________________________________________________