ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Fabrice Couvreur <fabrice1.couvreur@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: Equivalent of the \cancel command with conTeXt
Date: Tue, 22 Aug 2023 14:56:19 +0000	[thread overview]
Message-ID: <CACyK-ep0sd+D-5357noeFyTSAMSkecAaudUTqUdixzWWAraN7A@mail.gmail.com> (raw)
In-Reply-To: <CAHy-LL-uEDmqUuAXwmPoNp3G9sYEHx1ZxjRX_eKu1MHKJiDNGQ@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1640 bytes --]

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ût 2023 à 10:54, Mikael Sundqvist <mickep@gmail.com> a écrit :

> Hi,
>
> On Tue, Aug 22, 2023 at 12:25 PM Fabrice Couvreur
> <fabrice1.couvreur@gmail.com> 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=darkgreen,
> backgroundcolor=darkred,
> frame=off]
>
> \startTEXpage[offset=4dk,align=flushleft]
> \dm{1+\mathstrikeout[strike:text={what is this?}]{(2x-x)}+2=3+x}
> \blank
> \dm{1+\mathstrikeout[strike:math={=x}]{(2x-x)}+2=3+x}
> \blank
> \dm{1+\mathstrikeout[strike:math=u,arrow=no]{(2x-x)}+2=3+x}
> \blank
> \dm{1+\mathcrossout[strike:math={=x}]{(2x-x)}+2=3+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
>
> ___________________________________________________________________________________

[-- Attachment #1.2: Type: text/html, Size: 2764 bytes --]

[-- Attachment #2: Type: text/plain, Size: 495 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

      reply	other threads:[~2023-08-22 12:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-22 12:22 [NTG-context] " Fabrice Couvreur
2023-08-22 10:24 ` [NTG-context] " Alexandre Christe
2023-08-22 12:44   ` Fabrice Couvreur
2023-08-22 10:52 ` Mikael Sundqvist
2023-08-22 14:56   ` Fabrice Couvreur [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CACyK-ep0sd+D-5357noeFyTSAMSkecAaudUTqUdixzWWAraN7A@mail.gmail.com \
    --to=fabrice1.couvreur@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).