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.7 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,HTML_FONT_LOW_CONTRAST, HTML_MESSAGE,MAILING_LIST_MULTI,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 12712 invoked from network); 22 Aug 2023 10:27:35 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 22 Aug 2023 10:27:35 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 8ACB3482BD7 for ; Tue, 22 Aug 2023 12:25:37 +0200 (CEST) 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 K2aRJpsBNcJD for ; Tue, 22 Aug 2023 12:25:37 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id A037D482C47 for ; Tue, 22 Aug 2023 12:24:44 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 3BF9D482A2E for ; Tue, 22 Aug 2023 12:24:19 +0200 (CEST) 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 SkNB8EIiLF57 for ; Tue, 22 Aug 2023 12:24:18 +0200 (CEST) Received: from mail-lj1-f182.google.com (mail-lj1-f182.google.com [209.85.208.182]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 D31AC4829E2 for ; Tue, 22 Aug 2023 12:24:18 +0200 (CEST) Received: by mail-lj1-f182.google.com with SMTP id 38308e7fff4ca-2bb9a063f26so68788391fa.2 for ; Tue, 22 Aug 2023 03:24:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692699858; x=1693304658; h=mime-version:subject:references:in-reply-to:message-id:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=WwFL0nmAjEWBmEw+x+7ma35CYc95A44eULMOmfKS4uo=; b=nlpthU4hVlqf8SsQwT26y0liXdtShcg15tMoImhCA3hLWoIbmrSpCUbgN1Ya1wGAgy mNEfEhL75C7zBHNNGlhjTzC9C3PuCAma5zukb0x7frkMIQus5lA5zZVy+j4ULoOhS5ca GWlJmz/Hp04MNCd1DRi6F2sDV6wGD8X5QBxj3gT5SnYmHCmD0faB1pkX2miv7Xx1GpKd rqKYGSQT8M2nE38M/nBK+JaGP+L1WAnLPb6KOfnOSUK9+9PJyzrYmNaiqYcUAKFHuPug 8CuwCaL1qOgvVNdJXhEzCsgn1vO8/E0+Fbba75pQcMJfH9UTNOjGzwnwZJOszFVXmdh3 u7xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692699858; x=1693304658; h=mime-version:subject:references:in-reply-to:message-id:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=WwFL0nmAjEWBmEw+x+7ma35CYc95A44eULMOmfKS4uo=; b=LaxA541PNazXBbXmG7HMI/mOOJNU1LM8E/5UEhB3mjz1iVQMIwn+3I/YXHI11quRDv BgtyLgZ4TufvDF44PjtbJmFEqssswcxT0bbHWdW5TKRnKd5J63BEZw7kcLfuKWO7whCY 40FAqn3SSdOY0v9Z0TfWa9xaZBMZr39Nz6ZM1n+aLHgI1mKqfJ718xnCRvdZErEGg0/I 49nbCTywhHi266GwI3Pd3oaR9npXhwCAGPYjDQnX4/Xs8o+Kj06J69QjS7hcBUmylH8C KYWUzKTlRWmEww5M8M+aC//NLj8LMuCv3bbJh4EuF6KDUy3EtQctAYoL/GMm9NBSjhAF Z16Q== X-Gm-Message-State: AOJu0YxFshQvCWurJ6hI2xFnFPlL5ZCZoUJUlW9A/X3iOwuCXYn2+K+P G2CMa1P9X0YG3TdhvAurTODd9M6UEAo= X-Google-Smtp-Source: AGHT+IEfMx2gtBVTWl2f+EqjnFdoTyOsJsGVzffPeQSknhiTDDeDeIb5RoGDxT7MusgumWAqfJyHbQ== X-Received: by 2002:a2e:2c05:0:b0:2b5:80c9:1266 with SMTP id s5-20020a2e2c05000000b002b580c91266mr7038209ljs.43.1692699857496; Tue, 22 Aug 2023 03:24:17 -0700 (PDT) Received: from [2a02:1210:42e3:ac00::ffff:ffff] ([2a02:1210:42e3:ac00:55ba:299d:4640:abbc]) by smtp.gmail.com with ESMTPSA id t24-20020a1c7718000000b003feae747ff2sm19045023wmi.35.2023.08.22.03.24.17 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Aug 2023 03:24:17 -0700 (PDT) Date: Tue, 22 Aug 2023 12:24:11 +0200 From: Alexandre Christe To: mailing list for ConTeXt users Message-ID: <4e93db0d-be36-4ff0-9125-f65fcf92dbd5@Spark> In-Reply-To: References: X-Readdle-Message-ID: 4e93db0d-be36-4ff0-9125-f65fcf92dbd5@Spark MIME-Version: 1.0 Message-ID-Hash: NA4IUEZ5EE3AILGAI6EFGW3BL4MAEHNG X-Message-ID-Hash: NA4IUEZ5EE3AILGAI6EFGW3BL4MAEHNG X-MailFrom: aleks.christe@gmail.com 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: Equivalent of the \cancel command with conTeXt List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============4227968914969522812==" --===============4227968914969522812== Content-Type: multipart/alternative; boundary="64e48cd0_38b1bc28_550" --64e48cd0_38b1bc28_550 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi =46abrice, I have this from former exchanges % Cancel command for use in equations. =5CstartuniqueMPgraphic=7Bcross out=7D =C2=A0picture cross; =C2=A0cross :=3D image(draw (0,0)--(1,1); draw (0,1)--(1,0);); =C2=A0draw cross xscaled =5Coverlaywidth yscaled =5Coverlayheight withpen= pencircle scaled .8pt ; =5CstopuniqueMPgraphic =5Cdefineoverlay=5Bcanceloverlay=5D=5B=5CuniqueMPgraphic=7Bcross out=7D=5D= =5Cdefine=5B1=5D=5Ccancel=7B% =C2=A0=5Cifmmode =C2=A0=5Cmframed=5Bbackground=3Dcanceloverlay, frame=3Doff, offset=3Dover= lay=5D=7B=7B=231=7D=7D% =C2=A0=5Celse% =C2=A0=5Cframed=5Bbackground=3Dcanceloverlay, frame=3Doff, offset=3Doverl= ay=5D=7B=7B=231=7D=7D% =C2=A0=5Cfi% =7D Maybe something else is available nowadays. A. Christe Le 22 ao=C3=BBt 2023 =C3=A0 12:22 +0200, =46abrice Couvreur , a =C3=A9crit : > Hi, > In an algebraic expression, it is sometimes interesting to cross out te= rms. With LaTeX, there is the =5Ccancel command from the package cancel. = Is there an equivalent with conTeXt =3F > Thanks > =46abrice > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F > If your question is of interest to others as well, please add an entry = to the Wiki=21 > > maillist : ntg-context=40ntg.nl / https://www.ntg.nl/mailman/listinfo/n= tg-context > webpage : https://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : https://contextgarden.net > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F --64e48cd0_38b1bc28_550 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Hi =46abrice,

I have this from former exchanges

% Cancel command for use in equations.
=5CstartuniqueMPgraphic=7Bcross out=7D
&=23160;picture cross;
&=23160;cross :=3D image(draw (0,0)--(1,1); draw (0,1)--(1,0););
&=23160;draw cross xscaled =5Coverlaywidth yscaled =5Coverlayheight withp= en pencircle&=23160;
scaled .8pt ;
=5CstopuniqueMPgraphic

=5Cdefineoverlay=5Bcanceloverlay=5D=5B=5CuniqueMPgraphic=7Bcross out=7D=5D=

=5Cdefine=5B1=5D=5Ccancel=7B%
&=23160;=5Cifmmode
&=23160;=5Cmframed=5Bbackground=3Dcanceloverlay, frame=3Doff, offset=3Dov= erlay=5D=7B=7B=231=7D=7D%
&=23160;=5Celse%
&=23160;=5Cframed=5Bbackground=3Dcanceloverlay, frame=3Doff, offset=3Dove= rlay=5D=7B=7B=231=7D=7D%
&=23160;=5Cfi%
=7D

Maybe something else is available nowadays.

A. Christe
Le 22 ao=C3=BBt 2023 =C3=A0 12:22 += 0200, =46abrice Couvreur <fabrice1.couvreur=40gmail.com>, a =C3=A9c= rit :
Hi,
In an algebraic expression, it is sometimes interesting to cross o= ut terms. With LaTeX, there is the =5Ccancel command from the package can= cel. Is there an equivalent with conTeXt =3F
Thanks
=46abrice
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F
If your question is of interest to others as well, please add an entry to= the Wiki=21

maillist : ntg-context=40ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg= -context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F
--64e48cd0_38b1bc28_550-- --===============4227968914969522812== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________ --===============4227968914969522812==--