From: jkitz@inradius.net
To: "ntg-context@ntg.nl ConTeXt users" <ntg-context@ntg.nl>
Subject: maths simplifying fractions
Date: Wed, 13 Nov 2019 20:10:10 -0500 [thread overview]
Message-ID: <BFDE0355-A05D-4657-9E38-B5571BE65EAE@inradius.net> (raw)
Hi Altoff.
Maybe this markup will help?
\startuniqueMPgraphic{cancel}
pickup pencircle scaled 0.7pt ;
path p ; p := OverlayBox topenlarged -ExHeight bottomenlarged -ExHeight ;
draw llcorner p -- urcorner p withcolor OverlayColor ;
\stopuniqueMPgraphic
\defineoverlay[cancel][\uniqueMPgraphic{cancel}]
\defineframed[cancel]
[background=cancel,frame=off,offset=0pt,location=low]
\starttext
\startformula
6 \frac{3}{8} \div 4 \frac{1}{2} = \frac{27}{4} \div \frac{9}{2} = \frac{\cancel{27}^3}{\cancel{4}^2} \times \frac{\cancel{2}^1}{\cancel{9}^1} = \frac{3}{2} = 1 \frac{1}{2}
\stopformula
\stoptext
HTH,
kitz
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2019-11-14 1:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-14 1:10 jkitz [this message]
[not found] <b0abd8db479372956483c067b268283067bb3b52.camel.ref@yahoo.com>
2019-11-13 11:28 ` Martin Althoff
2019-11-13 21:32 ` Henri Menke
2019-11-15 13:45 ` Martin Althoff
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=BFDE0355-A05D-4657-9E38-B5571BE65EAE@inradius.net \
--to=jkitz@inradius.net \
--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).