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_MESSAGE,MAILING_LIST_MULTI, URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 18442 invoked from network); 22 Aug 2023 12:57:38 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 22 Aug 2023 12:57:38 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id DBC00482D2B for ; Tue, 22 Aug 2023 14:56:35 +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 xyAyUVWk7q0c for ; Tue, 22 Aug 2023 14:56:35 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 9BF19482C11 for ; Tue, 22 Aug 2023 14:55:48 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 957C448290E for ; Tue, 22 Aug 2023 14:55:23 +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 g1tYKY3PSxRN for ; Tue, 22 Aug 2023 14:55:23 +0200 (CEST) Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (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 41EFA48290C for ; Tue, 22 Aug 2023 14:55:23 +0200 (CEST) Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-522dd6b6438so5342036a12.0 for ; Tue, 22 Aug 2023 05:55:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692708922; x=1693313722; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=D+9GMHXGJN1TXIDjOG6n0LrFYegpFtuBS4ytlfTsKjQ=; b=JIIj3DTf72KVm6u1YlIdWxWXx6I7qxMfh1IobFsazFbQhGpy8K8lMxVG0m7w7ETUvv uBQF4N2XFI8Nu415k5bH4BmjrRUqO9dpPPl3SacfTiwPsdjb5cSokaynP5xg8Sjs+Kvr USgMI5oV7KqAq57G7Mdau7yLBzbnMsVsx8Udn9ftCLG8Er22rpD4v7f0BvLei8W8rK+u Qhk5MuBO1lpUEF8lZGaY0ylWgdvLPDflwQRC1ngmKSajhQQIu1YyugLSlQYvPC/20DvH CSqzJ5om7swLYCsQ0QdEi+ImxaWCwITmQe2DZm7Q1CWWDXO/Njm5xiIng//ORUoKCz7b W+Jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692708922; x=1693313722; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=D+9GMHXGJN1TXIDjOG6n0LrFYegpFtuBS4ytlfTsKjQ=; b=aHABHxHjDHATqYJOuJDR8lBRqXvKS7A0k9BWAF48+rn+B2PbX9/k8G5PRqIvaGaPfN PgRwBoh6iDhjRkilF/8OQ3rX8gOSJo9fOaxOcitSxjvUTcRUrChq71KuNHavgD/eF9pJ p2W4HgS/13Ei7cTNldhKAig+pI9B8HYT4KvjUBJNysXCDjDL0lw8mEXycXJwjmYIx2dJ QStw3p6eGrJZhTv2H2bxrvZcn8v21MrCexnCbzPn44q/aVH6QVkujl+fm8+fb+E/V+r+ yC7ipripBkJ457ySHC+A+3QSn0h2lLihbp0xEQ/SDYHYxGDZnPL8e6yfyXtuPqj+WhHe K1WQ== X-Gm-Message-State: AOJu0YwmjqM4a1mh8OYmOpLIrsK1JV50INyvg3MOF+Ltf68IdcWWUrZK HAadwVhysf9GoeMdMNdhmmMAXjYDw/sJt6ozUIOyqSU9elM= X-Google-Smtp-Source: AGHT+IERLgJiB7whEH7eigPWXr8VmlJqci261vbqE1dLiev7Nv1c0xL9htBg0FMHLeeb4sU53SdudE9s9o8R6n66djk= X-Received: by 2002:aa7:d058:0:b0:523:338b:7977 with SMTP id n24-20020aa7d058000000b00523338b7977mr7176414edo.9.1692708922411; Tue, 22 Aug 2023 05:55:22 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Fabrice Couvreur Date: Tue, 22 Aug 2023 14:56:19 +0000 Message-ID: To: mailing list for ConTeXt users Message-ID-Hash: EJWPN7WWZEHVBWVTKSLI6RIF5I3ZXL3T X-Message-ID-Hash: EJWPN7WWZEHVBWVTKSLI6RIF5I3ZXL3T X-MailFrom: fabrice1.couvreur@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="===============5751743813925517440==" --===============5751743813925517440== Content-Type: multipart/alternative; boundary="000000000000074be50603828240" --000000000000074be50603828240 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Mikael, Thank you for this command ; there must be many others that I don't know how they work. Fabrice Le mar. 22 ao=C3=BBt 2023 =C3=A0 10:54, Mikael Sundqvist = a =C3=A9crit : > Hi, > > On Tue, Aug 22, 2023 at 12:25=E2=80=AFPM Fabrice Couvreur > wrote: > > > > Hi, > > In an algebraic expression, it is sometimes interesting to cross out > terms. With LaTeX, there is the \cancel command from the package cancel. = Is > there an equivalent with conTeXt ? > > Thanks > > Fabrice > > I don't know what the cancel package gives, but since December 22 or > so, one can do > > \starttext > > \setupframed > [mathstrikeout] > [color=3Ddarkgreen, > backgroundcolor=3Ddarkred, > frame=3Doff] > > \startTEXpage[offset=3D4dk,align=3Dflushleft] > \dm{1+\mathstrikeout[strike:text=3D{what is this?}]{(2x-x)}+2=3D3+x} > \blank > \dm{1+\mathstrikeout[strike:math=3D{=3Dx}]{(2x-x)}+2=3D3+x} > \blank > \dm{1+\mathstrikeout[strike:math=3Du,arrow=3Dno]{(2x-x)}+2=3D3+x} > \blank > \dm{1+\mathcrossout[strike:math=3D{=3Dx}]{(2x-x)}+2=3D3+x} > \stopTEXpage > > \stoptext > > /Mikael > > _________________________________________________________________________= __________ > 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 > > _________________________________________________________________________= __________ --000000000000074be50603828240 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Mikael,
Thank you for this command ; there must be many othe= rs that I don't know how they work.
Fabrice

Le=C2=A0mar. 22 ao= =C3=BBt 2023 =C3=A0=C2=A010:54, Mikael Sundqvist <mickep@gmail.com> a =C3=A9crit=C2=A0:
Hi,

On Tue, Aug 22, 2023 at 12:25=E2=80=AFPM Fabrice Couvreur
<fabric= e1.couvreur@gmail.com> wrote:
>
> Hi,
> In an algebraic expression, it is sometimes interesting to cross out t= erms. With LaTeX, there is the \cancel command from the package cancel. Is = there an equivalent with conTeXt ?
> Thanks
> Fabrice

I don't know what the cancel package gives, but since December 22 or so, one can do

\starttext

\setupframed
[mathstrikeout]
[color=3Ddarkgreen,
backgroundcolor=3Ddarkred,
frame=3Doff]

\startTEXpage[offset=3D4dk,align=3Dflushleft]
\dm{1+\mathstrikeout[strike:text=3D{what is this?}]{(2x-x)}+2=3D3+x}
\blank
\dm{1+\mathstrikeout[strike:math=3D{=3Dx}]{(2x-x)}+2=3D3+x}
\blank
\dm{1+\mathstrikeout[strike:math=3Du,arrow=3Dno]{(2x-x)}+2=3D3+x}
\blank
\dm{1+\mathcrossout[strike:math=3D{=3Dx}]{(2x-x)}+2=3D3+x}
\stopTEXpage

\stoptext

/Mikael
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / https://www.ntg.nl/mailman/listinfo/= ntg-context
webpage=C2=A0 : https://www.pragma-ade.nl / http://context.aanhet.net
archive=C2=A0 :
https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: https://contextgarden.net
___________________________________________________________________________= ________
--000000000000074be50603828240-- --===============5751743813925517440== 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 ___________________________________________________________________________________ --===============5751743813925517440==--